From a754bdf9bfafc8ccf424519302ae3e3850812a40 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Wed, 4 Mar 2026 17:10:57 +0100 Subject: [PATCH 1/2] Add make target for US Core example and fix profile-getters test --- Makefile | 7 ++++++- test/unit/api/profile-getters.test.ts | 26 ++++++++++++++------------ 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 8df815027..60e3de834 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ VERSION = $(shell cat package.json | grep version | sed -E 's/ *"version": "//' .PHONY: all typecheck test-typeschema test-register test-codegen test-typescript-r4-example -all: test-codegen test-typescript-r4-example test-typescript-ccda-example test-typescript-sql-on-fhir-example lint-unsafe test-all-example-generation +all: test-codegen test-typescript-r4-example test-typescript-us-core-example test-typescript-ccda-example test-typescript-sql-on-fhir-example lint-unsafe test-all-example-generation generate-types: bun run scripts/generate-types.ts @@ -65,6 +65,11 @@ test-typescript-r4-example: typecheck format lint $(TYPECHECK) --project examples/typescript-r4/tsconfig.json $(TEST) ./examples/typescript-r4/ +test-typescript-us-core-example: typecheck format lint + bun run examples/typescript-us-core/generate.ts + $(TYPECHECK) --project examples/typescript-us-core/tsconfig.json + $(TEST) ./examples/typescript-us-core/ + test-typescript-sql-on-fhir-example: typecheck format lint bun run examples/typescript-sql-on-fhir/generate.ts $(TYPECHECK) --project examples/typescript-sql-on-fhir/tsconfig.json diff --git a/test/unit/api/profile-getters.test.ts b/test/unit/api/profile-getters.test.ts index 5ab386872..51fa1d781 100644 --- a/test/unit/api/profile-getters.test.ts +++ b/test/unit/api/profile-getters.test.ts @@ -1,8 +1,10 @@ import { describe, expect, it } from "bun:test"; import type { Observation } from "../../../examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Observation"; import type { Patient } from "../../../examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Patient"; -import { USCoreBloodPressureProfileProfile } from "../../../examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBloodPressureProfile"; -import { USCorePatientProfileProfile } from "../../../examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePatientProfile"; +import { + USCoreBloodPressureProfileProfile as usBpProfile, + USCorePatientProfileProfile as usPatientProfile, +} from "../../../examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles"; const createPatient = (): Patient => ({ resourceType: "Patient" }); const createObservation = (): Observation => ({ resourceType: "Observation", status: "final", code: {} }); @@ -10,7 +12,7 @@ const createObservation = (): Observation => ({ resourceType: "Observation", sta describe("Profile Getter Methods", () => { describe("Extension getters", () => { it("returns simplified object via getRace()", () => { - const profile = new USCorePatientProfileProfile(createPatient()); + const profile = new usPatientProfile(createPatient()); profile.setRace({ ombCategory: { system: "urn:oid:2.16.840.1.113883.6.238", code: "2106-3", display: "White" }, text: "White", @@ -23,7 +25,7 @@ describe("Profile Getter Methods", () => { }); it("returns raw Extension via getRaceExtension()", () => { - const profile = new USCorePatientProfileProfile(createPatient()); + const profile = new usPatientProfile(createPatient()); profile.setRace({ ombCategory: { system: "urn:oid:2.16.840.1.113883.6.238", code: "2106-3", display: "White" }, text: "White", @@ -36,12 +38,12 @@ describe("Profile Getter Methods", () => { }); it("returns undefined when extension not set", () => { - const profile = new USCorePatientProfileProfile(createPatient()); + const profile = new usPatientProfile(createPatient()); expect(profile.getRace()).toBeUndefined(); }); it("simple extension getter returns value directly", () => { - const profile = new USCorePatientProfileProfile(createPatient()); + const profile = new usPatientProfile(createPatient()); profile.setSex({ system: "http://hl7.org/fhir/administrative-gender", code: "male" }); const result = profile.getSex(); @@ -50,7 +52,7 @@ describe("Profile Getter Methods", () => { }); it("simple extension getSexExtension() returns raw Extension", () => { - const profile = new USCorePatientProfileProfile(createPatient()); + const profile = new usPatientProfile(createPatient()); profile.setSex({ system: "http://hl7.org/fhir/administrative-gender", code: "male" }); const raw = profile.getSexExtension(); @@ -62,7 +64,7 @@ describe("Profile Getter Methods", () => { describe("Slice getters", () => { it("returns simplified slice without discriminator via getSystolic()", () => { - const profile = new USCoreBloodPressureProfileProfile(createObservation()); + const profile = new usBpProfile(createObservation()); profile.setSystolic({ valueQuantity: { value: 120, unit: "mmHg", system: "http://unitsofmeasure.org", code: "mm[Hg]" }, }); @@ -75,7 +77,7 @@ describe("Profile Getter Methods", () => { }); it("returns full slice with discriminator via getSystolicRaw()", () => { - const profile = new USCoreBloodPressureProfileProfile(createObservation()); + const profile = new usBpProfile(createObservation()); profile.setSystolic({ valueQuantity: { value: 120, unit: "mmHg", system: "http://unitsofmeasure.org", code: "mm[Hg]" }, }); @@ -88,13 +90,13 @@ describe("Profile Getter Methods", () => { }); it("returns undefined when slice not set", () => { - const profile = new USCoreBloodPressureProfileProfile(createObservation()); + const profile = new usBpProfile(createObservation()); expect(profile.getSystolic()).toBeUndefined(); expect(profile.getDiastolic()).toBeUndefined(); }); it("can get multiple slices independently", () => { - const profile = new USCoreBloodPressureProfileProfile(createObservation()); + const profile = new usBpProfile(createObservation()); profile.setSystolic({ valueQuantity: { value: 120, unit: "mmHg" } }); profile.setDiastolic({ valueQuantity: { value: 80, unit: "mmHg" } }); @@ -108,7 +110,7 @@ describe("Profile Getter Methods", () => { describe("Round-trip: set and get", () => { it("can set and get extension values", () => { - const profile = new USCorePatientProfileProfile(createPatient()); + const profile = new usPatientProfile(createPatient()); // Set values profile.setRace({ From 63ae25f8dac33c3f92fd0ffecfcc71350399aaab Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Wed, 4 Mar 2026 17:11:07 +0100 Subject: [PATCH 2/2] Regenerate US Core examples --- .../typescript-us-core/type-tree.yaml | 23942 ++++++++++++++++ .../fhir-types/hl7-fhir-r4-core/Account.ts | 2 +- .../hl7-fhir-r4-core/ActivityDefinition.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Address.ts | 4 +- .../hl7-fhir-r4-core/AdverseEvent.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Age.ts | 2 +- .../hl7-fhir-r4-core/AllergyIntolerance.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Annotation.ts | 2 +- .../hl7-fhir-r4-core/Appointment.ts | 6 +- .../hl7-fhir-r4-core/AppointmentResponse.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Attachment.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/AuditEvent.ts | 16 +- .../hl7-fhir-r4-core/BackboneElement.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Basic.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Binary.ts | 2 +- .../BiologicallyDerivedProduct.ts | 2 +- .../hl7-fhir-r4-core/BodyStructure.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Bundle.ts | 2 +- .../hl7-fhir-r4-core/CapabilityStatement.ts | 16 +- .../fhir-types/hl7-fhir-r4-core/CarePlan.ts | 6 +- .../fhir-types/hl7-fhir-r4-core/CareTeam.ts | 2 +- .../hl7-fhir-r4-core/CatalogEntry.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/ChargeItem.ts | 6 +- .../hl7-fhir-r4-core/ChargeItemDefinition.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Claim.ts | 4 +- .../hl7-fhir-r4-core/ClaimResponse.ts | 6 +- .../hl7-fhir-r4-core/ClinicalImpression.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/CodeSystem.ts | 6 +- .../hl7-fhir-r4-core/CodeableConcept.ts | 6 +- .../fhir-types/hl7-fhir-r4-core/Coding.ts | 6 +- .../hl7-fhir-r4-core/Communication.ts | 6 +- .../hl7-fhir-r4-core/CommunicationRequest.ts | 2 +- .../hl7-fhir-r4-core/CompartmentDefinition.ts | 2 +- .../hl7-fhir-r4-core/Composition.ts | 6 +- .../fhir-types/hl7-fhir-r4-core/ConceptMap.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Condition.ts | 10 +- .../fhir-types/hl7-fhir-r4-core/Consent.ts | 10 +- .../hl7-fhir-r4-core/ContactDetail.ts | 2 +- .../hl7-fhir-r4-core/ContactPoint.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Contract.ts | 8 +- .../hl7-fhir-r4-core/Contributor.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Count.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Coverage.ts | 10 +- .../CoverageEligibilityRequest.ts | 4 +- .../CoverageEligibilityResponse.ts | 4 +- .../hl7-fhir-r4-core/DataRequirement.ts | 12 +- .../fhir-types/hl7-fhir-r4-core/Definition.ts | 5 +- .../hl7-fhir-r4-core/DetectedIssue.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Device.ts | 4 +- .../hl7-fhir-r4-core/DeviceDefinition.ts | 4 +- .../hl7-fhir-r4-core/DeviceMetric.ts | 2 +- .../hl7-fhir-r4-core/DeviceRequest.ts | 6 +- .../hl7-fhir-r4-core/DeviceUseStatement.ts | 2 +- .../hl7-fhir-r4-core/DiagnosticReport.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Distance.ts | 2 +- .../hl7-fhir-r4-core/DocumentManifest.ts | 2 +- .../hl7-fhir-r4-core/DocumentReference.ts | 2 +- .../hl7-fhir-r4-core/DomainResource.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Dosage.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Duration.ts | 2 +- .../EffectEvidenceSynthesis.ts | 20 +- .../fhir-types/hl7-fhir-r4-core/Element.ts | 2 +- .../hl7-fhir-r4-core/ElementDefinition.ts | 24 +- .../fhir-types/hl7-fhir-r4-core/Encounter.ts | 12 +- .../fhir-types/hl7-fhir-r4-core/Endpoint.ts | 8 +- .../hl7-fhir-r4-core/EnrollmentRequest.ts | 2 +- .../hl7-fhir-r4-core/EnrollmentResponse.ts | 2 +- .../hl7-fhir-r4-core/EpisodeOfCare.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Event.ts | 5 +- .../hl7-fhir-r4-core/EventDefinition.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Evidence.ts | 2 +- .../hl7-fhir-r4-core/EvidenceVariable.ts | 2 +- .../hl7-fhir-r4-core/ExampleScenario.ts | 4 +- .../hl7-fhir-r4-core/ExplanationOfBenefit.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Expression.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Extension.ts | 2 +- .../hl7-fhir-r4-core/FamilyMemberHistory.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/FiveWs.ts | 5 +- .../fhir-types/hl7-fhir-r4-core/Flag.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Goal.ts | 6 +- .../hl7-fhir-r4-core/GraphDefinition.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Group.ts | 2 +- .../hl7-fhir-r4-core/GuidanceResponse.ts | 2 +- .../hl7-fhir-r4-core/HealthcareService.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/HumanName.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Identifier.ts | 4 +- .../hl7-fhir-r4-core/ImagingStudy.ts | 4 +- .../hl7-fhir-r4-core/Immunization.ts | 4 +- .../ImmunizationEvaluation.ts | 2 +- .../ImmunizationRecommendation.ts | 2 +- .../hl7-fhir-r4-core/ImplementationGuide.ts | 4 +- .../hl7-fhir-r4-core/InsurancePlan.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Invoice.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Library.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Linkage.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/List.ts | 6 +- .../fhir-types/hl7-fhir-r4-core/Location.ts | 6 +- .../hl7-fhir-r4-core/MarketingStatus.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Measure.ts | 18 +- .../hl7-fhir-r4-core/MeasureReport.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Media.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Medication.ts | 2 +- .../MedicationAdministration.ts | 6 +- .../hl7-fhir-r4-core/MedicationDispense.ts | 4 +- .../hl7-fhir-r4-core/MedicationKnowledge.ts | 4 +- .../hl7-fhir-r4-core/MedicationRequest.ts | 6 +- .../hl7-fhir-r4-core/MedicationStatement.ts | 4 +- .../hl7-fhir-r4-core/MedicinalProduct.ts | 4 +- .../MedicinalProductAuthorization.ts | 2 +- .../MedicinalProductContraindication.ts | 2 +- .../MedicinalProductIndication.ts | 2 +- .../MedicinalProductIngredient.ts | 2 +- .../MedicinalProductInteraction.ts | 2 +- .../MedicinalProductManufactured.ts | 2 +- .../MedicinalProductPackaged.ts | 2 +- .../MedicinalProductPharmaceutical.ts | 2 +- .../MedicinalProductUndesirableEffect.ts | 2 +- .../hl7-fhir-r4-core/MessageDefinition.ts | 8 +- .../hl7-fhir-r4-core/MessageHeader.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Meta.ts | 4 +- .../hl7-fhir-r4-core/MetadataResource.ts | 7 +- .../hl7-fhir-r4-core/MolecularSequence.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Money.ts | 2 +- .../hl7-fhir-r4-core/NamingSystem.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Narrative.ts | 2 +- .../hl7-fhir-r4-core/NutritionOrder.ts | 10 +- .../hl7-fhir-r4-core/Observation.ts | 14 +- .../hl7-fhir-r4-core/ObservationDefinition.ts | 6 +- .../hl7-fhir-r4-core/OperationDefinition.ts | 4 +- .../hl7-fhir-r4-core/OperationOutcome.ts | 2 +- .../hl7-fhir-r4-core/Organization.ts | 6 +- .../OrganizationAffiliation.ts | 2 +- .../hl7-fhir-r4-core/ParameterDefinition.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Parameters.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Patient.ts | 6 +- .../hl7-fhir-r4-core/PaymentNotice.ts | 2 +- .../hl7-fhir-r4-core/PaymentReconciliation.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Period.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Person.ts | 2 +- .../hl7-fhir-r4-core/PlanDefinition.ts | 10 +- .../fhir-types/hl7-fhir-r4-core/Population.ts | 2 +- .../hl7-fhir-r4-core/Practitioner.ts | 4 +- .../hl7-fhir-r4-core/PractitionerRole.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Procedure.ts | 6 +- .../hl7-fhir-r4-core/ProdCharacteristic.ts | 6 +- .../hl7-fhir-r4-core/ProductShelfLife.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Provenance.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Quantity.ts | 2 +- .../hl7-fhir-r4-core/Questionnaire.ts | 6 +- .../hl7-fhir-r4-core/QuestionnaireResponse.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Range.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Ratio.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Reference.ts | 2 +- .../hl7-fhir-r4-core/RelatedArtifact.ts | 2 +- .../hl7-fhir-r4-core/RelatedPerson.ts | 6 +- .../fhir-types/hl7-fhir-r4-core/Request.ts | 5 +- .../hl7-fhir-r4-core/RequestGroup.ts | 8 +- .../hl7-fhir-r4-core/ResearchDefinition.ts | 6 +- .../ResearchElementDefinition.ts | 6 +- .../hl7-fhir-r4-core/ResearchStudy.ts | 6 +- .../hl7-fhir-r4-core/ResearchSubject.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Resource.ts | 6 +- .../hl7-fhir-r4-core/RiskAssessment.ts | 2 +- .../hl7-fhir-r4-core/RiskEvidenceSynthesis.ts | 16 +- .../hl7-fhir-r4-core/SampledData.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Schedule.ts | 2 +- .../hl7-fhir-r4-core/SearchParameter.ts | 12 +- .../hl7-fhir-r4-core/ServiceRequest.ts | 6 +- .../fhir-types/hl7-fhir-r4-core/Signature.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Slot.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/Specimen.ts | 4 +- .../hl7-fhir-r4-core/SpecimenDefinition.ts | 2 +- .../hl7-fhir-r4-core/StructureDefinition.ts | 6 +- .../hl7-fhir-r4-core/StructureMap.ts | 4 +- .../hl7-fhir-r4-core/Subscription.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Substance.ts | 4 +- .../hl7-fhir-r4-core/SubstanceAmount.ts | 4 +- .../hl7-fhir-r4-core/SubstanceNucleicAcid.ts | 2 +- .../hl7-fhir-r4-core/SubstancePolymer.ts | 4 +- .../hl7-fhir-r4-core/SubstanceProtein.ts | 4 +- .../SubstanceReferenceInformation.ts | 2 +- .../SubstanceSourceMaterial.ts | 6 +- .../SubstanceSpecification.ts | 2 +- .../hl7-fhir-r4-core/SupplyDelivery.ts | 4 +- .../hl7-fhir-r4-core/SupplyRequest.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/Task.ts | 2 +- .../TerminologyCapabilities.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/TestReport.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/TestScript.ts | 8 +- .../fhir-types/hl7-fhir-r4-core/Timing.ts | 8 +- .../hl7-fhir-r4-core/TriggerDefinition.ts | 2 +- .../hl7-fhir-r4-core/UsageContext.ts | 4 +- .../fhir-types/hl7-fhir-r4-core/ValueSet.ts | 6 +- .../hl7-fhir-r4-core/VerificationResult.ts | 16 +- .../hl7-fhir-r4-core/VisionPrescription.ts | 2 +- .../fhir-types/hl7-fhir-r4-core/index.ts | 7 - ...Definition_Shareable_ActivityDefinition.ts | 138 + .../hl7-fhir-r4-core/profiles/ActualGroup.ts | 20 - ...FM_Record_Lifecycle_Event___Audit_Event.ts | 105 + .../profiles/CdsHooksGuidanceResponse.ts | 48 - .../profiles/CdsHooksRequestGroup.ts | 30 - .../profiles/CdsHooksServicePlanDefinition.ts | 37 - .../profiles/ClinicalDocument.ts | 37 - .../CodeSystem_Shareable_CodeSystem.ts | 165 + .../profiles/Composition_Clinical_Document.ts | 68 + ... => Composition_DocumentSectionLibrary.ts} | 32 +- .../profiles/Composition_DocumentStructure.ts | 50 + .../Composition_Profile_for_Catalog.ts | 116 + .../profiles/ComputablePlanDefinition.ts | 28 - .../profiles/CqfQuestionnaire.ts | 37 - .../hl7-fhir-r4-core/profiles/CqlLibrary.ts | 20 - .../DeviceMetricObservationProfile.ts | 33 - ...nosticReport_DiagnosticReport_Genetics.ts} | 40 +- .../DiagnosticReport_Example_Lipid_Profile.ts | 64 + ...ort_Profile_for_HLA_Genotyping_Results.ts} | 40 +- .../profiles/DocumentStructure.ts | 20 - .../EhrsFmRecordLifecycleEventAuditEvent.ts | 20 - .../EhrsFmRecordLifecycleEventProvenance.ts | 20 - ...nstraint_on_ElementDefinition_data_type.ts | 72 + .../profiles/EvidenceSynthesisProfile.ts | 30 - .../EvidenceVariable_PICO_Element_Profile.ts | 67 + .../Evidence_Evidence_Synthesis_Profile.ts | 115 + .../profiles/ExampleLipidProfile.ts | 29 - .../Extension_ADXP_additionalLocator.ts | 73 + .../Extension_ADXP_buildingNumberSuffix.ts | 73 + .../profiles/Extension_ADXP_careOf.ts | 73 + .../profiles/Extension_ADXP_censusTract.ts | 73 + .../profiles/Extension_ADXP_delimiter.ts | 73 + .../Extension_ADXP_deliveryAddressLine.ts | 73 + ...Extension_ADXP_deliveryInstallationArea.ts | 73 + ...sion_ADXP_deliveryInstallationQualifier.ts | 73 + ...Extension_ADXP_deliveryInstallationType.ts | 73 + .../profiles/Extension_ADXP_deliveryMode.ts | 73 + .../Extension_ADXP_deliveryModeIdentifier.ts | 73 + .../profiles/Extension_ADXP_direction.ts | 73 + .../profiles/Extension_ADXP_houseNumber.ts | 73 + .../Extension_ADXP_houseNumberNumeric.ts | 73 + .../profiles/Extension_ADXP_postBox.ts | 73 + .../profiles/Extension_ADXP_precinct.ts | 73 + .../Extension_ADXP_streetAddressLine.ts | 73 + .../profiles/Extension_ADXP_streetName.ts | 73 + .../profiles/Extension_ADXP_streetNameBase.ts | 73 + .../profiles/Extension_ADXP_streetNameType.ts | 73 + .../profiles/Extension_ADXP_unitID.ts | 73 + .../profiles/Extension_ADXP_unitType.ts | 73 + .../profiles/Extension_AD_use.ts | 73 + .../profiles/Extension_Accession.ts | 74 + .../profiles/Extension_Allele.ts | 105 + .../profiles/Extension_AminoAcidChange.ts | 89 + .../profiles/Extension_Analysis.ts | 104 + .../profiles/Extension_Ancestry.ts | 120 + .../profiles/Extension_Anonymized.ts | 73 + .../profiles/Extension_AssessedCondition.ts | 74 + .../Extension_BodyStructure_Reference.ts | 74 + .../profiles/Extension_CopyNumberEvent.ts | 74 + .../profiles/Extension_DNARegionName.ts | 73 + .../profiles/Extension_Data_Absent_Reason.ts | 73 + .../profiles/Extension_Design_Note.ts | 73 + .../profiles/Extension_Display_Name.ts | 73 + .../profiles/Extension_EN_qualifier.ts | 73 + .../profiles/Extension_EN_representation.ts | 73 + .../profiles/Extension_EN_use.ts | 73 + .../profiles/Extension_Encrypted.ts | 73 + .../profiles/Extension_FamilyMemberHistory.ts | 74 + .../profiles/Extension_Gene.ts | 74 + .../profiles/Extension_GenomicSourceClass.ts | 74 + .../profiles/Extension_Geolocation.ts | 103 + .../profiles/Extension_Human_Language.ts | 73 + .../profiles/Extension_Instance.ts | 74 + .../profiles/Extension_Interpretation.ts | 74 + .../profiles/Extension_Item.ts | 137 + .../profiles/Extension_MPPS.ts | 74 + .../profiles/Extension_Narrative_Link.ts | 73 + .../Extension_NotificationEndpoint.ts | 73 + .../profiles/Extension_NumberOfInstances.ts | 73 + .../profiles/Extension_Ordinal_Value.ts | 73 + .../profiles/Extension_Original_Text.ts | 73 + .../profiles/Extension_PQ_translation.ts | 74 + ...xtension_ParticipantObjectContainsStudy.ts | 74 + .../profiles/Extension_PhaseSet.ts | 89 + .../profiles/Extension_References.ts | 105 + .../Extension_Relative_Date_Criteria.ts | 121 + .../profiles/Extension_Rendered_Value.ts | 73 + .../profiles/Extension_SC_coding.ts | 74 + .../profiles/Extension_SOPClass.ts | 74 + .../profiles/Extension_TEL_address.ts | 73 + .../profiles/Extension_Timezone_Code.ts | 73 + .../profiles/Extension_Timezone_Offset.ts | 73 + .../profiles/Extension_Transcriber.ts | 74 + .../profiles/Extension_Translation.ts | 103 + .../profiles/Extension_ValidityPeriod.ts | 73 + .../profiles/Extension_Variable.ts | 74 + .../profiles/Extension_Variant.ts | 105 + .../profiles/Extension_Witness.ts | 74 + .../profiles/Extension_abatement.ts | 87 + .../profiles/Extension_acceptance.ts | 121 + .../profiles/Extension_activityStatusDate.ts | 73 + .../profiles/Extension_activity_title.ts | 73 + .../Extension_adaptiveFeedingDevice.ts | 74 + .../profiles/Extension_addendumOf.ts | 74 + .../profiles/Extension_administration.ts | 74 + .../profiles/Extension_adoptionInfo.ts | 74 + .../profiles/Extension_allele_database.ts | 74 + .../profiles/Extension_allowedUnits.ts | 78 + .../profiles/Extension_allowed_type.ts | 73 + .../profiles/Extension_alternate.ts | 104 + .../profiles/Extension_ancestor.ts | 73 + .../profiles/Extension_animal.ts | 120 + .../profiles/Extension_animalSpecies.ts | 74 + .../profiles/Extension_applicable_version.ts | 73 + .../Extension_approachBodyStructure.ts | 74 + .../profiles/Extension_approvalDate.ts | 73 + .../profiles/Extension_area.ts | 73 + .../profiles/Extension_assembly_order.ts | 73 + .../profiles/Extension_assertedDate.ts | 73 + .../profiles/Extension_associatedEncounter.ts | 74 + .../profiles/Extension_author.ts | 74 + .../profiles/Extension_authoritativeSource.ts | 73 + .../profiles/Extension_authority.ts | 73 + .../profiles/Extension_baseType.ts | 73 + .../profiles/Extension_basedOn.ts | 74 + .../profiles/Extension_bestpractice.ts | 78 + .../Extension_bestpractice_explanation.ts | 73 + .../profiles/Extension_bidirectional.ts | 73 + .../profiles/Extension_bindingName.ts | 73 + .../profiles/Extension_birthPlace.ts | 74 + .../profiles/Extension_birthTime.ts | 73 + .../profiles/Extension_bodyPosition.ts | 74 + .../profiles/Extension_boundary_geojson.ts | 74 + .../profiles/Extension_cadavericDonor.ts | 73 + .../profiles/Extension_calculatedValue.ts | 73 + .../profiles/Extension_candidateList.ts | 74 + .../profiles/Extension_capabilities.ts | 73 + .../profiles/Extension_careplan.ts | 74 + .../profiles/Extension_caseSensitive.ts | 73 + .../profiles/Extension_category.ts | 73 + .../profiles/Extension_causedBy.ts | 74 + .../profiles/Extension_cdsHooksEndpoint.ts | 73 + .../profiles/Extension_certainty.ts | 74 + .../profiles/Extension_changeBase.ts | 74 + .../profiles/Extension_choiceOrientation.ts | 73 + .../profiles/Extension_citation.ts | 73 + .../profiles/Extension_citizenship.ts | 90 + .../profiles/Extension_codegen_super.ts | 73 + .../profiles/Extension_collectionPriority.ts | 74 + .../profiles/Extension_completionMode.ts | 74 + .../profiles/Extension_conceptOrder.ts | 73 + .../profiles/Extension_concept_comments.ts | 73 + .../profiles/Extension_concept_definition.ts | 73 + .../profiles/Extension_congregation.ts | 73 + .../profiles/Extension_constraint.ts | 167 + .../profiles/Extension_country.ts | 73 + .../profiles/Extension_dayOfMonth.ts | 73 + .../profiles/Extension_daysOfCycle.ts | 87 + .../profiles/Extension_delta.ts | 74 + .../profiles/Extension_dependencies.ts | 73 + .../profiles/Extension_deprecated.ts | 73 + .../profiles/Extension_detail.ts | 74 + .../profiles/Extension_detectedIssue.ts | 74 + .../profiles/Extension_deviceCode.ts | 74 + .../profiles/Extension_directedBy.ts | 79 + .../profiles/Extension_disability.ts | 74 + .../profiles/Extension_displayCategory.ts | 74 + .../profiles/Extension_display_hint.ts | 73 + .../profiles/Extension_doNotPerform.ts | 73 + .../profiles/Extension_dueTo.ts | 79 + .../profiles/Extension_duration.ts | 74 + .../profiles/Extension_effectiveDate.ts | 73 + .../profiles/Extension_effectivePeriod.ts | 74 + .../profiles/Extension_encounterClass.ts | 74 + .../profiles/Extension_encounterType.ts | 74 + .../profiles/Extension_entryFormat.ts | 73 + .../profiles/Extension_episodeOfCare.ts | 74 + .../profiles/Extension_equivalence.ts | 73 + .../profiles/Extension_eventHistory.ts | 74 + .../profiles/Extension_exact.ts | 73 + .../profiles/Extension_expand_group.ts | 104 + .../profiles/Extension_expand_rules.ts | 73 + .../profiles/Extension_expansionSource.ts | 73 + .../profiles/Extension_expectation.ts | 73 + .../profiles/Extension_expirationDate.ts | 73 + .../profiles/Extension_explicit_type_name.ts | 73 + .../profiles/Extension_exposureDate.ts | 73 + .../profiles/Extension_exposureDescription.ts | 73 + .../profiles/Extension_exposureDuration.ts | 74 + .../profiles/Extension_expression.ts | 74 + .../profiles/Extension_extends.ts | 74 + .../profiles/Extension_extensible.ts | 73 + .../profiles/Extension_extension.ts | 73 + .../profiles/Extension_fathers_family.ts | 73 + .../profiles/Extension_fhirType.ts | 73 + .../profiles/Extension_fhir_type.ts | 73 + .../profiles/Extension_fmm.ts | 73 + .../profiles/Extension_fmm_no_warnings.ts | 73 + .../profiles/Extension_focusCode.ts | 74 + .../profiles/Extension_fullUrl.ts | 73 + .../profiles/Extension_gatewayDevice.ts | 74 + .../profiles/Extension_genderIdentity.ts | 74 + .../profiles/Extension_glstring.ts | 79 + .../profiles/Extension_group.ts | 73 + .../profiles/Extension_haploid.ts | 105 + .../profiles/Extension_hidden.ts | 73 + .../profiles/Extension_hierarchy.ts | 73 + .../profiles/Extension_history.ts | 82 + .../Extension_http_response_header.ts | 73 + .../profiles/Extension_identifier.ts | 74 + .../profiles/Extension_implantStatus.ts | 73 + .../profiles/Extension_importance.ts | 74 + .../profiles/Extension_incisionDateTime.ts | 73 + .../Extension_inheritedExtensibleValueSet.ts | 77 + .../profiles/Extension_initialValue.ts | 73 + .../profiles/Extension_initiatingLocation.ts | 74 + .../Extension_initiatingOrganization.ts | 74 + .../profiles/Extension_initiatingPerson.ts | 74 + .../Extension_instantiatesCanonical.ts | 73 + .../profiles/Extension_instantiatesUri.ts | 73 + .../profiles/Extension_insurance.ts | 74 + .../profiles/Extension_interpreterRequired.ts | 73 + .../profiles/Extension_isCommonBinding.ts | 73 + .../profiles/Extension_isDryWeight.ts | 73 + .../profiles/Extension_issue_source.ts | 73 + .../profiles/Extension_itemControl.ts | 74 + .../profiles/Extension_keyWord.ts | 73 + .../profiles/Extension_label.ts | 73 + .../profiles/Extension_lastReviewDate.ts | 73 + .../profiles/Extension_library.ts | 73 + .../profiles/Extension_local.ts | 73 + .../profiles/Extension_location.ts | 74 + .../profiles/Extension_locationPerformed.ts | 74 + .../profiles/Extension_location_distance.ts | 74 + .../profiles/Extension_management.ts | 73 + .../profiles/Extension_map.ts | 73 + .../profiles/Extension_markdown.ts | 73 + .../profiles/Extension_match_grade.ts | 73 + .../profiles/Extension_maxDecimalPlaces.ts | 73 + .../profiles/Extension_maxOccurs.ts | 73 + .../profiles/Extension_maxSize.ts | 73 + .../profiles/Extension_maxValue.ts | 113 + .../profiles/Extension_maxValueSet.ts | 77 + .../profiles/Extension_measureInfo.ts | 104 + .../profiles/Extension_media.ts | 74 + ...xtension_messageheader_response_request.ts | 73 + .../profiles/Extension_method.ts | 74 + .../profiles/Extension_mimeType.ts | 73 + .../profiles/Extension_minLength.ts | 73 + .../profiles/Extension_minOccurs.ts | 73 + .../profiles/Extension_minValue.ts | 104 + .../profiles/Extension_minValueSet.ts | 77 + .../profiles/Extension_modeOfArrival.ts | 74 + .../profiles/Extension_mothersMaidenName.ts | 73 + .../profiles/Extension_mothers_family.ts | 73 + .../profiles/Extension_namespace.ts | 73 + .../profiles/Extension_nationality.ts | 90 + .../profiles/Extension_normative_version.ts | 73 + .../profiles/Extension_nullFlavor.ts | 73 + .../profiles/Extension_oauth_uris.ts | 135 + .../profiles/Extension_objectClass.ts | 74 + .../profiles/Extension_objectClassProperty.ts | 74 + .../profiles/Extension_observation.ts | 74 + .../profiles/Extension_occurredFollowing.ts | 79 + .../profiles/Extension_optionExclusive.ts | 73 + .../profiles/Extension_optionPrefix.ts | 73 + .../Extension_otherConfidentiality.ts | 74 + .../profiles/Extension_otherName.ts | 103 + .../profiles/Extension_outcome.ts | 74 + .../profiles/Extension_own_name.ts | 73 + .../profiles/Extension_own_prefix.ts | 73 + .../profiles/Extension_parameterSource.ts | 73 + .../profiles/Extension_parent.ts | 105 + .../profiles/Extension_partOf.ts | 74 + .../profiles/Extension_partner_name.ts | 73 + .../profiles/Extension_partner_prefix.ts | 73 + .../profiles/Extension_patientInstruction.ts | 103 + .../profiles/Extension_patient_record.ts | 74 + .../profiles/Extension_performerFunction.ts | 74 + .../profiles/Extension_performerOrder.ts | 73 + .../profiles/Extension_period.ts | 74 + .../Extension_permitted_value_conceptmap.ts | 73 + .../Extension_permitted_value_valueset.ts | 73 + .../profiles/Extension_pertainsToGoal.ts | 74 + .../profiles/Extension_precision.ts | 73 + .../profiles/Extension_precondition.ts | 74 + .../profiles/Extension_preferenceType.ts | 74 + .../profiles/Extension_preferred.ts | 73 + .../profiles/Extension_preferredContact.ts | 73 + .../profiles/Extension_primaryInd.ts | 73 + .../profiles/Extension_priority.ts | 74 + .../profiles/Extension_processingTime.ts | 79 + .../profiles/Extension_proficiency.ts | 89 + .../profiles/Extension_profile.ts | 73 + .../profiles/Extension_profile_element.ts | 73 + .../profiles/Extension_progressStatus.ts | 74 + .../profiles/Extension_prohibited.ts | 73 + .../profiles/Extension_qualityOfEvidence.ts | 74 + .../profiles/Extension_question.ts | 73 + .../Extension_questionnaireRequest.ts | 74 + .../profiles/Extension_reagent.ts | 74 + .../profiles/Extension_reason.ts | 74 + .../profiles/Extension_reasonCancelled.ts | 74 + .../profiles/Extension_reasonCode.ts | 74 + .../profiles/Extension_reasonReference.ts | 74 + .../profiles/Extension_reasonRefuted.ts | 74 + .../profiles/Extension_reasonRejected.ts | 74 + .../Extension_receivingOrganization.ts | 74 + .../profiles/Extension_receivingPerson.ts | 74 + .../profiles/Extension_recipientLanguage.ts | 74 + .../profiles/Extension_recipientType.ts | 74 + .../profiles/Extension_reference.ts | 73 + .../profiles/Extension_referenceFilter.ts | 73 + .../profiles/Extension_referenceProfile.ts | 73 + .../profiles/Extension_referenceResource.ts | 73 + .../profiles/Extension_regex.ts | 73 + .../profiles/Extension_related.ts | 74 + .../profiles/Extension_relatedArtifact.ts | 74 + .../profiles/Extension_relatedPerson.ts | 74 + .../profiles/Extension_relationship.ts | 105 + .../profiles/Extension_relativeDateTime.ts | 137 + .../profiles/Extension_relevantHistory.ts | 74 + .../profiles/Extension_religion.ts | 74 + .../profiles/Extension_replacedby.ts | 74 + .../profiles/Extension_replaces.ts | 74 + .../profiles/Extension_researchStudy.ts | 74 + .../profiles/Extension_resolutionAge.ts | 74 + .../profiles/Extension_reviewer.ts | 74 + .../profiles/Extension_risk.ts | 74 + .../profiles/Extension_ruledOut.ts | 74 + .../profiles/Extension_rules_text.ts | 73 + .../profiles/Extension_schedule.ts | 74 + .../profiles/Extension_sctdescid.ts | 73 + .../Extension_search_parameter_combination.ts | 103 + .../profiles/Extension_secondaryFinding.ts | 74 + .../profiles/Extension_section_subject.ts | 73 + .../profiles/Extension_security_category.ts | 73 + .../profiles/Extension_selector.ts | 73 + .../profiles/Extension_sequelTo.ts | 74 + .../profiles/Extension_sequenceNumber.ts | 73 + .../profiles/Extension_severity.ts | 74 + .../profiles/Extension_sibling.ts | 105 + .../profiles/Extension_signature.ts | 74 + .../profiles/Extension_signatureRequired.ts | 74 + .../profiles/Extension_sliderStepValue.ts | 73 + .../profiles/Extension_sourceReference.ts | 73 + .../profiles/Extension_specialHandling.ts | 74 + .../profiles/Extension_special_status.ts | 73 + .../profiles/Extension_specimenCode.ts | 74 + .../profiles/Extension_standards_status.ts | 73 + .../profiles/Extension_statusReason.ts | 74 + .../profiles/Extension_steward.ts | 74 + .../Extension_strengthOfRecommendation.ts | 74 + .../profiles/Extension_style.ts | 73 + .../profiles/Extension_styleSensitive.ts | 73 + .../Extension_substanceExposureRisk.ts | 104 + .../profiles/Extension_summary.ts | 73 + .../profiles/Extension_summaryOf.ts | 74 + .../profiles/Extension_supplement.ts | 73 + .../profiles/Extension_supportLink.ts | 73 + .../profiles/Extension_supported_system.ts | 73 + .../profiles/Extension_supportingInfo.ts | 74 + .../profiles/Extension_system.ts | 73 + .../profiles/Extension_systemName.ts | 73 + .../profiles/Extension_systemRef.ts | 73 + .../profiles/Extension_systemUserLanguage.ts | 74 + .../Extension_systemUserTaskContext.ts | 74 + .../profiles/Extension_systemUserType.ts | 74 + .../profiles/Extension_table_name.ts | 73 + .../profiles/Extension_targetBodyStructure.ts | 74 + .../profiles/Extension_template_status.ts | 73 + .../profiles/Extension_test.ts | 74 + .../profiles/Extension_timeOffset.ts | 73 + .../profiles/Extension_toocostly.ts | 73 + .../profiles/Extension_translatable.ts | 73 + .../profiles/Extension_trusted_expansion.ts | 73 + .../profiles/Extension_type.ts | 74 + .../profiles/Extension_uncertainty.ts | 73 + .../profiles/Extension_uncertaintyType.ts | 73 + .../profiles/Extension_unclosed.ts | 73 + .../profiles/Extension_unit.ts | 74 + .../profiles/Extension_unitOption.ts | 74 + .../profiles/Extension_unitValueSet.ts | 73 + .../profiles/Extension_usage.ts | 103 + .../profiles/Extension_usageMode.ts | 73 + .../profiles/Extension_validDate.ts | 73 + .../profiles/Extension_versionNumber.ts | 73 + .../profiles/Extension_warning.ts | 73 + .../profiles/Extension_websocket.ts | 73 + .../hl7-fhir-r4-core/profiles/Extension_wg.ts | 73 + .../profiles/Extension_workflowStatus.ts | 73 + .../profiles/Extension_xhtml.ts | 73 + .../profiles/Extension_xml_no_order.ts | 73 + ...ly_member_history_for_genetics_analysis.ts | 246 + .../profiles/GroupDefinition.ts | 20 - .../profiles/Group_Actual_Group.ts | 62 + .../profiles/Group_Group_Definition.ts | 62 + ...anceResponse_CDS_Hooks_GuidanceResponse.ts | 117 + .../profiles/Library_CQL_Library.ts | 63 + .../profiles/Library_Shareable_Library.ts | 138 + .../profiles/Measure_Shareable_Measure.ts | 138 + .../profiles/ObservationBmi.ts | 67 - .../profiles/ObservationBodyheight.ts | 65 - .../profiles/ObservationBodytemp.ts | 65 - .../profiles/ObservationBodyweight.ts | 65 - .../profiles/ObservationBp.ts | 65 - .../profiles/ObservationHeadcircum.ts | 65 - .../profiles/ObservationHeartrate.ts | 65 - .../profiles/ObservationOxygensat.ts | 65 - .../profiles/ObservationResprate.ts | 65 - .../profiles/ObservationVitalsigns.ts | 65 - .../profiles/ObservationVitalspanel.ts | 66 - ...ation_Device_Metric_Observation_Profile.ts | 217 + .../Observation_Example_Lipid_Profile.ts | 100 + ...ts => Observation_Observation_genetics.ts} | 52 +- .../profiles/Observation_observation_bmi.ts | 185 + .../Observation_observation_bodyheight.ts | 184 + .../Observation_observation_bodytemp.ts | 184 + .../Observation_observation_bodyweight.ts | 184 + .../profiles/Observation_observation_bp.ts | 264 + .../Observation_observation_headcircum.ts | 184 + .../Observation_observation_heartrate.ts | 184 + .../Observation_observation_oxygensat.ts | 184 + .../Observation_observation_resprate.ts | 184 + .../Observation_observation_vitalsigns.ts | 174 + .../Observation_observation_vitalspanel.ts | 187 + .../profiles/PicoElementProfile.ts | 20 - ...nition_CDS_Hooks_Service_PlanDefinition.ts | 67 + ...lanDefinition_Computable_PlanDefinition.ts | 73 + ...PlanDefinition_Shareable_PlanDefinition.ts | 138 + .../profiles/ProfileForCatalog.ts | 46 - .../profiles/ProvenanceRelevantHistory.ts | 64 - ..._FM_Record_Lifecycle_Event___Provenance.ts | 93 + .../Provenance_Provenance_Relevant_History.ts | 148 + .../profiles/Quantity_MoneyQuantity.ts | 42 + .../profiles/Quantity_SimpleQuantity.ts | 45 + .../Questionnaire_CQF_Questionnaire.ts | 67 + .../RequestGroup_CDS_Hooks_RequestGroup.ts | 90 + ...ServiceRequest_ServiceRequest_Genetics.ts} | 32 +- .../profiles/ShareableActivityDefinition.ts | 33 - .../profiles/ShareableCodeSystem.ts | 35 - .../profiles/ShareableLibrary.ts | 33 - .../profiles/ShareableMeasure.ts | 33 - .../profiles/ShareablePlanDefinition.ts | 33 - .../profiles/ShareableValueSet.ts | 33 - .../profiles/ValueSet_Shareable_ValueSet.ts | 151 + .../hl7-fhir-r4-core/profiles/index.ts | 468 +- .../hl7-fhir-r4-examples/Account.ts | 2 +- .../ActivityDefinition.ts | 4 +- .../hl7-fhir-r4-examples/Address.ts | 4 +- .../hl7-fhir-r4-examples/AdverseEvent.ts | 8 +- .../fhir-types/hl7-fhir-r4-examples/Age.ts | 2 +- .../AllergyIntolerance.ts | 8 +- .../hl7-fhir-r4-examples/Annotation.ts | 2 +- .../hl7-fhir-r4-examples/Appointment.ts | 6 +- .../AppointmentResponse.ts | 4 +- .../hl7-fhir-r4-examples/Attachment.ts | 4 +- .../hl7-fhir-r4-examples/AuditEvent.ts | 16 +- .../hl7-fhir-r4-examples/BackboneElement.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Basic.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Binary.ts | 2 +- .../BiologicallyDerivedProduct.ts | 2 +- .../hl7-fhir-r4-examples/BodyStructure.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Bundle.ts | 2 +- .../CapabilityStatement.ts | 16 +- .../hl7-fhir-r4-examples/CarePlan.ts | 6 +- .../hl7-fhir-r4-examples/CareTeam.ts | 2 +- .../hl7-fhir-r4-examples/CatalogEntry.ts | 2 +- .../hl7-fhir-r4-examples/ChargeItem.ts | 6 +- .../ChargeItemDefinition.ts | 8 +- .../fhir-types/hl7-fhir-r4-examples/Claim.ts | 4 +- .../hl7-fhir-r4-examples/ClaimResponse.ts | 6 +- .../ClinicalImpression.ts | 4 +- .../hl7-fhir-r4-examples/CodeSystem.ts | 6 +- .../hl7-fhir-r4-examples/CodeableConcept.ts | 6 +- .../fhir-types/hl7-fhir-r4-examples/Coding.ts | 6 +- .../hl7-fhir-r4-examples/Communication.ts | 6 +- .../CommunicationRequest.ts | 2 +- .../CompartmentDefinition.ts | 2 +- .../hl7-fhir-r4-examples/Composition.ts | 6 +- .../hl7-fhir-r4-examples/ConceptMap.ts | 2 +- .../hl7-fhir-r4-examples/Condition.ts | 10 +- .../hl7-fhir-r4-examples/Consent.ts | 10 +- .../hl7-fhir-r4-examples/ContactDetail.ts | 2 +- .../hl7-fhir-r4-examples/ContactPoint.ts | 2 +- .../hl7-fhir-r4-examples/Contract.ts | 8 +- .../hl7-fhir-r4-examples/Contributor.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Count.ts | 2 +- .../hl7-fhir-r4-examples/Coverage.ts | 10 +- .../CoverageEligibilityRequest.ts | 4 +- .../CoverageEligibilityResponse.ts | 4 +- .../hl7-fhir-r4-examples/DataRequirement.ts | 12 +- .../hl7-fhir-r4-examples/Definition.ts | 5 +- .../hl7-fhir-r4-examples/DetectedIssue.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Device.ts | 4 +- .../hl7-fhir-r4-examples/DeviceDefinition.ts | 4 +- .../hl7-fhir-r4-examples/DeviceMetric.ts | 2 +- .../hl7-fhir-r4-examples/DeviceRequest.ts | 6 +- .../DeviceUseStatement.ts | 2 +- .../hl7-fhir-r4-examples/DiagnosticReport.ts | 2 +- .../hl7-fhir-r4-examples/Distance.ts | 2 +- .../hl7-fhir-r4-examples/DocumentManifest.ts | 2 +- .../hl7-fhir-r4-examples/DocumentReference.ts | 2 +- .../hl7-fhir-r4-examples/DomainResource.ts | 4 +- .../fhir-types/hl7-fhir-r4-examples/Dosage.ts | 4 +- .../hl7-fhir-r4-examples/Duration.ts | 2 +- .../EffectEvidenceSynthesis.ts | 20 +- .../hl7-fhir-r4-examples/Element.ts | 2 +- .../hl7-fhir-r4-examples/ElementDefinition.ts | 24 +- .../hl7-fhir-r4-examples/Encounter.ts | 12 +- .../hl7-fhir-r4-examples/Endpoint.ts | 8 +- .../hl7-fhir-r4-examples/EnrollmentRequest.ts | 2 +- .../EnrollmentResponse.ts | 2 +- .../hl7-fhir-r4-examples/EpisodeOfCare.ts | 4 +- .../fhir-types/hl7-fhir-r4-examples/Event.ts | 5 +- .../hl7-fhir-r4-examples/EventDefinition.ts | 2 +- .../hl7-fhir-r4-examples/Evidence.ts | 2 +- .../hl7-fhir-r4-examples/EvidenceVariable.ts | 2 +- .../hl7-fhir-r4-examples/ExampleScenario.ts | 4 +- .../ExplanationOfBenefit.ts | 8 +- .../hl7-fhir-r4-examples/Expression.ts | 4 +- .../hl7-fhir-r4-examples/Extension.ts | 2 +- .../FamilyMemberHistory.ts | 8 +- .../fhir-types/hl7-fhir-r4-examples/FiveWs.ts | 5 +- .../fhir-types/hl7-fhir-r4-examples/Flag.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Goal.ts | 6 +- .../hl7-fhir-r4-examples/GraphDefinition.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Group.ts | 2 +- .../hl7-fhir-r4-examples/GuidanceResponse.ts | 2 +- .../hl7-fhir-r4-examples/HealthcareService.ts | 4 +- .../hl7-fhir-r4-examples/HumanName.ts | 8 +- .../hl7-fhir-r4-examples/Identifier.ts | 4 +- .../hl7-fhir-r4-examples/ImagingStudy.ts | 4 +- .../hl7-fhir-r4-examples/Immunization.ts | 4 +- .../ImmunizationEvaluation.ts | 2 +- .../ImmunizationRecommendation.ts | 2 +- .../ImplementationGuide.ts | 4 +- .../hl7-fhir-r4-examples/InsurancePlan.ts | 8 +- .../hl7-fhir-r4-examples/Invoice.ts | 2 +- .../hl7-fhir-r4-examples/Library.ts | 4 +- .../hl7-fhir-r4-examples/Linkage.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/List.ts | 6 +- .../hl7-fhir-r4-examples/Location.ts | 6 +- .../hl7-fhir-r4-examples/MarketingStatus.ts | 2 +- .../hl7-fhir-r4-examples/Measure.ts | 18 +- .../hl7-fhir-r4-examples/MeasureReport.ts | 8 +- .../fhir-types/hl7-fhir-r4-examples/Media.ts | 4 +- .../hl7-fhir-r4-examples/Medication.ts | 2 +- .../MedicationAdministration.ts | 6 +- .../MedicationDispense.ts | 4 +- .../MedicationKnowledge.ts | 4 +- .../hl7-fhir-r4-examples/MedicationRequest.ts | 6 +- .../MedicationStatement.ts | 4 +- .../hl7-fhir-r4-examples/MedicinalProduct.ts | 4 +- .../MedicinalProductAuthorization.ts | 2 +- .../MedicinalProductContraindication.ts | 2 +- .../MedicinalProductIndication.ts | 2 +- .../MedicinalProductIngredient.ts | 2 +- .../MedicinalProductInteraction.ts | 2 +- .../MedicinalProductManufactured.ts | 2 +- .../MedicinalProductPackaged.ts | 2 +- .../MedicinalProductPharmaceutical.ts | 2 +- .../MedicinalProductUndesirableEffect.ts | 2 +- .../hl7-fhir-r4-examples/MessageDefinition.ts | 8 +- .../hl7-fhir-r4-examples/MessageHeader.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Meta.ts | 4 +- .../hl7-fhir-r4-examples/MetadataResource.ts | 7 +- .../hl7-fhir-r4-examples/MolecularSequence.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Money.ts | 2 +- .../hl7-fhir-r4-examples/NamingSystem.ts | 4 +- .../hl7-fhir-r4-examples/Narrative.ts | 2 +- .../hl7-fhir-r4-examples/NutritionOrder.ts | 10 +- .../hl7-fhir-r4-examples/Observation.ts | 14 +- .../ObservationDefinition.ts | 6 +- .../OperationDefinition.ts | 4 +- .../hl7-fhir-r4-examples/OperationOutcome.ts | 2 +- .../hl7-fhir-r4-examples/Organization.ts | 6 +- .../OrganizationAffiliation.ts | 2 +- .../ParameterDefinition.ts | 2 +- .../hl7-fhir-r4-examples/Parameters.ts | 2 +- .../hl7-fhir-r4-examples/Patient.ts | 6 +- .../hl7-fhir-r4-examples/PaymentNotice.ts | 2 +- .../PaymentReconciliation.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Period.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Person.ts | 2 +- .../hl7-fhir-r4-examples/PlanDefinition.ts | 10 +- .../hl7-fhir-r4-examples/Population.ts | 2 +- .../hl7-fhir-r4-examples/Practitioner.ts | 4 +- .../hl7-fhir-r4-examples/PractitionerRole.ts | 2 +- .../hl7-fhir-r4-examples/Procedure.ts | 6 +- .../ProdCharacteristic.ts | 6 +- .../hl7-fhir-r4-examples/ProductShelfLife.ts | 2 +- .../hl7-fhir-r4-examples/Provenance.ts | 8 +- .../hl7-fhir-r4-examples/Quantity.ts | 2 +- .../hl7-fhir-r4-examples/Questionnaire.ts | 6 +- .../QuestionnaireResponse.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Range.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Ratio.ts | 2 +- .../hl7-fhir-r4-examples/Reference.ts | 2 +- .../hl7-fhir-r4-examples/RelatedArtifact.ts | 2 +- .../hl7-fhir-r4-examples/RelatedPerson.ts | 6 +- .../hl7-fhir-r4-examples/Request.ts | 5 +- .../hl7-fhir-r4-examples/RequestGroup.ts | 8 +- .../ResearchDefinition.ts | 6 +- .../ResearchElementDefinition.ts | 6 +- .../hl7-fhir-r4-examples/ResearchStudy.ts | 6 +- .../hl7-fhir-r4-examples/ResearchSubject.ts | 2 +- .../hl7-fhir-r4-examples/Resource.ts | 6 +- .../hl7-fhir-r4-examples/RiskAssessment.ts | 2 +- .../RiskEvidenceSynthesis.ts | 16 +- .../hl7-fhir-r4-examples/SampledData.ts | 2 +- .../hl7-fhir-r4-examples/Schedule.ts | 2 +- .../hl7-fhir-r4-examples/SearchParameter.ts | 12 +- .../hl7-fhir-r4-examples/ServiceRequest.ts | 6 +- .../hl7-fhir-r4-examples/Signature.ts | 4 +- .../fhir-types/hl7-fhir-r4-examples/Slot.ts | 4 +- .../hl7-fhir-r4-examples/Specimen.ts | 4 +- .../SpecimenDefinition.ts | 2 +- .../StructureDefinition.ts | 6 +- .../hl7-fhir-r4-examples/StructureMap.ts | 4 +- .../hl7-fhir-r4-examples/Subscription.ts | 2 +- .../hl7-fhir-r4-examples/Substance.ts | 4 +- .../hl7-fhir-r4-examples/SubstanceAmount.ts | 4 +- .../SubstanceNucleicAcid.ts | 2 +- .../hl7-fhir-r4-examples/SubstancePolymer.ts | 4 +- .../hl7-fhir-r4-examples/SubstanceProtein.ts | 4 +- .../SubstanceReferenceInformation.ts | 2 +- .../SubstanceSourceMaterial.ts | 6 +- .../SubstanceSpecification.ts | 2 +- .../hl7-fhir-r4-examples/SupplyDelivery.ts | 4 +- .../hl7-fhir-r4-examples/SupplyRequest.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/Task.ts | 2 +- .../TerminologyCapabilities.ts | 2 +- .../hl7-fhir-r4-examples/TestReport.ts | 2 +- .../hl7-fhir-r4-examples/TestScript.ts | 8 +- .../fhir-types/hl7-fhir-r4-examples/Timing.ts | 8 +- .../hl7-fhir-r4-examples/TriggerDefinition.ts | 2 +- .../hl7-fhir-r4-examples/UsageContext.ts | 4 +- .../hl7-fhir-r4-examples/ValueSet.ts | 6 +- .../VerificationResult.ts | 16 +- .../VisionPrescription.ts | 2 +- .../fhir-types/hl7-fhir-r4-examples/index.ts | 7 - ...Definition_Shareable_ActivityDefinition.ts | 138 + .../profiles/ActualGroup.ts | 20 - ...FM_Record_Lifecycle_Event___Audit_Event.ts | 105 + .../profiles/CdsHooksGuidanceResponse.ts | 48 - .../profiles/CdsHooksRequestGroup.ts | 30 - .../profiles/CdsHooksServicePlanDefinition.ts | 37 - .../profiles/ClinicalDocument.ts | 37 - .../CodeSystem_Shareable_CodeSystem.ts | 165 + .../profiles/Composition_Clinical_Document.ts | 68 + ... => Composition_DocumentSectionLibrary.ts} | 32 +- .../profiles/Composition_DocumentStructure.ts | 50 + .../Composition_Profile_for_Catalog.ts | 116 + .../profiles/ComputablePlanDefinition.ts | 28 - .../profiles/CqfQuestionnaire.ts | 37 - .../profiles/CqlLibrary.ts | 20 - .../DeviceMetricObservationProfile.ts | 33 - ...nosticReport_DiagnosticReport_Genetics.ts} | 40 +- .../DiagnosticReport_Example_Lipid_Profile.ts | 64 + ...ort_Profile_for_HLA_Genotyping_Results.ts} | 40 +- .../profiles/DocumentStructure.ts | 20 - .../EhrsFmRecordLifecycleEventAuditEvent.ts | 20 - .../EhrsFmRecordLifecycleEventProvenance.ts | 20 - ...nstraint_on_ElementDefinition_data_type.ts | 72 + .../profiles/EvidenceSynthesisProfile.ts | 30 - .../EvidenceVariable_PICO_Element_Profile.ts | 67 + .../Evidence_Evidence_Synthesis_Profile.ts | 115 + .../profiles/ExampleLipidProfile.ts | 29 - .../Extension_ADXP_additionalLocator.ts | 73 + .../Extension_ADXP_buildingNumberSuffix.ts | 73 + .../profiles/Extension_ADXP_careOf.ts | 73 + .../profiles/Extension_ADXP_censusTract.ts | 73 + .../profiles/Extension_ADXP_delimiter.ts | 73 + .../Extension_ADXP_deliveryAddressLine.ts | 73 + ...Extension_ADXP_deliveryInstallationArea.ts | 73 + ...sion_ADXP_deliveryInstallationQualifier.ts | 73 + ...Extension_ADXP_deliveryInstallationType.ts | 73 + .../profiles/Extension_ADXP_deliveryMode.ts | 73 + .../Extension_ADXP_deliveryModeIdentifier.ts | 73 + .../profiles/Extension_ADXP_direction.ts | 73 + .../profiles/Extension_ADXP_houseNumber.ts | 73 + .../Extension_ADXP_houseNumberNumeric.ts | 73 + .../profiles/Extension_ADXP_postBox.ts | 73 + .../profiles/Extension_ADXP_precinct.ts | 73 + .../Extension_ADXP_streetAddressLine.ts | 73 + .../profiles/Extension_ADXP_streetName.ts | 73 + .../profiles/Extension_ADXP_streetNameBase.ts | 73 + .../profiles/Extension_ADXP_streetNameType.ts | 73 + .../profiles/Extension_ADXP_unitID.ts | 73 + .../profiles/Extension_ADXP_unitType.ts | 73 + .../profiles/Extension_AD_use.ts | 73 + .../profiles/Extension_Accession.ts | 74 + .../profiles/Extension_Allele.ts | 105 + .../profiles/Extension_AminoAcidChange.ts | 89 + .../profiles/Extension_Analysis.ts | 104 + .../profiles/Extension_Ancestry.ts | 120 + .../profiles/Extension_Anonymized.ts | 73 + .../profiles/Extension_AssessedCondition.ts | 74 + .../Extension_BodyStructure_Reference.ts | 74 + .../profiles/Extension_CopyNumberEvent.ts | 74 + .../profiles/Extension_DNARegionName.ts | 73 + .../profiles/Extension_Data_Absent_Reason.ts | 73 + .../profiles/Extension_Design_Note.ts | 73 + .../profiles/Extension_Display_Name.ts | 73 + .../profiles/Extension_EN_qualifier.ts | 73 + .../profiles/Extension_EN_representation.ts | 73 + .../profiles/Extension_EN_use.ts | 73 + .../profiles/Extension_Encrypted.ts | 73 + .../profiles/Extension_FamilyMemberHistory.ts | 74 + .../profiles/Extension_Gene.ts | 74 + .../profiles/Extension_GenomicSourceClass.ts | 74 + .../profiles/Extension_Geolocation.ts | 103 + .../profiles/Extension_Human_Language.ts | 73 + .../profiles/Extension_Instance.ts | 74 + .../profiles/Extension_Interpretation.ts | 74 + .../profiles/Extension_Item.ts | 137 + .../profiles/Extension_MPPS.ts | 74 + .../profiles/Extension_Narrative_Link.ts | 73 + .../Extension_NotificationEndpoint.ts | 73 + .../profiles/Extension_NumberOfInstances.ts | 73 + .../profiles/Extension_Ordinal_Value.ts | 73 + .../profiles/Extension_Original_Text.ts | 73 + .../profiles/Extension_PQ_translation.ts | 74 + ...xtension_ParticipantObjectContainsStudy.ts | 74 + .../profiles/Extension_PhaseSet.ts | 89 + .../profiles/Extension_References.ts | 105 + .../Extension_Relative_Date_Criteria.ts | 121 + .../profiles/Extension_Rendered_Value.ts | 73 + .../profiles/Extension_SC_coding.ts | 74 + .../profiles/Extension_SOPClass.ts | 74 + .../profiles/Extension_TEL_address.ts | 73 + .../profiles/Extension_Timezone_Code.ts | 73 + .../profiles/Extension_Timezone_Offset.ts | 73 + .../profiles/Extension_Transcriber.ts | 74 + .../profiles/Extension_Translation.ts | 103 + .../profiles/Extension_ValidityPeriod.ts | 73 + .../profiles/Extension_Variable.ts | 74 + .../profiles/Extension_Variant.ts | 105 + .../profiles/Extension_Witness.ts | 74 + .../profiles/Extension_abatement.ts | 87 + .../profiles/Extension_acceptance.ts | 121 + .../profiles/Extension_activityStatusDate.ts | 73 + .../profiles/Extension_activity_title.ts | 73 + .../Extension_adaptiveFeedingDevice.ts | 74 + .../profiles/Extension_addendumOf.ts | 74 + .../profiles/Extension_administration.ts | 74 + .../profiles/Extension_adoptionInfo.ts | 74 + .../profiles/Extension_allele_database.ts | 74 + .../profiles/Extension_allowedUnits.ts | 78 + .../profiles/Extension_allowed_type.ts | 73 + .../profiles/Extension_alternate.ts | 104 + .../profiles/Extension_ancestor.ts | 73 + .../profiles/Extension_animal.ts | 120 + .../profiles/Extension_animalSpecies.ts | 74 + .../profiles/Extension_applicable_version.ts | 73 + .../Extension_approachBodyStructure.ts | 74 + .../profiles/Extension_approvalDate.ts | 73 + .../profiles/Extension_area.ts | 73 + .../profiles/Extension_assembly_order.ts | 73 + .../profiles/Extension_assertedDate.ts | 73 + .../profiles/Extension_associatedEncounter.ts | 74 + .../profiles/Extension_author.ts | 74 + .../profiles/Extension_authoritativeSource.ts | 73 + .../profiles/Extension_authority.ts | 73 + .../profiles/Extension_baseType.ts | 73 + .../profiles/Extension_basedOn.ts | 74 + .../profiles/Extension_bestpractice.ts | 78 + .../Extension_bestpractice_explanation.ts | 73 + .../profiles/Extension_bidirectional.ts | 73 + .../profiles/Extension_bindingName.ts | 73 + .../profiles/Extension_birthPlace.ts | 74 + .../profiles/Extension_birthTime.ts | 73 + .../profiles/Extension_bodyPosition.ts | 74 + .../profiles/Extension_boundary_geojson.ts | 74 + .../profiles/Extension_cadavericDonor.ts | 73 + .../profiles/Extension_calculatedValue.ts | 73 + .../profiles/Extension_candidateList.ts | 74 + .../profiles/Extension_capabilities.ts | 73 + .../profiles/Extension_careplan.ts | 74 + .../profiles/Extension_caseSensitive.ts | 73 + .../profiles/Extension_category.ts | 73 + .../profiles/Extension_causedBy.ts | 74 + .../profiles/Extension_cdsHooksEndpoint.ts | 73 + .../profiles/Extension_certainty.ts | 74 + .../profiles/Extension_changeBase.ts | 74 + .../profiles/Extension_choiceOrientation.ts | 73 + .../profiles/Extension_citation.ts | 73 + .../profiles/Extension_citizenship.ts | 90 + .../profiles/Extension_codegen_super.ts | 73 + .../profiles/Extension_collectionPriority.ts | 74 + .../profiles/Extension_completionMode.ts | 74 + .../profiles/Extension_conceptOrder.ts | 73 + .../profiles/Extension_concept_comments.ts | 73 + .../profiles/Extension_concept_definition.ts | 73 + .../profiles/Extension_congregation.ts | 73 + .../profiles/Extension_constraint.ts | 167 + .../profiles/Extension_country.ts | 73 + .../profiles/Extension_dayOfMonth.ts | 73 + .../profiles/Extension_daysOfCycle.ts | 87 + .../profiles/Extension_delta.ts | 74 + .../profiles/Extension_dependencies.ts | 73 + .../profiles/Extension_deprecated.ts | 73 + .../profiles/Extension_detail.ts | 74 + .../profiles/Extension_detectedIssue.ts | 74 + .../profiles/Extension_deviceCode.ts | 74 + .../profiles/Extension_directedBy.ts | 79 + .../profiles/Extension_disability.ts | 74 + .../profiles/Extension_displayCategory.ts | 74 + .../profiles/Extension_display_hint.ts | 73 + .../profiles/Extension_doNotPerform.ts | 73 + .../profiles/Extension_dueTo.ts | 79 + .../profiles/Extension_duration.ts | 74 + .../profiles/Extension_effectiveDate.ts | 73 + .../profiles/Extension_effectivePeriod.ts | 74 + .../profiles/Extension_encounterClass.ts | 74 + .../profiles/Extension_encounterType.ts | 74 + .../profiles/Extension_entryFormat.ts | 73 + .../profiles/Extension_episodeOfCare.ts | 74 + .../profiles/Extension_equivalence.ts | 73 + .../profiles/Extension_eventHistory.ts | 74 + .../profiles/Extension_exact.ts | 73 + .../profiles/Extension_expand_group.ts | 104 + .../profiles/Extension_expand_rules.ts | 73 + .../profiles/Extension_expansionSource.ts | 73 + .../profiles/Extension_expectation.ts | 73 + .../profiles/Extension_expirationDate.ts | 73 + .../profiles/Extension_explicit_type_name.ts | 73 + .../profiles/Extension_exposureDate.ts | 73 + .../profiles/Extension_exposureDescription.ts | 73 + .../profiles/Extension_exposureDuration.ts | 74 + .../profiles/Extension_expression.ts | 74 + .../profiles/Extension_extends.ts | 74 + .../profiles/Extension_extensible.ts | 73 + .../profiles/Extension_extension.ts | 73 + .../profiles/Extension_fathers_family.ts | 73 + .../profiles/Extension_fhirType.ts | 73 + .../profiles/Extension_fhir_type.ts | 73 + .../profiles/Extension_fmm.ts | 73 + .../profiles/Extension_fmm_no_warnings.ts | 73 + .../profiles/Extension_focusCode.ts | 74 + .../profiles/Extension_fullUrl.ts | 73 + .../profiles/Extension_gatewayDevice.ts | 74 + .../profiles/Extension_genderIdentity.ts | 74 + .../profiles/Extension_glstring.ts | 79 + .../profiles/Extension_group.ts | 73 + .../profiles/Extension_haploid.ts | 105 + .../profiles/Extension_hidden.ts | 73 + .../profiles/Extension_hierarchy.ts | 73 + .../profiles/Extension_history.ts | 82 + .../Extension_http_response_header.ts | 73 + .../profiles/Extension_identifier.ts | 74 + .../profiles/Extension_implantStatus.ts | 73 + .../profiles/Extension_importance.ts | 74 + .../profiles/Extension_incisionDateTime.ts | 73 + .../Extension_inheritedExtensibleValueSet.ts | 77 + .../profiles/Extension_initialValue.ts | 73 + .../profiles/Extension_initiatingLocation.ts | 74 + .../Extension_initiatingOrganization.ts | 74 + .../profiles/Extension_initiatingPerson.ts | 74 + .../Extension_instantiatesCanonical.ts | 73 + .../profiles/Extension_instantiatesUri.ts | 73 + .../profiles/Extension_insurance.ts | 74 + .../profiles/Extension_interpreterRequired.ts | 73 + .../profiles/Extension_isCommonBinding.ts | 73 + .../profiles/Extension_isDryWeight.ts | 73 + .../profiles/Extension_issue_source.ts | 73 + .../profiles/Extension_itemControl.ts | 74 + .../profiles/Extension_keyWord.ts | 73 + .../profiles/Extension_label.ts | 73 + .../profiles/Extension_lastReviewDate.ts | 73 + .../profiles/Extension_library.ts | 73 + .../profiles/Extension_local.ts | 73 + .../profiles/Extension_location.ts | 74 + .../profiles/Extension_locationPerformed.ts | 74 + .../profiles/Extension_location_distance.ts | 74 + .../profiles/Extension_management.ts | 73 + .../profiles/Extension_map.ts | 73 + .../profiles/Extension_markdown.ts | 73 + .../profiles/Extension_match_grade.ts | 73 + .../profiles/Extension_maxDecimalPlaces.ts | 73 + .../profiles/Extension_maxOccurs.ts | 73 + .../profiles/Extension_maxSize.ts | 73 + .../profiles/Extension_maxValue.ts | 113 + .../profiles/Extension_maxValueSet.ts | 77 + .../profiles/Extension_measureInfo.ts | 104 + .../profiles/Extension_media.ts | 74 + ...xtension_messageheader_response_request.ts | 73 + .../profiles/Extension_method.ts | 74 + .../profiles/Extension_mimeType.ts | 73 + .../profiles/Extension_minLength.ts | 73 + .../profiles/Extension_minOccurs.ts | 73 + .../profiles/Extension_minValue.ts | 104 + .../profiles/Extension_minValueSet.ts | 77 + .../profiles/Extension_modeOfArrival.ts | 74 + .../profiles/Extension_mothersMaidenName.ts | 73 + .../profiles/Extension_mothers_family.ts | 73 + .../profiles/Extension_namespace.ts | 73 + .../profiles/Extension_nationality.ts | 90 + .../profiles/Extension_normative_version.ts | 73 + .../profiles/Extension_nullFlavor.ts | 73 + .../profiles/Extension_oauth_uris.ts | 135 + .../profiles/Extension_objectClass.ts | 74 + .../profiles/Extension_objectClassProperty.ts | 74 + .../profiles/Extension_observation.ts | 74 + .../profiles/Extension_occurredFollowing.ts | 79 + .../profiles/Extension_optionExclusive.ts | 73 + .../profiles/Extension_optionPrefix.ts | 73 + .../Extension_otherConfidentiality.ts | 74 + .../profiles/Extension_otherName.ts | 103 + .../profiles/Extension_outcome.ts | 74 + .../profiles/Extension_own_name.ts | 73 + .../profiles/Extension_own_prefix.ts | 73 + .../profiles/Extension_parameterSource.ts | 73 + .../profiles/Extension_parent.ts | 105 + .../profiles/Extension_partOf.ts | 74 + .../profiles/Extension_partner_name.ts | 73 + .../profiles/Extension_partner_prefix.ts | 73 + .../profiles/Extension_patientInstruction.ts | 103 + .../profiles/Extension_patient_record.ts | 74 + .../profiles/Extension_performerFunction.ts | 74 + .../profiles/Extension_performerOrder.ts | 73 + .../profiles/Extension_period.ts | 74 + .../Extension_permitted_value_conceptmap.ts | 73 + .../Extension_permitted_value_valueset.ts | 73 + .../profiles/Extension_pertainsToGoal.ts | 74 + .../profiles/Extension_precision.ts | 73 + .../profiles/Extension_precondition.ts | 74 + .../profiles/Extension_preferenceType.ts | 74 + .../profiles/Extension_preferred.ts | 73 + .../profiles/Extension_preferredContact.ts | 73 + .../profiles/Extension_primaryInd.ts | 73 + .../profiles/Extension_priority.ts | 74 + .../profiles/Extension_processingTime.ts | 79 + .../profiles/Extension_proficiency.ts | 89 + .../profiles/Extension_profile.ts | 73 + .../profiles/Extension_profile_element.ts | 73 + .../profiles/Extension_progressStatus.ts | 74 + .../profiles/Extension_prohibited.ts | 73 + .../profiles/Extension_qualityOfEvidence.ts | 74 + .../profiles/Extension_question.ts | 73 + .../Extension_questionnaireRequest.ts | 74 + .../profiles/Extension_reagent.ts | 74 + .../profiles/Extension_reason.ts | 74 + .../profiles/Extension_reasonCancelled.ts | 74 + .../profiles/Extension_reasonCode.ts | 74 + .../profiles/Extension_reasonReference.ts | 74 + .../profiles/Extension_reasonRefuted.ts | 74 + .../profiles/Extension_reasonRejected.ts | 74 + .../Extension_receivingOrganization.ts | 74 + .../profiles/Extension_receivingPerson.ts | 74 + .../profiles/Extension_recipientLanguage.ts | 74 + .../profiles/Extension_recipientType.ts | 74 + .../profiles/Extension_reference.ts | 73 + .../profiles/Extension_referenceFilter.ts | 73 + .../profiles/Extension_referenceProfile.ts | 73 + .../profiles/Extension_referenceResource.ts | 73 + .../profiles/Extension_regex.ts | 73 + .../profiles/Extension_related.ts | 74 + .../profiles/Extension_relatedArtifact.ts | 74 + .../profiles/Extension_relatedPerson.ts | 74 + .../profiles/Extension_relationship.ts | 105 + .../profiles/Extension_relativeDateTime.ts | 137 + .../profiles/Extension_relevantHistory.ts | 74 + .../profiles/Extension_religion.ts | 74 + .../profiles/Extension_replacedby.ts | 74 + .../profiles/Extension_replaces.ts | 74 + .../profiles/Extension_researchStudy.ts | 74 + .../profiles/Extension_resolutionAge.ts | 74 + .../profiles/Extension_reviewer.ts | 74 + .../profiles/Extension_risk.ts | 74 + .../profiles/Extension_ruledOut.ts | 74 + .../profiles/Extension_rules_text.ts | 73 + .../profiles/Extension_schedule.ts | 74 + .../profiles/Extension_sctdescid.ts | 73 + .../Extension_search_parameter_combination.ts | 103 + .../profiles/Extension_secondaryFinding.ts | 74 + .../profiles/Extension_section_subject.ts | 73 + .../profiles/Extension_security_category.ts | 73 + .../profiles/Extension_selector.ts | 73 + .../profiles/Extension_sequelTo.ts | 74 + .../profiles/Extension_sequenceNumber.ts | 73 + .../profiles/Extension_severity.ts | 74 + .../profiles/Extension_sibling.ts | 105 + .../profiles/Extension_signature.ts | 74 + .../profiles/Extension_signatureRequired.ts | 74 + .../profiles/Extension_sliderStepValue.ts | 73 + .../profiles/Extension_sourceReference.ts | 73 + .../profiles/Extension_specialHandling.ts | 74 + .../profiles/Extension_special_status.ts | 73 + .../profiles/Extension_specimenCode.ts | 74 + .../profiles/Extension_standards_status.ts | 73 + .../profiles/Extension_statusReason.ts | 74 + .../profiles/Extension_steward.ts | 74 + .../Extension_strengthOfRecommendation.ts | 74 + .../profiles/Extension_style.ts | 73 + .../profiles/Extension_styleSensitive.ts | 73 + .../Extension_substanceExposureRisk.ts | 104 + .../profiles/Extension_summary.ts | 73 + .../profiles/Extension_summaryOf.ts | 74 + .../profiles/Extension_supplement.ts | 73 + .../profiles/Extension_supportLink.ts | 73 + .../profiles/Extension_supported_system.ts | 73 + .../profiles/Extension_supportingInfo.ts | 74 + .../profiles/Extension_system.ts | 73 + .../profiles/Extension_systemName.ts | 73 + .../profiles/Extension_systemRef.ts | 73 + .../profiles/Extension_systemUserLanguage.ts | 74 + .../Extension_systemUserTaskContext.ts | 74 + .../profiles/Extension_systemUserType.ts | 74 + .../profiles/Extension_table_name.ts | 73 + .../profiles/Extension_targetBodyStructure.ts | 74 + .../profiles/Extension_template_status.ts | 73 + .../profiles/Extension_test.ts | 74 + .../profiles/Extension_timeOffset.ts | 73 + .../profiles/Extension_toocostly.ts | 73 + .../profiles/Extension_translatable.ts | 73 + .../profiles/Extension_trusted_expansion.ts | 73 + .../profiles/Extension_type.ts | 74 + .../profiles/Extension_uncertainty.ts | 73 + .../profiles/Extension_uncertaintyType.ts | 73 + .../profiles/Extension_unclosed.ts | 73 + .../profiles/Extension_unit.ts | 74 + .../profiles/Extension_unitOption.ts | 74 + .../profiles/Extension_unitValueSet.ts | 73 + .../profiles/Extension_usage.ts | 103 + .../profiles/Extension_usageMode.ts | 73 + .../profiles/Extension_validDate.ts | 73 + .../profiles/Extension_versionNumber.ts | 73 + .../profiles/Extension_warning.ts | 73 + .../profiles/Extension_websocket.ts | 73 + .../profiles/Extension_wg.ts | 73 + .../profiles/Extension_workflowStatus.ts | 73 + .../profiles/Extension_xhtml.ts | 73 + .../profiles/Extension_xml_no_order.ts | 73 + .../FamilyMemberHistoryForGeneticsAnalysis.ts | 101 - ...ly_member_history_for_genetics_analysis.ts | 246 + .../profiles/GroupDefinition.ts | 20 - .../profiles/Group_Actual_Group.ts | 62 + .../profiles/Group_Group_Definition.ts | 62 + ...anceResponse_CDS_Hooks_GuidanceResponse.ts | 117 + .../profiles/Library_CQL_Library.ts | 63 + .../profiles/Library_Shareable_Library.ts | 138 + .../profiles/Measure_Shareable_Measure.ts | 138 + .../profiles/ObservationBmi.ts | 67 - .../profiles/ObservationBodyheight.ts | 65 - .../profiles/ObservationBodytemp.ts | 65 - .../profiles/ObservationBodyweight.ts | 65 - .../profiles/ObservationBp.ts | 65 - .../profiles/ObservationHeadcircum.ts | 65 - .../profiles/ObservationHeartrate.ts | 65 - .../profiles/ObservationOxygensat.ts | 65 - .../profiles/ObservationResprate.ts | 65 - .../profiles/ObservationVitalsigns.ts | 65 - .../profiles/ObservationVitalspanel.ts | 66 - ...ation_Device_Metric_Observation_Profile.ts | 217 + .../Observation_Example_Lipid_Profile.ts | 100 + ...ts => Observation_Observation_genetics.ts} | 52 +- .../profiles/Observation_observation_bmi.ts | 185 + .../Observation_observation_bodyheight.ts | 184 + .../Observation_observation_bodytemp.ts | 184 + .../Observation_observation_bodyweight.ts | 184 + .../profiles/Observation_observation_bp.ts | 264 + .../Observation_observation_headcircum.ts | 184 + .../Observation_observation_heartrate.ts | 184 + .../Observation_observation_oxygensat.ts | 184 + .../Observation_observation_resprate.ts | 184 + .../Observation_observation_vitalsigns.ts | 174 + .../Observation_observation_vitalspanel.ts | 187 + .../profiles/PicoElementProfile.ts | 20 - ...nition_CDS_Hooks_Service_PlanDefinition.ts | 67 + ...lanDefinition_Computable_PlanDefinition.ts | 73 + ...PlanDefinition_Shareable_PlanDefinition.ts | 138 + .../profiles/ProfileForCatalog.ts | 46 - .../profiles/ProvenanceRelevantHistory.ts | 64 - ..._FM_Record_Lifecycle_Event___Provenance.ts | 93 + .../Provenance_Provenance_Relevant_History.ts | 148 + .../profiles/Quantity_MoneyQuantity.ts | 42 + .../profiles/Quantity_SimpleQuantity.ts | 45 + .../Questionnaire_CQF_Questionnaire.ts | 67 + .../RequestGroup_CDS_Hooks_RequestGroup.ts | 90 + ...ServiceRequest_ServiceRequest_Genetics.ts} | 32 +- .../profiles/ShareableActivityDefinition.ts | 33 - .../profiles/ShareableCodeSystem.ts | 35 - .../profiles/ShareableLibrary.ts | 33 - .../profiles/ShareableMeasure.ts | 33 - .../profiles/ShareablePlanDefinition.ts | 33 - .../profiles/ShareableValueSet.ts | 33 - .../profiles/ValueSet_Shareable_ValueSet.ts | 151 + .../hl7-fhir-r4-examples/profiles/index.ts | 468 +- .../fhir-types/hl7-fhir-r5-core/Account.ts | 2 +- .../hl7-fhir-r5-core/ActivityDefinition.ts | 10 +- .../hl7-fhir-r5-core/ActorDefinition.ts | 6 +- .../fhir-types/hl7-fhir-r5-core/Address.ts | 4 +- .../AdministrableProductDefinition.ts | 4 +- .../hl7-fhir-r5-core/AdverseEvent.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Age.ts | 2 +- .../hl7-fhir-r5-core/AllergyIntolerance.ts | 10 +- .../fhir-types/hl7-fhir-r5-core/Annotation.ts | 2 +- .../hl7-fhir-r5-core/Appointment.ts | 10 +- .../hl7-fhir-r5-core/AppointmentResponse.ts | 4 +- .../hl7-fhir-r5-core/ArtifactAssessment.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Attachment.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/AuditEvent.ts | 6 +- .../hl7-fhir-r5-core/Availability.ts | 6 +- .../hl7-fhir-r5-core/BackboneElement.ts | 2 +- .../hl7-fhir-r5-core/BackboneType.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Base.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Basic.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Binary.ts | 2 +- .../BiologicallyDerivedProduct.ts | 2 +- .../BiologicallyDerivedProductDispense.ts | 2 +- .../hl7-fhir-r5-core/BodyStructure.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Bundle.ts | 2 +- .../hl7-fhir-r5-core/CanonicalResource.ts | 2 +- .../hl7-fhir-r5-core/CapabilityStatement.ts | 14 +- .../fhir-types/hl7-fhir-r5-core/CarePlan.ts | 6 +- .../fhir-types/hl7-fhir-r5-core/CareTeam.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/ChargeItem.ts | 6 +- .../hl7-fhir-r5-core/ChargeItemDefinition.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/Citation.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/Claim.ts | 4 +- .../hl7-fhir-r5-core/ClaimResponse.ts | 6 +- .../hl7-fhir-r5-core/ClinicalImpression.ts | 4 +- .../hl7-fhir-r5-core/ClinicalUseDefinition.ts | 6 +- .../fhir-types/hl7-fhir-r5-core/CodeSystem.ts | 6 +- .../hl7-fhir-r5-core/CodeableConcept.ts | 6 +- .../hl7-fhir-r5-core/CodeableReference.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Coding.ts | 6 +- .../hl7-fhir-r5-core/Communication.ts | 6 +- .../hl7-fhir-r5-core/CommunicationRequest.ts | 2 +- .../hl7-fhir-r5-core/CompartmentDefinition.ts | 2 +- .../hl7-fhir-r5-core/Composition.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/ConceptMap.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Condition.ts | 10 +- .../hl7-fhir-r5-core/ConditionDefinition.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/Consent.ts | 4 +- .../hl7-fhir-r5-core/ContactDetail.ts | 2 +- .../hl7-fhir-r5-core/ContactPoint.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Contract.ts | 10 +- .../hl7-fhir-r5-core/Contributor.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Count.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Coverage.ts | 10 +- .../CoverageEligibilityRequest.ts | 4 +- .../CoverageEligibilityResponse.ts | 4 +- .../hl7-fhir-r5-core/DataRequirement.ts | 14 +- .../fhir-types/hl7-fhir-r5-core/DataType.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Definition.ts | 7 +- .../hl7-fhir-r5-core/DetectedIssue.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Device.ts | 2 +- .../hl7-fhir-r5-core/DeviceAssociation.ts | 2 +- .../hl7-fhir-r5-core/DeviceDefinition.ts | 4 +- .../hl7-fhir-r5-core/DeviceDispense.ts | 2 +- .../hl7-fhir-r5-core/DeviceMetric.ts | 2 +- .../hl7-fhir-r5-core/DeviceRequest.ts | 6 +- .../hl7-fhir-r5-core/DeviceUsage.ts | 2 +- .../hl7-fhir-r5-core/DiagnosticReport.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Distance.ts | 2 +- .../hl7-fhir-r5-core/DocumentReference.ts | 6 +- .../hl7-fhir-r5-core/DomainResource.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Dosage.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Duration.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Element.ts | 2 +- .../hl7-fhir-r5-core/ElementDefinition.ts | 28 +- .../fhir-types/hl7-fhir-r5-core/Encounter.ts | 12 +- .../hl7-fhir-r5-core/EncounterHistory.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Endpoint.ts | 4 +- .../hl7-fhir-r5-core/EnrollmentRequest.ts | 2 +- .../hl7-fhir-r5-core/EnrollmentResponse.ts | 2 +- .../hl7-fhir-r5-core/EpisodeOfCare.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Event.ts | 7 +- .../hl7-fhir-r5-core/EventDefinition.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Evidence.ts | 4 +- .../hl7-fhir-r5-core/EvidenceReport.ts | 6 +- .../hl7-fhir-r5-core/EvidenceVariable.ts | 2 +- .../hl7-fhir-r5-core/ExampleScenario.ts | 4 +- .../hl7-fhir-r5-core/ExplanationOfBenefit.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/Expression.ts | 4 +- .../hl7-fhir-r5-core/ExtendedContactDetail.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Extension.ts | 2 +- .../hl7-fhir-r5-core/FamilyMemberHistory.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/FiveWs.ts | 7 +- .../fhir-types/hl7-fhir-r5-core/Flag.ts | 2 +- .../hl7-fhir-r5-core/FormularyItem.ts | 2 +- .../hl7-fhir-r5-core/GenomicStudy.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Goal.ts | 6 +- .../hl7-fhir-r5-core/GraphDefinition.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Group.ts | 2 +- .../hl7-fhir-r5-core/GuidanceResponse.ts | 2 +- .../hl7-fhir-r5-core/HealthcareService.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/HumanName.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/Identifier.ts | 4 +- .../hl7-fhir-r5-core/ImagingSelection.ts | 4 +- .../hl7-fhir-r5-core/ImagingStudy.ts | 4 +- .../hl7-fhir-r5-core/Immunization.ts | 4 +- .../ImmunizationEvaluation.ts | 2 +- .../ImmunizationRecommendation.ts | 2 +- .../hl7-fhir-r5-core/ImplementationGuide.ts | 6 +- .../fhir-types/hl7-fhir-r5-core/Ingredient.ts | 2 +- .../hl7-fhir-r5-core/InsurancePlan.ts | 6 +- .../hl7-fhir-r5-core/InventoryItem.ts | 2 +- .../hl7-fhir-r5-core/InventoryReport.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Invoice.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Library.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Linkage.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/List.ts | 6 +- .../fhir-types/hl7-fhir-r5-core/Location.ts | 6 +- .../ManufacturedItemDefinition.ts | 2 +- .../hl7-fhir-r5-core/MarketingStatus.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Measure.ts | 22 +- .../hl7-fhir-r5-core/MeasureReport.ts | 10 +- .../fhir-types/hl7-fhir-r5-core/Medication.ts | 2 +- .../MedicationAdministration.ts | 2 +- .../hl7-fhir-r5-core/MedicationDispense.ts | 2 +- .../hl7-fhir-r5-core/MedicationKnowledge.ts | 4 +- .../hl7-fhir-r5-core/MedicationRequest.ts | 4 +- .../hl7-fhir-r5-core/MedicationStatement.ts | 2 +- .../MedicinalProductDefinition.ts | 4 +- .../hl7-fhir-r5-core/MessageDefinition.ts | 6 +- .../hl7-fhir-r5-core/MessageHeader.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Meta.ts | 4 +- .../hl7-fhir-r5-core/MetadataResource.ts | 2 +- .../hl7-fhir-r5-core/MolecularSequence.ts | 2 +- .../hl7-fhir-r5-core/MonetaryComponent.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Money.ts | 2 +- .../hl7-fhir-r5-core/NamingSystem.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Narrative.ts | 2 +- .../hl7-fhir-r5-core/NutritionIntake.ts | 6 +- .../hl7-fhir-r5-core/NutritionOrder.ts | 10 +- .../hl7-fhir-r5-core/NutritionProduct.ts | 2 +- .../hl7-fhir-r5-core/Observation.ts | 14 +- .../hl7-fhir-r5-core/ObservationDefinition.ts | 10 +- .../hl7-fhir-r5-core/OperationDefinition.ts | 4 +- .../hl7-fhir-r5-core/OperationOutcome.ts | 2 +- .../hl7-fhir-r5-core/Organization.ts | 4 +- .../OrganizationAffiliation.ts | 2 +- .../PackagedProductDefinition.ts | 4 +- .../hl7-fhir-r5-core/ParameterDefinition.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Parameters.ts | 2 +- .../hl7-fhir-r5-core/Participant.ts | 7 +- .../ParticipantContactable.ts | 7 +- .../hl7-fhir-r5-core/ParticipantLiving.ts | 7 +- .../fhir-types/hl7-fhir-r5-core/Patient.ts | 4 +- .../hl7-fhir-r5-core/PaymentNotice.ts | 2 +- .../hl7-fhir-r5-core/PaymentReconciliation.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/Period.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Permission.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Person.ts | 4 +- .../hl7-fhir-r5-core/PlanDefinition.ts | 10 +- .../hl7-fhir-r5-core/Practitioner.ts | 2 +- .../hl7-fhir-r5-core/PractitionerRole.ts | 2 +- .../hl7-fhir-r5-core/PrimitiveType.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Procedure.ts | 6 +- .../fhir-types/hl7-fhir-r5-core/Product.ts | 7 +- .../hl7-fhir-r5-core/ProductShelfLife.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Provenance.ts | 4 +- .../hl7-fhir-r5-core/Publishable.ts | 7 +- .../fhir-types/hl7-fhir-r5-core/Quantity.ts | 2 +- .../hl7-fhir-r5-core/Questionnaire.ts | 6 +- .../hl7-fhir-r5-core/QuestionnaireResponse.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Range.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Ratio.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/RatioRange.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Reference.ts | 2 +- .../RegulatedAuthorization.ts | 6 +- .../hl7-fhir-r5-core/RelatedArtifact.ts | 2 +- .../hl7-fhir-r5-core/RelatedPerson.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Request.ts | 7 +- .../hl7-fhir-r5-core/RequestOrchestration.ts | 8 +- .../hl7-fhir-r5-core/Requirements.ts | 8 +- .../hl7-fhir-r5-core/ResearchStudy.ts | 4 +- .../hl7-fhir-r5-core/ResearchSubject.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Resource.ts | 4 +- .../hl7-fhir-r5-core/RiskAssessment.ts | 2 +- .../hl7-fhir-r5-core/SampledData.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Schedule.ts | 2 +- .../hl7-fhir-r5-core/SearchParameter.ts | 12 +- .../hl7-fhir-r5-core/ServiceRequest.ts | 6 +- .../fhir-types/hl7-fhir-r5-core/Shareable.ts | 7 +- .../fhir-types/hl7-fhir-r5-core/Signature.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Slot.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/Specimen.ts | 4 +- .../hl7-fhir-r5-core/SpecimenDefinition.ts | 6 +- .../hl7-fhir-r5-core/StructureDefinition.ts | 6 +- .../hl7-fhir-r5-core/StructureMap.ts | 4 +- .../hl7-fhir-r5-core/Subscription.ts | 4 +- .../hl7-fhir-r5-core/SubscriptionStatus.ts | 2 +- .../hl7-fhir-r5-core/SubscriptionTopic.ts | 12 +- .../fhir-types/hl7-fhir-r5-core/Substance.ts | 4 +- .../hl7-fhir-r5-core/SubstanceDefinition.ts | 10 +- .../hl7-fhir-r5-core/SubstanceNucleicAcid.ts | 2 +- .../hl7-fhir-r5-core/SubstancePolymer.ts | 2 +- .../hl7-fhir-r5-core/SubstanceProtein.ts | 4 +- .../SubstanceReferenceInformation.ts | 2 +- .../SubstanceSourceMaterial.ts | 6 +- .../hl7-fhir-r5-core/SupplyDelivery.ts | 2 +- .../hl7-fhir-r5-core/SupplyRequest.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/Task.ts | 2 +- .../TerminologyCapabilities.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/TestPlan.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/TestReport.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/TestScript.ts | 10 +- .../fhir-types/hl7-fhir-r5-core/Timing.ts | 8 +- .../fhir-types/hl7-fhir-r5-core/Transport.ts | 2 +- .../hl7-fhir-r5-core/TriggerDefinition.ts | 2 +- .../hl7-fhir-r5-core/UsageContext.ts | 4 +- .../fhir-types/hl7-fhir-r5-core/ValueSet.ts | 6 +- .../hl7-fhir-r5-core/VerificationResult.ts | 16 +- .../hl7-fhir-r5-core/VirtualServiceDetail.ts | 4 +- .../hl7-fhir-r5-core/VisionPrescription.ts | 2 +- .../fhir-types/hl7-fhir-r5-core/index.ts | 10 - ...efinition_PublishableActivityDefinition.ts | 221 + ...yDefinition_ShareableActivityDefinition.ts | 208 + .../hl7-fhir-r5-core/profiles/ActualGroup.ts | 20 - .../ArtifactAssessment_EBMRecommendation.ts | 81 + .../profiles/BatchResponseBundle.ts | 20 - .../{BatchBundle.ts => Bundle_BatchBundle.ts} | 45 +- .../profiles/Bundle_BatchResponseBundle.ts | 63 + .../profiles/Bundle_DocumentBundle.ts | 114 + ...storyBundle.ts => Bundle_HistoryBundle.ts} | 46 +- .../profiles/Bundle_SearchSetBundle.ts | 97 + .../Bundle_SubscriptionNotificationBundle.ts | 87 + ...nBundle.ts => Bundle_TransactionBundle.ts} | 45 +- .../Bundle_TransactionResponseBundle.ts | 63 + .../profiles/CdshooksGuidanceResponse.ts | 42 - .../profiles/CdshooksRequestOrchestration.ts | 30 - .../profiles/CdshooksServicePlanDefinition.ts | 31 - .../profiles/ClinicalDocument.ts | 20 - .../profiles/Composition_ClinicalDocument.ts | 51 + ... => Composition_DocumentSectionLibrary.ts} | 32 +- .../profiles/Composition_DocumentStructure.ts | 50 + .../profiles/Composition_ProfileForCatalog.ts | 116 + .../profiles/ComputablePlanDefinition.ts | 28 - .../profiles/ComputableValueSet.ts | 83 - .../ConceptMap_PublishableConceptMap.ts | 168 + .../ConceptMap_ShareableConceptMap.ts | 155 + .../hl7-fhir-r5-core/profiles/Cqllibrary.ts | 139 - .../DeviceMetricObservationProfile.ts | 34 - .../DiagnosticReport_ExampleLipidProfile.ts | 64 + .../profiles/DocumentBundle.ts | 32 - .../profiles/DocumentStructure.ts | 20 - .../profiles/Ebmrecommendation.ts | 20 - ...nstraint_on_ElementDefinition_data_type.ts | 72 + .../hl7-fhir-r5-core/profiles/Elmlibrary.ts | 170 - .../profiles/ExampleLipidProfile.ts | 29 - .../profiles/ExecutableValueSet.ts | 65 - .../FamilyMemberHistoryForGeneticsAnalysis.ts | 51 - ...FamilyMemberHistoryForGeneticsAnalysis.ts} | 83 +- .../profiles/FhirpathLibrary.ts | 139 - .../profiles/GroupDefinition.ts | 29 - .../profiles/Group_ActualGroup.ts | 62 + .../profiles/Group_GroupDefinition.ts | 86 + ...idanceResponse_CDSHooksGuidanceResponse.ts | 117 + .../profiles/Library_CQLLibrary.ts | 305 + .../profiles/Library_ELMLibrary.ts | 321 + .../profiles/Library_FHIRPathLibrary.ts | 305 + .../profiles/Library_LogicLibrary.ts | 258 + .../profiles/Library_ModelInfoLibrary.ts | 272 + .../Library_ModuleDefinitionLibrary.ts | 317 + .../profiles/Library_PublishableLibrary.ts | 263 + .../profiles/Library_ShareableLibrary.ts | 195 + .../hl7-fhir-r5-core/profiles/LogicLibrary.ts | 107 - .../profiles/Measure_PublishableMeasure.ts | 208 + .../profiles/Measure_ShareableMeasure.ts | 195 + .../profiles/ModelInfoLibrary.ts | 128 - .../profiles/ModuleDefinitionLibrary.ts | 127 - .../NamingSystem_PublishableNamingSystem.ts | 166 + .../NamingSystem_ShareableNamingSystem.ts | 154 + ...ervation_DeviceMetricObservationProfile.ts | 218 + .../Observation_ExampleLipidProfile.ts | 100 + .../profiles/Observation_Observationbmi.ts | 186 + .../Observation_Observationbodyheight.ts | 185 + .../Observation_Observationbodytemp.ts | 185 + .../Observation_Observationbodyweight.ts | 185 + .../profiles/Observation_Observationbp.ts | 265 + .../Observation_Observationheadcircum.ts | 185 + .../Observation_Observationheartrate.ts | 185 + .../Observation_Observationoxygensat.ts | 185 + .../Observation_Observationresprate.ts | 185 + .../Observation_Observationvitalsigns.ts | 175 + .../Observation_Observationvitalspanel.ts | 188 + .../profiles/Observationbmi.ts | 68 - .../profiles/Observationbodyheight.ts | 66 - .../profiles/Observationbodytemp.ts | 66 - .../profiles/Observationbodyweight.ts | 66 - .../profiles/Observationbp.ts | 66 - .../profiles/Observationheadcircum.ts | 66 - .../profiles/Observationheartrate.ts | 66 - .../profiles/Observationoxygensat.ts | 66 - .../profiles/Observationresprate.ts | 66 - .../profiles/Observationvitalsigns.ts | 66 - .../profiles/Observationvitalspanel.ts | 67 - ...efinition_CDSHooksServicePlanDefinition.ts | 67 + ...PlanDefinition_ComputablePlanDefinition.ts | 73 + ...lanDefinition_PublishablePlanDefinition.ts | 208 + .../PlanDefinition_ShareablePlanDefinition.ts | 195 + .../profiles/ProfileForCatalog.ts | 40 - .../profiles/ProvenanceRelevantHistory.ts | 64 - .../Provenance_ProvenanceRelevantHistory.ts | 148 + .../profiles/PublishableActivityDefinition.ts | 64 - .../profiles/PublishableConceptMap.ts | 44 - .../profiles/PublishableLibrary.ts | 73 - .../profiles/PublishableMeasure.ts | 63 - .../profiles/PublishableNamingSystem.ts | 42 - .../profiles/PublishablePlanDefinition.ts | 63 - .../profiles/PublishableValueSet.ts | 110 - .../profiles/Quantity_MoneyQuantity.ts | 42 + .../profiles/Quantity_SimpleQuantity.ts | 45 + ...hestration_CDSHooksRequestOrchestration.ts | 90 + .../profiles/SearchSetBundle.ts | 55 - .../profiles/ShareableActivityDefinition.ts | 63 - .../profiles/ShareableConceptMap.ts | 43 - .../profiles/ShareableLibrary.ts | 62 - .../profiles/ShareableMeasure.ts | 62 - .../profiles/ShareableNamingSystem.ts | 42 - .../profiles/ShareablePlanDefinition.ts | 62 - .../profiles/ShareableTestScript.ts | 32 - .../profiles/ShareableValueSet.ts | 53 - .../SubscriptionNotificationBundle.ts | 29 - .../TestScript_ShareableTestScript.ts | 125 + .../profiles/TransactionResponseBundle.ts | 20 - .../profiles/ValueSet_ComputableValueSet.ts | 220 + .../profiles/ValueSet_ExecutableValueSet.ts | 201 + .../profiles/ValueSet_PublishableValueSet.ts | 288 + .../profiles/ValueSet_ShareableValueSet.ts | 171 + .../hl7-fhir-r5-core/profiles/index.ts | 145 +- ...rgyIntolerance_USCoreAllergyIntolerance.ts | 91 + .../CarePlan_USCoreCarePlanProfile.ts | 148 + .../profiles/CareTeam_USCoreCareTeam.ts | 90 + ...SCoreConditionEncounterDiagnosisProfile.ts | 139 + ...eConditionProblemsHealthConcernsProfile.ts | 214 + ...e.ts => Coverage_USCoreCoverageProfile.ts} | 92 +- .../Device_USCoreImplantableDeviceProfile.ts | 89 + ...gnosticReportProfileLaboratoryReporting.ts | 173 + ...CoreDiagnosticReportProfileNoteExchange.ts | 137 + ...rence_USCoreADIDocumentReferenceProfile.ts | 147 + ...eference_USCoreDocumentReferenceProfile.ts | 130 + .../Encounter_USCoreEncounterProfile.ts | 134 + .../profiles/Extension_USCDIRequirement.ts | 73 + ...nsion_USCoreAuthenticationTimeExtension.ts | 73 + .../Extension_USCoreBirthSexExtension.ts | 73 + .../Extension_USCoreDirectEmailExtension.ts | 73 + .../Extension_USCoreEthnicityExtension.ts | 150 + ...tension_USCoreExtensionQuestionnaireUri.ts | 65 + ...Extension_USCoreGenderIdentityExtension.ts | 66 + .../Extension_USCoreIndividualSexExtension.ts | 74 + ...ension_USCoreInterpreterNeededExtension.ts | 74 + .../Extension_USCoreJurisdictionExtension.ts | 74 + ...sion_USCoreMedicationAdherenceExtension.ts | 150 + .../profiles/Extension_USCoreRaceExtension.ts | 150 + .../profiles/Extension_USCoreSexExtension.ts | 73 + ...ension_USCoreTribalAffiliationExtension.ts | 126 + .../profiles/Goal_USCoreGoalProfile.ts | 112 + .../Immunization_USCoreImmunizationProfile.ts | 116 + .../Location_USCoreLocationProfile.ts | 75 + ...ispense_USCoreMedicationDispenseProfile.ts | 112 + ...nRequest_USCoreMedicationRequestProfile.ts | 173 + .../Medication_USCoreMedicationProfile.ts | 74 + ...ation_USCoreAverageBloodPressureProfile.ts | 253 + .../profiles/Observation_USCoreBMIProfile.ts | 278 + .../Observation_USCoreBloodPressureProfile.ts | 358 + .../Observation_USCoreBodyHeightProfile.ts | 278 + ...bservation_USCoreBodyTemperatureProfile.ts | 278 + .../Observation_USCoreBodyWeightProfile.ts | 278 + ...n_USCoreCareExperiencePreferenceProfile.ts | 276 + ...ervation_USCoreHeadCircumferenceProfile.ts | 278 + .../Observation_USCoreHeartRateProfile.ts | 278 + ...SCoreLaboratoryResultObservationProfile.ts | 258 + ...SCoreObservationADIDocumentationProfile.ts | 161 + ..._USCoreObservationClinicalResultProfile.ts | 257 + ...tion_USCoreObservationOccupationProfile.ts | 188 + ...USCoreObservationPregnancyIntentProfile.ts | 155 + ...USCoreObservationPregnancyStatusProfile.ts | 155 + ...reObservationScreeningAssessmentProfile.ts | 294 + ...CoreObservationSexualOrientationProfile.ts | 148 + ...orePediatricBMIforAgeObservationProfile.ts | 278 + ...alFrontalCircumferencePercentileProfile.ts | 278 + ...iatricWeightForHeightObservationProfile.ts | 278 + .../Observation_USCorePulseOximetryProfile.ts | 343 + ...bservation_USCoreRespiratoryRateProfile.ts | 278 + ...ervation_USCoreSimpleObservationProfile.ts | 257 + .../Observation_USCoreSmokingStatusProfile.ts | 192 + ...eTreatmentInterventionPreferenceProfile.ts | 276 + .../Observation_USCoreVitalSignsProfile.ts | 278 + ...Organization_USCoreOrganizationProfile.ts} | 77 +- ...ile.ts => Patient_USCorePatientProfile.ts} | 67 +- ...ionerRole_USCorePractitionerRoleProfile.ts | 55 + .../Practitioner_USCorePractitionerProfile.ts | 120 + .../Procedure_USCoreProcedureProfile.ts | 152 + ...ance.ts => Provenance_USCoreProvenance.ts} | 73 +- ...nse_USCoreQuestionnaireResponseProfile.ts} | 122 +- ...elatedPerson_USCoreRelatedPersonProfile.ts | 87 + ...viceRequest_USCoreServiceRequestProfile.ts | 146 + .../Specimen_USCoreSpecimenProfile.ts | 75 + .../UscoreAdidocumentReferenceProfile.ts | 49 - .../profiles/UscoreAllergyIntolerance.ts | 29 - .../UscoreAverageBloodPressureProfile.ts | 128 - .../profiles/UscoreBloodPressureProfile.ts | 128 - .../profiles/UscoreBmiprofile.ts | 65 - .../profiles/UscoreBodyHeightProfile.ts | 65 - .../profiles/UscoreBodyTemperatureProfile.ts | 65 - .../profiles/UscoreBodyWeightProfile.ts | 65 - .../UscoreCareExperiencePreferenceProfile.ts | 64 - .../profiles/UscoreCarePlanProfile.ts | 63 - .../profiles/UscoreCareTeam.ts | 31 - ...scoreConditionEncounterDiagnosisProfile.ts | 64 - ...eConditionProblemsHealthConcernsProfile.ts | 47 - ...gnosticReportProfileLaboratoryReporting.ts | 65 - ...coreDiagnosticReportProfileNoteExchange.ts | 31 - .../UscoreDocumentReferenceProfile.ts | 32 - .../profiles/UscoreEncounterProfile.ts | 49 - .../profiles/UscoreGoalProfile.ts | 20 - .../UscoreHeadCircumferenceProfile.ts | 65 - .../profiles/UscoreHeartRateProfile.ts | 65 - .../profiles/UscoreImmunizationProfile.ts | 20 - .../UscoreImplantableDeviceProfile.ts | 31 - ...scoreLaboratoryResultObservationProfile.ts | 31 - .../profiles/UscoreLocationProfile.ts | 28 - .../UscoreMedicationDispenseProfile.ts | 29 - .../profiles/UscoreMedicationProfile.ts | 29 - .../UscoreMedicationRequestProfile.ts | 60 - ...scoreObservationAdidocumentationProfile.ts | 81 - .../UscoreObservationClinicalResultProfile.ts | 31 - .../UscoreObservationOccupationProfile.ts | 97 - ...UscoreObservationPregnancyIntentProfile.ts | 66 - ...UscoreObservationPregnancyStatusProfile.ts | 66 - ...reObservationScreeningAssessmentProfile.ts | 65 - ...coreObservationSexualOrientationProfile.ts | 29 - ...orePediatricBmiforAgeObservationProfile.ts | 65 - ...alFrontalCircumferencePercentileProfile.ts | 65 - ...iatricWeightForHeightObservationProfile.ts | 65 - .../profiles/UscorePractitionerProfile.ts | 65 - .../profiles/UscorePractitionerRoleProfile.ts | 20 - .../profiles/UscoreProcedureProfile.ts | 29 - .../profiles/UscorePulseOximetryProfile.ts | 128 - .../profiles/UscoreRelatedPersonProfile.ts | 28 - .../profiles/UscoreRespiratoryRateProfile.ts | 65 - .../profiles/UscoreServiceRequestProfile.ts | 29 - .../UscoreSimpleObservationProfile.ts | 31 - .../profiles/UscoreSmokingStatusProfile.ts | 65 - .../profiles/UscoreSpecimenProfile.ts | 29 - ...eTreatmentInterventionPreferenceProfile.ts | 64 - .../profiles/UscoreVitalSignsProfile.ts | 65 - .../hl7-fhir-us-core/profiles/index.ts | 159 +- .../hl7-fhir-uv-extensions-r4/index.ts | 1 + .../profiles/Extension_AEAlternativeUserID.ts | 74 + .../profiles/Extension_AELifecycle.ts | 74 + .../profiles/Extension_AEOnBehalfOf.ts | 74 + .../profiles/Extension_Abatement.ts | 107 + .../Extension_AdditionalIdentifier.ts | 74 + .../profiles/Extension_AdheresTo.ts | 87 + .../profiles/Extension_AlternateCanonical.ts | 73 + .../profiles/Extension_AlternateCodes.ts | 74 + .../profiles/Extension_AlternateReference.ts | 74 + .../Extension_AlternativeExpression.ts | 74 + .../profiles/Extension_AnnotationType.ts | 74 + .../Extension_ArtifactApprovalDate.ts | 73 + .../Extension_ArtifactAssessmentContent.ts | 214 + ...Extension_ArtifactAssessmentDisposition.ts | 65 + ...ension_ArtifactAssessmentWorkflowStatus.ts | 65 + .../profiles/Extension_ArtifactAuthor.ts | 74 + .../Extension_ArtifactCanonicalReference.ts | 73 + .../profiles/Extension_ArtifactCiteAs.ts | 75 + .../profiles/Extension_ArtifactComment.ts | 167 + .../profiles/Extension_ArtifactContact.ts | 74 + .../profiles/Extension_ArtifactCopyright.ts | 73 + .../Extension_ArtifactCopyrightLabel.ts | 73 + .../profiles/Extension_ArtifactDate.ts | 73 + .../profiles/Extension_ArtifactDescription.ts | 73 + .../profiles/Extension_ArtifactEditor.ts | 74 + .../Extension_ArtifactEffectivePeriod.ts | 74 + .../profiles/Extension_ArtifactEndorser.ts | 74 + .../Extension_ArtifactExperimental.ts | 73 + .../profiles/Extension_ArtifactIdentifier.ts | 74 + .../profiles/Extension_ArtifactIsOwned.ts | 73 + .../Extension_ArtifactJurisdiction.ts | 74 + .../Extension_ArtifactLastReviewDate.ts | 73 + .../profiles/Extension_ArtifactName.ts | 73 + .../profiles/Extension_ArtifactPublisher.ts | 73 + .../profiles/Extension_ArtifactPurpose.ts | 73 + .../profiles/Extension_ArtifactReference.ts | 87 + .../Extension_ArtifactRelatedArtifact.ts | 74 + .../Extension_ArtifactReleaseDescription.ts | 73 + .../Extension_ArtifactReleaseLabel.ts | 73 + .../profiles/Extension_ArtifactReviewer.ts | 74 + .../profiles/Extension_ArtifactStatus.ts | 73 + .../profiles/Extension_ArtifactTitle.ts | 73 + .../profiles/Extension_ArtifactTopic.ts | 74 + .../Extension_ArtifactUriReference.ts | 73 + .../profiles/Extension_ArtifactUrl.ts | 73 + .../profiles/Extension_ArtifactUsage.ts | 73 + .../profiles/Extension_ArtifactUseContext.ts | 74 + .../profiles/Extension_ArtifactVersion.ts | 73 + .../Extension_ArtifactVersionAlgorithm.ts | 83 + .../Extension_ArtifactVersionPolicy.ts | 74 + .../Extension_BDPCollectionProcedure.ts | 74 + .../profiles/Extension_BDPManipulation.ts | 105 + .../profiles/Extension_BDPProcessing.ts | 122 + .../profiles/Extension_BusinessEvent.ts | 104 + .../profiles/Extension_CQFCQLOptions.ts | 74 + .../profiles/Extension_CQFCertainty.ts | 138 + ...xtension_CQFImprovementNotationGuidance.ts | 73 + .../Extension_CQFKnowledgeCapability.ts | 73 + .../profiles/Extension_CRPublishDate.ts | 73 + .../profiles/Extension_CRShortDescription.ts | 73 + .../Extension_CSAuthoritativeSource.ts | 73 + .../profiles/Extension_CSDeclaredProfile.ts | 73 + .../profiles/Extension_CSPropertiesMode.ts | 73 + .../profiles/Extension_CSPropertyValueSet.ts | 73 + .../profiles/Extension_CSSearchMode.ts | 73 + .../Extension_CSSearchParameterUse.ts | 119 + .../profiles/Extension_CSUseMarkdown.ts | 73 + .../profiles/Extension_CTAlias.ts | 73 + .../Extension_CharacteristicExpression.ts | 74 + .../Extension_CitationSocietyAffiliation.ts | 73 + .../profiles/Extension_CodeOptions.ts | 73 + .../profiles/Extension_CodedString.ts | 74 + .../profiles/Extension_CodingConformance.ts | 73 + .../profiles/Extension_CodingPurpose.ts | 74 + .../profiles/Extension_CompliesWith.ts | 87 + .../profiles/Extension_Conceptmap.ts | 73 + .../Extension_ConditionDiseaseCourse.ts | 74 + .../profiles/Extension_ConditionReviewed.ts | 73 + .../profiles/Extension_Conditions.ts | 86 + .../profiles/Extension_Confidential.ts | 83 + .../Extension_ConsentResearchStudyContext.ts | 74 + .../profiles/Extension_ContactAddress.ts | 74 + .../Extension_ContactDetailReference.ts | 74 + .../profiles/Extension_ContactPointComment.ts | 73 + .../profiles/Extension_ContactPointPurpose.ts | 74 + .../profiles/Extension_ContactReference.ts | 74 + .../profiles/Extension_ContributionTime.ts | 73 + .../profiles/Extension_CountQuantity.ts | 66 + .../profiles/Extension_CqlAccessModifier.ts | 73 + .../profiles/Extension_CqlType.ts | 73 + .../Extension_CriteriaReferenceExtension.ts | 65 + .../profiles/Extension_DRFocus.ts | 74 + .../profiles/Extension_DRSourcePatient.ts | 74 + .../profiles/Extension_DRThumbnail.ts | 73 + .../profiles/Extension_DRWorkflowStatus.ts | 104 + .../profiles/Extension_Datatype.ts | 73 + .../profiles/Extension_DefaultType.ts | 73 + .../profiles/Extension_DefaultValue.ts | 170 + .../profiles/Extension_DefinitionTerm.ts | 103 + .../profiles/Extension_DevCommercialBrand.ts | 73 + .../Extension_DeviceLastMaintenanceTime.ts | 65 + ...tension_DeviceMaintenanceResponsibility.ts | 89 + .../profiles/Extension_DirectReferenceCode.ts | 74 + .../Extension_DosageMinimumGapBetweenDose.ts | 86 + ..._EncounterSubjectLocationClassification.ts | 74 + .../profiles/Extension_EndpointFhirVersion.ts | 65 + .../profiles/Extension_EventRecorded.ts | 65 + .../profiles/Extension_ExpansionParameters.ts | 74 + .../profiles/Extension_FHIRQueryPattern.ts | 73 + .../profiles/Extension_FMMSupportDoco.ts | 73 + .../profiles/Extension_FeatureAsssertion.ts | 74 + .../profiles/Extension_FirstCreated.ts | 73 + .../profiles/Extension_FollowOnOf.ts | 74 + .../profiles/Extension_GeneratedFrom.ts | 73 + .../profiles/Extension_GraphConstraint.ts | 73 + .../profiles/Extension_IDCheckDigit.ts | 73 + .../profiles/Extension_IGSourceFile.ts | 120 + .../profiles/Extension_InputParameters.ts | 74 + .../profiles/Extension_IsEmptyList.ts | 73 + .../profiles/Extension_IsEmptyTuple.ts | 73 + .../profiles/Extension_IsPrefetchToken.ts | 73 + .../profiles/Extension_IsPrimaryCitation.ts | 73 + .../profiles/Extension_IsSelective.ts | 73 + .../profiles/Extension_ItemWeight.ts | 73 + .../Extension_KnowledgeRepresentationLevel.ts | 73 + .../profiles/Extension_LargeValue.ts | 73 + .../profiles/Extension_LastSourceSync.ts | 73 + .../profiles/Extension_ListCategory.ts | 74 + .../profiles/Extension_ListFor.ts | 74 + .../profiles/Extension_LocCommunication.ts | 74 + .../profiles/Extension_LogicDefinition.ts | 151 + .../Extension_MeasureReportCategory.ts | 74 + ...sion_MeasureReportPopulationDescription.ts | 65 + .../Extension_MedManufacturingBatch.ts | 181 + .../Extension_MedQuantityRemaining.ts | 74 + .../profiles/Extension_MedRefillsRemaining.ts | 73 + .../profiles/Extension_Messages.ts | 74 + .../profiles/Extension_ModelInfoIsIncluded.ts | 73 + .../Extension_ModelInfoIsRetrievable.ts | 73 + .../profiles/Extension_ModelInfoLabel.ts | 73 + .../Extension_ModelInfoPrimaryCodePath.ts | 73 + .../profiles/Extension_ModelInfoSettings.ts | 74 + .../profiles/Extension_NSCheckDigit.ts | 73 + .../profiles/Extension_NotDoneValueSet.ts | 73 + .../profiles/Extension_Note.ts | 74 + .../profiles/Extension_OOIssueCol.ts | 73 + .../profiles/Extension_OOIssueLine.ts | 73 + .../profiles/Extension_OOIssueMessageId.ts | 73 + .../profiles/Extension_OOIssueServer.ts | 73 + .../profiles/Extension_OOIssueSliceText.ts | 73 + .../profiles/Extension_OOSourceFile.ts | 73 + .../profiles/Extension_Obligation.ts | 201 + .../profiles/Extension_ObligationsProfile.ts | 103 + .../profiles/Extension_ObsAnalysisDateTime.ts | 73 + .../Extension_ObsComponentCategory.ts | 74 + .../profiles/Extension_ObsNatureAbnormal.ts | 74 + .../profiles/Extension_ObsV2SubId.ts | 120 + .../Extension_ObservationStructureType.ts | 74 + .../profiles/Extension_OfficialAddress.ts | 75 + .../profiles/Extension_OrganizationBrand.ts | 121 + .../profiles/Extension_OrganizationPortal.ts | 185 + .../profiles/Extension_PGenderIdentity.ts | 121 + .../profiles/Extension_PREmploymentStatus.ts | 74 + .../profiles/Extension_PRJobTitle.ts | 74 + .../profiles/Extension_PackageSource.ts | 119 + .../profiles/Extension_ParameterDefinition.ts | 74 + .../Extension_ParametersDefinition.ts | 74 + .../profiles/Extension_PartOf.ts | 65 + .../profiles/Extension_PatBornStatus.ts | 73 + .../profiles/Extension_PatContactPriority.ts | 73 + .../profiles/Extension_PatFetalStatus.ts | 73 + .../Extension_PatMultipleBirthTotal.ts | 73 + .../profiles/Extension_PatNoFixedAddress.ts | 73 + ...Extension_PatSexParameterForClinicalUse.ts | 137 + .../Extension_PatientKnownNonDuplicate.ts | 74 + .../Extension_PatientPreferredPharmacy.ts | 105 + .../Extension_PatientUnknownIdentity.ts | 74 + .../profiles/Extension_Pattern.ts | 73 + .../profiles/Extension_PeriodDuration.ts | 74 + .../Extension_PreferredTerminologyServer.ts | 65 + .../profiles/Extension_Pronouns.ts | 121 + .../profiles/Extension_PublicationDate.ts | 73 + .../profiles/Extension_PublicationStatus.ts | 73 + .../profiles/Extension_QDefinitionBased.ts | 73 + .../profiles/Extension_QOptionRestriction.ts | 104 + .../profiles/Extension_QRAttester.ts | 120 + .../profiles/Extension_QuantityTranslation.ts | 74 + .../Extension_QuestionnaireDerivationType.ts | 74 + .../profiles/Extension_RSSiteRecruitment.ts | 104 + .../profiles/Extension_RSStudyRegistration.ts | 121 + .../profiles/Extension_RecordedSexOrGender.ts | 233 + .../profiles/Extension_ReferencesContained.ts | 74 + .../profiles/Extension_ReleaseDate.ts | 73 + .../profiles/Extension_RequirementsParent.ts | 73 + .../Extension_ResolveAsVersionSpecific.ts | 73 + .../Extension_ResourceDerivationReference.ts | 121 + .../Extension_ResourceInstanceDescription.ts | 73 + .../Extension_ResourceInstanceName.ts | 73 + .../Extension_ResourceSatisfiesRequirement.ts | 103 + .../profiles/Extension_ResourceType.ts | 73 + .../profiles/Extension_SDExtensionMeaning.ts | 74 + .../profiles/Extension_SDImposeProfile.ts | 73 + .../Extension_SDInheritanceControl.ts | 73 + .../profiles/Extension_SDInterface.ts | 73 + .../Extension_SDStandardsStatusReason.ts | 73 + .../profiles/Extension_SDStatusDerivation.ts | 73 + .../Extension_SDTypeCharacteristics.ts | 73 + .../Extension_SDcompliesWithProfile.ts | 73 + .../Extension_SROrderCallbackPhoneNumber.ts | 74 + .../profiles/Extension_Scope.ts | 65 + .../profiles/Extension_SelectByMap.ts | 103 + .../profiles/Extension_ShallComplyWith.ts | 87 + .../Extension_ShouldTraceDependency.ts | 73 + .../Extension_SpecimenRejectReason.ts | 74 + .../Extension_StatisticModelIncludeIf.ts | 89 + .../Extension_SubscriptionBestEffort.ts | 73 + .../profiles/Extension_SupportedCqlVersion.ts | 73 + .../profiles/Extension_Suppress.ts | 73 + .../profiles/Extension_TargetConstraint.ts | 168 + .../profiles/Extension_TargetElement.ts | 73 + .../profiles/Extension_TargetInvariant.ts | 136 + .../profiles/Extension_TargetPath.ts | 73 + .../profiles/Extension_TestArtifact.ts | 77 + .../profiles/Extension_TimezoneCode.ts | 73 + .../profiles/Extension_TriggeredBy.ts | 87 + .../Extension_TxResourceIdentifierMetadata.ts | 104 + .../profiles/Extension_TypeMustSupport.ts | 73 + .../profiles/Extension_UncertainDate.ts | 74 + .../profiles/Extension_UncertainPeriod.ts | 74 + .../profiles/Extension_VSComposeCreatedBy.ts | 73 + .../Extension_VSComposeCreationDate.ts | 73 + .../profiles/Extension_VSIncludeVSTitle.ts | 73 + .../profiles/Extension_VSOtherTitle.ts | 119 + .../profiles/Extension_ValueFilter.ts | 120 + .../profiles/Extension_VersionSpecificUse.ts | 88 + .../Extension_VersionSpecificValue.ts | 119 + .../Extension_WorkflowStatusDescription.ts | 73 + .../profiles/index.ts | 237 + .../hl7-fhir-uv-extensions/index.ts | 1 + .../profiles/Extension_ADUse.ts | 73 + .../Extension_ADXPAdditionalLocator.ts | 73 + .../Extension_ADXPBuildingNumberSuffix.ts | 73 + .../profiles/Extension_ADXPCareOf.ts | 73 + .../profiles/Extension_ADXPCensusTract.ts | 73 + .../profiles/Extension_ADXPDelimiter.ts | 73 + .../Extension_ADXPDeliveryAddressLine.ts | 73 + .../Extension_ADXPDeliveryInstallationArea.ts | 73 + ...nsion_ADXPDeliveryInstallationQualifier.ts | 73 + .../Extension_ADXPDeliveryInstallationType.ts | 73 + .../profiles/Extension_ADXPDeliveryMode.ts | 73 + .../Extension_ADXPDeliveryModeIdentifier.ts | 73 + .../profiles/Extension_ADXPDirection.ts | 73 + .../profiles/Extension_ADXPHouseNumber.ts | 73 + .../Extension_ADXPHouseNumberNumeric.ts | 73 + .../profiles/Extension_ADXPPostBox.ts | 73 + .../profiles/Extension_ADXPPrecinct.ts | 73 + .../Extension_ADXPStreetAddressLine.ts | 73 + .../profiles/Extension_ADXPStreetName.ts | 73 + .../profiles/Extension_ADXPStreetNameBase.ts | 73 + .../profiles/Extension_ADXPStreetNameType.ts | 73 + .../profiles/Extension_ADXPUnitID.ts | 73 + .../profiles/Extension_ADXPUnitType.ts | 73 + .../profiles/Extension_AEAccession.ts | 74 + .../profiles/Extension_AEAlternativeUserID.ts | 74 + .../profiles/Extension_AEAnonymized.ts | 73 + .../profiles/Extension_AEEncrypted.ts | 73 + .../profiles/Extension_AEInstance.ts | 74 + .../profiles/Extension_AELifecycle.ts | 74 + .../profiles/Extension_AEMPPS.ts | 74 + .../profiles/Extension_AENumberOfInstances.ts | 73 + .../profiles/Extension_AEOnBehalfOf.ts | 74 + ...ension_AEParticipantObjectContainsStudy.ts | 74 + .../profiles/Extension_AESOPClass.ts | 74 + .../profiles/Extension_AIAdministration.ts | 74 + .../profiles/Extension_AIAssertedDate.ts | 73 + .../profiles/Extension_AICareplan.ts | 74 + .../profiles/Extension_AICertainty.ts | 74 + .../profiles/Extension_AIDuration.ts | 74 + .../profiles/Extension_AIExposureDate.ts | 73 + .../Extension_AIExposureDescription.ts | 73 + .../profiles/Extension_AIExposureDuration.ts | 74 + .../profiles/Extension_AILocation.ts | 74 + .../profiles/Extension_AIManagement.ts | 73 + .../profiles/Extension_AIReasonRefuted.ts | 74 + .../profiles/Extension_AIResolutionAge.ts | 74 + .../Extension_AISubstanceExposureRisk.ts | 104 + .../profiles/Extension_Abatement.ts | 107 + .../Extension_AdditionalIdentifier.ts | 74 + .../profiles/Extension_AdheresTo.ts | 87 + .../profiles/Extension_AllowedUnits.ts | 78 + .../profiles/Extension_AlternateCanonical.ts | 73 + .../profiles/Extension_AlternateCodes.ts | 74 + .../profiles/Extension_AlternateReference.ts | 74 + .../Extension_AlternativeExpression.ts | 74 + .../profiles/Extension_AnnotationType.ts | 74 + .../Extension_ArtifactApprovalDate.ts | 65 + .../Extension_ArtifactAssessmentContent.ts | 214 + ...Extension_ArtifactAssessmentDisposition.ts | 65 + ...ension_ArtifactAssessmentWorkflowStatus.ts | 65 + .../profiles/Extension_ArtifactAuthor.ts | 74 + .../Extension_ArtifactCanonicalReference.ts | 65 + .../profiles/Extension_ArtifactCiteAs.ts | 75 + .../profiles/Extension_ArtifactComment.ts | 167 + .../profiles/Extension_ArtifactContact.ts | 74 + .../profiles/Extension_ArtifactCopyright.ts | 73 + .../Extension_ArtifactCopyrightLabel.ts | 73 + .../profiles/Extension_ArtifactDate.ts | 73 + .../profiles/Extension_ArtifactDescription.ts | 73 + .../profiles/Extension_ArtifactEditor.ts | 74 + .../Extension_ArtifactEffectivePeriod.ts | 66 + .../profiles/Extension_ArtifactEndorser.ts | 74 + .../Extension_ArtifactExperimental.ts | 73 + .../profiles/Extension_ArtifactIdentifier.ts | 74 + .../profiles/Extension_ArtifactIsOwned.ts | 65 + .../Extension_ArtifactJurisdiction.ts | 74 + .../Extension_ArtifactLastReviewDate.ts | 65 + .../profiles/Extension_ArtifactName.ts | 73 + .../profiles/Extension_ArtifactPublisher.ts | 73 + .../profiles/Extension_ArtifactPurpose.ts | 73 + .../profiles/Extension_ArtifactReference.ts | 84 + .../Extension_ArtifactRelatedArtifact.ts | 74 + .../Extension_ArtifactReleaseDescription.ts | 65 + .../Extension_ArtifactReleaseLabel.ts | 65 + .../profiles/Extension_ArtifactReviewer.ts | 74 + .../profiles/Extension_ArtifactStatus.ts | 73 + .../profiles/Extension_ArtifactTitle.ts | 73 + .../profiles/Extension_ArtifactTopic.ts | 74 + .../profiles/Extension_ArtifactUrl.ts | 73 + .../profiles/Extension_ArtifactUsage.ts | 65 + .../profiles/Extension_ArtifactUseContext.ts | 74 + .../profiles/Extension_ArtifactVersion.ts | 73 + .../Extension_ArtifactVersionAlgorithm.ts | 78 + .../Extension_ArtifactVersionPolicy.ts | 66 + .../profiles/Extension_AssemblyOrder.ts | 73 + .../Extension_BDPCollectionProcedure.ts | 74 + .../profiles/Extension_BDPManipulation.ts | 105 + .../profiles/Extension_BDPProcessing.ts | 122 + .../profiles/Extension_BasedOn.ts | 74 + .../profiles/Extension_BestPractice.ts | 78 + .../Extension_BestPracticeExplanation.ts | 73 + .../profiles/Extension_BindingName.ts | 73 + .../Extension_BodyStructureReference.ts | 74 + .../Extension_BundleHttpResponseHeader.ts | 73 + .../Extension_BundleLocationDistance.ts | 74 + .../profiles/Extension_BundleMatchGrade.ts | 73 + .../profiles/Extension_CDVersionNumber.ts | 73 + .../profiles/Extension_CMBidirectional.ts | 73 + .../profiles/Extension_CMedia.ts | 74 + .../profiles/Extension_CPActivityTitle.ts | 73 + .../profiles/Extension_CQFCQLOptions.ts | 74 + .../profiles/Extension_CQFCertainty.ts | 138 + .../profiles/Extension_CQFCitation.ts | 73 + .../profiles/Extension_CQFExpression.ts | 74 + .../Extension_CQFKnowledgeCapability.ts | 73 + .../profiles/Extension_CQFLibrary.ts | 73 + .../Extension_CRInitiatingLocation.ts | 74 + .../profiles/Extension_CRPublishDate.ts | 73 + .../profiles/Extension_CRShortDescription.ts | 73 + .../profiles/Extension_CSAlternate.ts | 104 + .../Extension_CSAuthoritativeSource.ts | 73 + .../profiles/Extension_CSConceptComments.ts | 73 + .../profiles/Extension_CSConceptOrder.ts | 73 + .../profiles/Extension_CSDeclaredProfile.ts | 73 + .../profiles/Extension_CSExpectation.ts | 73 + .../profiles/Extension_CSHistory.ts | 82 + .../profiles/Extension_CSKeyWord.ts | 73 + .../profiles/Extension_CSLabel.ts | 73 + .../profiles/Extension_CSMap.ts | 73 + .../profiles/Extension_CSOtherName.ts | 103 + .../profiles/Extension_CSProhibited.ts | 73 + .../profiles/Extension_CSPropertiesMode.ts | 73 + .../profiles/Extension_CSReplacedby.ts | 74 + .../profiles/Extension_CSSearchMode.ts | 73 + .../Extension_CSSearchParameterCombination.ts | 88 + .../Extension_CSSearchParameterUse.ts | 119 + .../profiles/Extension_CSSourceReference.ts | 73 + .../profiles/Extension_CSSupportedSystem.ts | 73 + .../profiles/Extension_CSTrustedExpansion.ts | 73 + .../profiles/Extension_CSUsage.ts | 103 + .../profiles/Extension_CSUseMarkdown.ts | 73 + .../profiles/Extension_CSWarning.ts | 73 + .../profiles/Extension_CSWebsocket.ts | 73 + .../profiles/Extension_CSWorkflowStatus.ts | 73 + .../profiles/Extension_CSectionSubject.ts | 73 + .../profiles/Extension_CTAlias.ts | 73 + .../profiles/Extension_CValidityPeriod.ts | 73 + .../profiles/Extension_CalculatedValue.ts | 74 + .../profiles/Extension_Capabilities.ts | 73 + .../profiles/Extension_CdsHooksEndpoint.ts | 73 + .../Extension_CharacteristicExpression.ts | 74 + .../Extension_CitationSocietyAffiliation.ts | 73 + .../profiles/Extension_CodedString.ts | 74 + .../profiles/Extension_CodingConformance.ts | 73 + .../profiles/Extension_CodingPurpose.ts | 74 + .../profiles/Extension_CompliesWith.ts | 87 + .../profiles/Extension_Conceptmap.ts | 73 + .../Extension_ConditionAssertedDate.ts | 73 + .../Extension_ConditionDiseaseCourse.ts | 74 + .../profiles/Extension_ConditionDueTo.ts | 79 + .../Extension_ConditionOccurredFollowing.ts | 79 + .../profiles/Extension_ConditionOutcome.ts | 74 + .../profiles/Extension_ConditionRelated.ts | 74 + .../profiles/Extension_ConditionReviewed.ts | 73 + .../profiles/Extension_ConditionRuledOut.ts | 74 + .../profiles/Extension_Conditions.ts | 86 + .../profiles/Extension_Confidential.ts | 83 + .../profiles/Extension_ConsentLocation.ts | 74 + .../Extension_ConsentNotificationEndpoint.ts | 73 + .../Extension_ConsentResearchStudyContext.ts | 74 + .../profiles/Extension_ConsentTranscriber.ts | 74 + .../profiles/Extension_ConsentWitness.ts | 74 + .../profiles/Extension_ContactAddress.ts | 74 + .../Extension_ContactDetailReference.ts | 74 + .../profiles/Extension_ContactPointArea.ts | 73 + .../profiles/Extension_ContactPointComment.ts | 73 + .../profiles/Extension_ContactPointCountry.ts | 73 + .../Extension_ContactPointExtension.ts | 73 + .../profiles/Extension_ContactPointLocal.ts | 73 + .../profiles/Extension_ContactPointPurpose.ts | 74 + .../profiles/Extension_ContactReference.ts | 74 + .../profiles/Extension_ContributionTime.ts | 73 + .../profiles/Extension_DRAddendumOf.ts | 74 + .../profiles/Extension_DRExtends.ts | 74 + .../profiles/Extension_DRFocus.ts | 74 + .../profiles/Extension_DRLocationPerformed.ts | 74 + .../Extension_DRPatientInstruction.ts | 103 + .../profiles/Extension_DRReplaces.ts | 74 + .../profiles/Extension_DRRisk.ts | 74 + .../profiles/Extension_DRSourcePatient.ts | 74 + .../profiles/Extension_DRSummaryOf.ts | 74 + .../profiles/Extension_DRThumbnail.ts | 73 + .../profiles/Extension_DRWorkflowStatus.ts | 104 + .../profiles/Extension_DataAbsentReason.ts | 73 + .../profiles/Extension_Datatype.ts | 73 + .../profiles/Extension_DaysOfCycle.ts | 87 + .../profiles/Extension_DefaultType.ts | 73 + .../profiles/Extension_DefaultValue.ts | 170 + .../profiles/Extension_DefinitionTerm.ts | 103 + .../profiles/Extension_DesignNote.ts | 73 + .../profiles/Extension_DevCommercialBrand.ts | 73 + .../profiles/Extension_DevImplantStatus.ts | 73 + .../Extension_DeviceLastMaintenanceTime.ts | 65 + ...tension_DeviceMaintenanceResponsibility.ts | 89 + .../profiles/Extension_DirectReferenceCode.ts | 74 + .../profiles/Extension_DisplayName.ts | 73 + .../profiles/Extension_DoNotPerform.ts | 73 + .../Extension_DosageMinimumGapBetweenDose.ts | 86 + .../profiles/Extension_ENQualifier.ts | 73 + .../profiles/Extension_ENRepresentation.ts | 73 + .../profiles/Extension_ENUse.ts | 73 + .../Extension_EncAssociatedEncounter.ts | 74 + .../profiles/Extension_EncModeOfArrival.ts | 74 + .../profiles/Extension_EncReasonCancelled.ts | 74 + .../profiles/Extension_EncounterClass.ts | 74 + .../profiles/Extension_EncounterType.ts | 74 + .../profiles/Extension_EndpointFhirVersion.ts | 65 + .../profiles/Extension_EntryFormat.ts | 73 + .../profiles/Extension_EpisodeOfCare.ts | 74 + .../profiles/Extension_Equivalence.ts | 73 + .../profiles/Extension_EventHistory.ts | 74 + .../profiles/Extension_EventLocation.ts | 74 + .../profiles/Extension_EventStatusReason.ts | 74 + .../profiles/Extension_ExpansionParameters.ts | 66 + .../Extension_ExtendedContactAvailability.ts | 74 + .../profiles/Extension_FHIRQueryPattern.ts | 65 + .../profiles/Extension_FMHAbatement.ts | 87 + .../profiles/Extension_FMHObservation.ts | 74 + .../profiles/Extension_FMHParent.ts | 105 + .../profiles/Extension_FMHPatientRecord.ts | 74 + .../profiles/Extension_FMHSeverity.ts | 74 + .../profiles/Extension_FMHSibling.ts | 105 + .../profiles/Extension_FMHType.ts | 74 + .../profiles/Extension_FMMLevel.ts | 73 + .../profiles/Extension_FMMSupportDoco.ts | 73 + .../profiles/Extension_FathersFamily.ts | 73 + .../profiles/Extension_FirstCreated.ts | 73 + .../profiles/Extension_FlagDetail.ts | 74 + .../profiles/Extension_FlagPriority.ts | 74 + .../profiles/Extension_FollowOnOf.ts | 74 + .../profiles/Extension_GeneratedFrom.ts | 73 + .../profiles/Extension_Geolocation.ts | 103 + .../profiles/Extension_GoalAcceptance.ts | 121 + .../profiles/Extension_GoalReasonRejected.ts | 74 + .../profiles/Extension_GoalRelationship.ts | 105 + .../profiles/Extension_GraphConstraint.ts | 73 + .../profiles/Extension_HumanLanguage.ts | 73 + .../profiles/Extension_IDCheckDigit.ts | 73 + .../profiles/Extension_IGSourceFile.ts | 120 + .../profiles/Extension_Identifier.ts | 74 + .../profiles/Extension_ImmProcedure.ts | 74 + .../Extension_InheritedExtensibleValueSet.ts | 77 + .../profiles/Extension_InitialValue.ts | 74 + .../Extension_InitiatingOrganization.ts | 74 + .../profiles/Extension_InitiatingPerson.ts | 74 + .../profiles/Extension_InputParameters.ts | 74 + .../profiles/Extension_IsCommonBinding.ts | 73 + .../profiles/Extension_IsPrefetchToken.ts | 73 + .../profiles/Extension_IsPrimaryCitation.ts | 65 + .../profiles/Extension_IsSelective.ts | 65 + .../profiles/Extension_ItemWeight.ts | 73 + .../Extension_KnowledgeRepresentationLevel.ts | 73 + .../profiles/Extension_LargeValue.ts | 73 + .../profiles/Extension_LastSourceSync.ts | 73 + .../profiles/Extension_ListCategory.ts | 74 + .../profiles/Extension_ListChangeBase.ts | 74 + .../profiles/Extension_ListFor.ts | 74 + .../profiles/Extension_LocBoundaryGeojson.ts | 74 + .../profiles/Extension_LocCommunication.ts | 74 + .../profiles/Extension_LogicDefinition.ts | 151 + .../profiles/Extension_Markdown.ts | 73 + .../profiles/Extension_MaxDecimalPlaces.ts | 73 + .../profiles/Extension_MaxSize.ts | 73 + .../profiles/Extension_MaxValue.ts | 114 + .../profiles/Extension_MaxValueSet.ts | 77 + .../profiles/Extension_MeasureInfo.ts | 104 + .../Extension_MedManufacturingBatch.ts | 181 + .../Extension_MedQuantityRemaining.ts | 74 + .../profiles/Extension_MedRefillsRemaining.ts | 73 + .../profiles/Extension_Messages.ts | 66 + .../profiles/Extension_MimeType.ts | 73 + .../profiles/Extension_MinLength.ts | 73 + .../profiles/Extension_MinValue.ts | 114 + .../profiles/Extension_MinValueSet.ts | 77 + .../profiles/Extension_ModelInfoIsIncluded.ts | 65 + .../Extension_ModelInfoIsRetrievable.ts | 65 + .../profiles/Extension_ModelInfoLabel.ts | 65 + .../Extension_ModelInfoPrimaryCodePath.ts | 65 + .../profiles/Extension_ModelInfoSettings.ts | 66 + .../profiles/Extension_MothersFamily.ts | 73 + .../profiles/Extension_MsgResponseRequest.ts | 73 + .../profiles/Extension_NSCheckDigit.ts | 73 + .../profiles/Extension_NarrativeLink.ts | 73 + .../profiles/Extension_NotDoneValueSet.ts | 73 + .../Extension_NttAdaptiveFeedingDevice.ts | 74 + .../profiles/Extension_NullFlavor.ts | 73 + .../profiles/Extension_OAuthUris.ts | 135 + .../profiles/Extension_ODProfile.ts | 73 + .../profiles/Extension_OOAuthority.ts | 73 + .../profiles/Extension_OODetectedIssue.ts | 74 + .../profiles/Extension_OOIssueCol.ts | 73 + .../profiles/Extension_OOIssueLine.ts | 73 + .../profiles/Extension_OOIssueMessageId.ts | 73 + .../profiles/Extension_OOIssueServer.ts | 73 + .../profiles/Extension_OOIssueSliceText.ts | 73 + .../profiles/Extension_OOIssueSource.ts | 73 + .../profiles/Extension_OOSourceFile.ts | 73 + .../profiles/Extension_ObjectClass.ts | 74 + .../profiles/Extension_ObjectClassProperty.ts | 74 + .../profiles/Extension_Obligation.ts | 200 + .../profiles/Extension_ObsAnalysisDateTime.ts | 73 + .../profiles/Extension_ObsBodyPosition.ts | 74 + .../profiles/Extension_ObsDelta.ts | 74 + .../profiles/Extension_ObsDeviceCode.ts | 74 + .../profiles/Extension_ObsFocusCode.ts | 74 + .../profiles/Extension_ObsGatewayDevice.ts | 74 + .../profiles/Extension_ObsNatureAbnormal.ts | 74 + .../profiles/Extension_ObsPrecondition.ts | 74 + .../profiles/Extension_ObsReagent.ts | 74 + .../profiles/Extension_ObsReplaces.ts | 74 + .../profiles/Extension_ObsSecondaryFinding.ts | 74 + .../profiles/Extension_ObsSequelTo.ts | 74 + .../profiles/Extension_ObsSpecimenCode.ts | 74 + .../profiles/Extension_ObsTimeOffset.ts | 73 + .../profiles/Extension_ObsV2SubId.ts | 120 + .../profiles/Extension_OrgPeriod.ts | 74 + .../profiles/Extension_OrgPreferredContact.ts | 73 + .../profiles/Extension_OrgPrimaryInd.ts | 73 + .../profiles/Extension_OrganizationBrand.ts | 121 + .../profiles/Extension_OrganizationPortal.ts | 185 + .../profiles/Extension_OriginalText.ts | 77 + .../profiles/Extension_OwnName.ts | 73 + .../profiles/Extension_OwnPrefix.ts | 73 + .../profiles/Extension_PGenderIdentity.ts | 121 + .../profiles/Extension_PRAnimalSpecies.ts | 74 + .../Extension_PRApproachBodyStructure.ts | 74 + .../profiles/Extension_PRCausedBy.ts | 74 + .../profiles/Extension_PRDirectedBy.ts | 79 + .../profiles/Extension_PREmploymentStatus.ts | 74 + .../profiles/Extension_PRIncisionDateTime.ts | 73 + .../profiles/Extension_PRJobTitle.ts | 74 + .../profiles/Extension_PRMethod.ts | 74 + .../profiles/Extension_PRPrimaryInd.ts | 73 + .../profiles/Extension_PRProgressStatus.ts | 74 + .../Extension_PRTargetBodyStructure.ts | 74 + .../profiles/Extension_ParamFullUrl.ts | 73 + .../profiles/Extension_ParameterDefinition.ts | 74 + .../Extension_ParametersDefinition.ts | 74 + .../profiles/Extension_PartOf.ts | 65 + .../profiles/Extension_PartnerName.ts | 73 + .../profiles/Extension_PartnerPrefix.ts | 73 + .../profiles/Extension_PatAdoptionInfo.ts | 74 + .../profiles/Extension_PatAnimal.ts | 120 + .../profiles/Extension_PatBirthPlace.ts | 74 + .../profiles/Extension_PatBirthTime.ts | 73 + .../profiles/Extension_PatBornStatus.ts | 73 + .../profiles/Extension_PatCadavericDonor.ts | 73 + .../profiles/Extension_PatCitizenship.ts | 90 + .../profiles/Extension_PatCongregation.ts | 73 + .../profiles/Extension_PatContactPriority.ts | 73 + .../profiles/Extension_PatDisability.ts | 74 + .../profiles/Extension_PatImportance.ts | 74 + .../Extension_PatInterpreterRequired.ts | 73 + .../Extension_PatMothersMaidenName.ts | 73 + .../Extension_PatMultipleBirthTotal.ts | 73 + .../profiles/Extension_PatNationality.ts | 90 + .../profiles/Extension_PatNoFixedAddress.ts | 73 + .../profiles/Extension_PatPreferenceType.ts | 74 + .../profiles/Extension_PatProficiency.ts | 89 + .../profiles/Extension_PatRelatedPerson.ts | 74 + .../profiles/Extension_PatReligion.ts | 74 + ...Extension_PatSexParameterForClinicalUse.ts | 138 + .../Extension_PatientKnownNonDuplicate.ts | 74 + .../Extension_PatientUnknownIdentity.ts | 74 + .../profiles/Extension_Pattern.ts | 73 + .../profiles/Extension_PerformerFunction.ts | 74 + .../profiles/Extension_PerformerOrder.ts | 73 + .../profiles/Extension_PeriodDuration.ts | 74 + .../Extension_PermittedValueConceptmap.ts | 73 + .../Extension_PermittedValueValueset.ts | 73 + .../profiles/Extension_Precision.ts | 73 + .../profiles/Extension_Preferred.ts | 73 + .../profiles/Extension_ProfileElement.ts | 73 + .../profiles/Extension_Pronouns.ts | 121 + .../profiles/Extension_ProtectiveFactor.ts | 74 + .../profiles/Extension_PublicationDate.ts | 65 + .../profiles/Extension_PublicationStatus.ts | 65 + .../profiles/Extension_QBaseType.ts | 73 + .../profiles/Extension_QChoiceOrientation.ts | 73 + .../profiles/Extension_QConstraint.ts | 167 + .../profiles/Extension_QDefinitionBased.ts | 73 + .../profiles/Extension_QDisplayCategory.ts | 74 + .../profiles/Extension_QFhirType.ts | 73 + .../profiles/Extension_QHidden.ts | 73 + .../profiles/Extension_QItemControl.ts | 74 + .../profiles/Extension_QMaxOccurs.ts | 73 + .../profiles/Extension_QMinOccurs.ts | 73 + .../profiles/Extension_QOptionExclusive.ts | 73 + .../profiles/Extension_QOptionPrefix.ts | 73 + .../profiles/Extension_QOptionRestriction.ts | 104 + .../profiles/Extension_QRAttester.ts | 120 + .../profiles/Extension_QRAuthor.ts | 74 + .../profiles/Extension_QRCompletionMode.ts | 74 + .../profiles/Extension_QRReason.ts | 74 + .../profiles/Extension_QRReviewer.ts | 74 + .../profiles/Extension_QRSignature.ts | 74 + .../profiles/Extension_QRUnitOption.ts | 74 + .../profiles/Extension_QRUnitValueSet.ts | 73 + .../profiles/Extension_QRUsageMode.ts | 73 + .../profiles/Extension_QReferenceProfile.ts | 73 + .../profiles/Extension_QReferenceResource.ts | 73 + .../profiles/Extension_QSignatureRequired.ts | 74 + .../profiles/Extension_QSliderStepValue.ts | 73 + .../profiles/Extension_QSupportLink.ts | 73 + .../profiles/Extension_QUnit.ts | 74 + .../profiles/Extension_QualityOfEvidence.ts | 74 + .../profiles/Extension_QuantityTranslation.ts | 74 + .../profiles/Extension_Question.ts | 73 + .../Extension_QuestionnaireDerivationType.ts | 74 + .../profiles/Extension_RSSiteRecruitment.ts | 104 + .../profiles/Extension_RSStudyRegistration.ts | 121 + .../Extension_ReceivingOrganization.ts | 74 + .../profiles/Extension_ReceivingPerson.ts | 74 + .../profiles/Extension_RecipientLanguage.ts | 74 + .../profiles/Extension_RecipientType.ts | 74 + .../profiles/Extension_RecordedSexOrGender.ts | 217 + .../profiles/Extension_ReferenceFilter.ts | 73 + .../profiles/Extension_ReferencesContained.ts | 74 + .../profiles/Extension_RelatedArtifact.ts | 74 + .../Extension_RelativeDateCriteria.ts | 154 + .../profiles/Extension_RelativeDateTime.ts | 137 + .../profiles/Extension_ReleaseDate.ts | 73 + .../profiles/Extension_RelevantHistory.ts | 74 + .../profiles/Extension_RenderedValue.ts | 73 + .../profiles/Extension_RenderingStyle.ts | 73 + .../profiles/Extension_Replaces.ts | 73 + .../profiles/Extension_RequestInsurance.ts | 74 + .../profiles/Extension_RequestReplaces.ts | 74 + .../profiles/Extension_RequestStatusReason.ts | 74 + .../profiles/Extension_RequirementsParent.ts | 73 + .../profiles/Extension_ResLastReviewDate.ts | 73 + .../profiles/Extension_ResearchStudy.ts | 74 + .../Extension_ResolveAsVersionSpecific.ts | 73 + .../Extension_ResourceApprovalDate.ts | 73 + .../Extension_ResourceDerivationReference.ts | 121 + .../Extension_ResourceEffectivePeriod.ts | 74 + .../Extension_ResourceInstanceDescription.ts | 73 + .../Extension_ResourceInstanceName.ts | 73 + .../Extension_ResourceSatisfiesRequirement.ts | 103 + .../profiles/Extension_ResourceType.ts | 73 + .../profiles/Extension_SDAncestor.ts | 73 + .../profiles/Extension_SDApplicableVersion.ts | 73 + .../profiles/Extension_SDCategory.ts | 73 + .../profiles/Extension_SDCodegenSuper.ts | 73 + .../profiles/Extension_SDDisplayHint.ts | 73 + .../profiles/Extension_SDExplicitTypeName.ts | 73 + .../profiles/Extension_SDExtensionMeaning.ts | 74 + .../profiles/Extension_SDFhirType.ts | 73 + .../profiles/Extension_SDFmmNoWarnings.ts | 73 + .../profiles/Extension_SDHierarchy.ts | 73 + .../profiles/Extension_SDImposeProfile.ts | 73 + .../Extension_SDInheritanceControl.ts | 73 + .../profiles/Extension_SDInterface.ts | 73 + .../profiles/Extension_SDNormativeVersion.ts | 73 + .../profiles/Extension_SDSecurityCategory.ts | 73 + .../profiles/Extension_SDStandardsStatus.ts | 73 + .../Extension_SDStandardsStatusReason.ts | 73 + .../profiles/Extension_SDStatusDerivation.ts | 73 + .../profiles/Extension_SDSummary.ts | 73 + .../profiles/Extension_SDTableName.ts | 73 + .../profiles/Extension_SDTemplateStatus.ts | 73 + .../Extension_SDTypeCharacteristics.ts | 73 + .../profiles/Extension_SDWorkGroup.ts | 73 + .../Extension_SDcompliesWithProfile.ts | 73 + .../Extension_SROrderCallbackPhoneNumber.ts | 74 + .../profiles/Extension_SRPertainsToGoal.ts | 74 + .../profiles/Extension_SRPrecondition.ts | 74 + .../Extension_SRQuestionnaireRequest.ts | 74 + .../profiles/Extension_Scope.ts | 65 + .../profiles/Extension_SctDescId.ts | 73 + .../profiles/Extension_Selector.ts | 73 + .../profiles/Extension_ShallComplyWith.ts | 87 + .../Extension_SpecCollectionPriority.ts | 74 + .../profiles/Extension_SpecIsDryWeight.ts | 73 + .../profiles/Extension_SpecProcessingTime.ts | 79 + .../profiles/Extension_SpecSequenceNumber.ts | 73 + .../profiles/Extension_SpecSpecialHandling.ts | 74 + .../profiles/Extension_SpecimenAdditive.ts | 74 + .../Extension_StatisticModelIncludeIf.ts | 89 + .../Extension_StrengthOfRecommendation.ts | 74 + .../profiles/Extension_StyleSensitive.ts | 73 + .../Extension_SubscriptionBestEffort.ts | 73 + .../profiles/Extension_SupportedCqlVersion.ts | 73 + .../profiles/Extension_SupportingInfo.ts | 74 + .../profiles/Extension_Suppress.ts | 73 + .../profiles/Extension_SystemUserLanguage.ts | 74 + .../Extension_SystemUserTaskContext.ts | 74 + .../profiles/Extension_SystemUserType.ts | 74 + .../profiles/Extension_TELAddress.ts | 73 + .../profiles/Extension_TargetElement.ts | 73 + .../profiles/Extension_TargetInvariant.ts | 136 + .../profiles/Extension_TargetPath.ts | 73 + .../profiles/Extension_TaskReplaces.ts | 74 + .../profiles/Extension_TimezoneCode.ts | 73 + .../profiles/Extension_TimezoneOffset.ts | 73 + .../profiles/Extension_TimingDayOfMonth.ts | 73 + .../profiles/Extension_TimingExact.ts | 73 + .../profiles/Extension_Translatable.ts | 73 + .../profiles/Extension_Translation.ts | 103 + .../profiles/Extension_TriggeredBy.ts | 87 + .../Extension_TxResourceIdentifierMetadata.ts | 104 + .../profiles/Extension_TypeMustSupport.ts | 73 + .../profiles/Extension_UncertainDate.ts | 74 + .../profiles/Extension_UncertainPeriod.ts | 74 + .../profiles/Extension_Uncertainty.ts | 73 + .../profiles/Extension_UncertaintyType.ts | 73 + .../profiles/Extension_UsageContextGroup.ts | 73 + .../Extension_VSAuthoritativeSource.ts | 73 + .../profiles/Extension_VSCaseSensitive.ts | 73 + .../profiles/Extension_VSComposeCreatedBy.ts | 73 + .../Extension_VSComposeCreationDate.ts | 73 + .../profiles/Extension_VSConceptComments.ts | 73 + .../profiles/Extension_VSConceptDefinition.ts | 73 + .../profiles/Extension_VSConceptOrder.ts | 73 + .../profiles/Extension_VSDeprecated.ts | 73 + .../profiles/Extension_VSExpansionSource.ts | 73 + .../profiles/Extension_VSExpression.ts | 74 + .../profiles/Extension_VSExtensible.ts | 73 + .../profiles/Extension_VSIncludeVSTitle.ts | 73 + .../profiles/Extension_VSKeyword.ts | 73 + .../profiles/Extension_VSLabel.ts | 73 + .../profiles/Extension_VSMap.ts | 73 + .../profiles/Extension_VSOtherName.ts | 103 + .../profiles/Extension_VSOtherTitle.ts | 103 + .../profiles/Extension_VSParameterSource.ts | 73 + .../profiles/Extension_VSReference.ts | 73 + .../profiles/Extension_VSRulesText.ts | 73 + .../profiles/Extension_VSSourceReference.ts | 73 + .../profiles/Extension_VSSpecialStatus.ts | 73 + .../profiles/Extension_VSSupplement.ts | 73 + .../profiles/Extension_VSSystem.ts | 73 + .../profiles/Extension_VSSystemName.ts | 73 + .../profiles/Extension_VSSystemReference.ts | 73 + .../profiles/Extension_VSSystemTitle.ts | 73 + .../profiles/Extension_VSTooCostly.ts | 73 + .../profiles/Extension_VSTrustedExpansion.ts | 73 + .../profiles/Extension_VSUnclosed.ts | 73 + .../profiles/Extension_VSUsage.ts | 103 + .../profiles/Extension_VSWarning.ts | 73 + .../profiles/Extension_ValidDate.ts | 73 + .../profiles/Extension_ValueFilter.ts | 120 + .../profiles/Extension_Variable.ts | 74 + .../profiles/Extension_VersionSpecificUse.ts | 103 + .../Extension_VersionSpecificValue.ts | 119 + .../profiles/Extension_WorkflowBarrier.ts | 74 + .../profiles/Extension_WorkflowReason.ts | 74 + .../Extension_WorkflowStatusDescription.ts | 73 + .../profiles/Extension_XhtmlRepresentation.ts | 73 + .../hl7-fhir-uv-extensions/profiles/index.ts | 558 + .../fhir-types/hl7-fhir-uv-sdc/Sdcexample.ts | 9 +- .../hl7-fhir-uv-sdc/SdcquestionLibrary.ts | 11 +- .../fhir-types/hl7-fhir-uv-sdc/index.ts | 6 +- ...eSystem.ts => CodeSystem_SDCCodeSystem.ts} | 89 +- .../Extension_AnswerExpressionExtension.ts | 66 + ..._AnswerOptionsToggleExpressionExtension.ts | 98 + .../Extension_AssembleContextExtension.ts | 65 + .../profiles/Extension_AssembleExpectation.ts | 65 + .../Extension_AssembledFromExtension.ts | 65 + ...Extension_CalculatedExpressionExtension.ts | 74 + .../Extension_CandidateExpressionExtension.ts | 66 + .../Extension_ChoiceColumnExtension.ts | 136 + .../Extension_CollapsibleExtension.ts | 65 + .../Extension_ContextExpressionExtension.ts | 104 + ...Extension_EnableWhenExpressionExtension.ts | 66 + .../profiles/Extension_EndpointExtension.ts | 65 + .../profiles/Extension_EntryMode.ts | 65 + .../Extension_InitialExpressionExtension.ts | 66 + .../profiles/Extension_IsSubjectExtension.ts | 65 + .../profiles/Extension_ItemAnswerMedia.ts | 66 + ...xtension_ItemExtractionContextExtension.ts | 75 + .../profiles/Extension_ItemMedia.ts | 66 + ...xtension_ItemPopulationContextExtension.ts | 66 + .../Extension_LaunchContextExtension.ts | 120 + .../Extension_LookupQuestionnaireExtension.ts | 65 + .../Extension_MaxQuantityExtension.ts | 66 + .../Extension_MinQuantityExtension.ts | 66 + .../Extension_ObservationExtractCategory.ts | 66 + .../Extension_ObservationExtractExtension.ts | 65 + ...xtension_ObservationLinkPeriodExtension.ts | 66 + .../Extension_OptionalDisplayExtension.ts | 65 + .../Extension_PerformerTypeExtension.ts | 65 + .../Extension_PreferredTerminologyServer.ts | 65 + ...xtension_QuestionnaireAdaptiveExtension.ts | 74 + .../profiles/Extension_ReferencesContained.ts | 66 + .../profiles/Extension_SDCOpenLabel.ts | 65 + ...xtension_SDCServiceRequestQuestionnaire.ts | 65 + .../profiles/Extension_ShortTextExtension.ts | 65 + .../Extension_SourceQueriesExtension.ts | 66 + .../Extension_SourceStructureMapExtension.ts | 65 + .../Extension_SubQuestionnaireExtension.ts | 65 + .../Extension_TargetStructureMapExtension.ts | 65 + .../profiles/Extension_UnitOpen.ts | 73 + .../Extension_UnitSupplementalSystem.ts | 73 + .../profiles/Extension_WidthExtension.ts | 66 + .../{Sdclibrary.ts => Library_SDCLibrary.ts} | 48 +- ..._SDCParametersQuestionnaireAssembleOut.ts} | 57 +- ...metersQuestionnaireNextQuestionnaireIn.ts} | 32 +- ...etersQuestionnaireNextQuestionnaireOut.ts} | 32 +- ...rametersQuestionnaireProcessResponseIn.ts} | 32 +- ...rametersQuestionnaireResponseExtractIn.ts} | 32 +- ...naireResponse_SDCQuestionnaireResponse.ts} | 106 +- ...eResponse_SDCQuestionnaireResponseAdapt.ts | 128 + ... => Questionnaire_SDCBaseQuestionnaire.ts} | 80 +- ... Questionnaire_SDCModularQuestionnaire.ts} | 88 +- .../Questionnaire_SDCQuestionnaireAdapt.ts | 129 + ...stionnaire_SDCQuestionnaireAdaptSearch.ts} | 112 +- ...> Questionnaire_SDCQuestionnaireBehave.ts} | 216 +- ...aire_SDCQuestionnaireExtractDefinition.ts} | 104 +- ...ire_SDCQuestionnaireExtractObservation.ts} | 98 +- ...re_SDCQuestionnaireExtractStructureMap.ts} | 96 +- ...ire_SDCQuestionnairePopulateExpression.ts} | 118 +- ...re_SDCQuestionnairePopulateObservation.ts} | 92 +- ...e_SDCQuestionnairePopulateStructureMap.ts} | 100 +- ...> Questionnaire_SDCQuestionnaireRender.ts} | 176 +- ...> Questionnaire_SDCQuestionnaireSearch.ts} | 108 +- .../profiles/SdcquestionnaireAdapt.ts | 61 - .../profiles/SdcquestionnaireResponseAdapt.ts | 31 - .../SdcquestionnaireServiceRequest.ts | 48 - .../profiles/SdctaskQuestionnaire.ts | 130 - ...eRequest_SDCQuestionnaireServiceRequest.ts | 157 + .../profiles/Task_SDCTaskQuestionnaire.ts | 230 + .../profiles/UsageContext_SDCUsageContext.ts | 80 + ...SdcvalueSet.ts => ValueSet_SDCValueSet.ts} | 114 +- .../hl7-fhir-uv-sdc/profiles/index.ts | 101 +- .../profiles/Basic_SMARTAppStateBasic.ts | 66 + .../profiles/Bundle_UserAccessBrandsBundle.ts | 63 + .../profiles/Endpoint_UserAccessEndpoint.ts | 190 + ...and.ts => Organization_UserAccessBrand.ts} | 61 +- .../profiles/SmartappStateBasic.ts | 20 - ...TaskEhrLaunch.ts => Task_TaskEhrLaunch.ts} | 67 +- ...Launch.ts => Task_TaskStandaloneLaunch.ts} | 67 +- .../profiles/UserAccessBrandsBundle.ts | 20 - .../profiles/UserAccessEndpoint.ts | 80 - .../profiles/index.ts | 16 +- .../fhir-types/hl7-terminology-r4/index.ts | 1 + .../Extension_AssociatedConceptProperty.ts | 88 + .../profiles/Extension_NamingSystemTitle.ts | 65 + .../profiles/Extension_NamingSystemVersion.ts | 65 + ...SupportedConceptRelationshipInverseName.ts | 65 + ...SupportedConceptRelationshipIsNavigable.ts | 65 + ...SupportedConceptRelationshipReflexivity.ts | 65 + ...rtedConceptRelationshipRelationshipKind.ts | 65 + ...on_SupportedConceptRelationshipSymmetry.ts | 65 + ...upportedConceptRelationshipTransitivity.ts | 65 + .../hl7-terminology-r4/profiles/index.ts | 9 + .../fhir-types/hl7-terminology-r5/index.ts | 1 + .../Extension_AssociatedConceptProperty.ts | 88 + .../profiles/Extension_NamingSystemTitle.ts | 65 + .../profiles/Extension_NamingSystemVersion.ts | 65 + ...SupportedConceptRelationshipInverseName.ts | 65 + ...SupportedConceptRelationshipIsNavigable.ts | 65 + ...SupportedConceptRelationshipReflexivity.ts | 65 + ...rtedConceptRelationshipRelationshipKind.ts | 65 + ...on_SupportedConceptRelationshipSymmetry.ts | 65 + ...upportedConceptRelationshipTransitivity.ts | 65 + .../hl7-terminology-r5/profiles/index.ts | 9 + .../fhir-types/hl7-terminology/index.ts | 1 + .../Extension_AssociatedConceptProperty.ts | 88 + .../profiles/Extension_NamingSystemTitle.ts | 65 + .../profiles/Extension_NamingSystemVersion.ts | 65 + ...SupportedConceptRelationshipInverseName.ts | 65 + ...SupportedConceptRelationshipIsNavigable.ts | 65 + ...SupportedConceptRelationshipReflexivity.ts | 65 + ...rtedConceptRelationshipRelationshipKind.ts | 65 + ...on_SupportedConceptRelationshipSymmetry.ts | 65 + ...upportedConceptRelationshipTransitivity.ts | 65 + .../hl7-terminology/profiles/index.ts | 9 + .../fhir-types/profile-helpers.ts | 71 + .../typescript-us-core/multi-profile-demo.ts | 14 +- .../typescript-us-core/multi-profile.test.ts | 22 +- examples/typescript-us-core/profile-demo.ts | 73 +- 2661 files changed, 185680 insertions(+), 11568 deletions(-) create mode 100644 examples/typescript-us-core/fhir-types/examples/typescript-us-core/type-tree.yaml create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActualGroup.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksGuidanceResponse.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksRequestGroup.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksServicePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ClinicalDocument.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CodeSystem_Shareable_CodeSystem.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Clinical_Document.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/{DocumentSectionLibrary.ts => Composition_DocumentSectionLibrary.ts} (79%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Profile_for_Catalog.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ComputablePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CqfQuestionnaire.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CqlLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DeviceMetricObservationProfile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/{DiagnosticReportGenetics.ts => DiagnosticReport_DiagnosticReport_Genetics.ts} (76%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Example_Lipid_Profile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/{ProfileForHlaGenotypingResults.ts => DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts} (75%) delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DocumentStructure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EhrsFmRecordLifecycleEventAuditEvent.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EhrsFmRecordLifecycleEventProvenance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceSynthesisProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceVariable_PICO_Element_Profile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Evidence_Evidence_Synthesis_Profile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ExampleLipidProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_additionalLocator.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_buildingNumberSuffix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_careOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_censusTract.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_delimiter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryAddressLine.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationArea.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationQualifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryModeIdentifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_direction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumberNumeric.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_postBox.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_precinct.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetAddressLine.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameBase.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitID.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AD_use.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Accession.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Allele.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AminoAcidChange.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Analysis.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ancestry.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Anonymized.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AssessedCondition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_BodyStructure_Reference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_CopyNumberEvent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_DNARegionName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Data_Absent_Reason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Design_Note.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Display_Name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_qualifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_representation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_use.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Encrypted.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_FamilyMemberHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Gene.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_GenomicSourceClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Geolocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Human_Language.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Instance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Interpretation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Item.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_MPPS.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Narrative_Link.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NotificationEndpoint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NumberOfInstances.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ordinal_Value.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Original_Text.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PQ_translation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ParticipantObjectContainsStudy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PhaseSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_References.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Relative_Date_Criteria.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Rendered_Value.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SC_coding.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SOPClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_TEL_address.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Code.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Offset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Transcriber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Translation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ValidityPeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variant.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Witness.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_abatement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_acceptance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activityStatusDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activity_title.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adaptiveFeedingDevice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_addendumOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_administration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adoptionInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allele_database.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowedUnits.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowed_type.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_alternate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ancestor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animalSpecies.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_applicable_version.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approachBodyStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approvalDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_area.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assembly_order.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assertedDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_associatedEncounter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_author.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authoritativeSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_baseType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_basedOn.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice_explanation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bidirectional.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bindingName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bodyPosition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_boundary_geojson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cadavericDonor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_calculatedValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_candidateList.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_capabilities.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_careplan.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_caseSensitive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_category.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_causedBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cdsHooksEndpoint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_certainty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_changeBase.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_choiceOrientation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citizenship.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_codegen_super.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_collectionPriority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_completionMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_conceptOrder.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_comments.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_definition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_congregation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_constraint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_country.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dayOfMonth.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_daysOfCycle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_delta.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dependencies.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deprecated.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detail.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detectedIssue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deviceCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_directedBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_disability.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_displayCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_display_hint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_doNotPerform.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dueTo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_duration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectiveDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectivePeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_entryFormat.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_episodeOfCare.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_equivalence.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_eventHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_group.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_rules.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expansionSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expectation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expirationDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_explicit_type_name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDuration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expression.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extends.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extensible.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fathers_family.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhirType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhir_type.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm_no_warnings.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_focusCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fullUrl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_gatewayDevice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_genderIdentity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_glstring.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_group.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_haploid.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hidden.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hierarchy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_history.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_http_response_header.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_identifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_implantStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_importance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_incisionDateTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_inheritedExtensibleValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initialValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingLocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingOrganization.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesCanonical.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesUri.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_insurance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_interpreterRequired.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isCommonBinding.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isDryWeight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_issue_source.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_itemControl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_keyWord.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_label.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_lastReviewDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_library.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_local.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_locationPerformed.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location_distance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_management.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_map.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_markdown.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_match_grade.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxDecimalPlaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxOccurs.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxSize.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_measureInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_media.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_messageheader_response_request.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_method.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mimeType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minLength.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minOccurs.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_modeOfArrival.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothersMaidenName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothers_family.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_namespace.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_normative_version.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nullFlavor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_oauth_uris.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClassProperty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_observation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_occurredFollowing.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionExclusive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionPrefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherConfidentiality.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_outcome.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parameterSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_prefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patientInstruction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_record.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerFunction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerOrder.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_period.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_conceptmap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_valueset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_pertainsToGoal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precision.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precondition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferenceType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferred.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferredContact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_primaryInd.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_priority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_processingTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_proficiency.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile_element.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_progressStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_prohibited.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_qualityOfEvidence.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_question.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_questionnaireRequest.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reagent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCancelled.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRefuted.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRejected.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingOrganization.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientLanguage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceFilter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceResource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_regex.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_related.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedArtifact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relationship.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relativeDateTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relevantHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_religion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replacedby.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_researchStudy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_resolutionAge.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reviewer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_risk.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ruledOut.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_rules_text.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_schedule.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sctdescid.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_search_parameter_combination.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_secondaryFinding.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_section_subject.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_security_category.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_selector.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequelTo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequenceNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_severity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sibling.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signature.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signatureRequired.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sliderStepValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sourceReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specialHandling.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_special_status.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specimenCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_standards_status.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_statusReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_steward.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_strengthOfRecommendation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_style.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_styleSensitive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_substanceExposureRisk.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summaryOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supplement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportLink.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supported_system.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportingInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_system.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemRef.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserLanguage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserTaskContext.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_table_name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_targetBodyStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_template_status.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_test.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_timeOffset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_toocostly.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_translatable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_trusted_expansion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_type.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertainty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertaintyType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unclosed.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unit.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitOption.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usageMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_validDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_versionNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_warning.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_websocket.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_wg.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_workflowStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xhtml.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xml_no_order.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GroupDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Actual_Group.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Group_Definition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_CQL_Library.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_Shareable_Library.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Measure_Shareable_Measure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBmi.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodyheight.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodytemp.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodyweight.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBp.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationHeadcircum.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationHeartrate.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationOxygensat.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationResprate.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationVitalsigns.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationVitalspanel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Device_Metric_Observation_Profile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Example_Lipid_Profile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/{ObservationGenetics.ts => Observation_Observation_genetics.ts} (84%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bmi.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyheight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodytemp.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bp.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_headcircum.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_heartrate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_oxygensat.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_resprate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalsigns.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalspanel.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PicoElementProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Computable_PlanDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Shareable_PlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProfileForCatalog.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProvenanceRelevantHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_Provenance_Relevant_History.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_MoneyQuantity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_SimpleQuantity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Questionnaire_CQF_Questionnaire.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/{ServiceRequestGenetics.ts => ServiceRequest_ServiceRequest_Genetics.ts} (65%) delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableActivityDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableCodeSystem.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableMeasure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareablePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ValueSet_Shareable_ValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActualGroup.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksGuidanceResponse.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksRequestGroup.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksServicePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ClinicalDocument.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CodeSystem_Shareable_CodeSystem.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Clinical_Document.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/{DocumentSectionLibrary.ts => Composition_DocumentSectionLibrary.ts} (79%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Profile_for_Catalog.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ComputablePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CqfQuestionnaire.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CqlLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DeviceMetricObservationProfile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/{DiagnosticReportGenetics.ts => DiagnosticReport_DiagnosticReport_Genetics.ts} (76%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Example_Lipid_Profile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/{ProfileForHlaGenotypingResults.ts => DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts} (75%) delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DocumentStructure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EhrsFmRecordLifecycleEventAuditEvent.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EhrsFmRecordLifecycleEventProvenance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceSynthesisProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceVariable_PICO_Element_Profile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Evidence_Evidence_Synthesis_Profile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ExampleLipidProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_additionalLocator.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_buildingNumberSuffix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_careOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_censusTract.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_delimiter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryAddressLine.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationArea.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationQualifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryModeIdentifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_direction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumberNumeric.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_postBox.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_precinct.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetAddressLine.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameBase.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitID.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AD_use.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Accession.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Allele.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AminoAcidChange.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Analysis.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ancestry.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Anonymized.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AssessedCondition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_BodyStructure_Reference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_CopyNumberEvent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_DNARegionName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Data_Absent_Reason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Design_Note.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Display_Name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_qualifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_representation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_use.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Encrypted.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_FamilyMemberHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Gene.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_GenomicSourceClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Geolocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Human_Language.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Instance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Interpretation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Item.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_MPPS.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Narrative_Link.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NotificationEndpoint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NumberOfInstances.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ordinal_Value.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Original_Text.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PQ_translation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ParticipantObjectContainsStudy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PhaseSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_References.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Relative_Date_Criteria.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Rendered_Value.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SC_coding.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SOPClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_TEL_address.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Code.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Offset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Transcriber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Translation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ValidityPeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variant.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Witness.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_abatement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_acceptance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activityStatusDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activity_title.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adaptiveFeedingDevice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_addendumOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_administration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adoptionInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allele_database.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowedUnits.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowed_type.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_alternate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ancestor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animalSpecies.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_applicable_version.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approachBodyStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approvalDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_area.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assembly_order.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assertedDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_associatedEncounter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_author.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authoritativeSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_baseType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_basedOn.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice_explanation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bidirectional.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bindingName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthPlace.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bodyPosition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_boundary_geojson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cadavericDonor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_calculatedValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_candidateList.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_capabilities.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_careplan.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_caseSensitive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_category.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_causedBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cdsHooksEndpoint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_certainty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_changeBase.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_choiceOrientation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citizenship.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_codegen_super.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_collectionPriority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_completionMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_conceptOrder.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_comments.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_definition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_congregation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_constraint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_country.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dayOfMonth.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_daysOfCycle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_delta.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dependencies.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deprecated.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detail.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detectedIssue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deviceCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_directedBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_disability.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_displayCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_display_hint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_doNotPerform.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dueTo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_duration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectiveDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectivePeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_entryFormat.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_episodeOfCare.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_equivalence.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_eventHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_group.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_rules.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expansionSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expectation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expirationDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_explicit_type_name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDuration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expression.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extends.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extensible.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fathers_family.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhirType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhir_type.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm_no_warnings.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_focusCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fullUrl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_gatewayDevice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_genderIdentity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_glstring.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_group.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_haploid.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hidden.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hierarchy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_history.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_http_response_header.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_identifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_implantStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_importance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_incisionDateTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_inheritedExtensibleValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initialValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingLocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingOrganization.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesCanonical.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesUri.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_insurance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_interpreterRequired.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isCommonBinding.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isDryWeight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_issue_source.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_itemControl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_keyWord.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_label.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_lastReviewDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_library.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_local.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_locationPerformed.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location_distance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_management.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_map.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_markdown.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_match_grade.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxDecimalPlaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxOccurs.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxSize.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_measureInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_media.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_messageheader_response_request.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_method.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mimeType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minLength.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minOccurs.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_modeOfArrival.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothersMaidenName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothers_family.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_namespace.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nationality.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_normative_version.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nullFlavor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_oauth_uris.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClassProperty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_observation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_occurredFollowing.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionExclusive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionPrefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherConfidentiality.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_outcome.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_prefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parameterSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_prefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patientInstruction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patient_record.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerFunction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerOrder.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_period.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_conceptmap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_valueset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_pertainsToGoal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precision.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precondition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferenceType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferred.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferredContact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_primaryInd.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_priority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_processingTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_proficiency.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile_element.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_progressStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_prohibited.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_qualityOfEvidence.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_question.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_questionnaireRequest.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reagent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCancelled.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRefuted.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRejected.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingOrganization.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientLanguage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceFilter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceResource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_regex.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_related.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedArtifact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relationship.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relativeDateTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relevantHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_religion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replacedby.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_researchStudy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_resolutionAge.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reviewer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_risk.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ruledOut.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_rules_text.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_schedule.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sctdescid.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_search_parameter_combination.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_secondaryFinding.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_section_subject.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_security_category.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_selector.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequelTo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequenceNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_severity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sibling.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signature.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signatureRequired.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sliderStepValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sourceReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specialHandling.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_special_status.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specimenCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_standards_status.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_statusReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_steward.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_strengthOfRecommendation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_style.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_styleSensitive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_substanceExposureRisk.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summaryOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supplement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportLink.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supported_system.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportingInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_system.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemRef.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserLanguage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserTaskContext.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_table_name.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_targetBodyStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_template_status.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_test.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_timeOffset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_toocostly.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_translatable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_trusted_expansion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_type.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertainty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertaintyType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unclosed.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unit.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitOption.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usageMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_validDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_versionNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_warning.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_websocket.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_wg.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_workflowStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xhtml.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xml_no_order.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GroupDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Actual_Group.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Group_Definition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_CQL_Library.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_Shareable_Library.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Measure_Shareable_Measure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBmi.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodyheight.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodytemp.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodyweight.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBp.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationHeadcircum.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationHeartrate.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationOxygensat.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationResprate.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationVitalsigns.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationVitalspanel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Device_Metric_Observation_Profile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Example_Lipid_Profile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/{ObservationGenetics.ts => Observation_Observation_genetics.ts} (84%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bmi.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyheight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodytemp.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyweight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bp.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_headcircum.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_heartrate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_oxygensat.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_resprate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalsigns.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalspanel.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PicoElementProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Computable_PlanDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Shareable_PlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProfileForCatalog.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProvenanceRelevantHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_Provenance_Relevant_History.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_MoneyQuantity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_SimpleQuantity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Questionnaire_CQF_Questionnaire.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/{ServiceRequestGenetics.ts => ServiceRequest_ServiceRequest_Genetics.ts} (65%) delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableActivityDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableCodeSystem.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableMeasure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareablePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ValueSet_Shareable_ValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_PublishableActivityDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_ShareableActivityDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActualGroup.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ArtifactAssessment_EBMRecommendation.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/BatchResponseBundle.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/{BatchBundle.ts => Bundle_BatchBundle.ts} (79%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchResponseBundle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_DocumentBundle.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/{HistoryBundle.ts => Bundle_HistoryBundle.ts} (71%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SearchSetBundle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SubscriptionNotificationBundle.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/{TransactionBundle.ts => Bundle_TransactionBundle.ts} (78%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionResponseBundle.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksGuidanceResponse.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksRequestOrchestration.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksServicePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ClinicalDocument.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ClinicalDocument.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/{DocumentSectionLibrary.ts => Composition_DocumentSectionLibrary.ts} (79%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ProfileForCatalog.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ComputablePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ComputableValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_PublishableConceptMap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_ShareableConceptMap.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Cqllibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DeviceMetricObservationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DiagnosticReport_ExampleLipidProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentBundle.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentStructure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Ebmrecommendation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Elmlibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ExampleLipidProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ExecutableValueSet.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts rename examples/typescript-us-core/fhir-types/{hl7-fhir-r4-core/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts => hl7-fhir-r5-core/profiles/FamilyMemberHistory_FamilyMemberHistoryForGeneticsAnalysis.ts} (51%) delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FhirpathLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GroupDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_ActualGroup.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_GroupDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GuidanceResponse_CDSHooksGuidanceResponse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_CQLLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ELMLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_FHIRPathLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_LogicLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModelInfoLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModuleDefinitionLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_PublishableLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ShareableLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/LogicLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_PublishableMeasure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_ShareableMeasure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ModelInfoLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ModuleDefinitionLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_PublishableNamingSystem.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_ShareableNamingSystem.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_DeviceMetricObservationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_ExampleLipidProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbmi.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyheight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodytemp.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyweight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbp.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheadcircum.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheartrate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationoxygensat.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationresprate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalsigns.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalspanel.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbmi.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodyheight.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodytemp.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodyweight.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbp.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationheadcircum.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationheartrate.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationoxygensat.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationresprate.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationvitalsigns.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationvitalspanel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_CDSHooksServicePlanDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ComputablePlanDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_PublishablePlanDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ShareablePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ProfileForCatalog.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ProvenanceRelevantHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Provenance_ProvenanceRelevantHistory.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableActivityDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableConceptMap.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableMeasure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableNamingSystem.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishablePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_MoneyQuantity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_SimpleQuantity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/RequestOrchestration_CDSHooksRequestOrchestration.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/SearchSetBundle.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableActivityDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableConceptMap.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableLibrary.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableMeasure.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableNamingSystem.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareablePlanDefinition.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableTestScript.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableValueSet.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/SubscriptionNotificationBundle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TestScript_ShareableTestScript.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TransactionResponseBundle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ComputableValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ExecutableValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_PublishableValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ShareableValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/AllergyIntolerance_USCoreAllergyIntolerance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CarePlan_USCoreCarePlanProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CareTeam_USCoreCareTeam.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionEncounterDiagnosisProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionProblemsHealthConcernsProfile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/{UscoreCoverageProfile.ts => Coverage_USCoreCoverageProfile.ts} (51%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Device_USCoreImplantableDeviceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileLaboratoryReporting.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileNoteExchange.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreADIDocumentReferenceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreDocumentReferenceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Encounter_USCoreEncounterProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCDIRequirement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreAuthenticationTimeExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreBirthSexExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreDirectEmailExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreEthnicityExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreExtensionQuestionnaireUri.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreGenderIdentityExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreIndividualSexExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreInterpreterNeededExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreJurisdictionExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreMedicationAdherenceExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreRaceExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreSexExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreTribalAffiliationExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Goal_USCoreGoalProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Immunization_USCoreImmunizationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Location_USCoreLocationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationDispense_USCoreMedicationDispenseProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationRequest_USCoreMedicationRequestProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Medication_USCoreMedicationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreAverageBloodPressureProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBMIProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBloodPressureProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyHeightProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyTemperatureProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyWeightProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreCareExperiencePreferenceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeadCircumferenceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeartRateProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreLaboratoryResultObservationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationADIDocumentationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationClinicalResultProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationOccupationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyIntentProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyStatusProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationScreeningAssessmentProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationSexualOrientationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricBMIforAgeObservationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricWeightForHeightObservationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePulseOximetryProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreRespiratoryRateProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSimpleObservationProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSmokingStatusProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreTreatmentInterventionPreferenceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreVitalSignsProfile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/{UscoreOrganizationProfile.ts => Organization_USCoreOrganizationProfile.ts} (61%) rename examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/{UscorePatientProfile.ts => Patient_USCorePatientProfile.ts} (73%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/PractitionerRole_USCorePractitionerRoleProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Practitioner_USCorePractitionerProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Procedure_USCoreProcedureProfile.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/{UscoreProvenance.ts => Provenance_USCoreProvenance.ts} (58%) rename examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/{UscoreQuestionnaireResponseProfile.ts => QuestionnaireResponse_USCoreQuestionnaireResponseProfile.ts} (59%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/RelatedPerson_USCoreRelatedPersonProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/ServiceRequest_USCoreServiceRequestProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Specimen_USCoreSpecimenProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAdidocumentReferenceProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAllergyIntolerance.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAverageBloodPressureProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBloodPressureProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBmiprofile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyHeightProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyTemperatureProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyWeightProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCareExperiencePreferenceProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCarePlanProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCareTeam.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreConditionEncounterDiagnosisProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreConditionProblemsHealthConcernsProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDiagnosticReportProfileLaboratoryReporting.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDiagnosticReportProfileNoteExchange.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDocumentReferenceProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreEncounterProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreGoalProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreHeadCircumferenceProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreHeartRateProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreImmunizationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreImplantableDeviceProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreLaboratoryResultObservationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreLocationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationDispenseProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationRequestProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationAdidocumentationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationClinicalResultProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationOccupationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationPregnancyIntentProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationPregnancyStatusProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationScreeningAssessmentProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationSexualOrientationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricBmiforAgeObservationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricWeightForHeightObservationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePractitionerProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePractitionerRoleProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreProcedureProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePulseOximetryProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreRelatedPersonProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreRespiratoryRateProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreServiceRequestProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSimpleObservationProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSmokingStatusProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSpecimenProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreTreatmentInterventionPreferenceProfile.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreVitalSignsProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/index.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEAlternativeUserID.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AELifecycle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEOnBehalfOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Abatement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdditionalIdentifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdheresTo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCanonical.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCodes.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternativeExpression.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AnnotationType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactApprovalDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentContent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentDisposition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentWorkflowStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAuthor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCanonicalReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCiteAs.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactComment.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactContact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyright.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyrightLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEditor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEffectivePeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEndorser.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactExperimental.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIdentifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIsOwned.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactJurisdiction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactLastReviewDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPublisher.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPurpose.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactRelatedArtifact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReviewer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTopic.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUriReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUrl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUsage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUseContext.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionAlgorithm.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionPolicy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPCollectionProcedure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPManipulation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPProcessing.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BusinessEvent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCQLOptions.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCertainty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFImprovementNotationGuidance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFKnowledgeCapability.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRPublishDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRShortDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSAuthoritativeSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSDeclaredProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertiesMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertyValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchParameterUse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSUseMarkdown.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CTAlias.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CharacteristicExpression.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CitationSocietyAffiliation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodeOptions.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodedString.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingConformance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingPurpose.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CompliesWith.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conceptmap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionDiseaseCourse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionReviewed.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conditions.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Confidential.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConsentResearchStudyContext.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactAddress.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactDetailReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointComment.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointPurpose.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContributionTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CountQuantity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlAccessModifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CriteriaReferenceExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRFocus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRSourcePatient.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRThumbnail.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRWorkflowStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Datatype.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefinitionTerm.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DevCommercialBrand.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceLastMaintenanceTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceMaintenanceResponsibility.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DirectReferenceCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DosageMinimumGapBetweenDose.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EncounterSubjectLocationClassification.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EndpointFhirVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EventRecorded.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ExpansionParameters.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FHIRQueryPattern.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FMMSupportDoco.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FeatureAsssertion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FirstCreated.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FollowOnOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GeneratedFrom.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GraphConstraint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IDCheckDigit.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IGSourceFile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_InputParameters.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyList.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyTuple.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrefetchToken.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrimaryCitation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsSelective.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ItemWeight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_KnowledgeRepresentationLevel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LargeValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LastSourceSync.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListFor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LocCommunication.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LogicDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportPopulationDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedManufacturingBatch.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedQuantityRemaining.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedRefillsRemaining.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Messages.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsIncluded.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsRetrievable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoPrimaryCodePath.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoSettings.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NSCheckDigit.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NotDoneValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Note.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueCol.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueLine.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueMessageId.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueServer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueSliceText.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOSourceFile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Obligation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObligationsProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsAnalysisDateTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsComponentCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsNatureAbnormal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsV2SubId.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObservationStructureType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OfficialAddress.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationBrand.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationPortal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PGenderIdentity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PREmploymentStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PRJobTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PackageSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParameterDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParametersDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PartOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatBornStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatContactPriority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatFetalStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatMultipleBirthTotal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatNoFixedAddress.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatSexParameterForClinicalUse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientKnownNonDuplicate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientPreferredPharmacy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientUnknownIdentity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pattern.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PeriodDuration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PreferredTerminologyServer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pronouns.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QDefinitionBased.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QOptionRestriction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QRAttester.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuantityTranslation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuestionnaireDerivationType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSSiteRecruitment.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSStudyRegistration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RecordedSexOrGender.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReferencesContained.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReleaseDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RequirementsParent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResolveAsVersionSpecific.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceDerivationReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceSatisfiesRequirement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDExtensionMeaning.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDImposeProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInheritanceControl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInterface.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStandardsStatusReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStatusDerivation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDTypeCharacteristics.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDcompliesWithProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SROrderCallbackPhoneNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Scope.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SelectByMap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShallComplyWith.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShouldTraceDependency.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SpecimenRejectReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_StatisticModelIncludeIf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SubscriptionBestEffort.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SupportedCqlVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Suppress.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetConstraint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetElement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetInvariant.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetPath.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TestArtifact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TimezoneCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TriggeredBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TxResourceIdentifierMetadata.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TypeMustSupport.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainPeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreatedBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreationDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSIncludeVSTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSOtherTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ValueFilter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificUse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_WorkflowStatusDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/index.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/index.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADUse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPAdditionalLocator.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPBuildingNumberSuffix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCareOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCensusTract.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDelimiter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryAddressLine.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationArea.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationQualifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryModeIdentifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDirection.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumberNumeric.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPostBox.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPrecinct.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetAddressLine.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameBase.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitID.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAccession.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAlternativeUserID.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAnonymized.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEEncrypted.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEInstance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AELifecycle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEMPPS.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AENumberOfInstances.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEOnBehalfOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEParticipantObjectContainsStudy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AESOPClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAdministration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAssertedDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICareplan.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICertainty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIDuration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDuration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AILocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIManagement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIReasonRefuted.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIResolutionAge.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AISubstanceExposureRisk.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Abatement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdditionalIdentifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdheresTo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AllowedUnits.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCanonical.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCodes.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternativeExpression.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AnnotationType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactApprovalDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentContent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentDisposition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentWorkflowStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAuthor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCanonicalReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCiteAs.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactComment.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactContact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyright.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyrightLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEditor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEffectivePeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEndorser.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactExperimental.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIdentifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIsOwned.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactJurisdiction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactLastReviewDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPublisher.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPurpose.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactRelatedArtifact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReviewer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTopic.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUrl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUsage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUseContext.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionAlgorithm.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionPolicy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AssemblyOrder.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPCollectionProcedure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPManipulation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPProcessing.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BasedOn.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPractice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPracticeExplanation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BindingName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BodyStructureReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleHttpResponseHeader.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleLocationDistance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleMatchGrade.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CDVersionNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMBidirectional.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMedia.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CPActivityTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCQLOptions.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCertainty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCitation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFExpression.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFKnowledgeCapability.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFLibrary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRInitiatingLocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRPublishDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRShortDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAlternate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAuthoritativeSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptComments.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptOrder.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSDeclaredProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSExpectation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSKeyWord.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSMap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSOtherName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSProhibited.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSPropertiesMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSReplacedby.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterCombination.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterUse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSourceReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSupportedSystem.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSTrustedExpansion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUsage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUseMarkdown.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWarning.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWebsocket.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWorkflowStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSectionSubject.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CTAlias.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CValidityPeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CalculatedValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Capabilities.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CdsHooksEndpoint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CharacteristicExpression.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CitationSocietyAffiliation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodedString.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingConformance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingPurpose.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CompliesWith.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conceptmap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionAssertedDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDiseaseCourse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDueTo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOccurredFollowing.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOutcome.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRelated.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionReviewed.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRuledOut.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conditions.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Confidential.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentLocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentNotificationEndpoint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentResearchStudyContext.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentTranscriber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentWitness.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactAddress.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactDetailReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointArea.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointComment.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointCountry.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointLocal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointPurpose.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContributionTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRAddendumOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRExtends.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRFocus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRLocationPerformed.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRPatientInstruction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRReplaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRRisk.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSourcePatient.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSummaryOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRThumbnail.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRWorkflowStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DataAbsentReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Datatype.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DaysOfCycle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefinitionTerm.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DesignNote.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevCommercialBrand.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevImplantStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceLastMaintenanceTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceMaintenanceResponsibility.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DirectReferenceCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DisplayName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DoNotPerform.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DosageMinimumGapBetweenDose.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENQualifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENRepresentation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENUse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncAssociatedEncounter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncModeOfArrival.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncReasonCancelled.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EndpointFhirVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EntryFormat.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EpisodeOfCare.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Equivalence.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventLocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventStatusReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExpansionParameters.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExtendedContactAvailability.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FHIRQueryPattern.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHAbatement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHObservation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHParent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHPatientRecord.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSeverity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSibling.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMLevel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMSupportDoco.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FathersFamily.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FirstCreated.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagDetail.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagPriority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FollowOnOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GeneratedFrom.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Geolocation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalAcceptance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalReasonRejected.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalRelationship.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GraphConstraint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_HumanLanguage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IDCheckDigit.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IGSourceFile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Identifier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ImmProcedure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InheritedExtensibleValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitialValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingOrganization.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InputParameters.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsCommonBinding.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrefetchToken.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrimaryCitation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsSelective.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ItemWeight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_KnowledgeRepresentationLevel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LargeValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LastSourceSync.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListChangeBase.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListFor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocBoundaryGeojson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocCommunication.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LogicDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Markdown.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxDecimalPlaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxSize.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MeasureInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedManufacturingBatch.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedQuantityRemaining.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedRefillsRemaining.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Messages.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MimeType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinLength.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsIncluded.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsRetrievable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoPrimaryCodePath.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoSettings.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MothersFamily.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MsgResponseRequest.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NSCheckDigit.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NarrativeLink.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NotDoneValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NttAdaptiveFeedingDevice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NullFlavor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OAuthUris.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ODProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOAuthority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OODetectedIssue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueCol.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueLine.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueMessageId.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueServer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSliceText.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOSourceFile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClass.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClassProperty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Obligation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsAnalysisDateTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsBodyPosition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDelta.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDeviceCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsFocusCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsGatewayDevice.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsNatureAbnormal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsPrecondition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReagent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReplaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSecondaryFinding.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSequelTo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSpecimenCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsTimeOffset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsV2SubId.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPreferredContact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPrimaryInd.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationBrand.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationPortal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OriginalText.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnPrefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PGenderIdentity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRAnimalSpecies.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRApproachBodyStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRCausedBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRDirectedBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PREmploymentStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRIncisionDateTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRJobTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRMethod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRPrimaryInd.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRProgressStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRTargetBodyStructure.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParamFullUrl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParameterDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParametersDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartOf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerPrefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAdoptionInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAnimal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthPlace.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBornStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCadavericDonor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCitizenship.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCongregation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatContactPriority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatDisability.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatImportance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatInterpreterRequired.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMothersMaidenName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMultipleBirthTotal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNationality.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNoFixedAddress.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatPreferenceType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatProficiency.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatRelatedPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatReligion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatSexParameterForClinicalUse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientKnownNonDuplicate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientUnknownIdentity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pattern.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerFunction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerOrder.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PeriodDuration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueConceptmap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueValueset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Precision.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Preferred.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProfileElement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pronouns.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProtectiveFactor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QBaseType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QChoiceOrientation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QConstraint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDefinitionBased.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDisplayCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QFhirType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QHidden.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QItemControl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMaxOccurs.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMinOccurs.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionExclusive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionPrefix.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionRestriction.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAttester.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAuthor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRCompletionMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReviewer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRSignature.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitOption.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitValueSet.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUsageMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceResource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSignatureRequired.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSliderStepValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSupportLink.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QUnit.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QualityOfEvidence.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuantityTranslation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Question.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuestionnaireDerivationType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSSiteRecruitment.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSStudyRegistration.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingOrganization.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingPerson.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientLanguage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecordedSexOrGender.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferenceFilter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferencesContained.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelatedArtifact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateCriteria.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReleaseDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelevantHistory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderedValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderingStyle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Replaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestInsurance.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestReplaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestStatusReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequirementsParent.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResLastReviewDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResearchStudy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResolveAsVersionSpecific.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceApprovalDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceDerivationReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceEffectivePeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceSatisfiesRequirement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDAncestor.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDApplicableVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCodegenSuper.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDDisplayHint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExplicitTypeName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExtensionMeaning.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFhirType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFmmNoWarnings.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDHierarchy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDImposeProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInheritanceControl.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInterface.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDNormativeVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSecurityCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatusReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStatusDerivation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSummary.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTableName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTemplateStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTypeCharacteristics.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDWorkGroup.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDcompliesWithProfile.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SROrderCallbackPhoneNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPertainsToGoal.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPrecondition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRQuestionnaireRequest.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Scope.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SctDescId.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Selector.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ShallComplyWith.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecCollectionPriority.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecIsDryWeight.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecProcessingTime.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSequenceNumber.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSpecialHandling.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecimenAdditive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StatisticModelIncludeIf.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StrengthOfRecommendation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StyleSensitive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SubscriptionBestEffort.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportedCqlVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportingInfo.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Suppress.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserLanguage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserTaskContext.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TELAddress.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetElement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetInvariant.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetPath.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TaskReplaces.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneCode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneOffset.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingDayOfMonth.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingExact.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translatable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TriggeredBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TxResourceIdentifierMetadata.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TypeMustSupport.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainPeriod.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Uncertainty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertaintyType.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UsageContextGroup.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSAuthoritativeSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSCaseSensitive.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreatedBy.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreationDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptComments.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptDefinition.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptOrder.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSDeprecated.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpansionSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpression.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExtensible.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSIncludeVSTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSKeyword.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSMap.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSParameterSource.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSRulesText.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSourceReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSpecialStatus.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSupplement.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystem.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemReference.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTooCostly.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTrustedExpansion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUnclosed.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUsage.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSWarning.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValidDate.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValueFilter.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Variable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificUse.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificValue.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowBarrier.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowReason.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowStatusDescription.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_XhtmlRepresentation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/index.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdccodeSystem.ts => CodeSystem_SDCCodeSystem.ts} (55%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerExpressionExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerOptionsToggleExpressionExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleContextExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleExpectation.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembledFromExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CalculatedExpressionExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CandidateExpressionExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ChoiceColumnExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CollapsibleExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ContextExpressionExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EnableWhenExpressionExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EndpointExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EntryMode.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_InitialExpressionExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_IsSubjectExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemAnswerMedia.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemExtractionContextExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemMedia.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemPopulationContextExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LaunchContextExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LookupQuestionnaireExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MaxQuantityExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MinQuantityExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractCategory.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationLinkPeriodExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_OptionalDisplayExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PerformerTypeExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PreferredTerminologyServer.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_QuestionnaireAdaptiveExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ReferencesContained.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCOpenLabel.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCServiceRequestQuestionnaire.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ShortTextExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceQueriesExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceStructureMapExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SubQuestionnaireExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_TargetStructureMapExtension.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitOpen.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitSupplementalSystem.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_WidthExtension.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{Sdclibrary.ts => Library_SDCLibrary.ts} (63%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcparametersQuestionnaireAssembleOut.ts => Parameters_SDCParametersQuestionnaireAssembleOut.ts} (51%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcparametersQuestionnaireNextQuestionnaireIn.ts => Parameters_SDCParametersQuestionnaireNextQuestionnaireIn.ts} (55%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcparametersQuestionnaireNextQuestionnaireOut.ts => Parameters_SDCParametersQuestionnaireNextQuestionnaireOut.ts} (55%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcparametersQuestionnaireProcessResponseIn.ts => Parameters_SDCParametersQuestionnaireProcessResponseIn.ts} (55%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcparametersQuestionnaireResponseExtractIn.ts => Parameters_SDCParametersQuestionnaireResponseExtractIn.ts} (55%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnaireResponse.ts => QuestionnaireResponse_SDCQuestionnaireResponse.ts} (59%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponseAdapt.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcbaseQuestionnaire.ts => Questionnaire_SDCBaseQuestionnaire.ts} (57%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcmodularQuestionnaire.ts => Questionnaire_SDCModularQuestionnaire.ts} (63%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdapt.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnaireAdaptSearch.ts => Questionnaire_SDCQuestionnaireAdaptSearch.ts} (58%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnaireBehave.ts => Questionnaire_SDCQuestionnaireBehave.ts} (86%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnaireExtractDefinition.ts => Questionnaire_SDCQuestionnaireExtractDefinition.ts} (73%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnaireExtractObservation.ts => Questionnaire_SDCQuestionnaireExtractObservation.ts} (69%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnaireExtractStructureMap.ts => Questionnaire_SDCQuestionnaireExtractStructureMap.ts} (68%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnairePopulateExpression.ts => Questionnaire_SDCQuestionnairePopulateExpression.ts} (80%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnairePopulateObservation.ts => Questionnaire_SDCQuestionnairePopulateObservation.ts} (66%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnairePopulateStructureMap.ts => Questionnaire_SDCQuestionnairePopulateStructureMap.ts} (72%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnaireRender.ts => Questionnaire_SDCQuestionnaireRender.ts} (83%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcquestionnaireSearch.ts => Questionnaire_SDCQuestionnaireSearch.ts} (55%) delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireAdapt.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireResponseAdapt.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireServiceRequest.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdctaskQuestionnaire.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ServiceRequest_SDCQuestionnaireServiceRequest.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Task_SDCTaskQuestionnaire.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/UsageContext_SDCUsageContext.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/{SdcvalueSet.ts => ValueSet_SDCValueSet.ts} (79%) create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Basic_SMARTAppStateBasic.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Bundle_UserAccessBrandsBundle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Endpoint_UserAccessEndpoint.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/{UserAccessBrand.ts => Organization_UserAccessBrand.ts} (69%) delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/SmartappStateBasic.ts rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/{TaskEhrLaunch.ts => Task_TaskEhrLaunch.ts} (51%) rename examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/{TaskStandaloneLaunch.ts => Task_TaskStandaloneLaunch.ts} (50%) delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessBrandsBundle.ts delete mode 100644 examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessEndpoint.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/index.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_AssociatedConceptProperty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipInverseName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipReflexivity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipSymmetry.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipTransitivity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/index.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/index.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_AssociatedConceptProperty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipInverseName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipReflexivity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipSymmetry.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipTransitivity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/index.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/index.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_AssociatedConceptProperty.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemTitle.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemVersion.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipInverseName.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipReflexivity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipSymmetry.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipTransitivity.ts create mode 100644 examples/typescript-us-core/fhir-types/hl7-terminology/profiles/index.ts diff --git a/examples/typescript-us-core/fhir-types/examples/typescript-us-core/type-tree.yaml b/examples/typescript-us-core/fhir-types/examples/typescript-us-core/type-tree.yaml new file mode 100644 index 000000000..1d2b820b0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/examples/typescript-us-core/type-tree.yaml @@ -0,0 +1,23942 @@ +hl7.fhir.r4.core: + primitive-type: + http://hl7.org/fhir/StructureDefinition/base64Binary: {} + http://hl7.org/fhir/StructureDefinition/boolean: {} + http://hl7.org/fhir/StructureDefinition/canonical: {} + http://hl7.org/fhir/StructureDefinition/code: {} + http://hl7.org/fhir/StructureDefinition/date: {} + http://hl7.org/fhir/StructureDefinition/dateTime: {} + http://hl7.org/fhir/StructureDefinition/decimal: {} + http://hl7.org/fhir/StructureDefinition/id: {} + http://hl7.org/fhir/StructureDefinition/instant: {} + http://hl7.org/fhir/StructureDefinition/integer: {} + http://hl7.org/fhir/StructureDefinition/markdown: {} + http://hl7.org/fhir/StructureDefinition/oid: {} + http://hl7.org/fhir/StructureDefinition/positiveInt: {} + http://hl7.org/fhir/StructureDefinition/string: {} + http://hl7.org/fhir/StructureDefinition/time: {} + http://hl7.org/fhir/StructureDefinition/unsignedInt: {} + http://hl7.org/fhir/StructureDefinition/uri: {} + http://hl7.org/fhir/StructureDefinition/url: {} + http://hl7.org/fhir/StructureDefinition/uuid: {} + http://hl7.org/fhir/StructureDefinition/xhtml: {} + complex-type: + http://hl7.org/fhir/StructureDefinition/Address: {} + http://hl7.org/fhir/StructureDefinition/Age: {} + http://hl7.org/fhir/StructureDefinition/Annotation: {} + http://hl7.org/fhir/StructureDefinition/Attachment: {} + http://hl7.org/fhir/StructureDefinition/BackboneElement: {} + http://hl7.org/fhir/StructureDefinition/CodeableConcept: {} + http://hl7.org/fhir/StructureDefinition/Coding: {} + http://hl7.org/fhir/StructureDefinition/ContactDetail: {} + http://hl7.org/fhir/StructureDefinition/ContactPoint: {} + http://hl7.org/fhir/StructureDefinition/Contributor: {} + http://hl7.org/fhir/StructureDefinition/Count: {} + http://hl7.org/fhir/StructureDefinition/DataRequirement: {} + http://hl7.org/fhir/StructureDefinition/Distance: {} + http://hl7.org/fhir/StructureDefinition/Dosage: {} + http://hl7.org/fhir/StructureDefinition/Duration: {} + http://hl7.org/fhir/StructureDefinition/Element: {} + http://hl7.org/fhir/StructureDefinition/ElementDefinition: {} + http://hl7.org/fhir/StructureDefinition/Expression: {} + http://hl7.org/fhir/StructureDefinition/Extension: {} + http://hl7.org/fhir/StructureDefinition/HumanName: {} + http://hl7.org/fhir/StructureDefinition/Identifier: {} + http://hl7.org/fhir/StructureDefinition/MarketingStatus: {} + http://hl7.org/fhir/StructureDefinition/Meta: {} + http://hl7.org/fhir/StructureDefinition/Money: {} + http://hl7.org/fhir/StructureDefinition/Narrative: {} + http://hl7.org/fhir/StructureDefinition/ParameterDefinition: {} + http://hl7.org/fhir/StructureDefinition/Period: {} + http://hl7.org/fhir/StructureDefinition/Population: {} + http://hl7.org/fhir/StructureDefinition/ProdCharacteristic: {} + http://hl7.org/fhir/StructureDefinition/ProductShelfLife: {} + http://hl7.org/fhir/StructureDefinition/Quantity: {} + http://hl7.org/fhir/StructureDefinition/Range: {} + http://hl7.org/fhir/StructureDefinition/Ratio: {} + http://hl7.org/fhir/StructureDefinition/Reference: {} + http://hl7.org/fhir/StructureDefinition/RelatedArtifact: {} + http://hl7.org/fhir/StructureDefinition/SampledData: {} + http://hl7.org/fhir/StructureDefinition/Signature: {} + http://hl7.org/fhir/StructureDefinition/SubstanceAmount: {} + http://hl7.org/fhir/StructureDefinition/Timing: {} + http://hl7.org/fhir/StructureDefinition/TriggerDefinition: {} + http://hl7.org/fhir/StructureDefinition/UsageContext: {} + resource: + http://hl7.org/fhir/StructureDefinition/Account: {} + http://hl7.org/fhir/StructureDefinition/ActivityDefinition: {} + http://hl7.org/fhir/StructureDefinition/AdverseEvent: {} + http://hl7.org/fhir/StructureDefinition/AllergyIntolerance: {} + http://hl7.org/fhir/StructureDefinition/Appointment: {} + http://hl7.org/fhir/StructureDefinition/AppointmentResponse: {} + http://hl7.org/fhir/StructureDefinition/AuditEvent: {} + http://hl7.org/fhir/StructureDefinition/Basic: {} + http://hl7.org/fhir/StructureDefinition/Binary: {} + http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct: {} + http://hl7.org/fhir/StructureDefinition/BodyStructure: {} + http://hl7.org/fhir/StructureDefinition/Bundle: {} + http://hl7.org/fhir/StructureDefinition/CapabilityStatement: {} + http://hl7.org/fhir/StructureDefinition/CarePlan: {} + http://hl7.org/fhir/StructureDefinition/CareTeam: {} + http://hl7.org/fhir/StructureDefinition/CatalogEntry: {} + http://hl7.org/fhir/StructureDefinition/ChargeItem: {} + http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition: {} + http://hl7.org/fhir/StructureDefinition/Claim: {} + http://hl7.org/fhir/StructureDefinition/ClaimResponse: {} + http://hl7.org/fhir/StructureDefinition/ClinicalImpression: {} + http://hl7.org/fhir/StructureDefinition/CodeSystem: {} + http://hl7.org/fhir/StructureDefinition/Communication: {} + http://hl7.org/fhir/StructureDefinition/CommunicationRequest: {} + http://hl7.org/fhir/StructureDefinition/CompartmentDefinition: {} + http://hl7.org/fhir/StructureDefinition/Composition: {} + http://hl7.org/fhir/StructureDefinition/ConceptMap: {} + http://hl7.org/fhir/StructureDefinition/Condition: {} + http://hl7.org/fhir/StructureDefinition/Consent: {} + http://hl7.org/fhir/StructureDefinition/Contract: {} + http://hl7.org/fhir/StructureDefinition/Coverage: {} + http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest: {} + http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse: {} + http://hl7.org/fhir/StructureDefinition/DetectedIssue: {} + http://hl7.org/fhir/StructureDefinition/Device: {} + http://hl7.org/fhir/StructureDefinition/DeviceDefinition: {} + http://hl7.org/fhir/StructureDefinition/DeviceMetric: {} + http://hl7.org/fhir/StructureDefinition/DeviceRequest: {} + http://hl7.org/fhir/StructureDefinition/DeviceUseStatement: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport: {} + http://hl7.org/fhir/StructureDefinition/DocumentManifest: {} + http://hl7.org/fhir/StructureDefinition/DocumentReference: {} + http://hl7.org/fhir/StructureDefinition/DomainResource: {} + http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis: {} + http://hl7.org/fhir/StructureDefinition/Encounter: {} + http://hl7.org/fhir/StructureDefinition/Endpoint: {} + http://hl7.org/fhir/StructureDefinition/EnrollmentRequest: {} + http://hl7.org/fhir/StructureDefinition/EnrollmentResponse: {} + http://hl7.org/fhir/StructureDefinition/EpisodeOfCare: {} + http://hl7.org/fhir/StructureDefinition/EventDefinition: {} + http://hl7.org/fhir/StructureDefinition/Evidence: {} + http://hl7.org/fhir/StructureDefinition/EvidenceVariable: {} + http://hl7.org/fhir/StructureDefinition/ExampleScenario: {} + http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit: {} + http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory: {} + http://hl7.org/fhir/StructureDefinition/Flag: {} + http://hl7.org/fhir/StructureDefinition/Goal: {} + http://hl7.org/fhir/StructureDefinition/GraphDefinition: {} + http://hl7.org/fhir/StructureDefinition/Group: {} + http://hl7.org/fhir/StructureDefinition/GuidanceResponse: {} + http://hl7.org/fhir/StructureDefinition/HealthcareService: {} + http://hl7.org/fhir/StructureDefinition/ImagingStudy: {} + http://hl7.org/fhir/StructureDefinition/Immunization: {} + http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation: {} + http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation: {} + http://hl7.org/fhir/StructureDefinition/ImplementationGuide: {} + http://hl7.org/fhir/StructureDefinition/InsurancePlan: {} + http://hl7.org/fhir/StructureDefinition/Invoice: {} + http://hl7.org/fhir/StructureDefinition/Library: {} + http://hl7.org/fhir/StructureDefinition/Linkage: {} + http://hl7.org/fhir/StructureDefinition/List: {} + http://hl7.org/fhir/StructureDefinition/Location: {} + http://hl7.org/fhir/StructureDefinition/Measure: {} + http://hl7.org/fhir/StructureDefinition/MeasureReport: {} + http://hl7.org/fhir/StructureDefinition/Media: {} + http://hl7.org/fhir/StructureDefinition/Medication: {} + http://hl7.org/fhir/StructureDefinition/MedicationAdministration: {} + http://hl7.org/fhir/StructureDefinition/MedicationDispense: {} + http://hl7.org/fhir/StructureDefinition/MedicationKnowledge: {} + http://hl7.org/fhir/StructureDefinition/MedicationRequest: {} + http://hl7.org/fhir/StructureDefinition/MedicationStatement: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProduct: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect: {} + http://hl7.org/fhir/StructureDefinition/MessageDefinition: {} + http://hl7.org/fhir/StructureDefinition/MessageHeader: {} + http://hl7.org/fhir/StructureDefinition/MolecularSequence: {} + http://hl7.org/fhir/StructureDefinition/NamingSystem: {} + http://hl7.org/fhir/StructureDefinition/NutritionOrder: {} + http://hl7.org/fhir/StructureDefinition/Observation: {} + http://hl7.org/fhir/StructureDefinition/ObservationDefinition: {} + http://hl7.org/fhir/StructureDefinition/OperationDefinition: {} + http://hl7.org/fhir/StructureDefinition/OperationOutcome: {} + http://hl7.org/fhir/StructureDefinition/Organization: {} + http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation: {} + http://hl7.org/fhir/StructureDefinition/Parameters: {} + http://hl7.org/fhir/StructureDefinition/Patient: {} + http://hl7.org/fhir/StructureDefinition/PaymentNotice: {} + http://hl7.org/fhir/StructureDefinition/PaymentReconciliation: {} + http://hl7.org/fhir/StructureDefinition/Person: {} + http://hl7.org/fhir/StructureDefinition/PlanDefinition: {} + http://hl7.org/fhir/StructureDefinition/Practitioner: {} + http://hl7.org/fhir/StructureDefinition/PractitionerRole: {} + http://hl7.org/fhir/StructureDefinition/Procedure: {} + http://hl7.org/fhir/StructureDefinition/Provenance: {} + http://hl7.org/fhir/StructureDefinition/Questionnaire: {} + http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse: {} + http://hl7.org/fhir/StructureDefinition/RelatedPerson: {} + http://hl7.org/fhir/StructureDefinition/RequestGroup: {} + http://hl7.org/fhir/StructureDefinition/ResearchDefinition: {} + http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition: {} + http://hl7.org/fhir/StructureDefinition/ResearchStudy: {} + http://hl7.org/fhir/StructureDefinition/ResearchSubject: {} + http://hl7.org/fhir/StructureDefinition/Resource: {} + http://hl7.org/fhir/StructureDefinition/RiskAssessment: {} + http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis: {} + http://hl7.org/fhir/StructureDefinition/Schedule: {} + http://hl7.org/fhir/StructureDefinition/SearchParameter: {} + http://hl7.org/fhir/StructureDefinition/ServiceRequest: {} + http://hl7.org/fhir/StructureDefinition/Slot: {} + http://hl7.org/fhir/StructureDefinition/Specimen: {} + http://hl7.org/fhir/StructureDefinition/SpecimenDefinition: {} + http://hl7.org/fhir/StructureDefinition/StructureDefinition: {} + http://hl7.org/fhir/StructureDefinition/StructureMap: {} + http://hl7.org/fhir/StructureDefinition/Subscription: {} + http://hl7.org/fhir/StructureDefinition/Substance: {} + http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid: {} + http://hl7.org/fhir/StructureDefinition/SubstancePolymer: {} + http://hl7.org/fhir/StructureDefinition/SubstanceProtein: {} + http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation: {} + http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial: {} + http://hl7.org/fhir/StructureDefinition/SubstanceSpecification: {} + http://hl7.org/fhir/StructureDefinition/SupplyDelivery: {} + http://hl7.org/fhir/StructureDefinition/SupplyRequest: {} + http://hl7.org/fhir/StructureDefinition/Task: {} + http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities: {} + http://hl7.org/fhir/StructureDefinition/TestReport: {} + http://hl7.org/fhir/StructureDefinition/TestScript: {} + http://hl7.org/fhir/StructureDefinition/ValueSet: {} + http://hl7.org/fhir/StructureDefinition/VerificationResult: {} + http://hl7.org/fhir/StructureDefinition/VisionPrescription: {} + value-set: + http://hl7.org/fhir/ValueSet/abstract-types: {} + http://hl7.org/fhir/ValueSet/account-status: {} + http://hl7.org/fhir/ValueSet/account-type: {} + http://hl7.org/fhir/ValueSet/action-cardinality-behavior: {} + http://hl7.org/fhir/ValueSet/action-condition-kind: {} + http://hl7.org/fhir/ValueSet/action-grouping-behavior: {} + http://hl7.org/fhir/ValueSet/action-participant-role: {} + http://hl7.org/fhir/ValueSet/action-participant-type: {} + http://hl7.org/fhir/ValueSet/action-precheck-behavior: {} + http://hl7.org/fhir/ValueSet/action-relationship-type: {} + http://hl7.org/fhir/ValueSet/action-required-behavior: {} + http://hl7.org/fhir/ValueSet/action-selection-behavior: {} + http://hl7.org/fhir/ValueSet/action-type: {} + http://hl7.org/fhir/ValueSet/activity-definition-category: {} + http://hl7.org/fhir/ValueSet/additional-instruction-codes: {} + http://hl7.org/fhir/ValueSet/additionalmaterials: {} + http://hl7.org/fhir/ValueSet/address-type: {} + http://hl7.org/fhir/ValueSet/address-use: {} + http://hl7.org/fhir/ValueSet/adjudication: {} + http://hl7.org/fhir/ValueSet/adjudication-error: {} + http://hl7.org/fhir/ValueSet/adjudication-reason: {} + http://hl7.org/fhir/ValueSet/administration-method-codes: {} + http://hl7.org/fhir/ValueSet/administrative-gender: {} + http://hl7.org/fhir/ValueSet/adverse-event-actuality: {} + http://hl7.org/fhir/ValueSet/adverse-event-category: {} + http://hl7.org/fhir/ValueSet/adverse-event-causality-assess: {} + http://hl7.org/fhir/ValueSet/adverse-event-causality-method: {} + http://hl7.org/fhir/ValueSet/adverse-event-outcome: {} + http://hl7.org/fhir/ValueSet/adverse-event-seriousness: {} + http://hl7.org/fhir/ValueSet/adverse-event-severity: {} + http://hl7.org/fhir/ValueSet/adverse-event-type: {} + http://hl7.org/fhir/ValueSet/age-units: {} + http://hl7.org/fhir/ValueSet/all-distance-units: {} + http://hl7.org/fhir/ValueSet/allelename: {} + http://hl7.org/fhir/ValueSet/allerg-intol-substance-exp-risk: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-category: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-clinical: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-code: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-type: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-verification: {} + http://hl7.org/fhir/ValueSet/all-languages: {} + http://hl7.org/fhir/ValueSet/all-time-units: {} + http://hl7.org/fhir/ValueSet/all-types: {} + http://hl7.org/fhir/ValueSet/animal-breeds: {} + http://hl7.org/fhir/ValueSet/animal-genderstatus: {} + http://hl7.org/fhir/ValueSet/animal-species: {} + http://hl7.org/fhir/ValueSet/appointment-cancellation-reason: {} + http://hl7.org/fhir/ValueSet/appointmentstatus: {} + http://hl7.org/fhir/ValueSet/approach-site-codes: {} + http://hl7.org/fhir/ValueSet/assert-direction-codes: {} + http://hl7.org/fhir/ValueSet/assert-operator-codes: {} + http://hl7.org/fhir/ValueSet/assert-response-code-types: {} + http://hl7.org/fhir/ValueSet/asset-availability: {} + http://hl7.org/fhir/ValueSet/audit-entity-type: {} + http://hl7.org/fhir/ValueSet/audit-event-action: {} + http://hl7.org/fhir/ValueSet/audit-event-outcome: {} + http://hl7.org/fhir/ValueSet/audit-event-sub-type: {} + http://hl7.org/fhir/ValueSet/audit-event-type: {} + http://hl7.org/fhir/ValueSet/audit-source-type: {} + http://hl7.org/fhir/ValueSet/basic-resource-type: {} + http://hl7.org/fhir/ValueSet/benefit-network: {} + http://hl7.org/fhir/ValueSet/benefit-term: {} + http://hl7.org/fhir/ValueSet/benefit-type: {} + http://hl7.org/fhir/ValueSet/benefit-unit: {} + http://hl7.org/fhir/ValueSet/binding-strength: {} + http://hl7.org/fhir/ValueSet/body-site: {} + http://hl7.org/fhir/ValueSet/bodysite-laterality: {} + http://hl7.org/fhir/ValueSet/bodystructure-code: {} + http://hl7.org/fhir/ValueSet/bodystructure-relative-location: {} + http://hl7.org/fhir/ValueSet/bundle-type: {} + http://hl7.org/fhir/ValueSet/c80-doc-typecodes: {} + http://hl7.org/fhir/ValueSet/c80-facilitycodes: {} + http://hl7.org/fhir/ValueSet/c80-practice-codes: {} + http://hl7.org/fhir/ValueSet/capability-statement-kind: {} + http://hl7.org/fhir/ValueSet/care-plan-activity-kind: {} + http://hl7.org/fhir/ValueSet/care-plan-activity-outcome: {} + http://hl7.org/fhir/ValueSet/care-plan-activity-status: {} + http://hl7.org/fhir/ValueSet/care-plan-category: {} + http://hl7.org/fhir/ValueSet/care-plan-intent: {} + http://hl7.org/fhir/ValueSet/care-team-category: {} + http://hl7.org/fhir/ValueSet/care-team-status: {} + http://hl7.org/fhir/ValueSet/catalogType: {} + http://hl7.org/fhir/ValueSet/cdshooks-indicator: {} + http://hl7.org/fhir/ValueSet/certainty-subcomponent-rating: {} + http://hl7.org/fhir/ValueSet/certainty-subcomponent-type: {} + http://hl7.org/fhir/ValueSet/chargeitem-billingcodes: {} + http://hl7.org/fhir/ValueSet/chargeitem-status: {} + http://hl7.org/fhir/ValueSet/choice-list-orientation: {} + http://hl7.org/fhir/ValueSet/chromosome-human: {} + http://hl7.org/fhir/ValueSet/claim-careteamrole: {} + http://hl7.org/fhir/ValueSet/claim-exception: {} + http://hl7.org/fhir/ValueSet/claim-informationcategory: {} + http://hl7.org/fhir/ValueSet/claim-modifiers: {} + http://hl7.org/fhir/ValueSet/claim-subtype: {} + http://hl7.org/fhir/ValueSet/claim-type: {} + http://hl7.org/fhir/ValueSet/claim-use: {} + http://hl7.org/fhir/ValueSet/clinical-findings: {} + http://hl7.org/fhir/ValueSet/clinicalimpression-prognosis: {} + http://hl7.org/fhir/ValueSet/clinicalimpression-status: {} + http://hl7.org/fhir/ValueSet/clinvar: {} + http://hl7.org/fhir/ValueSet/code-search-support: {} + http://hl7.org/fhir/ValueSet/codesystem-altcode-kind: {} + http://hl7.org/fhir/ValueSet/codesystem-content-mode: {} + http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning: {} + http://hl7.org/fhir/ValueSet/common-tags: {} + http://hl7.org/fhir/ValueSet/communication-category: {} + http://hl7.org/fhir/ValueSet/communication-not-done-reason: {} + http://hl7.org/fhir/ValueSet/communication-topic: {} + http://hl7.org/fhir/ValueSet/compartment-type: {} + http://hl7.org/fhir/ValueSet/composite-measure-scoring: {} + http://hl7.org/fhir/ValueSet/composition-altcode-kind: {} + http://hl7.org/fhir/ValueSet/composition-attestation-mode: {} + http://hl7.org/fhir/ValueSet/composition-status: {} + http://hl7.org/fhir/ValueSet/concept-map-equivalence: {} + http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode: {} + http://hl7.org/fhir/ValueSet/concept-property-type: {} + http://hl7.org/fhir/ValueSet/concept-subsumption-outcome: {} + http://hl7.org/fhir/ValueSet/conditional-delete-status: {} + http://hl7.org/fhir/ValueSet/conditional-read-status: {} + http://hl7.org/fhir/ValueSet/condition-category: {} + http://hl7.org/fhir/ValueSet/condition-cause: {} + http://hl7.org/fhir/ValueSet/condition-clinical: {} + http://hl7.org/fhir/ValueSet/condition-code: {} + http://hl7.org/fhir/ValueSet/condition-outcome: {} + http://hl7.org/fhir/ValueSet/condition-predecessor: {} + http://hl7.org/fhir/ValueSet/condition-severity: {} + http://hl7.org/fhir/ValueSet/condition-stage: {} + http://hl7.org/fhir/ValueSet/condition-stage-type: {} + http://hl7.org/fhir/ValueSet/condition-state: {} + http://hl7.org/fhir/ValueSet/condition-ver-status: {} + http://hl7.org/fhir/ValueSet/conformance-expectation: {} + http://hl7.org/fhir/ValueSet/consent-action: {} + http://hl7.org/fhir/ValueSet/consent-category: {} + http://hl7.org/fhir/ValueSet/consent-content-class: {} + http://hl7.org/fhir/ValueSet/consent-content-code: {} + http://hl7.org/fhir/ValueSet/consent-data-meaning: {} + http://hl7.org/fhir/ValueSet/consent-performer: {} + http://hl7.org/fhir/ValueSet/consent-policy: {} + http://hl7.org/fhir/ValueSet/consent-provision-type: {} + http://hl7.org/fhir/ValueSet/consent-scope: {} + http://hl7.org/fhir/ValueSet/consent-state-codes: {} + http://hl7.org/fhir/ValueSet/consistency-type: {} + http://hl7.org/fhir/ValueSet/constraint-severity: {} + http://hl7.org/fhir/ValueSet/contactentity-type: {} + http://hl7.org/fhir/ValueSet/contact-point-system: {} + http://hl7.org/fhir/ValueSet/contact-point-use: {} + http://hl7.org/fhir/ValueSet/container-cap: {} + http://hl7.org/fhir/ValueSet/container-material: {} + http://hl7.org/fhir/ValueSet/contract-action: {} + http://hl7.org/fhir/ValueSet/contract-actionstatus: {} + http://hl7.org/fhir/ValueSet/contract-actorrole: {} + http://hl7.org/fhir/ValueSet/contract-assetcontext: {} + http://hl7.org/fhir/ValueSet/contract-assetscope: {} + http://hl7.org/fhir/ValueSet/contract-assetsubtype: {} + http://hl7.org/fhir/ValueSet/contract-assettype: {} + http://hl7.org/fhir/ValueSet/contract-content-derivative: {} + http://hl7.org/fhir/ValueSet/contract-data-meaning: {} + http://hl7.org/fhir/ValueSet/contract-decision-mode: {} + http://hl7.org/fhir/ValueSet/contract-definition-subtype: {} + http://hl7.org/fhir/ValueSet/contract-definition-type: {} + http://hl7.org/fhir/ValueSet/contract-expiration-type: {} + http://hl7.org/fhir/ValueSet/contract-legalstate: {} + http://hl7.org/fhir/ValueSet/contract-party-role: {} + http://hl7.org/fhir/ValueSet/contract-publicationstatus: {} + http://hl7.org/fhir/ValueSet/contract-scope: {} + http://hl7.org/fhir/ValueSet/contract-security-category: {} + http://hl7.org/fhir/ValueSet/contract-security-classification: {} + http://hl7.org/fhir/ValueSet/contract-security-control: {} + http://hl7.org/fhir/ValueSet/contract-signer-type: {} + http://hl7.org/fhir/ValueSet/contract-status: {} + http://hl7.org/fhir/ValueSet/contract-subtype: {} + http://hl7.org/fhir/ValueSet/contract-term-subtype: {} + http://hl7.org/fhir/ValueSet/contract-term-type: {} + http://hl7.org/fhir/ValueSet/contract-type: {} + http://hl7.org/fhir/ValueSet/contributor-type: {} + http://hl7.org/fhir/ValueSet/copy-number-event: {} + http://hl7.org/fhir/ValueSet/cosmic: {} + http://hl7.org/fhir/ValueSet/coverage-class: {} + http://hl7.org/fhir/ValueSet/coverage-copay-type: {} + http://hl7.org/fhir/ValueSet/coverageeligibilityresponse-ex-auth-support: {} + http://hl7.org/fhir/ValueSet/coverage-financial-exception: {} + http://hl7.org/fhir/ValueSet/coverage-selfpay: {} + http://hl7.org/fhir/ValueSet/coverage-type: {} + http://hl7.org/fhir/ValueSet/cpt-all: {} + http://hl7.org/fhir/ValueSet/currencies: {} + http://hl7.org/fhir/ValueSet/data-absent-reason: {} + http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass: {} + http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty: {} + http://hl7.org/fhir/ValueSet/data-types: {} + http://hl7.org/fhir/ValueSet/days-of-week: {} + http://hl7.org/fhir/ValueSet/dbsnp: {} + http://hl7.org/fhir/ValueSet/defined-types: {} + http://hl7.org/fhir/ValueSet/definition-resource-types: {} + http://hl7.org/fhir/ValueSet/definition-status: {} + http://hl7.org/fhir/ValueSet/definition-topic: {} + http://hl7.org/fhir/ValueSet/definition-use: {} + http://hl7.org/fhir/ValueSet/designation-use: {} + http://hl7.org/fhir/ValueSet/detectedissue-category: {} + http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action: {} + http://hl7.org/fhir/ValueSet/detectedissue-severity: {} + http://hl7.org/fhir/ValueSet/device-action: {} + http://hl7.org/fhir/ValueSet/device-component-property: {} + http://hl7.org/fhir/ValueSet/device-definition-status: {} + http://hl7.org/fhir/ValueSet/device-kind: {} + http://hl7.org/fhir/ValueSet/devicemetric-type: {} + http://hl7.org/fhir/ValueSet/device-nametype: {} + http://hl7.org/fhir/ValueSet/device-safety: {} + http://hl7.org/fhir/ValueSet/device-statement-status: {} + http://hl7.org/fhir/ValueSet/device-status: {} + http://hl7.org/fhir/ValueSet/device-status-reason: {} + http://hl7.org/fhir/ValueSet/device-type: {} + http://hl7.org/fhir/ValueSet/diagnosis-role: {} + http://hl7.org/fhir/ValueSet/diagnostic-based-on-snomed: {} + http://hl7.org/fhir/ValueSet/diagnostic-report-status: {} + http://hl7.org/fhir/ValueSet/diagnostic-service-sections: {} + http://hl7.org/fhir/ValueSet/dicm-405-mediatype: {} + http://hl7.org/fhir/ValueSet/diet-type: {} + http://hl7.org/fhir/ValueSet/discriminator-type: {} + http://hl7.org/fhir/ValueSet/distance-units: {} + http://hl7.org/fhir/ValueSet/doc-section-codes: {} + http://hl7.org/fhir/ValueSet/doc-typecodes: {} + http://hl7.org/fhir/ValueSet/document-classcodes: {} + http://hl7.org/fhir/ValueSet/document-mode: {} + http://hl7.org/fhir/ValueSet/document-reference-status: {} + http://hl7.org/fhir/ValueSet/document-relationship-type: {} + http://hl7.org/fhir/ValueSet/dose-rate-type: {} + http://hl7.org/fhir/ValueSet/duration-units: {} + http://hl7.org/fhir/ValueSet/effect-estimate-type: {} + http://hl7.org/fhir/ValueSet/eligibilityrequest-purpose: {} + http://hl7.org/fhir/ValueSet/eligibilityresponse-purpose: {} + http://hl7.org/fhir/ValueSet/encounter-admit-source: {} + http://hl7.org/fhir/ValueSet/encounter-diet: {} + http://hl7.org/fhir/ValueSet/encounter-discharge-disposition: {} + http://hl7.org/fhir/ValueSet/encounter-location-status: {} + http://hl7.org/fhir/ValueSet/encounter-participant-type: {} + http://hl7.org/fhir/ValueSet/encounter-reason: {} + http://hl7.org/fhir/ValueSet/encounter-special-arrangements: {} + http://hl7.org/fhir/ValueSet/encounter-special-courtesy: {} + http://hl7.org/fhir/ValueSet/encounter-status: {} + http://hl7.org/fhir/ValueSet/encounter-type: {} + http://hl7.org/fhir/ValueSet/endpoint-connection-type: {} + http://hl7.org/fhir/ValueSet/endpoint-payload-type: {} + http://hl7.org/fhir/ValueSet/endpoint-status: {} + http://hl7.org/fhir/ValueSet/ensembl: {} + http://hl7.org/fhir/ValueSet/enteral-route: {} + http://hl7.org/fhir/ValueSet/entformula-additive: {} + http://hl7.org/fhir/ValueSet/entformula-type: {} + http://hl7.org/fhir/ValueSet/episode-of-care-status: {} + http://hl7.org/fhir/ValueSet/episodeofcare-type: {} + http://hl7.org/fhir/ValueSet/event-capability-mode: {} + http://hl7.org/fhir/ValueSet/event-or-request-resource-types: {} + http://hl7.org/fhir/ValueSet/event-resource-types: {} + http://hl7.org/fhir/ValueSet/event-status: {} + http://hl7.org/fhir/ValueSet/event-timing: {} + http://hl7.org/fhir/ValueSet/evidence-quality: {} + http://hl7.org/fhir/ValueSet/evidence-variant-state: {} + http://hl7.org/fhir/ValueSet/example-expansion: {} + http://hl7.org/fhir/ValueSet/example-extensional: {} + http://hl7.org/fhir/ValueSet/example-filter: {} + http://hl7.org/fhir/ValueSet/example-hierarchical: {} + http://hl7.org/fhir/ValueSet/example-intensional: {} + http://hl7.org/fhir/ValueSet/examplescenario-actor-type: {} + http://hl7.org/fhir/ValueSet/ex-benefitcategory: {} + http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission: {} + http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup: {} + http://hl7.org/fhir/ValueSet/ex-diagnosistype: {} + http://hl7.org/fhir/ValueSet/ex-onsettype: {} + http://hl7.org/fhir/ValueSet/expansion-parameter-source: {} + http://hl7.org/fhir/ValueSet/expansion-processing-rule: {} + http://hl7.org/fhir/ValueSet/ex-payee-resource-type: {} + http://hl7.org/fhir/ValueSet/ex-paymenttype: {} + http://hl7.org/fhir/ValueSet/explanationofbenefit-status: {} + http://hl7.org/fhir/ValueSet/exposure-state: {} + http://hl7.org/fhir/ValueSet/expression-language: {} + http://hl7.org/fhir/ValueSet/ex-procedure-type: {} + http://hl7.org/fhir/ValueSet/ex-program-code: {} + http://hl7.org/fhir/ValueSet/ex-revenue-center: {} + http://hl7.org/fhir/ValueSet/extension-context-type: {} + http://hl7.org/fhir/ValueSet/feeding-device: {} + http://hl7.org/fhir/ValueSet/FHIR-version: {} + http://hl7.org/fhir/ValueSet/filter-operator: {} + http://hl7.org/fhir/ValueSet/financial-taskcode: {} + http://hl7.org/fhir/ValueSet/financial-taskinputtype: {} + http://hl7.org/fhir/ValueSet/flag-category: {} + http://hl7.org/fhir/ValueSet/flag-code: {} + http://hl7.org/fhir/ValueSet/flag-priority: {} + http://hl7.org/fhir/ValueSet/flag-status: {} + http://hl7.org/fhir/ValueSet/fm-conditions: {} + http://hl7.org/fhir/ValueSet/fm-itemtype: {} + http://hl7.org/fhir/ValueSet/fm-status: {} + http://hl7.org/fhir/ValueSet/focal-subject: {} + http://hl7.org/fhir/ValueSet/food-type: {} + http://hl7.org/fhir/ValueSet/formatcodes: {} + http://hl7.org/fhir/ValueSet/forms: {} + http://hl7.org/fhir/ValueSet/fundsreserve: {} + http://hl7.org/fhir/ValueSet/gender-identity: {} + http://hl7.org/fhir/ValueSet/genenames: {} + http://hl7.org/fhir/ValueSet/goal-acceptance-status: {} + http://hl7.org/fhir/ValueSet/goal-achievement: {} + http://hl7.org/fhir/ValueSet/goal-category: {} + http://hl7.org/fhir/ValueSet/goal-priority: {} + http://hl7.org/fhir/ValueSet/goal-relationship-type: {} + http://hl7.org/fhir/ValueSet/goal-start-event: {} + http://hl7.org/fhir/ValueSet/goal-status: {} + http://hl7.org/fhir/ValueSet/goal-status-reason: {} + http://hl7.org/fhir/ValueSet/graph-compartment-rule: {} + http://hl7.org/fhir/ValueSet/graph-compartment-use: {} + http://hl7.org/fhir/ValueSet/group-measure: {} + http://hl7.org/fhir/ValueSet/group-type: {} + http://hl7.org/fhir/ValueSet/guidance-response-status: {} + http://hl7.org/fhir/ValueSet/guide-page-generation: {} + http://hl7.org/fhir/ValueSet/guide-parameter-code: {} + http://hl7.org/fhir/ValueSet/handling-condition: {} + http://hl7.org/fhir/ValueSet/history-absent-reason: {} + http://hl7.org/fhir/ValueSet/history-status: {} + http://hl7.org/fhir/ValueSet/hl7-work-group: {} + http://hl7.org/fhir/ValueSet/http-operations: {} + http://hl7.org/fhir/ValueSet/http-verb: {} + http://hl7.org/fhir/ValueSet/icd-10: {} + http://hl7.org/fhir/ValueSet/icd-10-procedures: {} + http://hl7.org/fhir/ValueSet/identifier-type: {} + http://hl7.org/fhir/ValueSet/identifier-use: {} + http://hl7.org/fhir/ValueSet/identity-assuranceLevel: {} + http://hl7.org/fhir/ValueSet/imagingstudy-status: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status-reason: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-status: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-target-disease: {} + http://hl7.org/fhir/ValueSet/immunization-function: {} + http://hl7.org/fhir/ValueSet/immunization-funding-source: {} + http://hl7.org/fhir/ValueSet/immunization-origin: {} + http://hl7.org/fhir/ValueSet/immunization-program-eligibility: {} + http://hl7.org/fhir/ValueSet/immunization-reason: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-reason: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-status: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-target-disease: {} + http://hl7.org/fhir/ValueSet/immunization-route: {} + http://hl7.org/fhir/ValueSet/immunization-site: {} + http://hl7.org/fhir/ValueSet/immunization-status: {} + http://hl7.org/fhir/ValueSet/immunization-status-reason: {} + http://hl7.org/fhir/ValueSet/immunization-subpotent-reason: {} + http://hl7.org/fhir/ValueSet/immunization-target-disease: {} + http://hl7.org/fhir/ValueSet/implantStatus: {} + http://hl7.org/fhir/ValueSet/inactive: {} + http://hl7.org/fhir/ValueSet/instance-availability: {} + http://hl7.org/fhir/ValueSet/insuranceplan-applicability: {} + http://hl7.org/fhir/ValueSet/insuranceplan-type: {} + http://hl7.org/fhir/ValueSet/intervention: {} + http://hl7.org/fhir/ValueSet/investigation-sets: {} + http://hl7.org/fhir/ValueSet/invoice-priceComponentType: {} + http://hl7.org/fhir/ValueSet/invoice-status: {} + http://hl7.org/fhir/ValueSet/iso3166-1-2: {} + http://hl7.org/fhir/ValueSet/iso3166-1-3: {} + http://hl7.org/fhir/ValueSet/iso3166-1-N: {} + http://hl7.org/fhir/ValueSet/issue-severity: {} + http://hl7.org/fhir/ValueSet/issue-type: {} + http://hl7.org/fhir/ValueSet/item-type: {} + http://hl7.org/fhir/ValueSet/jurisdiction: {} + http://hl7.org/fhir/ValueSet/knowledge-resource-types: {} + http://hl7.org/fhir/ValueSet/language-preference-type: {} + http://hl7.org/fhir/ValueSet/languages: {} + http://hl7.org/fhir/ValueSet/ldlcholesterol-codes: {} + http://hl7.org/fhir/ValueSet/library-type: {} + http://hl7.org/fhir/ValueSet/linkage-type: {} + http://hl7.org/fhir/ValueSet/link-type: {} + http://hl7.org/fhir/ValueSet/list-empty-reason: {} + http://hl7.org/fhir/ValueSet/list-example-codes: {} + http://hl7.org/fhir/ValueSet/list-item-flag: {} + http://hl7.org/fhir/ValueSet/list-mode: {} + http://hl7.org/fhir/ValueSet/list-order: {} + http://hl7.org/fhir/ValueSet/list-status: {} + http://hl7.org/fhir/ValueSet/location-mode: {} + http://hl7.org/fhir/ValueSet/location-physical-type: {} + http://hl7.org/fhir/ValueSet/location-status: {} + http://hl7.org/fhir/ValueSet/manifestation-or-symptom: {} + http://hl7.org/fhir/ValueSet/map-context-type: {} + http://hl7.org/fhir/ValueSet/map-group-type-mode: {} + http://hl7.org/fhir/ValueSet/map-input-mode: {} + http://hl7.org/fhir/ValueSet/map-model-mode: {} + http://hl7.org/fhir/ValueSet/map-source-list-mode: {} + http://hl7.org/fhir/ValueSet/map-target-list-mode: {} + http://hl7.org/fhir/ValueSet/map-transform: {} + http://hl7.org/fhir/ValueSet/marital-status: {} + http://hl7.org/fhir/ValueSet/match-grade: {} + http://hl7.org/fhir/ValueSet/measure-data-usage: {} + http://hl7.org/fhir/ValueSet/measure-improvement-notation: {} + http://hl7.org/fhir/ValueSet/measure-population: {} + http://hl7.org/fhir/ValueSet/measure-report-status: {} + http://hl7.org/fhir/ValueSet/measure-report-type: {} + http://hl7.org/fhir/ValueSet/measure-scoring: {} + http://hl7.org/fhir/ValueSet/measure-type: {} + http://hl7.org/fhir/ValueSet/med-admin-perform-function: {} + http://hl7.org/fhir/ValueSet/media-modality: {} + http://hl7.org/fhir/ValueSet/media-type: {} + http://hl7.org/fhir/ValueSet/media-view: {} + http://hl7.org/fhir/ValueSet/medication-admin-category: {} + http://hl7.org/fhir/ValueSet/medication-admin-status: {} + http://hl7.org/fhir/ValueSet/medication-as-needed-reason: {} + http://hl7.org/fhir/ValueSet/medication-codes: {} + http://hl7.org/fhir/ValueSet/medicationdispense-category: {} + http://hl7.org/fhir/ValueSet/medicationdispense-performer-function: {} + http://hl7.org/fhir/ValueSet/medicationdispense-status: {} + http://hl7.org/fhir/ValueSet/medicationdispense-status-reason: {} + http://hl7.org/fhir/ValueSet/medication-form-codes: {} + http://hl7.org/fhir/ValueSet/medicationknowledge-characteristic: {} + http://hl7.org/fhir/ValueSet/medicationknowledge-package-type: {} + http://hl7.org/fhir/ValueSet/medicationknowledge-status: {} + http://hl7.org/fhir/ValueSet/medicationrequest-category: {} + http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy: {} + http://hl7.org/fhir/ValueSet/medicationrequest-intent: {} + http://hl7.org/fhir/ValueSet/medicationrequest-status: {} + http://hl7.org/fhir/ValueSet/medicationrequest-status-reason: {} + http://hl7.org/fhir/ValueSet/medication-statement-category: {} + http://hl7.org/fhir/ValueSet/medication-statement-status: {} + http://hl7.org/fhir/ValueSet/medication-status: {} + http://hl7.org/fhir/ValueSet/message-events: {} + http://hl7.org/fhir/ValueSet/messageheader-response-request: {} + http://hl7.org/fhir/ValueSet/message-reason-encounter: {} + http://hl7.org/fhir/ValueSet/message-significance-category: {} + http://hl7.org/fhir/ValueSet/message-transport: {} + http://hl7.org/fhir/ValueSet/metric-calibration-state: {} + http://hl7.org/fhir/ValueSet/metric-calibration-type: {} + http://hl7.org/fhir/ValueSet/metric-category: {} + http://hl7.org/fhir/ValueSet/metric-color: {} + http://hl7.org/fhir/ValueSet/metric-operational-status: {} + http://hl7.org/fhir/ValueSet/mimetypes: {} + http://hl7.org/fhir/ValueSet/missing-tooth-reason: {} + http://hl7.org/fhir/ValueSet/modified-foodtype: {} + http://hl7.org/fhir/ValueSet/name-assembly-order: {} + http://hl7.org/fhir/ValueSet/name-part-qualifier: {} + http://hl7.org/fhir/ValueSet/name-use: {} + http://hl7.org/fhir/ValueSet/name-v3-representation: {} + http://hl7.org/fhir/ValueSet/namingsystem-identifier-type: {} + http://hl7.org/fhir/ValueSet/namingsystem-type: {} + http://hl7.org/fhir/ValueSet/narrative-status: {} + http://hl7.org/fhir/ValueSet/network-type: {} + http://hl7.org/fhir/ValueSet/nhin-purposeofuse: {} + http://hl7.org/fhir/ValueSet/note-type: {} + http://hl7.org/fhir/ValueSet/nutrient-code: {} + http://hl7.org/fhir/ValueSet/object-lifecycle-events: {} + http://hl7.org/fhir/ValueSet/object-role: {} + http://hl7.org/fhir/ValueSet/observation-category: {} + http://hl7.org/fhir/ValueSet/observation-codes: {} + http://hl7.org/fhir/ValueSet/observation-interpretation: {} + http://hl7.org/fhir/ValueSet/observation-methods: {} + http://hl7.org/fhir/ValueSet/observation-range-category: {} + http://hl7.org/fhir/ValueSet/observation-statistics: {} + http://hl7.org/fhir/ValueSet/observation-status: {} + http://hl7.org/fhir/ValueSet/observation-vitalsignresult: {} + http://hl7.org/fhir/ValueSet/operation-kind: {} + http://hl7.org/fhir/ValueSet/operation-outcome: {} + http://hl7.org/fhir/ValueSet/operation-parameter-use: {} + http://hl7.org/fhir/ValueSet/oral-prosthodontic-material: {} + http://hl7.org/fhir/ValueSet/organization-role: {} + http://hl7.org/fhir/ValueSet/organization-type: {} + http://hl7.org/fhir/ValueSet/orientation-type: {} + http://hl7.org/fhir/ValueSet/parameter-group: {} + http://hl7.org/fhir/ValueSet/parent-relationship-codes: {} + http://hl7.org/fhir/ValueSet/participantrequired: {} + http://hl7.org/fhir/ValueSet/participant-role: {} + http://hl7.org/fhir/ValueSet/participation-role-type: {} + http://hl7.org/fhir/ValueSet/participationstatus: {} + http://hl7.org/fhir/ValueSet/patient-contactrelationship: {} + http://hl7.org/fhir/ValueSet/payeetype: {} + http://hl7.org/fhir/ValueSet/payment-adjustment-reason: {} + http://hl7.org/fhir/ValueSet/payment-status: {} + http://hl7.org/fhir/ValueSet/payment-type: {} + http://hl7.org/fhir/ValueSet/performer-function: {} + http://hl7.org/fhir/ValueSet/performer-role: {} + http://hl7.org/fhir/ValueSet/permitted-data-type: {} + http://hl7.org/fhir/ValueSet/plan-definition-type: {} + http://hl7.org/fhir/ValueSet/postal-address-use: {} + http://hl7.org/fhir/ValueSet/practitioner-role: {} + http://hl7.org/fhir/ValueSet/practitioner-specialty: {} + http://hl7.org/fhir/ValueSet/precision-estimate-type: {} + http://hl7.org/fhir/ValueSet/prepare-patient-prior-specimen-collection: {} + http://hl7.org/fhir/ValueSet/probability-distribution-type: {} + http://hl7.org/fhir/ValueSet/procedure-category: {} + http://hl7.org/fhir/ValueSet/procedure-code: {} + http://hl7.org/fhir/ValueSet/procedure-followup: {} + http://hl7.org/fhir/ValueSet/procedure-not-performed-reason: {} + http://hl7.org/fhir/ValueSet/procedure-outcome: {} + http://hl7.org/fhir/ValueSet/procedure-progress-status-codes: {} + http://hl7.org/fhir/ValueSet/procedure-reason: {} + http://hl7.org/fhir/ValueSet/process-priority: {} + http://hl7.org/fhir/ValueSet/product-category: {} + http://hl7.org/fhir/ValueSet/product-status: {} + http://hl7.org/fhir/ValueSet/product-storage-scale: {} + http://hl7.org/fhir/ValueSet/program: {} + http://hl7.org/fhir/ValueSet/property-representation: {} + http://hl7.org/fhir/ValueSet/provenance-activity-type: {} + http://hl7.org/fhir/ValueSet/provenance-agent-role: {} + http://hl7.org/fhir/ValueSet/provenance-agent-type: {} + http://hl7.org/fhir/ValueSet/provenance-entity-role: {} + http://hl7.org/fhir/ValueSet/provenance-history-agent-type: {} + http://hl7.org/fhir/ValueSet/provenance-history-record-activity: {} + http://hl7.org/fhir/ValueSet/provider-qualification: {} + http://hl7.org/fhir/ValueSet/provider-taxonomy: {} + http://hl7.org/fhir/ValueSet/publication-status: {} + http://hl7.org/fhir/ValueSet/quality-type: {} + http://hl7.org/fhir/ValueSet/quantity-comparator: {} + http://hl7.org/fhir/ValueSet/question-max-occurs: {} + http://hl7.org/fhir/ValueSet/questionnaire-answers: {} + http://hl7.org/fhir/ValueSet/questionnaire-answers-status: {} + http://hl7.org/fhir/ValueSet/questionnaire-category: {} + http://hl7.org/fhir/ValueSet/questionnaire-display-category: {} + http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior: {} + http://hl7.org/fhir/ValueSet/questionnaire-enable-operator: {} + http://hl7.org/fhir/ValueSet/questionnaire-item-control: {} + http://hl7.org/fhir/ValueSet/questionnaire-questions: {} + http://hl7.org/fhir/ValueSet/questionnaireresponse-mode: {} + http://hl7.org/fhir/ValueSet/questionnaire-usage-mode: {} + http://hl7.org/fhir/ValueSet/reaction-event-certainty: {} + http://hl7.org/fhir/ValueSet/reaction-event-severity: {} + http://hl7.org/fhir/ValueSet/reason-medication-given-codes: {} + http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes: {} + http://hl7.org/fhir/ValueSet/reason-medication-status-codes: {} + http://hl7.org/fhir/ValueSet/recommendation-strength: {} + http://hl7.org/fhir/ValueSet/reference-handling-policy: {} + http://hl7.org/fhir/ValueSet/referencerange-appliesto: {} + http://hl7.org/fhir/ValueSet/referencerange-meaning: {} + http://hl7.org/fhir/ValueSet/reference-version-rules: {} + http://hl7.org/fhir/ValueSet/ref-sequences: {} + http://hl7.org/fhir/ValueSet/rejection-criteria: {} + http://hl7.org/fhir/ValueSet/related-artifact-type: {} + http://hl7.org/fhir/ValueSet/related-claim-relationship: {} + http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype: {} + http://hl7.org/fhir/ValueSet/relationship: {} + http://hl7.org/fhir/ValueSet/relation-type: {} + http://hl7.org/fhir/ValueSet/remittance-outcome: {} + http://hl7.org/fhir/ValueSet/report-action-result-codes: {} + http://hl7.org/fhir/ValueSet/report-codes: {} + http://hl7.org/fhir/ValueSet/report-participant-type: {} + http://hl7.org/fhir/ValueSet/report-result-codes: {} + http://hl7.org/fhir/ValueSet/report-status-codes: {} + http://hl7.org/fhir/ValueSet/repository-type: {} + http://hl7.org/fhir/ValueSet/request-intent: {} + http://hl7.org/fhir/ValueSet/request-priority: {} + http://hl7.org/fhir/ValueSet/request-resource-types: {} + http://hl7.org/fhir/ValueSet/request-status: {} + http://hl7.org/fhir/ValueSet/research-element-type: {} + http://hl7.org/fhir/ValueSet/research-study-objective-type: {} + http://hl7.org/fhir/ValueSet/research-study-phase: {} + http://hl7.org/fhir/ValueSet/research-study-prim-purp-type: {} + http://hl7.org/fhir/ValueSet/research-study-reason-stopped: {} + http://hl7.org/fhir/ValueSet/research-study-status: {} + http://hl7.org/fhir/ValueSet/research-subject-status: {} + http://hl7.org/fhir/ValueSet/resource-aggregation-mode: {} + http://hl7.org/fhir/ValueSet/resource-security-category: {} + http://hl7.org/fhir/ValueSet/resource-slicing-rules: {} + http://hl7.org/fhir/ValueSet/resource-status: {} + http://hl7.org/fhir/ValueSet/resource-type-link: {} + http://hl7.org/fhir/ValueSet/resource-types: {} + http://hl7.org/fhir/ValueSet/resource-validation-mode: {} + http://hl7.org/fhir/ValueSet/response-code: {} + http://hl7.org/fhir/ValueSet/restful-capability-mode: {} + http://hl7.org/fhir/ValueSet/restful-security-service: {} + http://hl7.org/fhir/ValueSet/risk-estimate-type: {} + http://hl7.org/fhir/ValueSet/risk-probability: {} + http://hl7.org/fhir/ValueSet/route-codes: {} + http://hl7.org/fhir/ValueSet/search-comparator: {} + http://hl7.org/fhir/ValueSet/search-entry-mode: {} + http://hl7.org/fhir/ValueSet/search-modifier-code: {} + http://hl7.org/fhir/ValueSet/search-param-type: {} + http://hl7.org/fhir/ValueSet/search-xpath-usage: {} + http://hl7.org/fhir/ValueSet/secondary-finding: {} + http://hl7.org/fhir/ValueSet/security-labels: {} + http://hl7.org/fhir/ValueSet/security-role-type: {} + http://hl7.org/fhir/ValueSet/sequenceontology: {} + http://hl7.org/fhir/ValueSet/sequence-quality-method: {} + http://hl7.org/fhir/ValueSet/sequence-quality-standardSequence: {} + http://hl7.org/fhir/ValueSet/sequence-referenceSeq: {} + http://hl7.org/fhir/ValueSet/sequence-species: {} + http://hl7.org/fhir/ValueSet/sequence-type: {} + http://hl7.org/fhir/ValueSet/series-performer-function: {} + http://hl7.org/fhir/ValueSet/service-category: {} + http://hl7.org/fhir/ValueSet/service-modifiers: {} + http://hl7.org/fhir/ValueSet/service-pharmacy: {} + http://hl7.org/fhir/ValueSet/service-place: {} + http://hl7.org/fhir/ValueSet/service-product: {} + http://hl7.org/fhir/ValueSet/service-provision-conditions: {} + http://hl7.org/fhir/ValueSet/service-referral-method: {} + http://hl7.org/fhir/ValueSet/servicerequest-category: {} + http://hl7.org/fhir/ValueSet/servicerequest-orderdetail: {} + http://hl7.org/fhir/ValueSet/service-type: {} + http://hl7.org/fhir/ValueSet/service-uscls: {} + http://hl7.org/fhir/ValueSet/sibling-relationship-codes: {} + http://hl7.org/fhir/ValueSet/signature-type: {} + http://hl7.org/fhir/ValueSet/slotstatus: {} + http://hl7.org/fhir/ValueSet/smart-capabilities: {} + http://hl7.org/fhir/ValueSet/sort-direction: {} + http://hl7.org/fhir/ValueSet/spdx-license: {} + http://hl7.org/fhir/ValueSet/special-values: {} + http://hl7.org/fhir/ValueSet/specimen-collection: {} + http://hl7.org/fhir/ValueSet/specimen-collection-method: {} + http://hl7.org/fhir/ValueSet/specimen-collection-priority: {} + http://hl7.org/fhir/ValueSet/specimen-contained-preference: {} + http://hl7.org/fhir/ValueSet/specimen-container-type: {} + http://hl7.org/fhir/ValueSet/specimen-processing-procedure: {} + http://hl7.org/fhir/ValueSet/specimen-status: {} + http://hl7.org/fhir/ValueSet/standards-status: {} + http://hl7.org/fhir/ValueSet/strand-type: {} + http://hl7.org/fhir/ValueSet/structure-definition-kind: {} + http://hl7.org/fhir/ValueSet/study-type: {} + http://hl7.org/fhir/ValueSet/subject-type: {} + http://hl7.org/fhir/ValueSet/subscriber-relationship: {} + http://hl7.org/fhir/ValueSet/subscription-channel-type: {} + http://hl7.org/fhir/ValueSet/subscription-status: {} + http://hl7.org/fhir/ValueSet/subscription-tag: {} + http://hl7.org/fhir/ValueSet/substance-category: {} + http://hl7.org/fhir/ValueSet/substance-code: {} + http://hl7.org/fhir/ValueSet/substance-status: {} + http://hl7.org/fhir/ValueSet/supplement-type: {} + http://hl7.org/fhir/ValueSet/supplydelivery-status: {} + http://hl7.org/fhir/ValueSet/supplydelivery-type: {} + http://hl7.org/fhir/ValueSet/supply-item: {} + http://hl7.org/fhir/ValueSet/supplyrequest-kind: {} + http://hl7.org/fhir/ValueSet/supplyrequest-reason: {} + http://hl7.org/fhir/ValueSet/supplyrequest-status: {} + http://hl7.org/fhir/ValueSet/surface: {} + http://hl7.org/fhir/ValueSet/synthesis-type: {} + http://hl7.org/fhir/ValueSet/system-restful-interaction: {} + http://hl7.org/fhir/ValueSet/task-code: {} + http://hl7.org/fhir/ValueSet/task-intent: {} + http://hl7.org/fhir/ValueSet/task-status: {} + http://hl7.org/fhir/ValueSet/teeth: {} + http://hl7.org/fhir/ValueSet/template-status-code: {} + http://hl7.org/fhir/ValueSet/testscript-operation-codes: {} + http://hl7.org/fhir/ValueSet/testscript-profile-destination-types: {} + http://hl7.org/fhir/ValueSet/testscript-profile-origin-types: {} + http://hl7.org/fhir/ValueSet/texture-code: {} + http://hl7.org/fhir/ValueSet/timezones: {} + http://hl7.org/fhir/ValueSet/timing-abbreviation: {} + http://hl7.org/fhir/ValueSet/tooth: {} + http://hl7.org/fhir/ValueSet/transaction-mode: {} + http://hl7.org/fhir/ValueSet/trigger-type: {} + http://hl7.org/fhir/ValueSet/type-derivation-rule: {} + http://hl7.org/fhir/ValueSet/type-restful-interaction: {} + http://hl7.org/fhir/ValueSet/ucum-bodylength: {} + http://hl7.org/fhir/ValueSet/ucum-bodytemp: {} + http://hl7.org/fhir/ValueSet/ucum-bodyweight: {} + http://hl7.org/fhir/ValueSet/ucum-common: {} + http://hl7.org/fhir/ValueSet/ucum-units: {} + http://hl7.org/fhir/ValueSet/ucum-vitals-common: {} + http://hl7.org/fhir/ValueSet/udi: {} + http://hl7.org/fhir/ValueSet/udi-entry-type: {} + http://hl7.org/fhir/ValueSet/units-of-time: {} + http://hl7.org/fhir/ValueSet/unknown-content-code: {} + http://hl7.org/fhir/ValueSet/usage-context-type: {} + http://hl7.org/fhir/ValueSet/use-context: {} + http://terminology.hl7.org/ValueSet/v2-0001: {} + http://terminology.hl7.org/ValueSet/v2-0002: {} + http://terminology.hl7.org/ValueSet/v2-0003: {} + http://terminology.hl7.org/ValueSet/v2-0004: {} + http://terminology.hl7.org/ValueSet/v2-0005: {} + http://terminology.hl7.org/ValueSet/v2-0007: {} + http://terminology.hl7.org/ValueSet/v2-0008: {} + http://terminology.hl7.org/ValueSet/v2-0009: {} + http://terminology.hl7.org/ValueSet/v2-0012: {} + http://terminology.hl7.org/ValueSet/v2-0017: {} + http://terminology.hl7.org/ValueSet/v2-0023: {} + http://terminology.hl7.org/ValueSet/v2-0027: {} + http://terminology.hl7.org/ValueSet/v2-0033: {} + http://terminology.hl7.org/ValueSet/v2-0034: {} + http://terminology.hl7.org/ValueSet/v2-0038: {} + http://terminology.hl7.org/ValueSet/v2-0043: {} + http://terminology.hl7.org/ValueSet/v2-0048: {} + http://terminology.hl7.org/ValueSet/v2-0052: {} + http://terminology.hl7.org/ValueSet/v2-0061: {} + http://terminology.hl7.org/ValueSet/v2-0062: {} + http://terminology.hl7.org/ValueSet/v2-0063: {} + http://terminology.hl7.org/ValueSet/v2-0065: {} + http://terminology.hl7.org/ValueSet/v2-0066: {} + http://terminology.hl7.org/ValueSet/v2-0069: {} + http://terminology.hl7.org/ValueSet/v2-0070: {} + http://terminology.hl7.org/ValueSet/v2-0074: {} + http://terminology.hl7.org/ValueSet/v2-0076: {} + http://terminology.hl7.org/ValueSet/v2-0078: {} + http://terminology.hl7.org/ValueSet/v2-0080: {} + http://terminology.hl7.org/ValueSet/v2-0083: {} + http://terminology.hl7.org/ValueSet/v2-0085: {} + http://terminology.hl7.org/ValueSet/v2-0091: {} + http://terminology.hl7.org/ValueSet/v2-0092: {} + http://terminology.hl7.org/ValueSet/v2-0098: {} + http://terminology.hl7.org/ValueSet/v2-0100: {} + http://terminology.hl7.org/ValueSet/v2-0102: {} + http://terminology.hl7.org/ValueSet/v2-0103: {} + http://terminology.hl7.org/ValueSet/v2-0104: {} + http://terminology.hl7.org/ValueSet/v2-0105: {} + http://terminology.hl7.org/ValueSet/v2-0106: {} + http://terminology.hl7.org/ValueSet/v2-0107: {} + http://terminology.hl7.org/ValueSet/v2-0108: {} + http://terminology.hl7.org/ValueSet/v2-0109: {} + http://terminology.hl7.org/ValueSet/v2-0116: {} + http://terminology.hl7.org/ValueSet/v2-0119: {} + http://terminology.hl7.org/ValueSet/v2-0121: {} + http://terminology.hl7.org/ValueSet/v2-0122: {} + http://terminology.hl7.org/ValueSet/v2-0123: {} + http://terminology.hl7.org/ValueSet/v2-0124: {} + http://terminology.hl7.org/ValueSet/v2-0125: {} + http://terminology.hl7.org/ValueSet/v2-0126: {} + http://terminology.hl7.org/ValueSet/v2-0127: {} + http://terminology.hl7.org/ValueSet/v2-0128: {} + http://terminology.hl7.org/ValueSet/v2-0130: {} + http://terminology.hl7.org/ValueSet/v2-0131: {} + http://terminology.hl7.org/ValueSet/v2-0133: {} + http://terminology.hl7.org/ValueSet/v2-0135: {} + http://terminology.hl7.org/ValueSet/v2-0136: {} + http://terminology.hl7.org/ValueSet/v2-0137: {} + http://terminology.hl7.org/ValueSet/v2-0140: {} + http://terminology.hl7.org/ValueSet/v2-0141: {} + http://terminology.hl7.org/ValueSet/v2-0142: {} + http://terminology.hl7.org/ValueSet/v2-0144: {} + http://terminology.hl7.org/ValueSet/v2-0145: {} + http://terminology.hl7.org/ValueSet/v2-0146: {} + http://terminology.hl7.org/ValueSet/v2-0147: {} + http://terminology.hl7.org/ValueSet/v2-0148: {} + http://terminology.hl7.org/ValueSet/v2-0149: {} + http://terminology.hl7.org/ValueSet/v2-0150: {} + http://terminology.hl7.org/ValueSet/v2-0153: {} + http://terminology.hl7.org/ValueSet/v2-0155: {} + http://terminology.hl7.org/ValueSet/v2-0156: {} + http://terminology.hl7.org/ValueSet/v2-0157: {} + http://terminology.hl7.org/ValueSet/v2-0158: {} + http://terminology.hl7.org/ValueSet/v2-0159: {} + http://terminology.hl7.org/ValueSet/v2-0160: {} + http://terminology.hl7.org/ValueSet/v2-0161: {} + http://terminology.hl7.org/ValueSet/v2-0162: {} + http://terminology.hl7.org/ValueSet/v2-0163: {} + http://terminology.hl7.org/ValueSet/v2-0164: {} + http://terminology.hl7.org/ValueSet/v2-0165: {} + http://terminology.hl7.org/ValueSet/v2-0166: {} + http://terminology.hl7.org/ValueSet/v2-0167: {} + http://terminology.hl7.org/ValueSet/v2-0168: {} + http://terminology.hl7.org/ValueSet/v2-0169: {} + http://terminology.hl7.org/ValueSet/v2-0170: {} + http://terminology.hl7.org/ValueSet/v2-0173: {} + http://terminology.hl7.org/ValueSet/v2-0174: {} + http://terminology.hl7.org/ValueSet/v2-0175: {} + http://terminology.hl7.org/ValueSet/v2-0177: {} + http://terminology.hl7.org/ValueSet/v2-0178: {} + http://terminology.hl7.org/ValueSet/v2-0179: {} + http://terminology.hl7.org/ValueSet/v2-0180: {} + http://terminology.hl7.org/ValueSet/v2-0181: {} + http://terminology.hl7.org/ValueSet/v2-0183: {} + http://terminology.hl7.org/ValueSet/v2-0185: {} + http://terminology.hl7.org/ValueSet/v2-0187: {} + http://terminology.hl7.org/ValueSet/v2-0189: {} + http://terminology.hl7.org/ValueSet/v2-0190: {} + http://terminology.hl7.org/ValueSet/v2-0191: {} + http://terminology.hl7.org/ValueSet/v2-0193: {} + http://terminology.hl7.org/ValueSet/v2-0200: {} + http://terminology.hl7.org/ValueSet/v2-0201: {} + http://terminology.hl7.org/ValueSet/v2-0202: {} + http://terminology.hl7.org/ValueSet/v2-0203: {} + http://terminology.hl7.org/ValueSet/v2-0204: {} + http://terminology.hl7.org/ValueSet/v2-0205: {} + http://terminology.hl7.org/ValueSet/v2-0206: {} + http://terminology.hl7.org/ValueSet/v2-0207: {} + http://terminology.hl7.org/ValueSet/v2-0208: {} + http://terminology.hl7.org/ValueSet/v2-0209: {} + http://terminology.hl7.org/ValueSet/v2-0210: {} + http://terminology.hl7.org/ValueSet/v2-0211: {} + http://terminology.hl7.org/ValueSet/v2-0213: {} + http://terminology.hl7.org/ValueSet/v2-0214: {} + http://terminology.hl7.org/ValueSet/v2-0215: {} + http://terminology.hl7.org/ValueSet/v2-0216: {} + http://terminology.hl7.org/ValueSet/v2-0217: {} + http://terminology.hl7.org/ValueSet/v2-0220: {} + http://terminology.hl7.org/ValueSet/v2-0223: {} + http://terminology.hl7.org/ValueSet/v2-0224: {} + http://terminology.hl7.org/ValueSet/v2-0225: {} + http://terminology.hl7.org/ValueSet/v2-0227: {} + http://terminology.hl7.org/ValueSet/v2-0228: {} + http://terminology.hl7.org/ValueSet/v2-0229: {} + http://terminology.hl7.org/ValueSet/v2-0230: {} + http://terminology.hl7.org/ValueSet/v2-0231: {} + http://terminology.hl7.org/ValueSet/v2-0232: {} + http://terminology.hl7.org/ValueSet/v2-0234: {} + http://terminology.hl7.org/ValueSet/v2-0235: {} + http://terminology.hl7.org/ValueSet/v2-0236: {} + http://terminology.hl7.org/ValueSet/v2-0237: {} + http://terminology.hl7.org/ValueSet/v2-0238: {} + http://terminology.hl7.org/ValueSet/v2-0239: {} + http://terminology.hl7.org/ValueSet/v2-0240: {} + http://terminology.hl7.org/ValueSet/v2-0241: {} + http://terminology.hl7.org/ValueSet/v2-0242: {} + http://terminology.hl7.org/ValueSet/v2-0243: {} + http://terminology.hl7.org/ValueSet/v2-0247: {} + http://terminology.hl7.org/ValueSet/v2-0248: {} + http://terminology.hl7.org/ValueSet/v2-0250: {} + http://terminology.hl7.org/ValueSet/v2-0251: {} + http://terminology.hl7.org/ValueSet/v2-0252: {} + http://terminology.hl7.org/ValueSet/v2-0253: {} + http://terminology.hl7.org/ValueSet/v2-0254: {} + http://terminology.hl7.org/ValueSet/v2-0255: {} + http://terminology.hl7.org/ValueSet/v2-0256: {} + http://terminology.hl7.org/ValueSet/v2-0257: {} + http://terminology.hl7.org/ValueSet/v2-0258: {} + http://terminology.hl7.org/ValueSet/v2-0259: {} + http://terminology.hl7.org/ValueSet/v2-0260: {} + http://terminology.hl7.org/ValueSet/v2-0261: {} + http://terminology.hl7.org/ValueSet/v2-0262: {} + http://terminology.hl7.org/ValueSet/v2-0263: {} + http://terminology.hl7.org/ValueSet/v2-0265: {} + http://terminology.hl7.org/ValueSet/v2-0267: {} + http://terminology.hl7.org/ValueSet/v2-0268: {} + http://terminology.hl7.org/ValueSet/v2-0269: {} + http://terminology.hl7.org/ValueSet/v2-0270: {} + http://terminology.hl7.org/ValueSet/v2-0271: {} + http://terminology.hl7.org/ValueSet/v2-0272: {} + http://terminology.hl7.org/ValueSet/v2-0273: {} + http://terminology.hl7.org/ValueSet/v2-0275: {} + http://terminology.hl7.org/ValueSet/v2-0276: {} + http://terminology.hl7.org/ValueSet/v2-0277: {} + http://terminology.hl7.org/ValueSet/v2-0278: {} + http://terminology.hl7.org/ValueSet/v2-0279: {} + http://terminology.hl7.org/ValueSet/v2-0280: {} + http://terminology.hl7.org/ValueSet/v2-0281: {} + http://terminology.hl7.org/ValueSet/v2-0282: {} + http://terminology.hl7.org/ValueSet/v2-0283: {} + http://terminology.hl7.org/ValueSet/v2-0284: {} + http://terminology.hl7.org/ValueSet/v2-0286: {} + http://terminology.hl7.org/ValueSet/v2-0287: {} + http://terminology.hl7.org/ValueSet/v2-0290: {} + http://terminology.hl7.org/ValueSet/v2-0291: {} + http://terminology.hl7.org/ValueSet/v2-0292: {} + http://terminology.hl7.org/ValueSet/v2-0294: {} + http://terminology.hl7.org/ValueSet/v2-0298: {} + http://terminology.hl7.org/ValueSet/v2-0299: {} + http://terminology.hl7.org/ValueSet/v2-0301: {} + http://terminology.hl7.org/ValueSet/v2-0305: {} + http://terminology.hl7.org/ValueSet/v2-0309: {} + http://terminology.hl7.org/ValueSet/v2-0311: {} + http://terminology.hl7.org/ValueSet/v2-0315: {} + http://terminology.hl7.org/ValueSet/v2-0316: {} + http://terminology.hl7.org/ValueSet/v2-0317: {} + http://terminology.hl7.org/ValueSet/v2-0321: {} + http://terminology.hl7.org/ValueSet/v2-0322: {} + http://terminology.hl7.org/ValueSet/v2-0323: {} + http://terminology.hl7.org/ValueSet/v2-0324: {} + http://terminology.hl7.org/ValueSet/v2-0325: {} + http://terminology.hl7.org/ValueSet/v2-0326: {} + http://terminology.hl7.org/ValueSet/v2-0329: {} + http://terminology.hl7.org/ValueSet/v2-0330: {} + http://terminology.hl7.org/ValueSet/v2-0331: {} + http://terminology.hl7.org/ValueSet/v2-0332: {} + http://terminology.hl7.org/ValueSet/v2-0334: {} + http://terminology.hl7.org/ValueSet/v2-0335: {} + http://terminology.hl7.org/ValueSet/v2-0336: {} + http://terminology.hl7.org/ValueSet/v2-0337: {} + http://terminology.hl7.org/ValueSet/v2-0338: {} + http://terminology.hl7.org/ValueSet/v2-0339: {} + http://terminology.hl7.org/ValueSet/v2-0344: {} + http://terminology.hl7.org/ValueSet/v2-0350: {} + http://terminology.hl7.org/ValueSet/v2-0351: {} + http://terminology.hl7.org/ValueSet/v2-0353: {} + http://terminology.hl7.org/ValueSet/v2-0354: {} + http://terminology.hl7.org/ValueSet/v2-0355: {} + http://terminology.hl7.org/ValueSet/v2-0356: {} + http://terminology.hl7.org/ValueSet/v2-0357: {} + http://terminology.hl7.org/ValueSet/v2-0359: {} + http://terminology.hl7.org/ValueSet/v2-0363: {} + http://terminology.hl7.org/ValueSet/v2-0364: {} + http://terminology.hl7.org/ValueSet/v2-0365: {} + http://terminology.hl7.org/ValueSet/v2-0366: {} + http://terminology.hl7.org/ValueSet/v2-0367: {} + http://terminology.hl7.org/ValueSet/v2-0368: {} + http://terminology.hl7.org/ValueSet/v2-0369: {} + http://terminology.hl7.org/ValueSet/v2-0370: {} + http://terminology.hl7.org/ValueSet/v2-0371: {} + http://terminology.hl7.org/ValueSet/v2-0372: {} + http://terminology.hl7.org/ValueSet/v2-0373: {} + http://terminology.hl7.org/ValueSet/v2-0374: {} + http://terminology.hl7.org/ValueSet/v2-0375: {} + http://terminology.hl7.org/ValueSet/v2-0376: {} + http://terminology.hl7.org/ValueSet/v2-0377: {} + http://terminology.hl7.org/ValueSet/v2-0383: {} + http://terminology.hl7.org/ValueSet/v2-0384: {} + http://terminology.hl7.org/ValueSet/v2-0387: {} + http://terminology.hl7.org/ValueSet/v2-0388: {} + http://terminology.hl7.org/ValueSet/v2-0389: {} + http://terminology.hl7.org/ValueSet/v2-0392: {} + http://terminology.hl7.org/ValueSet/v2-0393: {} + http://terminology.hl7.org/ValueSet/v2-0394: {} + http://terminology.hl7.org/ValueSet/v2-0395: {} + http://terminology.hl7.org/ValueSet/v2-0396: {} + http://terminology.hl7.org/ValueSet/v2-0397: {} + http://terminology.hl7.org/ValueSet/v2-0398: {} + http://terminology.hl7.org/ValueSet/v2-0401: {} + http://terminology.hl7.org/ValueSet/v2-0402: {} + http://terminology.hl7.org/ValueSet/v2-0403: {} + http://terminology.hl7.org/ValueSet/v2-0404: {} + http://terminology.hl7.org/ValueSet/v2-0406: {} + http://terminology.hl7.org/ValueSet/v2-0409: {} + http://terminology.hl7.org/ValueSet/v2-0411: {} + http://terminology.hl7.org/ValueSet/v2-0415: {} + http://terminology.hl7.org/ValueSet/v2-0416: {} + http://terminology.hl7.org/ValueSet/v2-0417: {} + http://terminology.hl7.org/ValueSet/v2-0418: {} + http://terminology.hl7.org/ValueSet/v2-0421: {} + http://terminology.hl7.org/ValueSet/v2-0422: {} + http://terminology.hl7.org/ValueSet/v2-0423: {} + http://terminology.hl7.org/ValueSet/v2-0424: {} + http://terminology.hl7.org/ValueSet/v2-0425: {} + http://terminology.hl7.org/ValueSet/v2-0426: {} + http://terminology.hl7.org/ValueSet/v2-0427: {} + http://terminology.hl7.org/ValueSet/v2-0428: {} + http://terminology.hl7.org/ValueSet/v2-0429: {} + http://terminology.hl7.org/ValueSet/v2-0430: {} + http://terminology.hl7.org/ValueSet/v2-0431: {} + http://terminology.hl7.org/ValueSet/v2-0432: {} + http://terminology.hl7.org/ValueSet/v2-0433: {} + http://terminology.hl7.org/ValueSet/v2-0434: {} + http://terminology.hl7.org/ValueSet/v2-0435: {} + http://terminology.hl7.org/ValueSet/v2-0436: {} + http://terminology.hl7.org/ValueSet/v2-0437: {} + http://terminology.hl7.org/ValueSet/v2-0438: {} + http://terminology.hl7.org/ValueSet/v2-0440: {} + http://terminology.hl7.org/ValueSet/v2-0441: {} + http://terminology.hl7.org/ValueSet/v2-0442: {} + http://terminology.hl7.org/ValueSet/v2-0443: {} + http://terminology.hl7.org/ValueSet/v2-0444: {} + http://terminology.hl7.org/ValueSet/v2-0445: {} + http://terminology.hl7.org/ValueSet/v2-0450: {} + http://terminology.hl7.org/ValueSet/v2-0455: {} + http://terminology.hl7.org/ValueSet/v2-0456: {} + http://terminology.hl7.org/ValueSet/v2-0457: {} + http://terminology.hl7.org/ValueSet/v2-0459: {} + http://terminology.hl7.org/ValueSet/v2-0460: {} + http://terminology.hl7.org/ValueSet/v2-0465: {} + http://terminology.hl7.org/ValueSet/v2-0466: {} + http://terminology.hl7.org/ValueSet/v2-0468: {} + http://terminology.hl7.org/ValueSet/v2-0469: {} + http://terminology.hl7.org/ValueSet/v2-0470: {} + http://terminology.hl7.org/ValueSet/v2-0472: {} + http://terminology.hl7.org/ValueSet/v2-0473: {} + http://terminology.hl7.org/ValueSet/v2-0474: {} + http://terminology.hl7.org/ValueSet/v2-0475: {} + http://terminology.hl7.org/ValueSet/v2-0477: {} + http://terminology.hl7.org/ValueSet/v2-0478: {} + http://terminology.hl7.org/ValueSet/v2-0480: {} + http://terminology.hl7.org/ValueSet/v2-0482: {} + http://terminology.hl7.org/ValueSet/v2-0483: {} + http://terminology.hl7.org/ValueSet/v2-0484: {} + http://terminology.hl7.org/ValueSet/v2-0485: {} + http://terminology.hl7.org/ValueSet/v2-0487: {} + http://terminology.hl7.org/ValueSet/v2-0488: {} + http://terminology.hl7.org/ValueSet/v2-0489: {} + http://terminology.hl7.org/ValueSet/v2-0490: {} + http://terminology.hl7.org/ValueSet/v2-0491: {} + http://terminology.hl7.org/ValueSet/v2-0492: {} + http://terminology.hl7.org/ValueSet/v2-0493: {} + http://terminology.hl7.org/ValueSet/v2-0494: {} + http://terminology.hl7.org/ValueSet/v2-0495: {} + http://terminology.hl7.org/ValueSet/v2-0496: {} + http://terminology.hl7.org/ValueSet/v2-0497: {} + http://terminology.hl7.org/ValueSet/v2-0498: {} + http://terminology.hl7.org/ValueSet/v2-0499: {} + http://terminology.hl7.org/ValueSet/v2-0500: {} + http://terminology.hl7.org/ValueSet/v2-0501: {} + http://terminology.hl7.org/ValueSet/v2-0502: {} + http://terminology.hl7.org/ValueSet/v2-0503: {} + http://terminology.hl7.org/ValueSet/v2-0504: {} + http://terminology.hl7.org/ValueSet/v2-0505: {} + http://terminology.hl7.org/ValueSet/v2-0506: {} + http://terminology.hl7.org/ValueSet/v2-0507: {} + http://terminology.hl7.org/ValueSet/v2-0508: {} + http://terminology.hl7.org/ValueSet/v2-0510: {} + http://terminology.hl7.org/ValueSet/v2-0511: {} + http://terminology.hl7.org/ValueSet/v2-0513: {} + http://terminology.hl7.org/ValueSet/v2-0514: {} + http://terminology.hl7.org/ValueSet/v2-0516: {} + http://terminology.hl7.org/ValueSet/v2-0517: {} + http://terminology.hl7.org/ValueSet/v2-0518: {} + http://terminology.hl7.org/ValueSet/v2-0520: {} + http://terminology.hl7.org/ValueSet/v2-0523: {} + http://terminology.hl7.org/ValueSet/v2-0524: {} + http://terminology.hl7.org/ValueSet/v2-0527: {} + http://terminology.hl7.org/ValueSet/v2-0528: {} + http://terminology.hl7.org/ValueSet/v2-0529: {} + http://terminology.hl7.org/ValueSet/v2-0530: {} + http://terminology.hl7.org/ValueSet/v2-0532: {} + http://terminology.hl7.org/ValueSet/v2-0534: {} + http://terminology.hl7.org/ValueSet/v2-0535: {} + http://terminology.hl7.org/ValueSet/v2-0536: {} + http://terminology.hl7.org/ValueSet/v2-0538: {} + http://terminology.hl7.org/ValueSet/v2-0540: {} + http://terminology.hl7.org/ValueSet/v2-0544: {} + http://terminology.hl7.org/ValueSet/v2-0547: {} + http://terminology.hl7.org/ValueSet/v2-0548: {} + http://terminology.hl7.org/ValueSet/v2-0550: {} + http://terminology.hl7.org/ValueSet/v2-0553: {} + http://terminology.hl7.org/ValueSet/v2-0554: {} + http://terminology.hl7.org/ValueSet/v2-0555: {} + http://terminology.hl7.org/ValueSet/v2-0556: {} + http://terminology.hl7.org/ValueSet/v2-0557: {} + http://terminology.hl7.org/ValueSet/v2-0558: {} + http://terminology.hl7.org/ValueSet/v2-0559: {} + http://terminology.hl7.org/ValueSet/v2-0561: {} + http://terminology.hl7.org/ValueSet/v2-0562: {} + http://terminology.hl7.org/ValueSet/v2-0564: {} + http://terminology.hl7.org/ValueSet/v2-0565: {} + http://terminology.hl7.org/ValueSet/v2-0566: {} + http://terminology.hl7.org/ValueSet/v2-0569: {} + http://terminology.hl7.org/ValueSet/v2-0570: {} + http://terminology.hl7.org/ValueSet/v2-0571: {} + http://terminology.hl7.org/ValueSet/v2-0572: {} + http://terminology.hl7.org/ValueSet/v2-0615: {} + http://terminology.hl7.org/ValueSet/v2-0616: {} + http://terminology.hl7.org/ValueSet/v2-0617: {} + http://terminology.hl7.org/ValueSet/v2-0618: {} + http://terminology.hl7.org/ValueSet/v2-0625: {} + http://terminology.hl7.org/ValueSet/v2-0634: {} + http://terminology.hl7.org/ValueSet/v2-0642: {} + http://terminology.hl7.org/ValueSet/v2-0651: {} + http://terminology.hl7.org/ValueSet/v2-0653: {} + http://terminology.hl7.org/ValueSet/v2-0657: {} + http://terminology.hl7.org/ValueSet/v2-0659: {} + http://terminology.hl7.org/ValueSet/v2-0667: {} + http://terminology.hl7.org/ValueSet/v2-0669: {} + http://terminology.hl7.org/ValueSet/v2-0682: {} + http://terminology.hl7.org/ValueSet/v2-0702: {} + http://terminology.hl7.org/ValueSet/v2-0717: {} + http://terminology.hl7.org/ValueSet/v2-0719: {} + http://terminology.hl7.org/ValueSet/v2-0725: {} + http://terminology.hl7.org/ValueSet/v2-0728: {} + http://terminology.hl7.org/ValueSet/v2-0731: {} + http://terminology.hl7.org/ValueSet/v2-0734: {} + http://terminology.hl7.org/ValueSet/v2-0739: {} + http://terminology.hl7.org/ValueSet/v2-0742: {} + http://terminology.hl7.org/ValueSet/v2-0749: {} + http://terminology.hl7.org/ValueSet/v2-0755: {} + http://terminology.hl7.org/ValueSet/v2-0757: {} + http://terminology.hl7.org/ValueSet/v2-0759: {} + http://terminology.hl7.org/ValueSet/v2-0761: {} + http://terminology.hl7.org/ValueSet/v2-0763: {} + http://terminology.hl7.org/ValueSet/v2-0776: {} + http://terminology.hl7.org/ValueSet/v2-0778: {} + http://terminology.hl7.org/ValueSet/v2-0790: {} + http://terminology.hl7.org/ValueSet/v2-0793: {} + http://terminology.hl7.org/ValueSet/v2-0806: {} + http://terminology.hl7.org/ValueSet/v2-0818: {} + http://terminology.hl7.org/ValueSet/v2-0834: {} + http://terminology.hl7.org/ValueSet/v2-0868: {} + http://terminology.hl7.org/ValueSet/v2-0871: {} + http://terminology.hl7.org/ValueSet/v2-0881: {} + http://terminology.hl7.org/ValueSet/v2-0882: {} + http://terminology.hl7.org/ValueSet/v2-0894: {} + http://terminology.hl7.org/ValueSet/v2-0895: {} + http://terminology.hl7.org/ValueSet/v2-0904: {} + http://terminology.hl7.org/ValueSet/v2-0905: {} + http://terminology.hl7.org/ValueSet/v2-0906: {} + http://terminology.hl7.org/ValueSet/v2-0907: {} + http://terminology.hl7.org/ValueSet/v2-0909: {} + http://terminology.hl7.org/ValueSet/v2-0912: {} + http://terminology.hl7.org/ValueSet/v2-0914: {} + http://terminology.hl7.org/ValueSet/v2-0916: {} + http://terminology.hl7.org/ValueSet/v2-0917: {} + http://terminology.hl7.org/ValueSet/v2-0918: {} + http://terminology.hl7.org/ValueSet/v2-0919: {} + http://terminology.hl7.org/ValueSet/v2-0920: {} + http://terminology.hl7.org/ValueSet/v2-0921: {} + http://terminology.hl7.org/ValueSet/v2-0922: {} + http://terminology.hl7.org/ValueSet/v2-0923: {} + http://terminology.hl7.org/ValueSet/v2-0924: {} + http://terminology.hl7.org/ValueSet/v2-0925: {} + http://terminology.hl7.org/ValueSet/v2-0926: {} + http://terminology.hl7.org/ValueSet/v2-0927: {} + http://terminology.hl7.org/ValueSet/v2-0933: {} + http://terminology.hl7.org/ValueSet/v2-0935: {} + http://terminology.hl7.org/ValueSet/v2-2.1-0006: {} + http://terminology.hl7.org/ValueSet/v2-2.3.1-0360: {} + http://terminology.hl7.org/ValueSet/v2-2.4-0006: {} + http://terminology.hl7.org/ValueSet/v2-2.4-0391: {} + http://terminology.hl7.org/ValueSet/v2-2.6-0391: {} + http://terminology.hl7.org/ValueSet/v2-2.7-0360: {} + http://terminology.hl7.org/ValueSet/v2-4000: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementCondition: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailType: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementType: {} + http://terminology.hl7.org/ValueSet/v3-ActClass: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInvestigation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProcedure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassROI: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSupply: {} + http://terminology.hl7.org/ValueSet/v3-ActCode: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentDirective: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentType: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActExposureLevelCode: {} + http://terminology.hl7.org/ValueSet/v3-ActIncidentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementModifier: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMood: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodIntent: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate: {} + http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-ActPriority: {} + http://terminology.hl7.org/ValueSet/v3-ActReason: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpoint: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipConditional: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipFulfills: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasComponent: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoin: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSubset: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipType: {} + http://terminology.hl7.org/ValueSet/v3-ActSite: {} + http://terminology.hl7.org/ValueSet/v3-ActStatus: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskCode: {} + http://terminology.hl7.org/ValueSet/v3-ActUncertainty: {} + http://terminology.hl7.org/ValueSet/v3-ActUSPrivacyLaw: {} + http://terminology.hl7.org/ValueSet/v3-AddressPartType: {} + http://terminology.hl7.org/ValueSet/v3-AddressUse: {} + http://terminology.hl7.org/ValueSet/v3-AdministrativeGender: {} + http://terminology.hl7.org/ValueSet/v3-AmericanIndianAlaskaNativeLanguages: {} + http://terminology.hl7.org/ValueSet/v3-Calendar: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-CalendarType: {} + http://terminology.hl7.org/ValueSet/v3-Charset: {} + http://terminology.hl7.org/ValueSet/v3-CodingRationale: {} + http://terminology.hl7.org/ValueSet/v3-CommunicationFunctionType: {} + http://terminology.hl7.org/ValueSet/v3-Compartment: {} + http://terminology.hl7.org/ValueSet/v3-CompressionAlgorithm: {} + http://terminology.hl7.org/ValueSet/v3-Confidentiality: {} + http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification: {} + http://terminology.hl7.org/ValueSet/v3-ContainerCap: {} + http://terminology.hl7.org/ValueSet/v3-ContainerSeparator: {} + http://terminology.hl7.org/ValueSet/v3-ContentProcessingMode: {} + http://terminology.hl7.org/ValueSet/v3-ContextControl: {} + http://terminology.hl7.org/ValueSet/v3-DataOperation: {} + http://terminology.hl7.org/ValueSet/v3-Dentition: {} + http://terminology.hl7.org/ValueSet/v3-DeviceAlertLevel: {} + http://terminology.hl7.org/ValueSet/v3-DocumentCompletion: {} + http://terminology.hl7.org/ValueSet/v3-DocumentSectionType: {} + http://terminology.hl7.org/ValueSet/v3-DocumentStorage: {} + http://terminology.hl7.org/ValueSet/v3-EducationLevel: {} + http://terminology.hl7.org/ValueSet/v3-EmployeeJobClass: {} + http://terminology.hl7.org/ValueSet/v3-employmentStatusODH: {} + http://terminology.hl7.org/ValueSet/v3-EncounterAdmissionSource: {} + http://terminology.hl7.org/ValueSet/v3-EncounterSpecialCourtesy: {} + http://terminology.hl7.org/ValueSet/v3-EntityClass: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassDevice: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassManufacturedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPlace: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-EntityCode: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminer: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDetermined: {} + http://terminology.hl7.org/ValueSet/v3-EntityHandling: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifier: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifierR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartTypeR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityNameUse: {} + http://terminology.hl7.org/ValueSet/v3-EntityNameUseR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityRisk: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatus: {} + http://terminology.hl7.org/ValueSet/v3-EquipmentAlertLevel: {} + http://terminology.hl7.org/ValueSet/v3-Ethnicity: {} + http://terminology.hl7.org/ValueSet/v3-ExposureMode: {} + http://terminology.hl7.org/ValueSet/v3-FamilyMember: {} + http://terminology.hl7.org/ValueSet/v3-GenderStatus: {} + http://terminology.hl7.org/ValueSet/v3-GeneralPurposeOfUse: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviation: {} + http://terminology.hl7.org/ValueSet/v3-hl7ApprovalStatus: {} + http://terminology.hl7.org/ValueSet/v3-hl7CMETAttribution: {} + http://terminology.hl7.org/ValueSet/v3-HL7ContextConductionStyle: {} + http://terminology.hl7.org/ValueSet/v3-hl7ITSType: {} + http://terminology.hl7.org/ValueSet/v3-hl7ITSVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-hl7PublishingDomain: {} + http://terminology.hl7.org/ValueSet/v3-hl7PublishingSection: {} + http://terminology.hl7.org/ValueSet/v3-hl7PublishingSubSection: {} + http://terminology.hl7.org/ValueSet/v3-hl7Realm: {} + http://terminology.hl7.org/ValueSet/v3-HL7StandardVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7UpdateMode: {} + http://terminology.hl7.org/ValueSet/v3-hl7V3Conformance: {} + http://terminology.hl7.org/ValueSet/v3-hl7VoteResolution: {} + http://terminology.hl7.org/ValueSet/v3-HtmlLinkType: {} + http://terminology.hl7.org/ValueSet/v3-HumanLanguage: {} + http://terminology.hl7.org/ValueSet/v3-IdentifierReliability: {} + http://terminology.hl7.org/ValueSet/v3-IdentifierScope: {} + http://terminology.hl7.org/ValueSet/v3-InformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm: {} + http://terminology.hl7.org/ValueSet/v3-LanguageAbilityMode: {} + http://terminology.hl7.org/ValueSet/v3-LanguageAbilityProficiency: {} + http://terminology.hl7.org/ValueSet/v3-LivingArrangement: {} + http://terminology.hl7.org/ValueSet/v3-LocalMarkupIgnore: {} + http://terminology.hl7.org/ValueSet/v3-LocalRemoteControlState: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatus: {} + http://terminology.hl7.org/ValueSet/v3-MapRelationship: {} + http://terminology.hl7.org/ValueSet/v3-MaritalStatus: {} + http://terminology.hl7.org/ValueSet/v3-MessageWaitingPriority: {} + http://terminology.hl7.org/ValueSet/v3-MilitaryRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ModifyIndicator: {} + http://terminology.hl7.org/ValueSet/v3-NullFlavor: {} + http://terminology.hl7.org/ValueSet/v3-ObligationPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCategory: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-ObservationType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-orderableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationIndirectTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationTranscriber: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationMode: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSignature: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationType: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationVerifier: {} + http://terminology.hl7.org/ValueSet/v3-PatientImportance: {} + http://terminology.hl7.org/ValueSet/v3-PaymentTerms: {} + http://terminology.hl7.org/ValueSet/v3-PersonalRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PersonDisabilityType: {} + http://terminology.hl7.org/ValueSet/v3-policyHolderRole: {} + http://terminology.hl7.org/ValueSet/v3-ProbabilityDistributionType: {} + http://terminology.hl7.org/ValueSet/v3-ProcessingID: {} + http://terminology.hl7.org/ValueSet/v3-ProcessingMode: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-AS: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-DC: {} + http://terminology.hl7.org/ValueSet/v3-PurposeOfUse: {} + http://terminology.hl7.org/ValueSet/v3-QueryParameterValue: {} + http://terminology.hl7.org/ValueSet/v3-QueryPriority: {} + http://terminology.hl7.org/ValueSet/v3-QueryRequestLimit: {} + http://terminology.hl7.org/ValueSet/v3-QueryResponse: {} + http://terminology.hl7.org/ValueSet/v3-QueryStatusCode: {} + http://terminology.hl7.org/ValueSet/v3-Race: {} + http://terminology.hl7.org/ValueSet/v3-RefrainPolicy: {} + http://terminology.hl7.org/ValueSet/v3-RelationalOperator: {} + http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction: {} + http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation: {} + http://terminology.hl7.org/ValueSet/v3-ResponseLevel: {} + http://terminology.hl7.org/ValueSet/v3-ResponseModality: {} + http://terminology.hl7.org/ValueSet/v3-ResponseMode: {} + http://terminology.hl7.org/ValueSet/v3-RoleClass: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAgent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassManufacturedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMutualRelationship: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPartitive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPassive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRelationshipFormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSpecimen: {} + http://terminology.hl7.org/ValueSet/v3-RoleCode: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatus: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkType: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatus: {} + http://terminology.hl7.org/ValueSet/v3-RouteOfAdministration: {} + http://terminology.hl7.org/ValueSet/v3-SecurityControlObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-Sequencing: {} + http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SetOperator: {} + http://terminology.hl7.org/ValueSet/v3-SeverityObservation: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenType: {} + http://terminology.hl7.org/ValueSet/v3-styleType: {} + http://terminology.hl7.org/ValueSet/v3-substanceAdminSubstitution: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason: {} + http://terminology.hl7.org/ValueSet/v3-SubstitutionCondition: {} + http://terminology.hl7.org/ValueSet/v3-TableCellHorizontalAlign: {} + http://terminology.hl7.org/ValueSet/v3-TableCellScope: {} + http://terminology.hl7.org/ValueSet/v3-TableCellVerticalAlign: {} + http://terminology.hl7.org/ValueSet/v3-TableFrame: {} + http://terminology.hl7.org/ValueSet/v3-TableRules: {} + http://terminology.hl7.org/ValueSet/v3-TargetAwareness: {} + http://terminology.hl7.org/ValueSet/v3-TelecommunicationCapabilities: {} + http://terminology.hl7.org/ValueSet/v3-TimingEvent: {} + http://terminology.hl7.org/ValueSet/v3-TransmissionRelationshipTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-TribalEntityUS: {} + http://terminology.hl7.org/ValueSet/v3-triggerEventID: {} + http://terminology.hl7.org/ValueSet/v3-VaccineManufacturer: {} + http://terminology.hl7.org/ValueSet/v3-VerificationMethod: {} + http://terminology.hl7.org/ValueSet/v3-WorkClassificationODH: {} + http://terminology.hl7.org/ValueSet/v3-WorkScheduleODH: {} + http://terminology.hl7.org/ValueSet/v3-xBasicConfidentialityKind: {} + http://hl7.org/fhir/ValueSet/vaccine-code: {} + http://hl7.org/fhir/ValueSet/variable-type: {} + http://hl7.org/fhir/ValueSet/variants: {} + http://hl7.org/fhir/ValueSet/variant-state: {} + http://hl7.org/fhir/ValueSet/verificationresult-can-push-updates: {} + http://hl7.org/fhir/ValueSet/verificationresult-communication-method: {} + http://hl7.org/fhir/ValueSet/verificationresult-failure-action: {} + http://hl7.org/fhir/ValueSet/verificationresult-need: {} + http://hl7.org/fhir/ValueSet/verificationresult-primary-source-type: {} + http://hl7.org/fhir/ValueSet/verificationresult-push-type-available: {} + http://hl7.org/fhir/ValueSet/verificationresult-status: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-process: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-status: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-type: {} + http://hl7.org/fhir/ValueSet/versioning-policy: {} + http://hl7.org/fhir/ValueSet/vision-base-codes: {} + http://hl7.org/fhir/ValueSet/vision-eye-codes: {} + http://hl7.org/fhir/ValueSet/vision-product: {} + http://hl7.org/fhir/ValueSet/written-language: {} + http://hl7.org/fhir/ValueSet/yesnodontknow: {} + nested: {} + binding: {} + profile: + http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement: {} + http://hl7.org/fhir/StructureDefinition/goal-acceptance: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Accession: {} + http://hl7.org/fhir/StructureDefinition/careplan-activity-title: {} + http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate: {} + http://hl7.org/fhir/StructureDefinition/actualgroup: {} + http://hl7.org/fhir/StructureDefinition/iso21090-AD-use: {} + http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf: {} + http://hl7.org/fhir/StructureDefinition/openEHR-administration: {} + http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele: {} + http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database: {} + http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits: {} + http://hl7.org/fhir/StructureDefinition/codesystem-alternate: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry: {} + http://hl7.org/fhir/StructureDefinition/patient-animal: {} + http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version: {} + http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure: {} + http://hl7.org/fhir/StructureDefinition/resource-approvalDate: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-area: {} + http://hl7.org/fhir/StructureDefinition/humanname-assembly-order: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate: {} + http://hl7.org/fhir/StructureDefinition/condition-assertedDate: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition: {} + http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter: {} + http://hl7.org/fhir/StructureDefinition/codesystem-author: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author: {} + http://hl7.org/fhir/StructureDefinition/valueset-author: {} + http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-authority: {} + http://hl7.org/fhir/StructureDefinition/event-basedOn: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-baseType: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation: {} + http://hl7.org/fhir/StructureDefinition/concept-bidirectional: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName: {} + http://hl7.org/fhir/StructureDefinition/patient-birthPlace: {} + http://hl7.org/fhir/StructureDefinition/patient-birthTime: {} + http://hl7.org/fhir/StructureDefinition/observation-bodyPosition: {} + http://hl7.org/fhir/StructureDefinition/bodySite: {} + http://hl7.org/fhir/StructureDefinition/location-boundary-geojson: {} + http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor: {} + http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue: {} + http://hl7.org/fhir/StructureDefinition/task-candidateList: {} + http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities: {} + http://hl7.org/fhir/StructureDefinition/openEHR-careplan: {} + http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-category: {} + http://hl7.org/fhir/StructureDefinition/procedure-causedBy: {} + http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse: {} + http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup: {} + http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition: {} + http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty: {} + http://hl7.org/fhir/StructureDefinition/list-changeBase: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation: {} + http://hl7.org/fhir/StructureDefinition/cqf-citation: {} + http://hl7.org/fhir/StructureDefinition/patient-citizenship: {} + http://hl7.org/fhir/StructureDefinition/clinicaldocument: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super: {} + http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode: {} + http://hl7.org/fhir/StructureDefinition/computableplandefinition: {} + http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments: {} + http://hl7.org/fhir/StructureDefinition/valueset-concept-comments: {} + http://hl7.org/fhir/StructureDefinition/valueset-concept-definition: {} + http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder: {} + http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder: {} + http://hl7.org/fhir/StructureDefinition/patient-congregation: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-constraint: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-country: {} + http://hl7.org/fhir/StructureDefinition/cqf-questionnaire: {} + http://hl7.org/fhir/StructureDefinition/cqllibrary: {} + http://hl7.org/fhir/StructureDefinition/data-absent-reason: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-de: {} + http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth: {} + http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle: {} + http://hl7.org/fhir/StructureDefinition/observation-delta: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies: {} + http://hl7.org/fhir/StructureDefinition/valueset-deprecated: {} + http://hl7.org/fhir/StructureDefinition/designNote: {} + http://hl7.org/fhir/StructureDefinition/flag-detail: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue: {} + http://hl7.org/fhir/StructureDefinition/devicemetricobservation: {} + http://hl7.org/fhir/StructureDefinition/observation-deviceCode: {} + http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics: {} + http://hl7.org/fhir/StructureDefinition/procedure-directedBy: {} + http://hl7.org/fhir/StructureDefinition/patient-disability: {} + http://hl7.org/fhir/StructureDefinition/display: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName: {} + http://hl7.org/fhir/StructureDefinition/example-section-library: {} + http://hl7.org/fhir/StructureDefinition/example-composition: {} + http://hl7.org/fhir/StructureDefinition/request-doNotPerform: {} + http://hl7.org/fhir/StructureDefinition/condition-dueTo: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration: {} + http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate: {} + http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate: {} + http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod: {} + http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent: {} + http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-use: {} + http://hl7.org/fhir/StructureDefinition/cqf-encounterClass: {} + http://hl7.org/fhir/StructureDefinition/cqf-encounterType: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted: {} + http://hl7.org/fhir/StructureDefinition/entryFormat: {} + http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence: {} + http://hl7.org/fhir/StructureDefinition/event-eventHistory: {} + http://hl7.org/fhir/StructureDefinition/synthesis: {} + http://hl7.org/fhir/StructureDefinition/timing-exact: {} + http://hl7.org/fhir/StructureDefinition/triglyceride: {} + http://hl7.org/fhir/StructureDefinition/lipidprofile: {} + http://hl7.org/fhir/StructureDefinition/hdlcholesterol: {} + http://hl7.org/fhir/StructureDefinition/cholesterol: {} + http://hl7.org/fhir/StructureDefinition/ldlcholesterol: {} + http://hl7.org/fhir/StructureDefinition/valueset-expand-group: {} + http://hl7.org/fhir/StructureDefinition/valueset-expand-rules: {} + http://hl7.org/fhir/StructureDefinition/valueset-expansionSource: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation: {} + http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate: {} + http://hl7.org/fhir/StructureDefinition/valueset-expirationDate: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration: {} + http://hl7.org/fhir/StructureDefinition/cqf-expression: {} + http://hl7.org/fhir/StructureDefinition/valueset-expression: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends: {} + http://hl7.org/fhir/StructureDefinition/valueset-extensible: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-extension: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory: {} + http://hl7.org/fhir/StructureDefinition/humanname-fathers-family: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings: {} + http://hl7.org/fhir/StructureDefinition/observation-focusCode: {} + http://hl7.org/fhir/StructureDefinition/parameters-fullUrl: {} + http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice: {} + http://hl7.org/fhir/StructureDefinition/patient-genderIdentity: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsGene: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass: {} + http://hl7.org/fhir/StructureDefinition/geolocation: {} + http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring: {} + http://hl7.org/fhir/StructureDefinition/usagecontext-group: {} + http://hl7.org/fhir/StructureDefinition/groupdefinition: {} + http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-hidden: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy: {} + http://hl7.org/fhir/StructureDefinition/codesystem-history: {} + http://hl7.org/fhir/StructureDefinition/http-response-header: {} + http://hl7.org/fhir/StructureDefinition/language: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier: {} + http://hl7.org/fhir/StructureDefinition/device-implantStatus: {} + http://hl7.org/fhir/StructureDefinition/patient-importance: {} + http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet: {} + http://hl7.org/fhir/StructureDefinition/cqf-initialValue: {} + http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation: {} + http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization: {} + http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Instance: {} + http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical: {} + http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri: {} + http://hl7.org/fhir/StructureDefinition/request-insurance: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation: {} + http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding: {} + http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl: {} + http://hl7.org/fhir/StructureDefinition/codesystem-keyWord: {} + http://hl7.org/fhir/StructureDefinition/valueset-keyWord: {} + http://hl7.org/fhir/StructureDefinition/codesystem-label: {} + http://hl7.org/fhir/StructureDefinition/valueset-label: {} + http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate: {} + http://hl7.org/fhir/StructureDefinition/cqf-library: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-local: {} + http://hl7.org/fhir/StructureDefinition/consent-location: {} + http://hl7.org/fhir/StructureDefinition/event-location: {} + http://hl7.org/fhir/StructureDefinition/openEHR-location: {} + http://hl7.org/fhir/StructureDefinition/location-distance: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed: {} + http://hl7.org/fhir/StructureDefinition/openEHR-management: {} + http://hl7.org/fhir/StructureDefinition/codesystem-map: {} + http://hl7.org/fhir/StructureDefinition/valueset-map: {} + http://hl7.org/fhir/StructureDefinition/rendering-markdown: {} + http://hl7.org/fhir/StructureDefinition/match-grade: {} + http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs: {} + http://hl7.org/fhir/StructureDefinition/maxSize: {} + http://hl7.org/fhir/StructureDefinition/maxValue: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet: {} + http://hl7.org/fhir/StructureDefinition/cqf-measureInfo: {} + http://hl7.org/fhir/StructureDefinition/communication-media: {} + http://hl7.org/fhir/StructureDefinition/messageheader-response-request: {} + http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method: {} + http://hl7.org/fhir/StructureDefinition/procedure-method: {} + http://hl7.org/fhir/StructureDefinition/mimeType: {} + http://hl7.org/fhir/StructureDefinition/minLength: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs: {} + http://hl7.org/fhir/StructureDefinition/minValue: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet: {} + http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival: {} + http://hl7.org/fhir/StructureDefinition/MoneyQuantity: {} + http://hl7.org/fhir/StructureDefinition/humanname-mothers-family: {} + http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName: {} + http://hl7.org/fhir/StructureDefinition/auditevent-MPPS: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace: {} + http://hl7.org/fhir/StructureDefinition/narrativeLink: {} + http://hl7.org/fhir/StructureDefinition/patient-nationality: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version: {} + http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint: {} + http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor: {} + http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances: {} + http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris: {} + http://hl7.org/fhir/StructureDefinition/11179-objectClass: {} + http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation: {} + http://hl7.org/fhir/StructureDefinition/bmi: {} + http://hl7.org/fhir/StructureDefinition/bodyheight: {} + http://hl7.org/fhir/StructureDefinition/bodytemp: {} + http://hl7.org/fhir/StructureDefinition/bodyweight: {} + http://hl7.org/fhir/StructureDefinition/bp: {} + http://hl7.org/fhir/StructureDefinition/observation-genetics: {} + http://hl7.org/fhir/StructureDefinition/headcircum: {} + http://hl7.org/fhir/StructureDefinition/heartrate: {} + http://hl7.org/fhir/StructureDefinition/oxygensat: {} + http://hl7.org/fhir/StructureDefinition/resprate: {} + http://hl7.org/fhir/StructureDefinition/vitalsigns: {} + http://hl7.org/fhir/StructureDefinition/vitalspanel: {} + http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix: {} + http://hl7.org/fhir/StructureDefinition/ordinalValue: {} + http://hl7.org/fhir/StructureDefinition/originalText: {} + http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality: {} + http://hl7.org/fhir/StructureDefinition/codesystem-otherName: {} + http://hl7.org/fhir/StructureDefinition/valueset-otherName: {} + http://hl7.org/fhir/StructureDefinition/condition-outcome: {} + http://hl7.org/fhir/StructureDefinition/humanname-own-name: {} + http://hl7.org/fhir/StructureDefinition/humanname-own-prefix: {} + http://hl7.org/fhir/StructureDefinition/valueset-parameterSource: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent: {} + http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy: {} + http://hl7.org/fhir/StructureDefinition/humanname-partner-name: {} + http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix: {} + http://hl7.org/fhir/StructureDefinition/event-partOf: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record: {} + http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction: {} + http://hl7.org/fhir/StructureDefinition/event-performerFunction: {} + http://hl7.org/fhir/StructureDefinition/request-performerOrder: {} + http://hl7.org/fhir/StructureDefinition/organization-period: {} + http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap: {} + http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset: {} + http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet: {} + http://hl7.org/fhir/StructureDefinition/picoelement: {} + http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation: {} + http://hl7.org/fhir/StructureDefinition/quantity-precision: {} + http://hl7.org/fhir/StructureDefinition/observation-precondition: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-precondition: {} + http://hl7.org/fhir/StructureDefinition/patient-preferenceType: {} + http://hl7.org/fhir/StructureDefinition/iso21090-preferred: {} + http://hl7.org/fhir/StructureDefinition/organization-preferredContact: {} + http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd: {} + http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd: {} + http://hl7.org/fhir/StructureDefinition/flag-priority: {} + http://hl7.org/fhir/StructureDefinition/specimen-processingTime: {} + http://hl7.org/fhir/StructureDefinition/patient-proficiency: {} + http://hl7.org/fhir/StructureDefinition/operationdefinition-profile: {} + http://hl7.org/fhir/StructureDefinition/catalog: {} + http://hl7.org/fhir/StructureDefinition/hlaresult: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element: {} + http://hl7.org/fhir/StructureDefinition/procedure-progressStatus: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited: {} + http://hl7.org/fhir/StructureDefinition/provenance-relevant-history: {} + http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-question: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest: {} + http://hl7.org/fhir/StructureDefinition/observation-reagent: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason: {} + http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled: {} + http://hl7.org/fhir/StructureDefinition/workflow-reasonCode: {} + http://hl7.org/fhir/StructureDefinition/workflow-reasonReference: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted: {} + http://hl7.org/fhir/StructureDefinition/goal-reasonRejected: {} + http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization: {} + http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson: {} + http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage: {} + http://hl7.org/fhir/StructureDefinition/cqf-recipientType: {} + http://hl7.org/fhir/StructureDefinition/valueset-reference: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences: {} + http://hl7.org/fhir/StructureDefinition/regex: {} + http://hl7.org/fhir/StructureDefinition/condition-related: {} + http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact: {} + http://hl7.org/fhir/StructureDefinition/patient-relatedPerson: {} + http://hl7.org/fhir/StructureDefinition/goal-relationship: {} + http://hl7.org/fhir/StructureDefinition/relative-date: {} + http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime: {} + http://hl7.org/fhir/StructureDefinition/request-relevantHistory: {} + http://hl7.org/fhir/StructureDefinition/patient-religion: {} + http://hl7.org/fhir/StructureDefinition/rendered-value: {} + http://hl7.org/fhir/StructureDefinition/codesystem-replacedby: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces: {} + http://hl7.org/fhir/StructureDefinition/observation-replaces: {} + http://hl7.org/fhir/StructureDefinition/replaces: {} + http://hl7.org/fhir/StructureDefinition/request-replaces: {} + http://hl7.org/fhir/StructureDefinition/task-replaces: {} + http://hl7.org/fhir/StructureDefinition/workflow-researchStudy: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk: {} + http://hl7.org/fhir/StructureDefinition/condition-ruledOut: {} + http://hl7.org/fhir/StructureDefinition/valueset-rules-text: {} + http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding: {} + http://hl7.org/fhir/StructureDefinition/procedure-schedule: {} + http://hl7.org/fhir/StructureDefinition/coding-sctdescid: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination: {} + http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding: {} + http://hl7.org/fhir/StructureDefinition/composition-section-subject: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-selector: {} + http://hl7.org/fhir/StructureDefinition/observation-sequelTo: {} + http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-genetics: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity: {} + http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition: {} + http://hl7.org/fhir/StructureDefinition/shareablecodesystem: {} + http://hl7.org/fhir/StructureDefinition/shareablelibrary: {} + http://hl7.org/fhir/StructureDefinition/shareablemeasure: {} + http://hl7.org/fhir/StructureDefinition/shareableplandefinition: {} + http://hl7.org/fhir/StructureDefinition/shareablevalueset: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired: {} + http://hl7.org/fhir/StructureDefinition/SimpleQuantity: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue: {} + http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass: {} + http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference: {} + http://hl7.org/fhir/StructureDefinition/valueset-sourceReference: {} + http://hl7.org/fhir/StructureDefinition/valueset-special-status: {} + http://hl7.org/fhir/StructureDefinition/specimen-specialHandling: {} + http://hl7.org/fhir/StructureDefinition/observation-specimenCode: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status: {} + http://hl7.org/fhir/StructureDefinition/event-statusReason: {} + http://hl7.org/fhir/StructureDefinition/request-statusReason: {} + http://hl7.org/fhir/StructureDefinition/valueset-steward: {} + http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation: {} + http://hl7.org/fhir/StructureDefinition/rendering-style: {} + http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-summary: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf: {} + http://hl7.org/fhir/StructureDefinition/valueset-supplement: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system: {} + http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink: {} + http://hl7.org/fhir/StructureDefinition/valueset-system: {} + http://hl7.org/fhir/StructureDefinition/valueset-systemName: {} + http://hl7.org/fhir/StructureDefinition/valueset-systemRef: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserType: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name: {} + http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure: {} + http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status: {} + http://hl7.org/fhir/StructureDefinition/openEHR-test: {} + http://hl7.org/fhir/StructureDefinition/observation-timeOffset: {} + http://hl7.org/fhir/StructureDefinition/tz-code: {} + http://hl7.org/fhir/StructureDefinition/tz-offset: {} + http://hl7.org/fhir/StructureDefinition/valueset-toocostly: {} + http://hl7.org/fhir/StructureDefinition/consent-Transcriber: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable: {} + http://hl7.org/fhir/StructureDefinition/translation: {} + http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion: {} + http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-type: {} + http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty: {} + http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType: {} + http://hl7.org/fhir/StructureDefinition/valueset-unclosed: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unit: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet: {} + http://hl7.org/fhir/StructureDefinition/codesystem-usage: {} + http://hl7.org/fhir/StructureDefinition/valueset-usage: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode: {} + http://hl7.org/fhir/StructureDefinition/identifier-validDate: {} + http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod: {} + http://hl7.org/fhir/StructureDefinition/variable: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant: {} + http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber: {} + http://hl7.org/fhir/StructureDefinition/codesystem-warning: {} + http://hl7.org/fhir/StructureDefinition/valueset-warning: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-wg: {} + http://hl7.org/fhir/StructureDefinition/consent-Witness: {} + http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/rendering-xhtml: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order: {} + logical: + http://hl7.org/fhir/StructureDefinition/Definition: {} + http://hl7.org/fhir/StructureDefinition/Event: {} + http://hl7.org/fhir/StructureDefinition/FiveWs: {} + http://hl7.org/fhir/StructureDefinition/MetadataResource: {} + http://hl7.org/fhir/StructureDefinition/Request: {} +shared: + primitive-type: {} + complex-type: {} + resource: {} + value-set: {} + nested: {} + binding: + urn:fhir:binding:??: {} + urn:fhir:binding:AccidentType: {} + urn:fhir:binding:AccountAggregate: {} + urn:fhir:binding:AccountBalanceTerm: {} + urn:fhir:binding:AccountBillingStatus: {} + urn:fhir:binding:AccountCurrency: {} + urn:fhir:binding:AccountRelationship: {} + urn:fhir:binding:AccountStatus: {} + urn:fhir:binding:AccountType: {} + urn:fhir:binding:ActionCardinalityBehavior: {} + urn:fhir:binding:ActionCode: {} + urn:fhir:binding:ActionConditionKind: {} + urn:fhir:binding:ActionGroupingBehavior: {} + urn:fhir:binding:ActionParticipantFunction: {} + urn:fhir:binding:ActionParticipantRole: {} + urn:fhir:binding:ActionParticipantType: {} + urn:fhir:binding:ActionPrecheckBehavior: {} + urn:fhir:binding:ActionReasonCode: {} + urn:fhir:binding:ActionRelationshipType: {} + urn:fhir:binding:ActionRequiredBehavior: {} + urn:fhir:binding:ActionSelectionBehavior: {} + urn:fhir:binding:ActionType: {} + urn:fhir:binding:ActivityDefinitionKind: {} + urn:fhir:binding:ActivityDefinitionType: {} + urn:fhir:binding:ActivityParticipantRole: {} + urn:fhir:binding:ActivityParticipantType: {} + urn:fhir:binding:AdditionalBindingPurpose: {} + urn:fhir:binding:AdditionalInstruction: {} + urn:fhir:binding:AdditionalMonitoring: {} + urn:fhir:binding:AddressType: {} + urn:fhir:binding:AddressUse: {} + urn:fhir:binding:Adjudication: {} + urn:fhir:binding:AdjudicationDecision: {} + urn:fhir:binding:AdjudicationDecisionReason: {} + urn:fhir:binding:AdjudicationError: {} + urn:fhir:binding:AdjudicationReason: {} + urn:fhir:binding:AdjunctDiagnosis: {} + urn:fhir:binding:AdministrableDoseForm: {} + urn:fhir:binding:AdministrativeGender: {} + urn:fhir:binding:AdmitSource: {} + urn:fhir:binding:AdverseEventActuality: {} + urn:fhir:binding:AdverseEventCategory: {} + urn:fhir:binding:AdverseEventCausalityAssessment: {} + urn:fhir:binding:AdverseEventCausalityMethod: {} + urn:fhir:binding:AdverseEventOutcome: {} + urn:fhir:binding:AdverseEventParticipantFunction: {} + urn:fhir:binding:AdverseEventSeriousness: {} + urn:fhir:binding:AdverseEventSeverity: {} + urn:fhir:binding:AdverseEventStatus: {} + urn:fhir:binding:AdverseEventType: {} + urn:fhir:binding:AggregationMode: {} + urn:fhir:binding:AllergenClass: {} + urn:fhir:binding:AllergyIntoleranceCategory: {} + urn:fhir:binding:AllergyIntoleranceClinicalStatus: {} + urn:fhir:binding:AllergyIntoleranceCode: {} + urn:fhir:binding:AllergyIntoleranceCriticality: {} + urn:fhir:binding:AllergyIntoleranceParticipantFunction: {} + urn:fhir:binding:AllergyIntoleranceSeverity: {} + urn:fhir:binding:AllergyIntoleranceType: {} + urn:fhir:binding:AllergyIntoleranceVerificationStatus: {} + urn:fhir:binding:AnimalTissueType: {} + urn:fhir:binding:appointment-type: {} + urn:fhir:binding:AppointmentRecurrenceType: {} + urn:fhir:binding:AppointmentStatus: {} + urn:fhir:binding:ApptReason: {} + urn:fhir:binding:Arrangements: {} + urn:fhir:binding:ArtifactContributionInstanceType: {} + urn:fhir:binding:ArtifactContributionType: {} + urn:fhir:binding:ArtifactUrlClassifier: {} + urn:fhir:binding:AssertionDirectionType: {} + urn:fhir:binding:AssertionManualCompletionType: {} + urn:fhir:binding:AssertionOperatorType: {} + urn:fhir:binding:AssertionResponseTypes: {} + urn:fhir:binding:AssetAvailabilityType: {} + urn:fhir:binding:AttributeEstimateType: {} + urn:fhir:binding:AuditAgentRole: {} + urn:fhir:binding:AuditAgentType: {} + urn:fhir:binding:AuditEventAction: {} + urn:fhir:binding:AuditEventAgentNetworkType: {} + urn:fhir:binding:AuditEventDetailType: {} + urn:fhir:binding:AuditEventEntityLifecycle: {} + urn:fhir:binding:AuditEventEntityRole: {} + urn:fhir:binding:AuditEventEntityType: {} + urn:fhir:binding:AuditEventOutcome: {} + urn:fhir:binding:AuditEventOutcomeDetail: {} + urn:fhir:binding:AuditEventSeverity: {} + urn:fhir:binding:AuditEventSourceType: {} + urn:fhir:binding:AuditEventSubType: {} + urn:fhir:binding:AuditEventType: {} + urn:fhir:binding:AuditPurposeOfUse: {} + urn:fhir:binding:AuthSupporting: {} + urn:fhir:binding:BasicResourceType: {} + urn:fhir:binding:BasisType: {} + urn:fhir:binding:BenefitCategory: {} + urn:fhir:binding:BenefitCostApplicability: {} + urn:fhir:binding:BenefitNetwork: {} + urn:fhir:binding:BenefitTerm: {} + urn:fhir:binding:BenefitType: {} + urn:fhir:binding:BenefitUnit: {} + urn:fhir:binding:BindingStrength: {} + urn:fhir:binding:BiologicallyDerivedProductCategory: {} + urn:fhir:binding:BiologicallyDerivedProductCodes: {} + urn:fhir:binding:BiologicallyDerivedProductDispenseMatchStatus: {} + urn:fhir:binding:BiologicallyDerivedProductDispenseOriginRelationship: {} + urn:fhir:binding:BiologicallyDerivedProductDispenseStatus: {} + urn:fhir:binding:BiologicallyDerivedProductDispensPerformerFunction: {} + urn:fhir:binding:BiologicallyDerivedProductProcedure: {} + urn:fhir:binding:BiologicallyDerivedProductPropertyTypeCodes: {} + urn:fhir:binding:BiologicallyDerivedProductStatus: {} + urn:fhir:binding:BiologicallyDerivedProductStorageScale: {} + urn:fhir:binding:bodyLandmarkOrientationClockFacePosition: {} + urn:fhir:binding:bodyLandmarkOrientationLandmarkDescription: {} + urn:fhir:binding:bodyLandmarkOrientationSurfaceOrientation: {} + urn:fhir:binding:BodyLengthUnits: {} + urn:fhir:binding:BodySite: {} + urn:fhir:binding:BodyStructureCode: {} + urn:fhir:binding:BodyStructureQualifier: {} + urn:fhir:binding:BodyTempUnits: {} + urn:fhir:binding:BodyWeightUnits: {} + urn:fhir:binding:BundleType: {} + urn:fhir:binding:can-push-updates: {} + urn:fhir:binding:cancelation-reason: {} + urn:fhir:binding:cancellation-reason: {} + urn:fhir:binding:CapabilityStatementKind: {} + urn:fhir:binding:CarePlanActivityKind: {} + urn:fhir:binding:CarePlanActivityOutcome: {} + urn:fhir:binding:CarePlanActivityPerformed: {} + urn:fhir:binding:CarePlanActivityReason: {} + urn:fhir:binding:CarePlanActivityStatus: {} + urn:fhir:binding:CarePlanActivityType: {} + urn:fhir:binding:CarePlanAddresses: {} + urn:fhir:binding:CarePlanCategory: {} + urn:fhir:binding:CarePlanIntent: {} + urn:fhir:binding:CarePlanStatus: {} + urn:fhir:binding:CareTeamCategory: {} + urn:fhir:binding:CareTeamParticipantRole: {} + urn:fhir:binding:CareTeamReason: {} + urn:fhir:binding:CareTeamRole: {} + urn:fhir:binding:CareTeamStatus: {} + urn:fhir:binding:CatalogEntryRelationType: {} + urn:fhir:binding:CatalogType: {} + urn:fhir:binding:CertaintySubcomponentRating: {} + urn:fhir:binding:CertaintySubcomponentType: {} + urn:fhir:binding:CharacteristicCombination: {} + urn:fhir:binding:CharacteristicOffset: {} + urn:fhir:binding:ChargeItemCode: {} + urn:fhir:binding:ChargeItemDefinitionCode: {} + urn:fhir:binding:ChargeItemDefinitionPriceComponentType: {} + urn:fhir:binding:ChargeItemPerformerFunction: {} + urn:fhir:binding:ChargeItemProduct: {} + urn:fhir:binding:ChargeItemReason: {} + urn:fhir:binding:ChargeItemStatus: {} + urn:fhir:binding:chromosome-human: {} + urn:fhir:binding:CitationArtifactClassifier: {} + urn:fhir:binding:CitationClassificationType: {} + urn:fhir:binding:CitationStatusType: {} + urn:fhir:binding:CitationSummaryStyle: {} + urn:fhir:binding:CitedArtifactAbstractType: {} + urn:fhir:binding:CitedArtifactClassificationType: {} + urn:fhir:binding:CitedArtifactPartType: {} + urn:fhir:binding:CitedArtifactStatusType: {} + urn:fhir:binding:CitedMedium: {} + urn:fhir:binding:ClaimOutcome: {} + urn:fhir:binding:ClaimResponseStatus: {} + urn:fhir:binding:ClaimStatus: {} + urn:fhir:binding:ClaimSubType: {} + urn:fhir:binding:ClaimType: {} + urn:fhir:binding:ClinicalImpressionChangePattern: {} + urn:fhir:binding:ClinicalImpressionPrognosis: {} + urn:fhir:binding:ClinicalImpressionStatus: {} + urn:fhir:binding:ClinicalImpressionStatusReason: {} + urn:fhir:binding:ClinicalUseDefinitionCategory: {} + urn:fhir:binding:ClinicalUseDefinitionType: {} + urn:fhir:binding:CodeSearchSupport: {} + urn:fhir:binding:CodeSystemContentMode: {} + urn:fhir:binding:CodeSystemHierarchyMeaning: {} + urn:fhir:binding:CollectedSpecimenType: {} + urn:fhir:binding:CombinedDoseForm: {} + urn:fhir:binding:communication-method: {} + urn:fhir:binding:CommunicationCategory: {} + urn:fhir:binding:CommunicationMedium: {} + urn:fhir:binding:CommunicationNotDoneReason: {} + urn:fhir:binding:CommunicationPriority: {} + urn:fhir:binding:CommunicationReason: {} + urn:fhir:binding:CommunicationRequestIntent: {} + urn:fhir:binding:CommunicationRequestStatus: {} + urn:fhir:binding:CommunicationRequestStatusReason: {} + urn:fhir:binding:CommunicationStatus: {} + urn:fhir:binding:CommunicationTopic: {} + urn:fhir:binding:CompartmentCode: {} + urn:fhir:binding:CompartmentType: {} + urn:fhir:binding:CompositeMeasureScoring: {} + urn:fhir:binding:CompositionAttestationMode: {} + urn:fhir:binding:CompositionSectionType: {} + urn:fhir:binding:CompositionStatus: {} + urn:fhir:binding:ConceptDesignationUse: {} + urn:fhir:binding:ConceptMapEquivalence: {} + urn:fhir:binding:ConceptMapGroupUnmappedMode: {} + urn:fhir:binding:ConceptMapmapAttributeType: {} + urn:fhir:binding:ConceptMapRelationship: {} + urn:fhir:binding:condition-code: {} + urn:fhir:binding:ConditionalDeleteStatus: {} + urn:fhir:binding:ConditionalReadStatus: {} + urn:fhir:binding:ConditionCategory: {} + urn:fhir:binding:ConditionClinicalStatus: {} + urn:fhir:binding:ConditionCode: {} + urn:fhir:binding:ConditionKind: {} + urn:fhir:binding:ConditionOutcome: {} + urn:fhir:binding:ConditionParticipantFunction: {} + urn:fhir:binding:ConditionPreconditionType: {} + urn:fhir:binding:ConditionQuestionnairePurpose: {} + urn:fhir:binding:ConditionSeverity: {} + urn:fhir:binding:ConditionStage: {} + urn:fhir:binding:ConditionStageType: {} + urn:fhir:binding:ConditionVerificationStatus: {} + urn:fhir:binding:ConsentAction: {} + urn:fhir:binding:ConsentActorRole: {} + urn:fhir:binding:ConsentCategory: {} + urn:fhir:binding:ConsentContentClass: {} + urn:fhir:binding:ConsentContentCode: {} + urn:fhir:binding:ConsentDataMeaning: {} + urn:fhir:binding:ConsentPolicyRule: {} + urn:fhir:binding:ConsentProvisionType: {} + urn:fhir:binding:ConsentRegulatoryBasis: {} + urn:fhir:binding:ConsentScope: {} + urn:fhir:binding:ConsentState: {} + urn:fhir:binding:ConsentVerificationType: {} + urn:fhir:binding:ConstraintSeverity: {} + urn:fhir:binding:ContactPartyType: {} + urn:fhir:binding:ContactPointSystem: {} + urn:fhir:binding:ContactPointUse: {} + urn:fhir:binding:ContactRelationship: {} + urn:fhir:binding:ContainerCap: {} + urn:fhir:binding:ContainerMaterial: {} + urn:fhir:binding:ContainerType: {} + urn:fhir:binding:ContractAction: {} + urn:fhir:binding:ContractActionPerformerRole: {} + urn:fhir:binding:ContractActionPerformerType: {} + urn:fhir:binding:ContractActionReason: {} + urn:fhir:binding:ContractActionStatus: {} + urn:fhir:binding:ContractActorRole: {} + urn:fhir:binding:ContractAssetContext: {} + urn:fhir:binding:ContractAssetScope: {} + urn:fhir:binding:ContractAssetSubtype: {} + urn:fhir:binding:ContractAssetType: {} + urn:fhir:binding:ContractContentDerivative: {} + urn:fhir:binding:ContractDecisionMode: {} + urn:fhir:binding:ContractDecisionType: {} + urn:fhir:binding:ContractDefinitionSubtype: {} + urn:fhir:binding:ContractDefinitionType: {} + urn:fhir:binding:ContractExpiration: {} + urn:fhir:binding:ContractLegalState: {} + urn:fhir:binding:ContractPartyRole: {} + urn:fhir:binding:ContractPublicationStatus: {} + urn:fhir:binding:ContractScope: {} + urn:fhir:binding:ContractSecurityCategory: {} + urn:fhir:binding:ContractSecurityClassification: {} + urn:fhir:binding:ContractSecurityControl: {} + urn:fhir:binding:ContractSignerType: {} + urn:fhir:binding:ContractStatus: {} + urn:fhir:binding:ContractSubtype: {} + urn:fhir:binding:ContractTermSubType: {} + urn:fhir:binding:ContractTermType: {} + urn:fhir:binding:ContractType: {} + urn:fhir:binding:ContributorRole: {} + urn:fhir:binding:ContributorSummarySource: {} + urn:fhir:binding:ContributorSummaryStyle: {} + urn:fhir:binding:ContributorSummaryType: {} + urn:fhir:binding:ContributorType: {} + urn:fhir:binding:CopayTypes: {} + urn:fhir:binding:Country: {} + urn:fhir:binding:Courtesies: {} + urn:fhir:binding:CoverageClass: {} + urn:fhir:binding:CoverageFinancialException: {} + urn:fhir:binding:CoverageKind: {} + urn:fhir:binding:CoverageStatus: {} + urn:fhir:binding:CoverageType: {} + urn:fhir:binding:CriteriaNotExistsBehavior: {} + urn:fhir:binding:CurrencyCode: {} + urn:fhir:binding:DatesType: {} + urn:fhir:binding:DayOfWeek: {} + urn:fhir:binding:DaysOfWeek: {} + urn:fhir:binding:DefinitionCode: {} + urn:fhir:binding:DefinitionMethod: {} + urn:fhir:binding:DefinitionTopic: {} + urn:fhir:binding:DetectedIssueCategory: {} + urn:fhir:binding:DetectedIssueEvidenceCode: {} + urn:fhir:binding:DetectedIssueMitigationAction: {} + urn:fhir:binding:DetectedIssueSeverity: {} + urn:fhir:binding:DetectedIssueStatus: {} + urn:fhir:binding:DeviceActionKind: {} + urn:fhir:binding:DeviceAssociationOperationStatus: {} + urn:fhir:binding:DeviceAssociationStatus: {} + urn:fhir:binding:DeviceAssociationStatusReason: {} + urn:fhir:binding:DeviceCategory: {} + urn:fhir:binding:DeviceCorrectiveActionScope: {} + urn:fhir:binding:DeviceDefinitionRelationType: {} + urn:fhir:binding:DeviceDispenseStatus: {} + urn:fhir:binding:DeviceDispenseStatusReason: {} + urn:fhir:binding:DeviceKind: {} + urn:fhir:binding:DeviceMetricCalibrationState: {} + urn:fhir:binding:DeviceMetricCalibrationType: {} + urn:fhir:binding:DeviceMetricCategory: {} + urn:fhir:binding:DeviceMetricColor: {} + urn:fhir:binding:DeviceMetricOperationalStatus: {} + urn:fhir:binding:DeviceNameType: {} + urn:fhir:binding:DeviceOperationMode: {} + urn:fhir:binding:DeviceProductionIdentifierInUDI: {} + urn:fhir:binding:DevicePropertyType: {} + urn:fhir:binding:DeviceRegulatoryIdentifierType: {} + urn:fhir:binding:DeviceRequestCode: {} + urn:fhir:binding:DeviceRequestParticipantRole: {} + urn:fhir:binding:DeviceRequestReason: {} + urn:fhir:binding:DeviceRequestStatus: {} + urn:fhir:binding:DeviceSpecification-type: {} + urn:fhir:binding:DeviceSpecificationCategory: {} + urn:fhir:binding:DeviceSpecificationType: {} + urn:fhir:binding:DeviceType: {} + urn:fhir:binding:DeviceUsageAdherenceCode: {} + urn:fhir:binding:DeviceUsageAdherenceReason: {} + urn:fhir:binding:DeviceUsageStatus: {} + urn:fhir:binding:DeviceUseStatementStatus: {} + urn:fhir:binding:DiagnosisOnAdmission: {} + urn:fhir:binding:DiagnosisRelatedGroup: {} + urn:fhir:binding:DiagnosisRole: {} + urn:fhir:binding:DiagnosisType: {} + urn:fhir:binding:DiagnosisUse: {} + urn:fhir:binding:DiagnosticReportCodes: {} + urn:fhir:binding:DiagnosticReportStatus: {} + urn:fhir:binding:DiagnosticReportSupportingInfoType: {} + urn:fhir:binding:DiagnosticServiceSection: {} + urn:fhir:binding:DICOMMediaType: {} + urn:fhir:binding:DisabledDisplay: {} + urn:fhir:binding:DischargeDisp: {} + urn:fhir:binding:DiscriminatorType: {} + urn:fhir:binding:DiseaseStatus: {} + urn:fhir:binding:DiseaseSymptomProcedure: {} + urn:fhir:binding:Disposition: {} + urn:fhir:binding:DocumentAttestationMode: {} + urn:fhir:binding:DocumentC80Class: {} + urn:fhir:binding:DocumentC80FacilityType: {} + urn:fhir:binding:DocumentC80PracticeSetting: {} + urn:fhir:binding:DocumentC80Type: {} + urn:fhir:binding:DocumentCategory: {} + urn:fhir:binding:DocumentConfidentiality: {} + urn:fhir:binding:DocumentEventType: {} + urn:fhir:binding:DocumentFormat: {} + urn:fhir:binding:DocumentMode: {} + urn:fhir:binding:DocumentReferenceStatus: {} + urn:fhir:binding:DocumentRelationshipType: {} + urn:fhir:binding:DocumentType: {} + urn:fhir:binding:DoseAndRateType: {} + urn:fhir:binding:EffectEstimateType: {} + urn:fhir:binding:ElementDefinitionCode: {} + urn:fhir:binding:ElementDefinitionTypes: {} + urn:fhir:binding:EligibilityOutcome: {} + urn:fhir:binding:EligibilityRequestPurpose: {} + urn:fhir:binding:EligibilityRequestStatus: {} + urn:fhir:binding:EligibilityResponsePurpose: {} + urn:fhir:binding:EligibilityResponseStatus: {} + urn:fhir:binding:EnableWhenBehavior: {} + urn:fhir:binding:EncounterClass: {} + urn:fhir:binding:EncounterLocationStatus: {} + urn:fhir:binding:EncounterReason: {} + urn:fhir:binding:EncounterServiceType: {} + urn:fhir:binding:EncounterStatus: {} + urn:fhir:binding:EncounterType: {} + urn:fhir:binding:endpoint-contype: {} + urn:fhir:binding:endpoint-environment-type: {} + urn:fhir:binding:EndpointStatus: {} + urn:fhir:binding:EnrollmentOutcome: {} + urn:fhir:binding:EnrollmentRequestStatus: {} + urn:fhir:binding:EnrollmentResponseStatus: {} + urn:fhir:binding:EnteralFormulaAdditiveType: {} + urn:fhir:binding:EnteralFormulaAsNeededReason: {} + urn:fhir:binding:EnteralFormulaType: {} + urn:fhir:binding:EnteralRouteOfAdministration: {} + urn:fhir:binding:EpisodeOfCareStatus: {} + urn:fhir:binding:EpisodeOfCareType: {} + urn:fhir:binding:EvaluationDoseStatus: {} + urn:fhir:binding:EvaluationDoseStatusReason: {} + urn:fhir:binding:EvaluationTargetDisease: {} + urn:fhir:binding:EventCapabilityMode: {} + urn:fhir:binding:EventPerformerFunction: {} + urn:fhir:binding:EventReason: {} + urn:fhir:binding:EventTiming: {} + urn:fhir:binding:EvidenceCertaintyRating: {} + urn:fhir:binding:EvidenceCertaintyType: {} + urn:fhir:binding:EvidenceClassifier: {} + urn:fhir:binding:EvidenceDirectness: {} + urn:fhir:binding:EvidenceReportType: {} + urn:fhir:binding:EvidenceVariableHandling: {} + urn:fhir:binding:EvidenceVariableRole: {} + urn:fhir:binding:EvidenceVariableType: {} + urn:fhir:binding:EvidenceVariantState: {} + urn:fhir:binding:ExampleScenarioActorType: {} + urn:fhir:binding:ExplanationOfBenefitStatus: {} + urn:fhir:binding:ExposureState: {} + urn:fhir:binding:ExpressionLanguage: {} + urn:fhir:binding:ExtensionContextType: {} + urn:fhir:binding:failure-action: {} + urn:fhir:binding:FamilialRelationship: {} + urn:fhir:binding:FamilyHistoryAbsentReason: {} + urn:fhir:binding:FamilyHistoryReason: {} + urn:fhir:binding:FamilyHistoryStatus: {} + urn:fhir:binding:FamilyMemberHistoryParticipantFunction: {} + urn:fhir:binding:FHIRAllTypes: {} + urn:fhir:binding:FHIRConcreteType: {} + urn:fhir:binding:FHIRConcreteTypes: {} + urn:fhir:binding:FHIRDefinedType: {} + urn:fhir:binding:FHIRDefinedTypeExt: {} + urn:fhir:binding:FHIRDeviceAvailabilityStatus: {} + urn:fhir:binding:FHIRDeviceStatus: {} + urn:fhir:binding:FHIRDeviceStatusReason: {} + urn:fhir:binding:FHIRDeviceVersionType: {} + urn:fhir:binding:FHIRResourceType: {} + urn:fhir:binding:FHIRResourceTypeExt: {} + urn:fhir:binding:FHIRSubstanceStatus: {} + urn:fhir:binding:FHIRTypes: {} + urn:fhir:binding:FHIRVersion: {} + urn:fhir:binding:FilterOperator: {} + urn:fhir:binding:FlagCategory: {} + urn:fhir:binding:FlagCode: {} + urn:fhir:binding:FlagStatus: {} + urn:fhir:binding:FluidConsistencyType: {} + urn:fhir:binding:FocusCharacteristicCode: {} + urn:fhir:binding:FoodProduct: {} + urn:fhir:binding:FoodType: {} + urn:fhir:binding:Forms: {} + urn:fhir:binding:FormularyItemFormalRepresentation: {} + urn:fhir:binding:FormularyItemStatus: {} + urn:fhir:binding:FundingSource: {} + urn:fhir:binding:FundsReserve: {} + urn:fhir:binding:GenomicStudyChangeType: {} + urn:fhir:binding:GenomicStudyDataFormat: {} + urn:fhir:binding:GenomicStudyMethodType: {} + urn:fhir:binding:GenomicStudyStatus: {} + urn:fhir:binding:GenomicStudyType: {} + urn:fhir:binding:GoalAchievementStatus: {} + urn:fhir:binding:GoalAddresses: {} + urn:fhir:binding:GoalCategory: {} + urn:fhir:binding:GoalDescription: {} + urn:fhir:binding:GoalLifecycleStatus: {} + urn:fhir:binding:GoalOutcome: {} + urn:fhir:binding:GoalPriority: {} + urn:fhir:binding:GoalStartEvent: {} + urn:fhir:binding:GoalTargetMeasure: {} + urn:fhir:binding:GraphCompartmentRule: {} + urn:fhir:binding:GraphCompartmentUse: {} + urn:fhir:binding:GroupMeasure: {} + urn:fhir:binding:GroupType: {} + urn:fhir:binding:GuidanceResponseStatus: {} + urn:fhir:binding:GuidePageGeneration: {} + urn:fhir:binding:GuideParameterCode: {} + urn:fhir:binding:HandlingConditionSet: {} + urn:fhir:binding:HTTPVerb: {} + urn:fhir:binding:HumanRefSeqNCBIBuildId: {} + urn:fhir:binding:IANATimezone: {} + urn:fhir:binding:IdentifierType: {} + urn:fhir:binding:IdentifierUse: {} + urn:fhir:binding:IdentityAssuranceLevel: {} + urn:fhir:binding:ImagingModality: {} + urn:fhir:binding:ImagingProcedureCode: {} + urn:fhir:binding:ImagingReason: {} + urn:fhir:binding:ImagingSelection2DGraphicType: {} + urn:fhir:binding:ImagingSelection3DGraphicType: {} + urn:fhir:binding:ImagingSelectionCode: {} + urn:fhir:binding:ImagingSelectionStatus: {} + urn:fhir:binding:ImagingStudyStatus: {} + urn:fhir:binding:ImmunizationEvaluationStatus: {} + urn:fhir:binding:ImmunizationFunction: {} + urn:fhir:binding:ImmunizationReason: {} + urn:fhir:binding:ImmunizationRecommendationDateCriterion: {} + urn:fhir:binding:ImmunizationRecommendationReason: {} + urn:fhir:binding:ImmunizationRecommendationStatus: {} + urn:fhir:binding:ImmunizationReportOrigin: {} + urn:fhir:binding:ImmunizationRoute: {} + urn:fhir:binding:ImmunizationSite: {} + urn:fhir:binding:ImmunizationStatus: {} + urn:fhir:binding:ImmunizationStatusReason: {} + urn:fhir:binding:InformationCategory: {} + urn:fhir:binding:InformationCode: {} + urn:fhir:binding:InformationType: {} + urn:fhir:binding:IngredientFunction: {} + urn:fhir:binding:IngredientManufacturerRole: {} + urn:fhir:binding:IngredientRole: {} + urn:fhir:binding:InstanceType: {} + urn:fhir:binding:InsurancePlanType: {} + urn:fhir:binding:IntakeReason: {} + urn:fhir:binding:IntendedSpecimenType: {} + urn:fhir:binding:InteractionEffect: {} + urn:fhir:binding:InteractionManagement: {} + urn:fhir:binding:InteractionType: {} + urn:fhir:binding:InventoryCountType: {} + urn:fhir:binding:InventoryItemStatus: {} + urn:fhir:binding:InventoryReportStatus: {} + urn:fhir:binding:InvestigationGroupType: {} + urn:fhir:binding:InvoicePriceComponentType: {} + urn:fhir:binding:InvoiceStatus: {} + urn:fhir:binding:IssueDetails: {} + urn:fhir:binding:IssueSeverity: {} + urn:fhir:binding:IssueType: {} + urn:fhir:binding:ItemDescriptionLanguage: {} + urn:fhir:binding:Jurisdiction: {} + urn:fhir:binding:Language: {} + urn:fhir:binding:Laterality: {} + urn:fhir:binding:LDLCodes: {} + urn:fhir:binding:LegalStatusOfSupply: {} + urn:fhir:binding:LibraryType: {} + urn:fhir:binding:LinkageType: {} + urn:fhir:binding:LinkType: {} + urn:fhir:binding:ListEmptyReason: {} + urn:fhir:binding:ListItemFlag: {} + urn:fhir:binding:ListMode: {} + urn:fhir:binding:ListOrder: {} + urn:fhir:binding:ListPurpose: {} + urn:fhir:binding:ListStatus: {} + urn:fhir:binding:LL1040-6: {} + urn:fhir:binding:LL2938-0: {} + urn:fhir:binding:LL5323-2: {} + urn:fhir:binding:LocationCharacteristic: {} + urn:fhir:binding:LocationForm: {} + urn:fhir:binding:LocationMode: {} + urn:fhir:binding:LocationStatus: {} + urn:fhir:binding:LocationType: {} + urn:fhir:binding:LOINC LL379-9 answerlist: {} + urn:fhir:binding:Manifestation: {} + urn:fhir:binding:ManifestationOrSymptom: {} + urn:fhir:binding:ManufacturedDoseForm: {} + urn:fhir:binding:MaritalStatus: {} + urn:fhir:binding:MeasureAggregateMethod: {} + urn:fhir:binding:MeasureDataUsage: {} + urn:fhir:binding:MeasureGroupExample: {} + urn:fhir:binding:MeasureImprovementNotation: {} + urn:fhir:binding:MeasurePopulation: {} + urn:fhir:binding:MeasurePopulationType: {} + urn:fhir:binding:MeasureReportStatus: {} + urn:fhir:binding:MeasureReportType: {} + urn:fhir:binding:MeasureScoring: {} + urn:fhir:binding:MeasureScoringUnit: {} + urn:fhir:binding:MeasureStratifierExample: {} + urn:fhir:binding:MeasureSupplementalDataExample: {} + urn:fhir:binding:MeasureType: {} + urn:fhir:binding:MediaModality: {} + urn:fhir:binding:MediaReason: {} + urn:fhir:binding:MediaStatus: {} + urn:fhir:binding:MediaType: {} + urn:fhir:binding:MediaView: {} + urn:fhir:binding:MedicationAdministrationCategory: {} + urn:fhir:binding:MedicationAdministrationLocation: {} + urn:fhir:binding:MedicationAdministrationMethod: {} + urn:fhir:binding:MedicationAdministrationNegationReason: {} + urn:fhir:binding:MedicationAdministrationPerformerFunction: {} + urn:fhir:binding:MedicationAdministrationReason: {} + urn:fhir:binding:MedicationAdministrationSite: {} + urn:fhir:binding:MedicationAdministrationStatus: {} + urn:fhir:binding:MedicationAdministrationSubPotentReason: {} + urn:fhir:binding:MedicationAsNeededReason: {} + urn:fhir:binding:MedicationCharacteristic: {} + urn:fhir:binding:MedicationCode: {} + urn:fhir:binding:MedicationDispenseAdminLocation: {} + urn:fhir:binding:MedicationDispenseCategory: {} + urn:fhir:binding:MedicationDispensePerformerFunction: {} + urn:fhir:binding:MedicationDispenseStatus: {} + urn:fhir:binding:MedicationDispenseStatusReason: {} + urn:fhir:binding:MedicationDispenseType: {} + urn:fhir:binding:MedicationForm: {} + urn:fhir:binding:MedicationFormalRepresentation: {} + urn:fhir:binding:MedicationIngredientIsActive: {} + urn:fhir:binding:MedicationIntendedSubstitutionReason: {} + urn:fhir:binding:MedicationIntendedSubstitutionType: {} + urn:fhir:binding:MedicationKnowledgeStatus: {} + urn:fhir:binding:MedicationPackageType: {} + urn:fhir:binding:MedicationReason: {} + urn:fhir:binding:MedicationRequestAdministrationLocation: {} + urn:fhir:binding:MedicationRequestCategory: {} + urn:fhir:binding:MedicationRequestCourseOfTherapy: {} + urn:fhir:binding:MedicationRequestDoseAdministrationAid: {} + urn:fhir:binding:MedicationRequestIntent: {} + urn:fhir:binding:MedicationRequestPerformerType: {} + urn:fhir:binding:MedicationRequestPriority: {} + urn:fhir:binding:MedicationRequestReason: {} + urn:fhir:binding:MedicationRequestStatus: {} + urn:fhir:binding:MedicationRequestStatusReason: {} + urn:fhir:binding:MedicationRoute: {} + urn:fhir:binding:MedicationStatementAdherence: {} + urn:fhir:binding:MedicationStatementAdministrationLocation: {} + urn:fhir:binding:MedicationStatementCategory: {} + urn:fhir:binding:MedicationStatementStatus: {} + urn:fhir:binding:MedicationStatementStatusReason: {} + urn:fhir:binding:MedicationStatus: {} + urn:fhir:binding:MedicinalProductPackageType: {} + urn:fhir:binding:MedicinalProductType: {} + urn:fhir:binding:messageheader-response-request: {} + urn:fhir:binding:MessageSignificanceCategory: {} + urn:fhir:binding:MessageTransport: {} + urn:fhir:binding:MethodCode: {} + urn:fhir:binding:MetricType: {} + urn:fhir:binding:MetricUnit: {} + urn:fhir:binding:MimeType: {} + urn:fhir:binding:MissingReason: {} + urn:fhir:binding:Modifiers: {} + urn:fhir:binding:NameLanguage: {} + urn:fhir:binding:NameType: {} + urn:fhir:binding:NameUse: {} + urn:fhir:binding:NamingSystemIdentifierSystemType: {} + urn:fhir:binding:NamingSystemIdentifierType: {} + urn:fhir:binding:NamingSystemType: {} + urn:fhir:binding:NarrativeStatus: {} + urn:fhir:binding:need: {} + urn:fhir:binding:NotConsumedReason: {} + urn:fhir:binding:NoteType: {} + urn:fhir:binding:NutrientModifier: {} + urn:fhir:binding:NutrientType: {} + urn:fhir:binding:NutritiionOrderIntent: {} + urn:fhir:binding:NutritionIntakeCategory: {} + urn:fhir:binding:NutritionIntakeStatus: {} + urn:fhir:binding:NutritionIntakeStatusReason: {} + urn:fhir:binding:NutritionOrderPriority: {} + urn:fhir:binding:NutritionOrderStatus: {} + urn:fhir:binding:NutritionPerformerType: {} + urn:fhir:binding:NutritionProductCategory: {} + urn:fhir:binding:NutritionProductCode: {} + urn:fhir:binding:NutritionProductNutrient: {} + urn:fhir:binding:NutritionProductStatus: {} + urn:fhir:binding:ObservationBodySite: {} + urn:fhir:binding:ObservationCategory: {} + urn:fhir:binding:ObservationCode: {} + urn:fhir:binding:ObservationDataType: {} + urn:fhir:binding:ObservationInterpretation: {} + urn:fhir:binding:ObservationMethod: {} + urn:fhir:binding:ObservationRangeAppliesTo: {} + urn:fhir:binding:ObservationRangeCategory: {} + urn:fhir:binding:ObservationRangeMeaning: {} + urn:fhir:binding:ObservationRangeType: {} + urn:fhir:binding:ObservationReferenceRangeNormalValue: {} + urn:fhir:binding:ObservationStatus: {} + urn:fhir:binding:ObservationUnit: {} + urn:fhir:binding:ObservationValueAbsentReason: {} + urn:fhir:binding:OperationalStatus: {} + urn:fhir:binding:OperationKind: {} + urn:fhir:binding:OperationParameterScope: {} + urn:fhir:binding:OperationParameterUse: {} + urn:fhir:binding:OralDiet: {} + urn:fhir:binding:OralDietAsNeededReason: {} + urn:fhir:binding:OralSites: {} + urn:fhir:binding:OrderDetail: {} + urn:fhir:binding:OrganizationAffiliation: {} + urn:fhir:binding:OrganizationSpecialty: {} + urn:fhir:binding:OrganizationType: {} + urn:fhir:binding:orientationType: {} + urn:fhir:binding:PackageMaterial: {} + urn:fhir:binding:PackageType: {} + urn:fhir:binding:PackagingType: {} + urn:fhir:binding:ParameterUse: {} + urn:fhir:binding:ParticipantRequired: {} + urn:fhir:binding:ParticipantStatus: {} + urn:fhir:binding:ParticipantType: {} + urn:fhir:binding:ParticipationStatus: {} + urn:fhir:binding:PatientDiet: {} + urn:fhir:binding:PatientRelationshipType: {} + urn:fhir:binding:PayeeType: {} + urn:fhir:binding:PayloadType: {} + urn:fhir:binding:PaymentAdjustmentReason: {} + urn:fhir:binding:PaymentIssuerType: {} + urn:fhir:binding:PaymentKind: {} + urn:fhir:binding:PaymentMethod: {} + urn:fhir:binding:PaymentNoticeStatus: {} + urn:fhir:binding:PaymentOutcome: {} + urn:fhir:binding:PaymentReconciliationStatus: {} + urn:fhir:binding:PaymentStatus: {} + urn:fhir:binding:PaymentType: {} + urn:fhir:binding:PediatricUse: {} + urn:fhir:binding:PermissionCombining: {} + urn:fhir:binding:PermissionProvisionType: {} + urn:fhir:binding:PermissionStatus: {} + urn:fhir:binding:PermissionUsageLimits: {} + urn:fhir:binding:PhysicalType: {} + urn:fhir:binding:PlanDefinitionType: {} + urn:fhir:binding:PractitionerRole: {} + urn:fhir:binding:PractitionerSpecialty: {} + urn:fhir:binding:PrecisionEstimateType: {} + urn:fhir:binding:PreparePatient: {} + urn:fhir:binding:PriceComponentType: {} + urn:fhir:binding:primary-source-type: {} + urn:fhir:binding:Priority: {} + urn:fhir:binding:ProcedureCategory: {} + urn:fhir:binding:ProcedureCode: {} + urn:fhir:binding:ProcedureComplication: {} + urn:fhir:binding:ProcedureFollowUp: {} + urn:fhir:binding:ProcedureNegationReason: {} + urn:fhir:binding:ProcedureOutcome: {} + urn:fhir:binding:ProcedurePerformerRole: {} + urn:fhir:binding:ProcedureReason: {} + urn:fhir:binding:ProcedureStatus: {} + urn:fhir:binding:ProcedureType: {} + urn:fhir:binding:ProcedureUsed: {} + urn:fhir:binding:ProcessingActivityAction: {} + urn:fhir:binding:ProcessPriority: {} + urn:fhir:binding:ProductCharacteristic: {} + urn:fhir:binding:ProductClassification: {} + urn:fhir:binding:ProductConfidentiality: {} + urn:fhir:binding:ProductContactType: {} + urn:fhir:binding:ProductCrossReferenceType: {} + urn:fhir:binding:ProductIntendedUse: {} + urn:fhir:binding:ProductNamePartType: {} + urn:fhir:binding:ProductNameType: {} + urn:fhir:binding:Program: {} + urn:fhir:binding:ProgramCode: {} + urn:fhir:binding:ProgramEligibility: {} + urn:fhir:binding:PropertyCharacteristic: {} + urn:fhir:binding:PropertyRepresentation: {} + urn:fhir:binding:PropertyType: {} + urn:fhir:binding:ProvenanceActivity: {} + urn:fhir:binding:ProvenanceAgentRole: {} + urn:fhir:binding:ProvenanceAgentType: {} + urn:fhir:binding:ProvenanceEntityRole: {} + urn:fhir:binding:ProvenanceHistoryAgentType: {} + urn:fhir:binding:ProvenanceHistoryRecordActivity: {} + urn:fhir:binding:ProvenanceReason: {} + urn:fhir:binding:ProviderQualification: {} + urn:fhir:binding:PublicationStatus: {} + urn:fhir:binding:PublishedInType: {} + urn:fhir:binding:Purpose: {} + urn:fhir:binding:PurposeOfUse: {} + urn:fhir:binding:push-type-available: {} + urn:fhir:binding:Qualification: {} + urn:fhir:binding:qualityMethod: {} + urn:fhir:binding:QualityOfEvidenceRating: {} + urn:fhir:binding:qualityStandardSequence: {} + urn:fhir:binding:qualityType: {} + urn:fhir:binding:QuantityComparator: {} + urn:fhir:binding:QuestionnaireAnswerConstraint: {} + urn:fhir:binding:QuestionnaireConcept: {} + urn:fhir:binding:QuestionnaireItemOperator: {} + urn:fhir:binding:QuestionnaireItemType: {} + urn:fhir:binding:QuestionnaireResponseStatus: {} + urn:fhir:binding:ReAdmissionType: {} + urn:fhir:binding:reason-code: {} + urn:fhir:binding:reason-use: {} + urn:fhir:binding:ReferencedItemCategory: {} + urn:fhir:binding:ReferenceHandlingPolicy: {} + urn:fhir:binding:ReferenceVersionRules: {} + urn:fhir:binding:ReferralMethod: {} + urn:fhir:binding:ReferredDocumentStatus: {} + urn:fhir:binding:RegulatedAuthorizationBasis: {} + urn:fhir:binding:RegulatedAuthorizationCaseType: {} + urn:fhir:binding:RegulatedAuthorizationType: {} + urn:fhir:binding:RejectionCriterion: {} + urn:fhir:binding:RelatedArtifactClassifier: {} + urn:fhir:binding:RelatedArtifactPublicationStatus: {} + urn:fhir:binding:RelatedArtifactType: {} + urn:fhir:binding:RelatedArtifactTypeExpanded: {} + urn:fhir:binding:RelatedClaimRelationship: {} + urn:fhir:binding:Relationship: {} + urn:fhir:binding:RemittanceOutcome: {} + urn:fhir:binding:ReportRelationshipType: {} + urn:fhir:binding:ReportSectionType: {} + urn:fhir:binding:repositoryType: {} + urn:fhir:binding:RequestCode: {} + urn:fhir:binding:RequestIntent: {} + urn:fhir:binding:RequestPriority: {} + urn:fhir:binding:RequestStatus: {} + urn:fhir:binding:ResearchElementType: {} + urn:fhir:binding:ResearchStudyArmType: {} + urn:fhir:binding:ResearchStudyClassifiers: {} + urn:fhir:binding:ResearchStudyFocusType: {} + urn:fhir:binding:ResearchStudyObjectiveType: {} + urn:fhir:binding:ResearchStudyPartyOrganizationType: {} + urn:fhir:binding:ResearchStudyPartyRole: {} + urn:fhir:binding:ResearchStudyPhase: {} + urn:fhir:binding:ResearchStudyPrimaryPurposeType: {} + urn:fhir:binding:ResearchStudyReasonStopped: {} + urn:fhir:binding:ResearchStudyStatus: {} + urn:fhir:binding:ResearchStudyStudyStatus: {} + urn:fhir:binding:ResearchSubjectMilestone: {} + urn:fhir:binding:ResearchSubjectProgresss: {} + urn:fhir:binding:ResearchSubjectStateType: {} + urn:fhir:binding:ResearchSubjectStatus: {} + urn:fhir:binding:ResourceType: {} + urn:fhir:binding:ResourceVersionPolicy: {} + urn:fhir:binding:ResponseType: {} + urn:fhir:binding:RestfulCapabilityMode: {} + urn:fhir:binding:RestfulSecurityService: {} + urn:fhir:binding:RevenueCenter: {} + urn:fhir:binding:RiskAssessmentProbability: {} + urn:fhir:binding:RiskAssessmentStatus: {} + urn:fhir:binding:RiskEstimateType: {} + urn:fhir:binding:RouteOfAdministration: {} + urn:fhir:binding:Safety: {} + urn:fhir:binding:SearchComparator: {} + urn:fhir:binding:SearchEntryMode: {} + urn:fhir:binding:SearchModifierCode: {} + urn:fhir:binding:SearchParamType: {} + urn:fhir:binding:SearchProcessingModeType: {} + urn:fhir:binding:SectionEmptyReason: {} + urn:fhir:binding:SectionEntryOrder: {} + urn:fhir:binding:SectionMode: {} + urn:fhir:binding:SecurityLabels: {} + urn:fhir:binding:sequenceReference: {} + urn:fhir:binding:sequenceType: {} + urn:fhir:binding:service-category: {} + urn:fhir:binding:service-specialty: {} + urn:fhir:binding:service-type: {} + urn:fhir:binding:ServiceCharacteristic: {} + urn:fhir:binding:ServiceProduct: {} + urn:fhir:binding:ServiceProvisionConditions: {} + urn:fhir:binding:ServiceRequestCategory: {} + urn:fhir:binding:ServiceRequestCode: {} + urn:fhir:binding:ServiceRequestIntent: {} + urn:fhir:binding:ServiceRequestLocation: {} + urn:fhir:binding:ServiceRequestOrderDetailParameterCode: {} + urn:fhir:binding:ServiceRequestParticipantRole: {} + urn:fhir:binding:ServiceRequestPriority: {} + urn:fhir:binding:ServiceRequestReason: {} + urn:fhir:binding:ServiceRequestStatus: {} + urn:fhir:binding:Sex: {} + urn:fhir:binding:SexualOrientation: {} + urn:fhir:binding:SignatureType: {} + urn:fhir:binding:SlicingRules: {} + urn:fhir:binding:SlotStatus: {} + urn:fhir:binding:SNOMEDCTCharacteristicCodes: {} + urn:fhir:binding:SNOMEDCTRouteCodes: {} + urn:fhir:binding:SNOMEDCTSubstanceCodes: {} + urn:fhir:binding:sopClass: {} + urn:fhir:binding:SortDirection: {} + urn:fhir:binding:SourceMaterialGenus: {} + urn:fhir:binding:SourceMaterialPart: {} + urn:fhir:binding:SourceMaterialSpecies: {} + urn:fhir:binding:SourceMaterialType: {} + urn:fhir:binding:SPDXLicense: {} + urn:fhir:binding:SpecialMeasures: {} + urn:fhir:binding:specialty: {} + urn:fhir:binding:SpecimenCollection: {} + urn:fhir:binding:SpecimenCollectionMethod: {} + urn:fhir:binding:SpecimenCondition: {} + urn:fhir:binding:SpecimenContainedPreference: {} + urn:fhir:binding:SpecimenContainerType: {} + urn:fhir:binding:SpecimenFeatureType: {} + urn:fhir:binding:SpecimenProcessingMethod: {} + urn:fhir:binding:SpecimenProcessingProcedure: {} + urn:fhir:binding:SpecimenRole: {} + urn:fhir:binding:SpecimenStatus: {} + urn:fhir:binding:SpecimenType: {} + urn:fhir:binding:StateChangeReason: {} + urn:fhir:binding:StatisticModelCode: {} + urn:fhir:binding:StatisticType: {} + urn:fhir:binding:status: {} + urn:fhir:binding:Status: {} + urn:fhir:binding:strandType: {} + urn:fhir:binding:StructureDefinitionKeyword: {} + urn:fhir:binding:StructureDefinitionKind: {} + urn:fhir:binding:StructureMapContextType: {} + urn:fhir:binding:StructureMapGroupTypeMode: {} + urn:fhir:binding:StructureMapInputMode: {} + urn:fhir:binding:StructureMapModelMode: {} + urn:fhir:binding:StructureMapSourceListMode: {} + urn:fhir:binding:StructureMapTargetListMode: {} + urn:fhir:binding:StructureMapTransform: {} + urn:fhir:binding:StudyDesign: {} + urn:fhir:binding:StudyType: {} + urn:fhir:binding:SubjectStatus: {} + urn:fhir:binding:SubmitDataUpdateType: {} + urn:fhir:binding:SubpotentReason: {} + urn:fhir:binding:SubscriptionChannelType: {} + urn:fhir:binding:SubscriptionError: {} + urn:fhir:binding:SubscriptionNotificationType: {} + urn:fhir:binding:SubscriptionPayloadContent: {} + urn:fhir:binding:SubscriptionStatus: {} + urn:fhir:binding:SubscriptionStatusCodes: {} + urn:fhir:binding:SubscriptionTopicEventTrigger: {} + urn:fhir:binding:SubstanceAmountType: {} + urn:fhir:binding:SubstanceCategory: {} + urn:fhir:binding:SubstanceCode: {} + urn:fhir:binding:SubstanceForm: {} + urn:fhir:binding:SubstanceGrade: {} + urn:fhir:binding:SubstanceNameAuthority: {} + urn:fhir:binding:SubstanceNameDomain: {} + urn:fhir:binding:SubstanceNameType: {} + urn:fhir:binding:SubstanceOpticalActivity: {} + urn:fhir:binding:SubstanceRelationshipType: {} + urn:fhir:binding:SubstanceRepresentationFormat: {} + urn:fhir:binding:SubstanceRepresentationType: {} + urn:fhir:binding:SubstanceStereochemistry: {} + urn:fhir:binding:SubstanceStructureTechnique: {} + urn:fhir:binding:SubstanceWeightMethod: {} + urn:fhir:binding:SubstanceWeightType: {} + urn:fhir:binding:SupplementAsNeededReason: {} + urn:fhir:binding:SupplementType: {} + urn:fhir:binding:SupplyDeliveryStatus: {} + urn:fhir:binding:SupplyDeliverySupplyItemType: {} + urn:fhir:binding:SupplyDeliveryType: {} + urn:fhir:binding:SupplyRequestItem: {} + urn:fhir:binding:SupplyRequestKind: {} + urn:fhir:binding:SupplyRequestReason: {} + urn:fhir:binding:SupplyRequestStatus: {} + urn:fhir:binding:Surface: {} + urn:fhir:binding:SynthesisType: {} + urn:fhir:binding:SystemRestfulInteraction: {} + urn:fhir:binding:Tags: {} + urn:fhir:binding:TargetDisease: {} + urn:fhir:binding:TargetSpecies: {} + urn:fhir:binding:TaskCode: {} + urn:fhir:binding:TaskIntent: {} + urn:fhir:binding:TaskPerformerType: {} + urn:fhir:binding:TaskPriority: {} + urn:fhir:binding:TaskStatus: {} + urn:fhir:binding:TaskStatusReason: {} + urn:fhir:binding:TestingDestination: {} + urn:fhir:binding:TestPlanCategory: {} + urn:fhir:binding:TestReportActionResult: {} + urn:fhir:binding:TestReportParticipantType: {} + urn:fhir:binding:TestReportResult: {} + urn:fhir:binding:TestReportStatus: {} + urn:fhir:binding:TestScriptOperationCode: {} + urn:fhir:binding:TestScriptProfileDestinationType: {} + urn:fhir:binding:TestScriptProfileOriginType: {} + urn:fhir:binding:TestScriptRequestMethodCode: {} + urn:fhir:binding:TestScriptScopeConformanceType: {} + urn:fhir:binding:TestScriptScopePhaseType: {} + urn:fhir:binding:TextureModifiedFoodType: {} + urn:fhir:binding:TextureModifier: {} + urn:fhir:binding:Therapy: {} + urn:fhir:binding:TherapyRelationshipType: {} + urn:fhir:binding:TimingAbbreviation: {} + urn:fhir:binding:TitleType: {} + urn:fhir:binding:TransportCode: {} + urn:fhir:binding:TransportIntent: {} + urn:fhir:binding:TransportPerformerType: {} + urn:fhir:binding:TransportPriority: {} + urn:fhir:binding:TransportStatus: {} + urn:fhir:binding:TransportStatusReason: {} + urn:fhir:binding:TriggeredByType: {} + urn:fhir:binding:TriggerType: {} + urn:fhir:binding:TypeDerivationRule: {} + urn:fhir:binding:TypeRestfulInteraction: {} + urn:fhir:binding:UCUMUnits: {} + urn:fhir:binding:UDIEntryType: {} + urn:fhir:binding:UndesirableEffectClassification: {} + urn:fhir:binding:UndesirableEffectSymptom: {} + urn:fhir:binding:UndesirablEffectFrequency: {} + urn:fhir:binding:UnitOfPresentation: {} + urn:fhir:binding:Units: {} + urn:fhir:binding:UnitsOfTime: {} + urn:fhir:binding:UnmappedConceptMapRelationship: {} + urn:fhir:binding:UsageContextType: {} + urn:fhir:binding:Use: {} + urn:fhir:binding:v3Act: {} + urn:fhir:binding:VaccineCode: {} + urn:fhir:binding:VaccineFundingProgram: {} + urn:fhir:binding:validation-process: {} + urn:fhir:binding:validation-status: {} + urn:fhir:binding:validation-type: {} + urn:fhir:binding:ValueFilterComparator: {} + urn:fhir:binding:VariableType: {} + urn:fhir:binding:VirtualServiceType: {} + urn:fhir:binding:VisionBase: {} + urn:fhir:binding:VisionEyes: {} + urn:fhir:binding:VisionProduct: {} + urn:fhir:binding:VisionStatus: {} + urn:fhir:binding:VitalSigns: {} + urn:fhir:binding:VitalSignsUnits: {} + urn:fhir:binding:WarningType: {} + urn:fhir:binding:WeekOfMonth: {} + urn:fhir:binding:WorkflowStatus: {} + urn:fhir:binding:XPathUsageType: {} + profile: {} + logical: {} +hl7.fhir.uv.extensions.r4: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://hl7.org/fhir/ValueSet/artifact-comment-type: {} + http://terminology.hl7.org/ValueSet/artifact-version-policy: {} + http://hl7.org/fhir/ValueSet/barrier: {} + http://hl7.org/fhir/ValueSet/capabilitystatement-search-mode: {} + http://hl7.org/fhir/ValueSet/codesystem-properties-mode: {} + http://hl7.org/fhir/ValueSet/coding-purpose: {} + http://hl7.org/fhir/ValueSet/condition-course: {} + http://hl7.org/fhir/ValueSet/inheritance-control-code: {} + http://hl7.org/fhir/ValueSet/knowledge-capability: {} + http://hl7.org/fhir/ValueSet/major-fhir-version: {} + http://hl7.org/fhir/ValueSet/measurereport-category: {} + http://hl7.org/fhir/ValueSet/obligation: {} + http://hl7.org/fhir/ValueSet/patient-bornstatus: {} + http://hl7.org/fhir/ValueSet/patient-fetalstatus: {} + http://hl7.org/fhir/ValueSet/patient-unknownIdentity: {} + http://hl7.org/fhir/ValueSet/practitioner-job-title: {} + http://hl7.org/fhir/ValueSet/practitionerrole-employmentStatus: {} + http://hl7.org/fhir/ValueSet/protective-factor: {} + http://hl7.org/fhir/ValueSet/questionnaire-derivationType: {} + http://hl7.org/fhir/ValueSet/research-study-registration-activity: {} + http://hl7.org/fhir/ValueSet/select-by-map-filter: {} + http://hl7.org/fhir/ValueSet/specimen-additive-substance: {} + http://hl7.org/fhir/ValueSet/specimen-reject-reason: {} + http://hl7.org/fhir/ValueSet/subject-locationClassification: {} + http://hl7.org/fhir/ValueSet/type-characteristics-code: {} + http://hl7.org/fhir/ValueSet/value-filter-comparator: {} + nested: {} + binding: + http://hl7.org/fhir/StructureDefinition/address-official#valueCodeableConcept_binding: {} + profile: + http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement: {} + http://hl7.org/fhir/StructureDefinition/additionalIdentifier: {} + http://hl7.org/fhir/StructureDefinition/workflow-adheresTo: {} + http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle: {} + http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf: {} + http://hl7.org/fhir/StructureDefinition/alternate-canonical: {} + http://hl7.org/fhir/StructureDefinition/alternate-codes: {} + http://hl7.org/fhir/StructureDefinition/alternate-reference: {} + http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression: {} + http://hl7.org/fhir/StructureDefinition/annotationType: {} + http://hl7.org/fhir/StructureDefinition/artifact-approvalDate: {} + http://hl7.org/fhir/StructureDefinition/artifactassessment-content: {} + http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition: {} + http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/artifact-author: {} + http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference: {} + http://hl7.org/fhir/StructureDefinition/artifact-citeAs: {} + http://hl7.org/fhir/StructureDefinition/cqf-artifactComment: {} + http://hl7.org/fhir/StructureDefinition/artifact-contact: {} + http://hl7.org/fhir/StructureDefinition/artifact-copyright: {} + http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel: {} + http://hl7.org/fhir/StructureDefinition/artifact-date: {} + http://hl7.org/fhir/StructureDefinition/artifact-description: {} + http://hl7.org/fhir/StructureDefinition/artifact-editor: {} + http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod: {} + http://hl7.org/fhir/StructureDefinition/artifact-endorser: {} + http://hl7.org/fhir/StructureDefinition/artifact-experimental: {} + http://hl7.org/fhir/StructureDefinition/artifact-identifier: {} + http://hl7.org/fhir/StructureDefinition/artifact-isOwned: {} + http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction: {} + http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate: {} + http://hl7.org/fhir/StructureDefinition/artifact-name: {} + http://hl7.org/fhir/StructureDefinition/artifact-publisher: {} + http://hl7.org/fhir/StructureDefinition/artifact-purpose: {} + http://hl7.org/fhir/StructureDefinition/artifact-reference: {} + http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact: {} + http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription: {} + http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel: {} + http://hl7.org/fhir/StructureDefinition/artifact-reviewer: {} + http://hl7.org/fhir/StructureDefinition/artifact-status: {} + http://hl7.org/fhir/StructureDefinition/artifact-title: {} + http://hl7.org/fhir/StructureDefinition/artifact-topic: {} + http://hl7.org/fhir/StructureDefinition/artifact-uriReference: {} + http://hl7.org/fhir/StructureDefinition/artifact-url: {} + http://hl7.org/fhir/StructureDefinition/artifact-usage: {} + http://hl7.org/fhir/StructureDefinition/artifact-useContext: {} + http://hl7.org/fhir/StructureDefinition/artifact-version: {} + http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm: {} + http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy: {} + http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure: {} + http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation: {} + http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing: {} + http://hl7.org/fhir/StructureDefinition/businessEvent: {} + http://hl7.org/fhir/StructureDefinition/characteristicExpression: {} + http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation: {} + http://hl7.org/fhir/StructureDefinition/iso21090-codedString: {} + http://hl7.org/fhir/StructureDefinition/codeOptions: {} + http://hl7.org/fhir/StructureDefinition/coding-conformance: {} + http://hl7.org/fhir/StructureDefinition/coding-purpose: {} + http://hl7.org/fhir/StructureDefinition/workflow-compliesWith: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap: {} + http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse: {} + http://hl7.org/fhir/StructureDefinition/condition-reviewed: {} + http://hl7.org/fhir/StructureDefinition/dosage-conditions: {} + http://hl7.org/fhir/StructureDefinition/confidential: {} + http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext: {} + http://hl7.org/fhir/StructureDefinition/cqf-contactAddress: {} + http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-comment: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-purpose: {} + http://hl7.org/fhir/StructureDefinition/cqf-contactReference: {} + http://hl7.org/fhir/StructureDefinition/cqf-contributionTime: {} + http://hl7.org/fhir/StructureDefinition/measurereport-countQuantity: {} + http://hl7.org/fhir/StructureDefinition/cqf-certainty: {} + http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions: {} + http://hl7.org/fhir/StructureDefinition/cqf-improvementNotationGuidance: {} + http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability: {} + http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessModifier: {} + http://hl7.org/fhir/StructureDefinition/cqf-cqlType: {} + http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference: {} + http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date: {} + http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description: {} + http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile: {} + http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode: {} + http://hl7.org/fhir/StructureDefinition/codesystem-property-valueset: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use: {} + http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown: {} + http://hl7.org/fhir/StructureDefinition/careteam-alias: {} + http://hl7.org/fhir/StructureDefinition/_datatype: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype: {} + http://hl7.org/fhir/StructureDefinition/cqf-defaultValue: {} + http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm: {} + http://hl7.org/fhir/StructureDefinition/device-commercialBrand: {} + http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime: {} + http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility: {} + http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode: {} + http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus: {} + http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient: {} + http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/subject-locationClassification: {} + http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version: {} + http://hl7.org/fhir/StructureDefinition/event-recorded: {} + http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters: {} + http://hl7.org/fhir/StructureDefinition/feature-assertion: {} + http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern: {} + http://hl7.org/fhir/StructureDefinition/firstCreated: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support: {} + http://hl7.org/fhir/StructureDefinition/workflow-followOnOf: {} + http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint: {} + http://hl7.org/fhir/StructureDefinition/identifier-checkDigit: {} + http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile: {} + http://hl7.org/fhir/StructureDefinition/cqf-inputParameters: {} + http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList: {} + http://hl7.org/fhir/StructureDefinition/cqf-isEmptyTuple: {} + http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken: {} + http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation: {} + http://hl7.org/fhir/StructureDefinition/cqf-isSelective: {} + http://hl7.org/fhir/StructureDefinition/itemWeight: {} + http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel: {} + http://hl7.org/fhir/StructureDefinition/largeValue: {} + http://hl7.org/fhir/StructureDefinition/lastSourceSync: {} + http://hl7.org/fhir/StructureDefinition/list-category: {} + http://hl7.org/fhir/StructureDefinition/list-for: {} + http://hl7.org/fhir/StructureDefinition/location-communication: {} + http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition: {} + http://hl7.org/fhir/StructureDefinition/measurereport-category: {} + http://hl7.org/fhir/StructureDefinition/measurereport-populationDescription: {} + http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch: {} + http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining: {} + http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining: {} + http://hl7.org/fhir/StructureDefinition/cqf-messages: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings: {} + http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet: {} + http://hl7.org/fhir/StructureDefinition/note: {} + http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit: {} + http://hl7.org/fhir/StructureDefinition/obligation: {} + http://hl7.org/fhir/StructureDefinition/obligations-profile: {} + http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time: {} + http://hl7.org/fhir/StructureDefinition/observation-componentCategory: {} + http://hl7.org/fhir/StructureDefinition/observation-structure-type: {} + http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test: {} + http://hl7.org/fhir/StructureDefinition/observation-v2-subid: {} + http://hl7.org/fhir/StructureDefinition/address-official: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-file: {} + http://hl7.org/fhir/StructureDefinition/organization-brand: {} + http://hl7.org/fhir/StructureDefinition/organization-portal: {} + http://hl7.org/fhir/StructureDefinition/package-source: {} + http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition: {} + http://hl7.org/fhir/StructureDefinition/parameters-definition: {} + http://hl7.org/fhir/StructureDefinition/cqf-partOf: {} + http://hl7.org/fhir/StructureDefinition/patient-bornStatus: {} + http://hl7.org/fhir/StructureDefinition/patient-contactPriority: {} + http://hl7.org/fhir/StructureDefinition/patient-fetalStatus: {} + http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate: {} + http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy: {} + http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity: {} + http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal: {} + http://hl7.org/fhir/StructureDefinition/no-fixed-address: {} + http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern: {} + http://hl7.org/fhir/StructureDefinition/artifact-periodDuration: {} + http://hl7.org/fhir/StructureDefinition/individual-genderIdentity: {} + http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer: {} + http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus: {} + http://hl7.org/fhir/StructureDefinition/practitioner-job-title: {} + http://hl7.org/fhir/StructureDefinition/individual-pronouns: {} + http://hl7.org/fhir/StructureDefinition/cqf-publicationDate: {} + http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester: {} + http://hl7.org/fhir/StructureDefinition/extension-quantity-translation: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType: {} + http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender: {} + http://hl7.org/fhir/StructureDefinition/referencesContained: {} + http://hl7.org/fhir/StructureDefinition/workflow-releaseDate: {} + http://hl7.org/fhir/StructureDefinition/requirements-parent: {} + http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific: {} + http://hl7.org/fhir/StructureDefinition/derivation-reference: {} + http://hl7.org/fhir/StructureDefinition/resource-instance-description: {} + http://hl7.org/fhir/StructureDefinition/resource-instance-name: {} + http://hl7.org/fhir/StructureDefinition/satisfies-requirement: {} + http://hl7.org/fhir/StructureDefinition/cqf-resourceType: {} + http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment: {} + http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration: {} + http://hl7.org/fhir/StructureDefinition/cqf-scope: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-interface: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics: {} + http://hl7.org/fhir/StructureDefinition/valueset-select-by-map: {} + http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith: {} + http://hl7.org/fhir/StructureDefinition/cqf-shouldTraceDependency: {} + http://hl7.org/fhir/StructureDefinition/specimen-reject-reason: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number: {} + http://hl7.org/fhir/StructureDefinition/statistic-model-include-if: {} + http://hl7.org/fhir/StructureDefinition/subscription-best-effort: {} + http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress: {} + http://hl7.org/fhir/StructureDefinition/targetConstraint: {} + http://hl7.org/fhir/StructureDefinition/targetElement: {} + http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant: {} + http://hl7.org/fhir/StructureDefinition/targetPath: {} + http://hl7.org/fhir/StructureDefinition/cqf-testArtifact: {} + http://hl7.org/fhir/StructureDefinition/timezone: {} + http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy: {} + http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support: {} + http://hl7.org/fhir/StructureDefinition/timing-uncertainDate: {} + http://hl7.org/fhir/StructureDefinition/uncertainPeriod: {} + http://hl7.org/fhir/StructureDefinition/cqf-valueFilter: {} + http://hl7.org/fhir/StructureDefinition/version-specific-use: {} + http://hl7.org/fhir/StructureDefinition/version-specific-value: {} + http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy: {} + http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate: {} + http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle: {} + http://hl7.org/fhir/StructureDefinition/valueset-otherTitle: {} + http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription: {} + logical: {} +hl7.terminology.r4: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://terminology.hl7.org/ValueSet/accepting-patients: {} + http://terminology.hl7.org/ValueSet/action-participant-role: {} + http://terminology.hl7.org/ValueSet/action-type: {} + http://terminology.hl7.org/ValueSet/activity-definition-category: {} + http://terminology.hl7.org/ValueSet/adjudication: {} + http://terminology.hl7.org/ValueSet/adjudication-error: {} + http://terminology.hl7.org/ValueSet/adjudication-reason: {} + http://terminology.hl7.org/ValueSet/adverse-event-category: {} + http://terminology.hl7.org/ValueSet/adverse-event-causality-assess: {} + http://terminology.hl7.org/ValueSet/adverse-event-causality-method: {} + http://terminology.hl7.org/ValueSet/adverse-event-clinical-research-causality-relatedness: {} + http://terminology.hl7.org/ValueSet/adverse-event-clinical-research-grades: {} + http://terminology.hl7.org/ValueSet/adverse-event-clinical-research-outcomes: {} + http://terminology.hl7.org/ValueSet/adverse-event-clinical-research-seriousness-criteria: {} + http://terminology.hl7.org/ValueSet/adverse-event-seriousness: {} + http://terminology.hl7.org/ValueSet/adverse-event-severity: {} + http://terminology.hl7.org/ValueSet/allerg-intol-substance-exp-risk: {} + http://terminology.hl7.org/ValueSet/allergyintolerance-clinical: {} + http://terminology.hl7.org/ValueSet/allergyintolerance-verification: {} + http://terminology.hl7.org/ValueSet/appointment-cancellation-reason: {} + http://terminology.hl7.org/ValueSet/appropriateness-score: {} + http://terminology.hl7.org/ValueSet/artifact-contribution-instance-type: {} + http://terminology.hl7.org/ValueSet/artifact-identifier-type: {} + http://terminology.hl7.org/ValueSet/artifact-relationship-type: {} + http://terminology.hl7.org/ValueSet/artifact-url-classifier: {} + http://terminology.hl7.org/ValueSet/artifact-version-policy: {} + http://terminology.hl7.org/ValueSet/attribute-estimate-type: {} + http://terminology.hl7.org/ValueSet/audit-event-outcome: {} + http://terminology.hl7.org/ValueSet/audit-source-type: {} + http://terminology.hl7.org/ValueSet/basic-resource-type: {} + http://terminology.hl7.org/ValueSet/benefit-network: {} + http://terminology.hl7.org/ValueSet/benefit-term: {} + http://terminology.hl7.org/ValueSet/benefit-type: {} + http://terminology.hl7.org/ValueSet/benefit-unit: {} + http://terminology.hl7.org/ValueSet/care-service-accessibility: {} + http://terminology.hl7.org/ValueSet/catalogType: {} + http://terminology.hl7.org/ValueSet/certainty-rating: {} + http://terminology.hl7.org/ValueSet/certainty-subcomponent-rating: {} + http://terminology.hl7.org/ValueSet/certainty-subcomponent-type: {} + http://terminology.hl7.org/ValueSet/certainty-type: {} + http://terminology.hl7.org/ValueSet/characteristic-method: {} + http://terminology.hl7.org/ValueSet/chargeitem-billingcodes: {} + http://terminology.hl7.org/ValueSet/choice-list-orientation: {} + http://terminology.hl7.org/ValueSet/chromosome-human: {} + http://terminology.hl7.org/ValueSet/citation-artifact-classifier: {} + http://terminology.hl7.org/ValueSet/citation-classification-type: {} + http://terminology.hl7.org/ValueSet/citation-summary-style: {} + http://terminology.hl7.org/ValueSet/cited-artifact-abstract-type: {} + http://terminology.hl7.org/ValueSet/cited-artifact-classification-type: {} + http://terminology.hl7.org/ValueSet/cited-artifact-contribution-type: {} + http://terminology.hl7.org/ValueSet/cited-artifact-part-type: {} + http://terminology.hl7.org/ValueSet/cited-artifact-status-type: {} + http://terminology.hl7.org/ValueSet/cited-medium: {} + http://terminology.hl7.org/ValueSet/claim-careteamrole: {} + http://terminology.hl7.org/ValueSet/claim-exception: {} + http://terminology.hl7.org/ValueSet/claim-informationcategory: {} + http://terminology.hl7.org/ValueSet/claim-modifiers: {} + http://terminology.hl7.org/ValueSet/claim-subtype: {} + http://terminology.hl7.org/ValueSet/claim-type: {} + http://terminology.hl7.org/ValueSet/clinical-discharge-disposition: {} + http://terminology.hl7.org/ValueSet/CMSPlaceOfServiceCodes: {} + http://terminology.hl7.org/ValueSet/codesystem-altcode-kind: {} + http://terminology.hl7.org/ValueSet/common-tags: {} + http://terminology.hl7.org/ValueSet/communication-category: {} + http://terminology.hl7.org/ValueSet/communication-not-done-reason: {} + http://terminology.hl7.org/ValueSet/communication-topic: {} + http://terminology.hl7.org/ValueSet/composite-measure-scoring: {} + http://terminology.hl7.org/ValueSet/composition-altcode-kind: {} + http://terminology.hl7.org/ValueSet/condition-category: {} + http://terminology.hl7.org/ValueSet/condition-clinical: {} + http://terminology.hl7.org/ValueSet/condition-state: {} + http://terminology.hl7.org/ValueSet/condition-ver-status: {} + http://terminology.hl7.org/ValueSet/conformance-expectation: {} + http://terminology.hl7.org/ValueSet/consent-action: {} + http://terminology.hl7.org/ValueSet/consent-policy: {} + http://terminology.hl7.org/ValueSet/consent-scope: {} + http://terminology.hl7.org/ValueSet/consent-verification: {} + http://terminology.hl7.org/ValueSet/contactentity-type: {} + http://terminology.hl7.org/ValueSet/container-cap: {} + http://terminology.hl7.org/ValueSet/contract-action: {} + http://terminology.hl7.org/ValueSet/contract-actorrole: {} + http://terminology.hl7.org/ValueSet/contract-content-derivative: {} + http://terminology.hl7.org/ValueSet/contract-data-meaning: {} + http://terminology.hl7.org/ValueSet/contract-signer-type: {} + http://terminology.hl7.org/ValueSet/contract-subtype: {} + http://terminology.hl7.org/ValueSet/contract-term-subtype: {} + http://terminology.hl7.org/ValueSet/contract-term-type: {} + http://terminology.hl7.org/ValueSet/contract-type: {} + http://terminology.hl7.org/ValueSet/contributor-role: {} + http://terminology.hl7.org/ValueSet/contributor-summary-source: {} + http://terminology.hl7.org/ValueSet/contributor-summary-style: {} + http://terminology.hl7.org/ValueSet/contributor-summary-type: {} + http://terminology.hl7.org/ValueSet/copy-number-event: {} + http://terminology.hl7.org/ValueSet/coverage-class: {} + http://terminology.hl7.org/ValueSet/coverage-copay-type: {} + http://terminology.hl7.org/ValueSet/coverageeligibilityresponse-ex-auth-support: {} + http://terminology.hl7.org/ValueSet/coverage-financial-exception: {} + http://terminology.hl7.org/ValueSet/coverage-selfpay: {} + http://terminology.hl7.org/ValueSet/cpt-all: {} + http://terminology.hl7.org/ValueSet/cpt-base: {} + http://terminology.hl7.org/ValueSet/cpt-modifiers: {} + http://terminology.hl7.org/ValueSet/cpt-usable: {} + http://terminology.hl7.org/ValueSet/cql-access-modifier: {} + http://terminology.hl7.org/ValueSet/definition-status: {} + http://terminology.hl7.org/ValueSet/definition-topic: {} + http://terminology.hl7.org/ValueSet/definition-use: {} + http://terminology.hl7.org/ValueSet/devicealert-activationState: {} + http://terminology.hl7.org/ValueSet/devicealert-condition: {} + http://terminology.hl7.org/ValueSet/devicealert-priority: {} + http://terminology.hl7.org/ValueSet/device-kind: {} + http://terminology.hl7.org/ValueSet/device-status-reason: {} + http://terminology.hl7.org/ValueSet/diagnosis-role: {} + http://terminology.hl7.org/ValueSet/diagnosistype: {} + http://terminology.hl7.org/ValueSet/directness: {} + http://terminology.hl7.org/ValueSet/dose-rate-type: {} + http://terminology.hl7.org/ValueSet/edible-substance-type: {} + http://terminology.hl7.org/ValueSet/encounter-admit-source: {} + http://terminology.hl7.org/ValueSet/encounter-class: {} + http://terminology.hl7.org/ValueSet/encounter-diet: {} + http://terminology.hl7.org/ValueSet/encounter-discharge-disposition: {} + http://terminology.hl7.org/ValueSet/encounter-special-arrangements: {} + http://terminology.hl7.org/ValueSet/encounter-subject-status: {} + http://terminology.hl7.org/ValueSet/encounter-type: {} + http://terminology.hl7.org/ValueSet/endpoint-connection-type: {} + http://terminology.hl7.org/ValueSet/entformula-additive: {} + http://terminology.hl7.org/ValueSet/episodeofcare-type: {} + http://terminology.hl7.org/ValueSet/evidence-quality: {} + http://terminology.hl7.org/ValueSet/ex-benefitcategory: {} + http://terminology.hl7.org/ValueSet/ex-diagnosis-on-admission: {} + http://terminology.hl7.org/ValueSet/ex-diagnosisrelatedgroup: {} + http://terminology.hl7.org/ValueSet/ex-diagnosistype: {} + http://terminology.hl7.org/ValueSet/expansion-parameter-source: {} + http://terminology.hl7.org/ValueSet/expansion-processing-rule: {} + http://terminology.hl7.org/ValueSet/ex-payee-resource-type: {} + http://terminology.hl7.org/ValueSet/ex-paymenttype: {} + http://terminology.hl7.org/ValueSet/ex-procedure-type: {} + http://terminology.hl7.org/ValueSet/ex-program-code: {} + http://terminology.hl7.org/ValueSet/ex-revenue-center: {} + http://terminology.hl7.org/ValueSet/fhir-clinical-doc-information-recipient: {} + http://terminology.hl7.org/ValueSet/fhir-clinical-doc-participant: {} + http://terminology.hl7.org/ValueSet/financial-taskcode: {} + http://terminology.hl7.org/ValueSet/financial-taskinputtype: {} + http://terminology.hl7.org/ValueSet/flag-category: {} + http://terminology.hl7.org/ValueSet/forms: {} + http://terminology.hl7.org/ValueSet/fundsreserve: {} + http://terminology.hl7.org/ValueSet/gender-identity: {} + http://terminology.hl7.org/ValueSet/goal-acceptance-status: {} + http://terminology.hl7.org/ValueSet/goal-achievement: {} + http://terminology.hl7.org/ValueSet/goal-category: {} + http://terminology.hl7.org/ValueSet/goal-priority: {} + http://terminology.hl7.org/ValueSet/goal-relationship-type: {} + http://terminology.hl7.org/ValueSet/group-code: {} + http://terminology.hl7.org/ValueSet/guide-parameter-code: {} + http://terminology.hl7.org/ValueSet/handling-condition: {} + http://terminology.hl7.org/ValueSet/history-absent-reason: {} + http://terminology.hl7.org/ValueSet/hl7-work-group: {} + http://terminology.hl7.org/ValueSet/ILRSpeakingSkillScale: {} + http://terminology.hl7.org/ValueSet/image-reference-type: {} + http://terminology.hl7.org/ValueSet/immunization-evaluation-dose-status: {} + http://terminology.hl7.org/ValueSet/immunization-evaluation-dose-status-reason: {} + http://terminology.hl7.org/ValueSet/immunization-function: {} + http://terminology.hl7.org/ValueSet/immunization-funding-source: {} + http://terminology.hl7.org/ValueSet/immunization-program-eligibility: {} + http://terminology.hl7.org/ValueSet/immunization-recommendation-status: {} + http://terminology.hl7.org/ValueSet/immunization-subpotent-reason: {} + http://terminology.hl7.org/ValueSet/implantStatus: {} + http://terminology.hl7.org/ValueSet/insurance-coverage-type: {} + http://terminology.hl7.org/ValueSet/insuranceplan-applicability: {} + http://terminology.hl7.org/ValueSet/insuranceplan-plan-type: {} + http://terminology.hl7.org/ValueSet/insuranceplan-type: {} + http://terminology.hl7.org/ValueSet/insurance-product-type: {} + http://terminology.hl7.org/ValueSet/jurisdiction: {} + http://terminology.hl7.org/ValueSet/Languages: {} + http://terminology.hl7.org/ValueSet/library-type: {} + http://terminology.hl7.org/ValueSet/list-empty-reason: {} + http://terminology.hl7.org/ValueSet/list-example-codes: {} + http://terminology.hl7.org/ValueSet/list-order: {} + http://terminology.hl7.org/ValueSet/location-physical-type: {} + http://terminology.hl7.org/ValueSet/match-grade: {} + http://terminology.hl7.org/ValueSet/measure-aggregate-method: {} + http://terminology.hl7.org/ValueSet/measure-data-usage: {} + http://terminology.hl7.org/ValueSet/measure-improvement-notation: {} + http://terminology.hl7.org/ValueSet/measure-population: {} + http://terminology.hl7.org/ValueSet/measure-scoring: {} + http://terminology.hl7.org/ValueSet/measure-supplemental-data: {} + http://terminology.hl7.org/ValueSet/measure-type: {} + http://terminology.hl7.org/ValueSet/med-admin-perform-function: {} + http://terminology.hl7.org/ValueSet/medical-management-type: {} + http://terminology.hl7.org/ValueSet/medication-admin-location: {} + http://terminology.hl7.org/ValueSet/medicationdispense-performer-function: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-characteristic: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-package-type: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-status: {} + http://terminology.hl7.org/ValueSet/medicationrequest-admin-location: {} + http://terminology.hl7.org/ValueSet/medicationrequest-category: {} + http://terminology.hl7.org/ValueSet/medicationrequest-course-of-therapy: {} + http://terminology.hl7.org/ValueSet/medicationrequest-status-reason: {} + http://terminology.hl7.org/ValueSet/medication-usage-admin-location: {} + http://terminology.hl7.org/ValueSet/message-reason-encounter: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipKind: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipReflexivity: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipSymmetry: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipTransitivity: {} + http://terminology.hl7.org/ValueSet/missing-tooth-reason: {} + http://terminology.hl7.org/ValueSet/ndh-healthcare-service-category: {} + http://terminology.hl7.org/ValueSet/nutrition-intake-category: {} + http://terminology.hl7.org/ValueSet/object-role: {} + http://terminology.hl7.org/ValueSet/observation-category: {} + http://terminology.hl7.org/ValueSet/observation-statistics: {} + http://terminology.hl7.org/ValueSet/organization-affiliation-role: {} + http://terminology.hl7.org/ValueSet/organization-alias-type: {} + http://terminology.hl7.org/ValueSet/organization-type: {} + http://terminology.hl7.org/ValueSet/parameter-group: {} + http://terminology.hl7.org/ValueSet/payeetype: {} + http://terminology.hl7.org/ValueSet/payment-adjustment-reason: {} + http://terminology.hl7.org/ValueSet/payment-status: {} + http://terminology.hl7.org/ValueSet/payment-type: {} + http://terminology.hl7.org/ValueSet/plan-definition-type: {} + http://terminology.hl7.org/ValueSet/POAIndicators: {} + http://terminology.hl7.org/ValueSet/procedure-type: {} + http://terminology.hl7.org/ValueSet/process-priority: {} + http://terminology.hl7.org/ValueSet/professional-credential-status: {} + http://terminology.hl7.org/ValueSet/program: {} + http://terminology.hl7.org/ValueSet/pronouns: {} + http://terminology.hl7.org/ValueSet/provenance-agent-type: {} + http://terminology.hl7.org/ValueSet/provider-qualification: {} + http://terminology.hl7.org/ValueSet/published-in-type: {} + http://terminology.hl7.org/ValueSet/question-max-occurs: {} + http://terminology.hl7.org/ValueSet/questionnaire-usage-mode: {} + http://terminology.hl7.org/ValueSet/reaction-event-certainty: {} + http://terminology.hl7.org/ValueSet/reason-medication-given-codes: {} + http://terminology.hl7.org/ValueSet/recommendation-strength: {} + http://terminology.hl7.org/ValueSet/recorded-sex-or-gender-type: {} + http://terminology.hl7.org/ValueSet/referencerange-meaning: {} + http://terminology.hl7.org/ValueSet/rejection-criteria: {} + http://terminology.hl7.org/ValueSet/related-claim-relationship: {} + http://terminology.hl7.org/ValueSet/research-study-objective-type: {} + http://terminology.hl7.org/ValueSet/research-study-party-role: {} + http://terminology.hl7.org/ValueSet/research-study-phase: {} + http://terminology.hl7.org/ValueSet/research-study-prim-purp-type: {} + http://terminology.hl7.org/ValueSet/research-study-reason-stopped: {} + http://terminology.hl7.org/ValueSet/research-study-status: {} + http://terminology.hl7.org/ValueSet/research-subject-milestone: {} + http://terminology.hl7.org/ValueSet/research-subject-milestones: {} + http://terminology.hl7.org/ValueSet/research-subject-state: {} + http://terminology.hl7.org/ValueSet/research-subject-state-type: {} + http://terminology.hl7.org/ValueSet/resource-security-category: {} + http://terminology.hl7.org/ValueSet/resource-type-link: {} + http://terminology.hl7.org/ValueSet/risk-probability: {} + http://terminology.hl7.org/ValueSet/service-category: {} + http://terminology.hl7.org/ValueSet/service-delivery-method: {} + http://terminology.hl7.org/ValueSet/service-place: {} + http://terminology.hl7.org/ValueSet/service-provision-conditions: {} + http://terminology.hl7.org/ValueSet/service-referral-method: {} + http://terminology.hl7.org/ValueSet/service-type: {} + http://terminology.hl7.org/ValueSet/service-uscls: {} + http://terminology.hl7.org/ValueSet/sex-parameter-for-clinical-use: {} + http://terminology.hl7.org/ValueSet/smart-capabilities: {} + http://terminology.hl7.org/ValueSet/snomed-intl-gps: {} + http://terminology.hl7.org/ValueSet/software-system-type: {} + http://terminology.hl7.org/ValueSet/special-values: {} + http://terminology.hl7.org/ValueSet/standards-status: {} + http://terminology.hl7.org/ValueSet/state-change-reason: {} + http://terminology.hl7.org/ValueSet/statistic-model-code: {} + http://terminology.hl7.org/ValueSet/statistic-type: {} + http://terminology.hl7.org/ValueSet/study-design: {} + http://terminology.hl7.org/ValueSet/study-type: {} + http://terminology.hl7.org/ValueSet/subscriber-relationship: {} + http://terminology.hl7.org/ValueSet/subscription-channel-type: {} + http://terminology.hl7.org/ValueSet/subscription-error: {} + http://terminology.hl7.org/ValueSet/subscription-status-at-event: {} + http://terminology.hl7.org/ValueSet/subscription-tag: {} + http://terminology.hl7.org/ValueSet/substance-category: {} + http://terminology.hl7.org/ValueSet/supplydelivery-type: {} + http://terminology.hl7.org/ValueSet/supplyrequest-kind: {} + http://terminology.hl7.org/ValueSet/supplyrequest-reason: {} + http://terminology.hl7.org/ValueSet/surface: {} + http://terminology.hl7.org/ValueSet/synthesis-type: {} + http://terminology.hl7.org/ValueSet/testscript-operation-codes: {} + http://terminology.hl7.org/ValueSet/testscript-profile-destination-types: {} + http://terminology.hl7.org/ValueSet/testscript-profile-origin-types: {} + http://terminology.hl7.org/ValueSet/time-period-ranges: {} + http://terminology.hl7.org/ValueSet/title-type: {} + http://terminology.hl7.org/ValueSet/tooth: {} + http://terminology.hl7.org/ValueSet/ucum-common: {} + http://terminology.hl7.org/ValueSet/ucum-units: {} + http://terminology.hl7.org/ValueSet/usage-context-type: {} + http://terminology.hl7.org/ValueSet/USPS-State: {} + http://terminology.hl7.org/ValueSet/v2-0001: {} + http://terminology.hl7.org/ValueSet/v2-0002: {} + http://terminology.hl7.org/ValueSet/v2-0003: {} + http://terminology.hl7.org/ValueSet/v2-0004: {} + http://terminology.hl7.org/ValueSet/v2-0005: {} + http://terminology.hl7.org/ValueSet/v2-0006: {} + http://terminology.hl7.org/ValueSet/v2-0007: {} + http://terminology.hl7.org/ValueSet/v2-0008: {} + http://terminology.hl7.org/ValueSet/v2-0009: {} + http://terminology.hl7.org/ValueSet/v2-0012: {} + http://terminology.hl7.org/ValueSet/v2-0017: {} + http://terminology.hl7.org/ValueSet/v2-0027: {} + http://terminology.hl7.org/ValueSet/v2-0033: {} + http://terminology.hl7.org/ValueSet/v2-0034: {} + http://terminology.hl7.org/ValueSet/v2-0038: {} + http://terminology.hl7.org/ValueSet/v2-0048: {} + http://terminology.hl7.org/ValueSet/v2-0052: {} + http://terminology.hl7.org/ValueSet/v2-0061: {} + http://terminology.hl7.org/ValueSet/v2-0062: {} + http://terminology.hl7.org/ValueSet/v2-0063: {} + http://terminology.hl7.org/ValueSet/v2-0065: {} + http://terminology.hl7.org/ValueSet/v2-0066: {} + http://terminology.hl7.org/ValueSet/v2-0069: {} + http://terminology.hl7.org/ValueSet/v2-0070: {} + http://terminology.hl7.org/ValueSet/v2-0074: {} + http://terminology.hl7.org/ValueSet/v2-0076: {} + http://terminology.hl7.org/ValueSet/v2-0080: {} + http://terminology.hl7.org/ValueSet/v2-0083: {} + http://terminology.hl7.org/ValueSet/v2-0085: {} + http://terminology.hl7.org/ValueSet/v2-0091: {} + http://terminology.hl7.org/ValueSet/v2-0092: {} + http://terminology.hl7.org/ValueSet/v2-0098: {} + http://terminology.hl7.org/ValueSet/v2-0100: {} + http://terminology.hl7.org/ValueSet/v2-0102: {} + http://terminology.hl7.org/ValueSet/v2-0103: {} + http://terminology.hl7.org/ValueSet/v2-0104: {} + http://terminology.hl7.org/ValueSet/v2-0105: {} + http://terminology.hl7.org/ValueSet/v2-0106: {} + http://terminology.hl7.org/ValueSet/v2-0107: {} + http://terminology.hl7.org/ValueSet/v2-0108: {} + http://terminology.hl7.org/ValueSet/v2-0109: {} + http://terminology.hl7.org/ValueSet/v2-0116: {} + http://terminology.hl7.org/ValueSet/v2-0119: {} + http://terminology.hl7.org/ValueSet/v2-0121: {} + http://terminology.hl7.org/ValueSet/v2-0122: {} + http://terminology.hl7.org/ValueSet/v2-0123: {} + http://terminology.hl7.org/ValueSet/v2-0124: {} + http://terminology.hl7.org/ValueSet/v2-0125: {} + http://terminology.hl7.org/ValueSet/v2-0126: {} + http://terminology.hl7.org/ValueSet/v2-0127: {} + http://terminology.hl7.org/ValueSet/v2-0128: {} + http://terminology.hl7.org/ValueSet/v2-0130: {} + http://terminology.hl7.org/ValueSet/v2-0131: {} + http://terminology.hl7.org/ValueSet/v2-0133: {} + http://terminology.hl7.org/ValueSet/v2-0135: {} + http://terminology.hl7.org/ValueSet/v2-0136: {} + http://terminology.hl7.org/ValueSet/v2-0137: {} + http://terminology.hl7.org/ValueSet/v2-0140: {} + http://terminology.hl7.org/ValueSet/v2-0142: {} + http://terminology.hl7.org/ValueSet/v2-0144: {} + http://terminology.hl7.org/ValueSet/v2-0145: {} + http://terminology.hl7.org/ValueSet/v2-0146: {} + http://terminology.hl7.org/ValueSet/v2-0147: {} + http://terminology.hl7.org/ValueSet/v2-0148: {} + http://terminology.hl7.org/ValueSet/v2-0149: {} + http://terminology.hl7.org/ValueSet/v2-0150: {} + http://terminology.hl7.org/ValueSet/v2-0155: {} + http://terminology.hl7.org/ValueSet/v2-0156: {} + http://terminology.hl7.org/ValueSet/v2-0157: {} + http://terminology.hl7.org/ValueSet/v2-0158: {} + http://terminology.hl7.org/ValueSet/v2-0159: {} + http://terminology.hl7.org/ValueSet/v2-0160: {} + http://terminology.hl7.org/ValueSet/v2-0161: {} + http://terminology.hl7.org/ValueSet/v2-0162: {} + http://terminology.hl7.org/ValueSet/v2-0163: {} + http://terminology.hl7.org/ValueSet/v2-0164: {} + http://terminology.hl7.org/ValueSet/v2-0165: {} + http://terminology.hl7.org/ValueSet/v2-0166: {} + http://terminology.hl7.org/ValueSet/v2-0167: {} + http://terminology.hl7.org/ValueSet/v2-0168: {} + http://terminology.hl7.org/ValueSet/v2-0169: {} + http://terminology.hl7.org/ValueSet/v2-0170: {} + http://terminology.hl7.org/ValueSet/v2-0173: {} + http://terminology.hl7.org/ValueSet/v2-0174: {} + http://terminology.hl7.org/ValueSet/v2-0175: {} + http://terminology.hl7.org/ValueSet/v2-0177: {} + http://terminology.hl7.org/ValueSet/v2-0178: {} + http://terminology.hl7.org/ValueSet/v2-0179: {} + http://terminology.hl7.org/ValueSet/v2-0180: {} + http://terminology.hl7.org/ValueSet/v2-0181: {} + http://terminology.hl7.org/ValueSet/v2-0183: {} + http://terminology.hl7.org/ValueSet/v2-0185: {} + http://terminology.hl7.org/ValueSet/v2-0187: {} + http://terminology.hl7.org/ValueSet/v2-0189: {} + http://terminology.hl7.org/ValueSet/v2-0190: {} + http://terminology.hl7.org/ValueSet/v2-0191: {} + http://terminology.hl7.org/ValueSet/v2-0193: {} + http://terminology.hl7.org/ValueSet/v2-0200: {} + http://terminology.hl7.org/ValueSet/v2-0201: {} + http://terminology.hl7.org/ValueSet/v2-0202: {} + http://terminology.hl7.org/ValueSet/v2-0203: {} + http://terminology.hl7.org/ValueSet/v2-0204: {} + http://terminology.hl7.org/ValueSet/v2-0205: {} + http://terminology.hl7.org/ValueSet/v2-0206: {} + http://terminology.hl7.org/ValueSet/v2-0207: {} + http://terminology.hl7.org/ValueSet/v2-0208: {} + http://terminology.hl7.org/ValueSet/v2-0209: {} + http://terminology.hl7.org/ValueSet/v2-0210: {} + http://terminology.hl7.org/ValueSet/v2-0211: {} + http://terminology.hl7.org/ValueSet/v2-0213: {} + http://terminology.hl7.org/ValueSet/v2-0214: {} + http://terminology.hl7.org/ValueSet/v2-0215: {} + http://terminology.hl7.org/ValueSet/v2-0216: {} + http://terminology.hl7.org/ValueSet/v2-0217: {} + http://terminology.hl7.org/ValueSet/v2-0220: {} + http://terminology.hl7.org/ValueSet/v2-0223: {} + http://terminology.hl7.org/ValueSet/v2-0224: {} + http://terminology.hl7.org/ValueSet/v2-0225: {} + http://terminology.hl7.org/ValueSet/v2-0227: {} + http://terminology.hl7.org/ValueSet/v2-0228: {} + http://terminology.hl7.org/ValueSet/v2-0230: {} + http://terminology.hl7.org/ValueSet/v2-0231: {} + http://terminology.hl7.org/ValueSet/v2-0232: {} + http://terminology.hl7.org/ValueSet/v2-0234: {} + http://terminology.hl7.org/ValueSet/v2-0235: {} + http://terminology.hl7.org/ValueSet/v2-0236: {} + http://terminology.hl7.org/ValueSet/v2-0237: {} + http://terminology.hl7.org/ValueSet/v2-0238: {} + http://terminology.hl7.org/ValueSet/v2-0239: {} + http://terminology.hl7.org/ValueSet/v2-0240: {} + http://terminology.hl7.org/ValueSet/v2-0241: {} + http://terminology.hl7.org/ValueSet/v2-0242: {} + http://terminology.hl7.org/ValueSet/v2-0243: {} + http://terminology.hl7.org/ValueSet/v2-0247: {} + http://terminology.hl7.org/ValueSet/v2-0248: {} + http://terminology.hl7.org/ValueSet/v2-0250: {} + http://terminology.hl7.org/ValueSet/v2-0251: {} + http://terminology.hl7.org/ValueSet/v2-0252: {} + http://terminology.hl7.org/ValueSet/v2-0253: {} + http://terminology.hl7.org/ValueSet/v2-0254: {} + http://terminology.hl7.org/ValueSet/v2-0255: {} + http://terminology.hl7.org/ValueSet/v2-0256: {} + http://terminology.hl7.org/ValueSet/v2-0257: {} + http://terminology.hl7.org/ValueSet/v2-0258: {} + http://terminology.hl7.org/ValueSet/v2-0260: {} + http://terminology.hl7.org/ValueSet/v2-0261: {} + http://terminology.hl7.org/ValueSet/v2-0262: {} + http://terminology.hl7.org/ValueSet/v2-0263: {} + http://terminology.hl7.org/ValueSet/v2-0265: {} + http://terminology.hl7.org/ValueSet/v2-0267: {} + http://terminology.hl7.org/ValueSet/v2-0268: {} + http://terminology.hl7.org/ValueSet/v2-0269: {} + http://terminology.hl7.org/ValueSet/v2-0270: {} + http://terminology.hl7.org/ValueSet/v2-0271: {} + http://terminology.hl7.org/ValueSet/v2-0272: {} + http://terminology.hl7.org/ValueSet/v2-0273: {} + http://terminology.hl7.org/ValueSet/v2-0275: {} + http://terminology.hl7.org/ValueSet/v2-0276: {} + http://terminology.hl7.org/ValueSet/v2-0277: {} + http://terminology.hl7.org/ValueSet/v2-0278: {} + http://terminology.hl7.org/ValueSet/v2-0279: {} + http://terminology.hl7.org/ValueSet/v2-0280: {} + http://terminology.hl7.org/ValueSet/v2-0281: {} + http://terminology.hl7.org/ValueSet/v2-0282: {} + http://terminology.hl7.org/ValueSet/v2-0283: {} + http://terminology.hl7.org/ValueSet/v2-0284: {} + http://terminology.hl7.org/ValueSet/v2-0286: {} + http://terminology.hl7.org/ValueSet/v2-0287: {} + http://terminology.hl7.org/ValueSet/v2-0290: {} + http://terminology.hl7.org/ValueSet/v2-0292: {} + http://terminology.hl7.org/ValueSet/v2-0294: {} + http://terminology.hl7.org/ValueSet/v2-0298: {} + http://terminology.hl7.org/ValueSet/v2-0299: {} + http://terminology.hl7.org/ValueSet/v2-0301: {} + http://terminology.hl7.org/ValueSet/v2-0305: {} + http://terminology.hl7.org/ValueSet/v2-0309: {} + http://terminology.hl7.org/ValueSet/v2-0311: {} + http://terminology.hl7.org/ValueSet/v2-0315: {} + http://terminology.hl7.org/ValueSet/v2-0316: {} + http://terminology.hl7.org/ValueSet/v2-0317: {} + http://terminology.hl7.org/ValueSet/v2-0321: {} + http://terminology.hl7.org/ValueSet/v2-0322: {} + http://terminology.hl7.org/ValueSet/v2-0323: {} + http://terminology.hl7.org/ValueSet/v2-0324: {} + http://terminology.hl7.org/ValueSet/v2-0325: {} + http://terminology.hl7.org/ValueSet/v2-0326: {} + http://terminology.hl7.org/ValueSet/v2-0329: {} + http://terminology.hl7.org/ValueSet/v2-0330: {} + http://terminology.hl7.org/ValueSet/v2-0331: {} + http://terminology.hl7.org/ValueSet/v2-0332: {} + http://terminology.hl7.org/ValueSet/v2-0334: {} + http://terminology.hl7.org/ValueSet/v2-0335: {} + http://terminology.hl7.org/ValueSet/v2-0336: {} + http://terminology.hl7.org/ValueSet/v2-0337: {} + http://terminology.hl7.org/ValueSet/v2-0338: {} + http://terminology.hl7.org/ValueSet/v2-0339: {} + http://terminology.hl7.org/ValueSet/v2-0344: {} + http://terminology.hl7.org/ValueSet/v2-0350: {} + http://terminology.hl7.org/ValueSet/v2-0351: {} + http://terminology.hl7.org/ValueSet/v2-0353: {} + http://terminology.hl7.org/ValueSet/v2-0354: {} + http://terminology.hl7.org/ValueSet/v2-0355: {} + http://terminology.hl7.org/ValueSet/v2-0356: {} + http://terminology.hl7.org/ValueSet/v2-0357: {} + http://terminology.hl7.org/ValueSet/v2-0359: {} + http://terminology.hl7.org/ValueSet/v2-0360: {} + http://terminology.hl7.org/ValueSet/v2-0364: {} + http://terminology.hl7.org/ValueSet/v2-0365: {} + http://terminology.hl7.org/ValueSet/v2-0366: {} + http://terminology.hl7.org/ValueSet/v2-0367: {} + http://terminology.hl7.org/ValueSet/v2-0368: {} + http://terminology.hl7.org/ValueSet/v2-0369: {} + http://terminology.hl7.org/ValueSet/v2-0370: {} + http://terminology.hl7.org/ValueSet/v2-0371: {} + http://terminology.hl7.org/ValueSet/v2-0372: {} + http://terminology.hl7.org/ValueSet/v2-0373: {} + http://terminology.hl7.org/ValueSet/v2-0374: {} + http://terminology.hl7.org/ValueSet/v2-0375: {} + http://terminology.hl7.org/ValueSet/v2-0376: {} + http://terminology.hl7.org/ValueSet/v2-0377: {} + http://terminology.hl7.org/ValueSet/v2-0383: {} + http://terminology.hl7.org/ValueSet/v2-0384: {} + http://terminology.hl7.org/ValueSet/v2-0387: {} + http://terminology.hl7.org/ValueSet/v2-0388: {} + http://terminology.hl7.org/ValueSet/v2-0389: {} + http://terminology.hl7.org/ValueSet/v2-0391: {} + http://terminology.hl7.org/ValueSet/v2-0392: {} + http://terminology.hl7.org/ValueSet/v2-0393: {} + http://terminology.hl7.org/ValueSet/v2-0394: {} + http://terminology.hl7.org/ValueSet/v2-0395: {} + http://terminology.hl7.org/ValueSet/v2-0396: {} + http://terminology.hl7.org/ValueSet/v2-0397: {} + http://terminology.hl7.org/ValueSet/v2-0398: {} + http://terminology.hl7.org/ValueSet/v2-0401: {} + http://terminology.hl7.org/ValueSet/v2-0402: {} + http://terminology.hl7.org/ValueSet/v2-0403: {} + http://terminology.hl7.org/ValueSet/v2-0404: {} + http://terminology.hl7.org/ValueSet/v2-0406: {} + http://terminology.hl7.org/ValueSet/v2-0409: {} + http://terminology.hl7.org/ValueSet/v2-0415: {} + http://terminology.hl7.org/ValueSet/v2-0416: {} + http://terminology.hl7.org/ValueSet/v2-0417: {} + http://terminology.hl7.org/ValueSet/v2-0418: {} + http://terminology.hl7.org/ValueSet/v2-0421: {} + http://terminology.hl7.org/ValueSet/v2-0422: {} + http://terminology.hl7.org/ValueSet/v2-0423: {} + http://terminology.hl7.org/ValueSet/v2-0424: {} + http://terminology.hl7.org/ValueSet/v2-0425: {} + http://terminology.hl7.org/ValueSet/v2-0426: {} + http://terminology.hl7.org/ValueSet/v2-0427: {} + http://terminology.hl7.org/ValueSet/v2-0428: {} + http://terminology.hl7.org/ValueSet/v2-0429: {} + http://terminology.hl7.org/ValueSet/v2-0430: {} + http://terminology.hl7.org/ValueSet/v2-0431: {} + http://terminology.hl7.org/ValueSet/v2-0432: {} + http://terminology.hl7.org/ValueSet/v2-0433: {} + http://terminology.hl7.org/ValueSet/v2-0434: {} + http://terminology.hl7.org/ValueSet/v2-0435: {} + http://terminology.hl7.org/ValueSet/v2-0436: {} + http://terminology.hl7.org/ValueSet/v2-0437: {} + http://terminology.hl7.org/ValueSet/v2-0438: {} + http://terminology.hl7.org/ValueSet/v2-0440: {} + http://terminology.hl7.org/ValueSet/v2-0441: {} + http://terminology.hl7.org/ValueSet/v2-0442: {} + http://terminology.hl7.org/ValueSet/v2-0443: {} + http://terminology.hl7.org/ValueSet/v2-0444: {} + http://terminology.hl7.org/ValueSet/v2-0445: {} + http://terminology.hl7.org/ValueSet/v2-0450: {} + http://terminology.hl7.org/ValueSet/v2-0456: {} + http://terminology.hl7.org/ValueSet/v2-0457: {} + http://terminology.hl7.org/ValueSet/v2-0465: {} + http://terminology.hl7.org/ValueSet/v2-0466: {} + http://terminology.hl7.org/ValueSet/v2-0468: {} + http://terminology.hl7.org/ValueSet/v2-0469: {} + http://terminology.hl7.org/ValueSet/v2-0470: {} + http://terminology.hl7.org/ValueSet/v2-0472: {} + http://terminology.hl7.org/ValueSet/v2-0473: {} + http://terminology.hl7.org/ValueSet/v2-0474: {} + http://terminology.hl7.org/ValueSet/v2-0475: {} + http://terminology.hl7.org/ValueSet/v2-0477: {} + http://terminology.hl7.org/ValueSet/v2-0478: {} + http://terminology.hl7.org/ValueSet/v2-0480: {} + http://terminology.hl7.org/ValueSet/v2-0482: {} + http://terminology.hl7.org/ValueSet/v2-0483: {} + http://terminology.hl7.org/ValueSet/v2-0484: {} + http://terminology.hl7.org/ValueSet/v2-0485: {} + http://terminology.hl7.org/ValueSet/v2-0487: {} + http://terminology.hl7.org/ValueSet/v2-0488: {} + http://terminology.hl7.org/ValueSet/v2-0489: {} + http://terminology.hl7.org/ValueSet/v2-0490: {} + http://terminology.hl7.org/ValueSet/v2-0491: {} + http://terminology.hl7.org/ValueSet/v2-0492: {} + http://terminology.hl7.org/ValueSet/v2-0493: {} + http://terminology.hl7.org/ValueSet/v2-0494: {} + http://terminology.hl7.org/ValueSet/v2-0495: {} + http://terminology.hl7.org/ValueSet/v2-0496: {} + http://terminology.hl7.org/ValueSet/v2-0497: {} + http://terminology.hl7.org/ValueSet/v2-0498: {} + http://terminology.hl7.org/ValueSet/v2-0499: {} + http://terminology.hl7.org/ValueSet/v2-0500: {} + http://terminology.hl7.org/ValueSet/v2-0501: {} + http://terminology.hl7.org/ValueSet/v2-0502: {} + http://terminology.hl7.org/ValueSet/v2-0503: {} + http://terminology.hl7.org/ValueSet/v2-0504: {} + http://terminology.hl7.org/ValueSet/v2-0505: {} + http://terminology.hl7.org/ValueSet/v2-0506: {} + http://terminology.hl7.org/ValueSet/v2-0507: {} + http://terminology.hl7.org/ValueSet/v2-0508: {} + http://terminology.hl7.org/ValueSet/v2-0510: {} + http://terminology.hl7.org/ValueSet/v2-0511: {} + http://terminology.hl7.org/ValueSet/v2-0513: {} + http://terminology.hl7.org/ValueSet/v2-0514: {} + http://terminology.hl7.org/ValueSet/v2-0516: {} + http://terminology.hl7.org/ValueSet/v2-0517: {} + http://terminology.hl7.org/ValueSet/v2-0518: {} + http://terminology.hl7.org/ValueSet/v2-0520: {} + http://terminology.hl7.org/ValueSet/v2-0523: {} + http://terminology.hl7.org/ValueSet/v2-0524: {} + http://terminology.hl7.org/ValueSet/v2-0527: {} + http://terminology.hl7.org/ValueSet/v2-0528: {} + http://terminology.hl7.org/ValueSet/v2-0529: {} + http://terminology.hl7.org/ValueSet/v2-0530: {} + http://terminology.hl7.org/ValueSet/v2-0532: {} + http://terminology.hl7.org/ValueSet/v2-0534: {} + http://terminology.hl7.org/ValueSet/v2-0535: {} + http://terminology.hl7.org/ValueSet/v2-0536: {} + http://terminology.hl7.org/ValueSet/v2-0538: {} + http://terminology.hl7.org/ValueSet/v2-0540: {} + http://terminology.hl7.org/ValueSet/v2-0544: {} + http://terminology.hl7.org/ValueSet/v2-0547: {} + http://terminology.hl7.org/ValueSet/v2-0548: {} + http://terminology.hl7.org/ValueSet/v2-0550: {} + http://terminology.hl7.org/ValueSet/v2-0553: {} + http://terminology.hl7.org/ValueSet/v2-0554: {} + http://terminology.hl7.org/ValueSet/v2-0555: {} + http://terminology.hl7.org/ValueSet/v2-0556: {} + http://terminology.hl7.org/ValueSet/v2-0557: {} + http://terminology.hl7.org/ValueSet/v2-0558: {} + http://terminology.hl7.org/ValueSet/v2-0559: {} + http://terminology.hl7.org/ValueSet/v2-0560: {} + http://terminology.hl7.org/ValueSet/v2-0561: {} + http://terminology.hl7.org/ValueSet/v2-0562: {} + http://terminology.hl7.org/ValueSet/v2-0564: {} + http://terminology.hl7.org/ValueSet/v2-0565: {} + http://terminology.hl7.org/ValueSet/v2-0566: {} + http://terminology.hl7.org/ValueSet/v2-0567: {} + http://terminology.hl7.org/ValueSet/v2-0568: {} + http://terminology.hl7.org/ValueSet/v2-0569: {} + http://terminology.hl7.org/ValueSet/v2-0570: {} + http://terminology.hl7.org/ValueSet/v2-0571: {} + http://terminology.hl7.org/ValueSet/v2-0572: {} + http://terminology.hl7.org/ValueSet/v2-0615: {} + http://terminology.hl7.org/ValueSet/v2-0616: {} + http://terminology.hl7.org/ValueSet/v2-0617: {} + http://terminology.hl7.org/ValueSet/v2-0618: {} + http://terminology.hl7.org/ValueSet/v2-0625: {} + http://terminology.hl7.org/ValueSet/v2-0634: {} + http://terminology.hl7.org/ValueSet/v2-0642: {} + http://terminology.hl7.org/ValueSet/v2-0651: {} + http://terminology.hl7.org/ValueSet/v2-0653: {} + http://terminology.hl7.org/ValueSet/v2-0657: {} + http://terminology.hl7.org/ValueSet/v2-0659: {} + http://terminology.hl7.org/ValueSet/v2-0667: {} + http://terminology.hl7.org/ValueSet/v2-0669: {} + http://terminology.hl7.org/ValueSet/v2-0682: {} + http://terminology.hl7.org/ValueSet/v2-0702: {} + http://terminology.hl7.org/ValueSet/v2-0717: {} + http://terminology.hl7.org/ValueSet/v2-0719: {} + http://terminology.hl7.org/ValueSet/v2-0725: {} + http://terminology.hl7.org/ValueSet/v2-0728: {} + http://terminology.hl7.org/ValueSet/v2-0731: {} + http://terminology.hl7.org/ValueSet/v2-0734: {} + http://terminology.hl7.org/ValueSet/v2-0739: {} + http://terminology.hl7.org/ValueSet/v2-0742: {} + http://terminology.hl7.org/ValueSet/v2-0749: {} + http://terminology.hl7.org/ValueSet/v2-0755: {} + http://terminology.hl7.org/ValueSet/v2-0757: {} + http://terminology.hl7.org/ValueSet/v2-0759: {} + http://terminology.hl7.org/ValueSet/v2-0761: {} + http://terminology.hl7.org/ValueSet/v2-0763: {} + http://terminology.hl7.org/ValueSet/v2-0776: {} + http://terminology.hl7.org/ValueSet/v2-0778: {} + http://terminology.hl7.org/ValueSet/v2-0790: {} + http://terminology.hl7.org/ValueSet/v2-0793: {} + http://terminology.hl7.org/ValueSet/v2-0806: {} + http://terminology.hl7.org/ValueSet/v2-0818: {} + http://terminology.hl7.org/ValueSet/v2-0868: {} + http://terminology.hl7.org/ValueSet/v2-0871: {} + http://terminology.hl7.org/ValueSet/v2-0881: {} + http://terminology.hl7.org/ValueSet/v2-0882: {} + http://terminology.hl7.org/ValueSet/v2-0894: {} + http://terminology.hl7.org/ValueSet/v2-0895: {} + http://terminology.hl7.org/ValueSet/v2-0904: {} + http://terminology.hl7.org/ValueSet/v2-0905: {} + http://terminology.hl7.org/ValueSet/v2-0906: {} + http://terminology.hl7.org/ValueSet/v2-0907: {} + http://terminology.hl7.org/ValueSet/v2-0909: {} + http://terminology.hl7.org/ValueSet/v2-0912: {} + http://terminology.hl7.org/ValueSet/v2-0914: {} + http://terminology.hl7.org/ValueSet/v2-0916: {} + http://terminology.hl7.org/ValueSet/v2-0917: {} + http://terminology.hl7.org/ValueSet/v2-0918: {} + http://terminology.hl7.org/ValueSet/v2-0919: {} + http://terminology.hl7.org/ValueSet/v2-0920: {} + http://terminology.hl7.org/ValueSet/v2-0921: {} + http://terminology.hl7.org/ValueSet/v2-0922: {} + http://terminology.hl7.org/ValueSet/v2-0923: {} + http://terminology.hl7.org/ValueSet/v2-0924: {} + http://terminology.hl7.org/ValueSet/v2-0925: {} + http://terminology.hl7.org/ValueSet/v2-0926: {} + http://terminology.hl7.org/ValueSet/v2-0927: {} + http://terminology.hl7.org/ValueSet/v2-0929: {} + http://terminology.hl7.org/ValueSet/v2-0930: {} + http://terminology.hl7.org/ValueSet/v2-0931: {} + http://terminology.hl7.org/ValueSet/v2-0932: {} + http://terminology.hl7.org/ValueSet/v2-0933: {} + http://terminology.hl7.org/ValueSet/v2-0935: {} + http://terminology.hl7.org/ValueSet/v2-0936: {} + http://terminology.hl7.org/ValueSet/v2-0937: {} + http://terminology.hl7.org/ValueSet/v2-0938: {} + http://terminology.hl7.org/ValueSet/v2-0939: {} + http://terminology.hl7.org/ValueSet/v2-0940: {} + http://terminology.hl7.org/ValueSet/v2-0942: {} + http://terminology.hl7.org/ValueSet/v2-0945: {} + http://terminology.hl7.org/ValueSet/v2-0946: {} + http://terminology.hl7.org/ValueSet/v2-0948: {} + http://terminology.hl7.org/ValueSet/v2-0949: {} + http://terminology.hl7.org/ValueSet/v2-0950: {} + http://terminology.hl7.org/ValueSet/v2-0951: {} + http://terminology.hl7.org/ValueSet/v2-0952: {} + http://terminology.hl7.org/ValueSet/v2-0959: {} + http://terminology.hl7.org/ValueSet/v2-0961: {} + http://terminology.hl7.org/ValueSet/v2-0962: {} + http://terminology.hl7.org/ValueSet/v2-0970: {} + http://terminology.hl7.org/ValueSet/v2-0971: {} + http://terminology.hl7.org/ValueSet/v2-4000: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0291: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0347: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0399: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0834: {} + http://terminology.hl7.org/ValueSet/v3-Abenakian: {} + http://terminology.hl7.org/ValueSet/v3-AccessMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementCondition: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailNotSupportedCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailSyntaxErrorCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailType: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementType: {} + http://terminology.hl7.org/ValueSet/v3-ActAccommodationReason: {} + http://terminology.hl7.org/ValueSet/v3-ActAccountCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationResultActionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeAuthorizationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeDetectedIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeRuleDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAmbulatoryEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAntigenInvalidReason: {} + http://terminology.hl7.org/ValueSet/v3-ActBillableModifierCode: {} + http://terminology.hl7.org/ValueSet/v3-ActBillingArrangementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActBoundedROICode: {} + http://terminology.hl7.org/ValueSet/v3-ActCareProvisionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActClaimAttachmentCategoryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActClass: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccession: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccommodation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccount: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAcquisitionExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBattery: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBioSequence: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBioSequenceVariation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBoundedRoi: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCareProvision: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCategory: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCdaLevelOneClinicalDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalTrial: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalTrialTimepointEvent: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCluster: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCompositeOrder: {} + http://terminology.hl7.org/ValueSet/v3-ActClassComposition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConcern: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCondition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConditionNode: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConsent: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContainer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContainerRegistration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassControlAct: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCorrelatedObservationSequences: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCoverage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDetectedIssue: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDeterminantPeptide: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDiagnosticImage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDiet: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDisciplinaryAction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocumentBody: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocumentSection: {} + http://terminology.hl7.org/ValueSet/v3-ActClassElectronicHealthRecord: {} + http://terminology.hl7.org/ValueSet/v3-ActClassEncounter: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExpressionLevel: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExtract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialAdjudication: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialContract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialTransaction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFolder: {} + http://terminology.hl7.org/ValueSet/v3-ActClassGenomicObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassGrouper: {} + http://terminology.hl7.org/ValueSet/v3-ActClassIncident: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInform: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInformation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInvestigation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInvoiceElement: {} + http://terminology.hl7.org/ValueSet/v3-ActClassJurisdictionalPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassLeftLateralDecubitus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassLocus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassMonitoringProgram: {} + http://terminology.hl7.org/ValueSet/v3-ActClassObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassObservationSeries: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOrganizationalPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOutbreak: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOutbreak2: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOverlayRoi: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPhenotype: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPolypeptide: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPositionAccuracy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPositionCoordinate: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProcedure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProcessStep: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProne: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPublicHealthCase: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPublicHealthCase2: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRegistration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassReverseTrendelenburg: {} + http://terminology.hl7.org/ValueSet/v3-ActClassReview: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRightLateralDecubitus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassROI: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-ActClassScopeOfPracticePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSemiFowlers: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSitting: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenCollection: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStandardOfPracticePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStanding: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStateTransitionControl: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStorage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubjectBodyPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubjectPhysicalPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstanceAdministration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstanceExtraction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstitution: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSupine: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSupply: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTopic: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransfer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransmissionExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransportation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTrendelenburg: {} + http://terminology.hl7.org/ValueSet/v3-ActClassVerification: {} + http://terminology.hl7.org/ValueSet/v3-ActClassWorkingList: {} + http://terminology.hl7.org/ValueSet/v3-ActCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCodeProcessStep: {} + http://terminology.hl7.org/ValueSet/v3-ActConditionList: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentDirective: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentDirectiveType: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentInformationAccessOverrideReason: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentType: {} + http://terminology.hl7.org/ValueSet/v3-ActContainerRegistrationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActControlVariable: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageAssessmentObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageAuthorizationConfirmationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageConfirmationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageLimitCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageMaximaCodes: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageQuantityLimitCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageReason: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareProvisionPersonCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareProvisionProgramCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDetectedIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDietCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEmergencyEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEncounterAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActExposureCode: {} + http://terminology.hl7.org/ValueSet/v3-ActExposureLevelCode: {} + http://terminology.hl7.org/ValueSet/v3-ActFieldEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActFinancialStatusObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ActFinancialTransactionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActHealthInformationManagementReason: {} + http://terminology.hl7.org/ValueSet/v3-ActHealthInsuranceTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActHomeHealthEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActIncidentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActIneligibilityReason: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccess: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccessCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccessContextCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationCategoryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationTransferCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInjuryCodeCSA: {} + http://terminology.hl7.org/ValueSet/v3-ActInpatientEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInsurancePolicyCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInsuranceTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentSummaryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailClinicalProductCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailDrugProductCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericAdjudicatorCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericModifierCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericProviderCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailPreferredAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailTaxCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementModifier: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementSummaryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceInterGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceOverrideCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoicePaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceRootGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicalServiceCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicationList: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicationTherapyDurationWorkingListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMonitoringProtocolCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMood: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodActRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodAppointment: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodAppointmentRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodCompletionTrack: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodCriterion: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodDefinition: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodDesire: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodEventCriterion: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodEventOccurrence: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodExpectation: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodIntent: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodOption: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPermission: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPermissionRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPotential: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPromise: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodProposal: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRecommendation: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodResourceSlot: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRisk: {} + http://terminology.hl7.org/ValueSet/v3-ActNoImmunizationReason: {} + http://terminology.hl7.org/ValueSet/v3-ActNonObservationIndicationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActObservationList: {} + http://terminology.hl7.org/ValueSet/v3-ActObservationVerificationType: {} + http://terminology.hl7.org/ValueSet/v3-ActPatientAnnotationType: {} + http://terminology.hl7.org/ValueSet/v3-ActPatientTransportationModeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActPaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-ActPolicyType: {} + http://terminology.hl7.org/ValueSet/v3-ActPriority: {} + http://terminology.hl7.org/ValueSet/v3-ActPriorityCallback: {} + http://terminology.hl7.org/ValueSet/v3-ActPrivacyLaw: {} + http://terminology.hl7.org/ValueSet/v3-ActPrivacyPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActProcedureCodeCCI: {} + http://terminology.hl7.org/ValueSet/v3-ActProductAcquisitionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActProgramTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActReason: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAccounting: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipActiveImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipActProvenance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctCurativeIndication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctiveTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctMitigation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipArrival: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAssignsName: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAuthorizedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipBlocks: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpoint: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointBeginning: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointEntry: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointExit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointThrough: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCompliesWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipConditional: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsStartOfEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsTimeOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCostTracking: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCoveredBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCurativeIndication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDeparture: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDiagnosis: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocumentHQMF: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocumentProvenance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocuments: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsConcurrentWithStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsNearEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsNearStarts: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEpisodelink: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEvaluatesGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExacerbatredBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExcerpt: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExcerptVerbatim: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipFulfills: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasBaseline: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasBoundedSupport: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCharge: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasComponent: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasContinuingObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasContra-indication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasControlVariable: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCost: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCredit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasDebit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasExplanation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasFinalObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasGeneralization: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasMember: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasMetadata: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasOption: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPre-condition: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPreviousInstance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasQualifier: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasReferenceValues: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasRisk: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasStep: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasSubject: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasSupport: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasTrigger: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasValue: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipICSRInvestigation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIndependentOfTimeOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipInstantiatesMaster: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipInterferedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsAppendage: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsDerivedFrom: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsEtiologyFor: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsManifestationOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipItemsLocated: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoin: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinDetached: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinExclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinKill: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipLimitedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMaintenanceTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMatchesTrigger: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMitigates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipModifies: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOccurrence: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOutcome: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOverlapsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPalliates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPassiveImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPosting: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipProphylaxisOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipProvidesEvidenceFor: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReason: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRe-challenge: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRecovery: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReferencesOrder: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRefersTo: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRelievedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReplaces: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReverses: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSchedulesRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSequel: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitExclusiveTryOnce: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitExclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitInclusiveTryOnce: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitInclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartAfterStartOfContainsEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartofEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartOfEndsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOfEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOfEndsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsConcurrentWithEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsNearEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsNearStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsWithEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsWithEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSubset: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSucceeds: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSummarizedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSymptomaticRelief: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertains: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsApproximates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTransformation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTreats: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipType: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUpdate: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUpdatesCondition: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUses: {} + http://terminology.hl7.org/ValueSet/v3-ActResearchInformationAccess: {} + http://terminology.hl7.org/ValueSet/v3-ActShortStayEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSite: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecimenTreatmentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsDilutionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsInterferenceCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsVolumeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActStatus: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusAborted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusAbortedCancelledCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActiveAborted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActiveSuspendedObsolete: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusHeld: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNew: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusObsolete: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusSuspended: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationImmunizationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSuppliedItemDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSupplyFulfillmentRefusalReason: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskClinicalNoteEntryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskClinicalNoteReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskMedicationListReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskMicrobiologyResultsReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskOrderEntryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskPatientDocumentationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskPatientInformationReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskRiskAssessmentInstrumentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTherapyDurationWorkingListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTransportationModeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActUncertainty: {} + http://terminology.hl7.org/ValueSet/v3-ActUSPrivacyLaw: {} + http://terminology.hl7.org/ValueSet/v3-ActVirtualEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-AdditionalLocator: {} + http://terminology.hl7.org/ValueSet/v3-AddressLine: {} + http://terminology.hl7.org/ValueSet/v3-AddressPartType: {} + http://terminology.hl7.org/ValueSet/v3-AddressRepresentationUse: {} + http://terminology.hl7.org/ValueSet/v3-AddressUse: {} + http://terminology.hl7.org/ValueSet/v3-AdjudicatedWithAdjustments: {} + http://terminology.hl7.org/ValueSet/v3-AdministrableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-AdministrationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-AdministrationMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-AdministrativeContactRoleType: {} + http://terminology.hl7.org/ValueSet/v3-AdministrativeGender: {} + http://terminology.hl7.org/ValueSet/v3-AdoptedChild: {} + http://terminology.hl7.org/ValueSet/v3-AerosolDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-AgeDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-AgeGroupObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-Aleut: {} + http://terminology.hl7.org/ValueSet/v3-Algic: {} + http://terminology.hl7.org/ValueSet/v3-Algonquian: {} + http://terminology.hl7.org/ValueSet/v3-AlgorithmicDecisionObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-AllergyStatus: {} + http://terminology.hl7.org/ValueSet/v3-AllergyTestValue: {} + http://terminology.hl7.org/ValueSet/v3-Ambulance: {} + http://terminology.hl7.org/ValueSet/v3-AmbulanceHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-AmericanIndianAlaskaNativeLanguages: {} + http://terminology.hl7.org/ValueSet/v3-AmnioticFluidSacRoute: {} + http://terminology.hl7.org/ValueSet/v3-AnnotationType: {} + http://terminology.hl7.org/ValueSet/v3-Apachean: {} + http://terminology.hl7.org/ValueSet/v3-ApplicationMediaType: {} + http://terminology.hl7.org/ValueSet/v3-AppropriatenessDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Arapahoan: {} + http://terminology.hl7.org/ValueSet/v3-ArapahoGrosVentre: {} + http://terminology.hl7.org/ValueSet/v3-ArtificialDentition: {} + http://terminology.hl7.org/ValueSet/v3-AskedButUnknown: {} + http://terminology.hl7.org/ValueSet/v3-AssignedNonPersonLivingSubjectRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Athapaskan: {} + http://terminology.hl7.org/ValueSet/v3-AthapaskanEyak: {} + http://terminology.hl7.org/ValueSet/v3-AudioMediaType: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizationIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizedParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizedReceiverParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-AutomobileInsurancePolicy: {} + http://terminology.hl7.org/ValueSet/v3-BarDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-BarSoapDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-BiliaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-BindingRealm: {} + http://terminology.hl7.org/ValueSet/v3-BiotherapeuticNon-personLivingSubjectRoleType: {} + http://terminology.hl7.org/ValueSet/v3-BlisterPackEntityType: {} + http://terminology.hl7.org/ValueSet/v3-BodySurfaceRoute: {} + http://terminology.hl7.org/ValueSet/v3-BottleEntityType: {} + http://terminology.hl7.org/ValueSet/v3-BuccalMucosaRoute: {} + http://terminology.hl7.org/ValueSet/v3-BuccalTablet: {} + http://terminology.hl7.org/ValueSet/v3-BuildingNumber: {} + http://terminology.hl7.org/ValueSet/v3-Caddoan: {} + http://terminology.hl7.org/ValueSet/v3-Cahitan: {} + http://terminology.hl7.org/ValueSet/v3-Calendar: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycleOneLetter: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycleTwoLetter: {} + http://terminology.hl7.org/ValueSet/v3-CalendarType: {} + http://terminology.hl7.org/ValueSet/v3-CaliforniaAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-CapsuleDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-CardClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-CaseTransmissionMode: {} + http://terminology.hl7.org/ValueSet/v3-Catawba: {} + http://terminology.hl7.org/ValueSet/v3-CecostomyRoute: {} + http://terminology.hl7.org/ValueSet/v3-CentralAlaskaYukon: {} + http://terminology.hl7.org/ValueSet/v3-CentralMuskogean: {} + http://terminology.hl7.org/ValueSet/v3-CentralNumic: {} + http://terminology.hl7.org/ValueSet/v3-CentralSalish: {} + http://terminology.hl7.org/ValueSet/v3-CervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-Charset: {} + http://terminology.hl7.org/ValueSet/v3-Chew: {} + http://terminology.hl7.org/ValueSet/v3-Child: {} + http://terminology.hl7.org/ValueSet/v3-ChildInLaw: {} + http://terminology.hl7.org/ValueSet/v3-Chimakuan: {} + http://terminology.hl7.org/ValueSet/v3-Chinookan: {} + http://terminology.hl7.org/ValueSet/v3-ChiwereWinnebago: {} + http://terminology.hl7.org/ValueSet/v3-ChronicCareFacility: {} + http://terminology.hl7.org/ValueSet/v3-CitizenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ClaimantCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ClassNullFlavor: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchEventReason: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchObservationReason: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchReason: {} + http://terminology.hl7.org/ValueSet/v3-CochimiYuman: {} + http://terminology.hl7.org/ValueSet/v3-CodeIsNotValid: {} + http://terminology.hl7.org/ValueSet/v3-CodeSystem: {} + http://terminology.hl7.org/ValueSet/v3-CodeSystemType: {} + http://terminology.hl7.org/ValueSet/v3-CodingRationale: {} + http://terminology.hl7.org/ValueSet/v3-CombinedPharmacyOrderSuspendReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-CommunicationFunctionType: {} + http://terminology.hl7.org/ValueSet/v3-Compartment: {} + http://terminology.hl7.org/ValueSet/v3-ComplianceAlert: {} + http://terminology.hl7.org/ValueSet/v3-ComplianceDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-CompliancePackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-CompositeMeasureScoring: {} + http://terminology.hl7.org/ValueSet/v3-CompressionAlgorithm: {} + http://terminology.hl7.org/ValueSet/v3-ConceptPropertyId: {} + http://terminology.hl7.org/ValueSet/v3-Conditional: {} + http://terminology.hl7.org/ValueSet/v3-ConditionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Confidentiality: {} + http://terminology.hl7.org/ValueSet/v3-ConfidentialityModifiers: {} + http://terminology.hl7.org/ValueSet/v3-ConsenterParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-ConsultedPrescriberManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ContactRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ContainerCap: {} + http://terminology.hl7.org/ValueSet/v3-ContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-ContainerSeparator: {} + http://terminology.hl7.org/ValueSet/v3-ContentProcessingMode: {} + http://terminology.hl7.org/ValueSet/v3-ContextConductionStyle: {} + http://terminology.hl7.org/ValueSet/v3-ContextControl: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditive: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditiveNon-propagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditivePropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlNonPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverriding: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverridingNon-propagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverridingPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ControlActNullificationReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-ControlActNullificationRefusalReasonType: {} + http://terminology.hl7.org/ValueSet/v3-ControlActReason: {} + http://terminology.hl7.org/ValueSet/v3-ControlledSubstanceMonitoringProtocol: {} + http://terminology.hl7.org/ValueSet/v3-Coosan: {} + http://terminology.hl7.org/ValueSet/v3-Country: {} + http://terminology.hl7.org/ValueSet/v3-Country2: {} + http://terminology.hl7.org/ValueSet/v3-CountryEntityType: {} + http://terminology.hl7.org/ValueSet/v3-CoverageEligibilityReason: {} + http://terminology.hl7.org/ValueSet/v3-CoverageLevelObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CoverageLimitObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CoverageParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-CoverageRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CoverageSponsorRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CreamDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-CreditCard: {} + http://terminology.hl7.org/ValueSet/v3-Cree: {} + http://terminology.hl7.org/ValueSet/v3-CreeMontagnais: {} + http://terminology.hl7.org/ValueSet/v3-CriticalityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CUI: {} + http://terminology.hl7.org/ValueSet/v3-CUILabel: {} + http://terminology.hl7.org/ValueSet/v3-Cupan: {} + http://terminology.hl7.org/ValueSet/v3-Currency: {} + http://terminology.hl7.org/ValueSet/v3-CVDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Dakotan: {} + http://terminology.hl7.org/ValueSet/v3-DecisionObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedClinicalLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedNonClinicalLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Delawaran: {} + http://terminology.hl7.org/ValueSet/v3-DeliveryAddressLine: {} + http://terminology.hl7.org/ValueSet/v3-DeltaCalifornia: {} + http://terminology.hl7.org/ValueSet/v3-DentistHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-Dentition: {} + http://terminology.hl7.org/ValueSet/v3-DependentCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-DeviceAlertLevel: {} + http://terminology.hl7.org/ValueSet/v3-Dhegiha: {} + http://terminology.hl7.org/ValueSet/v3-DiagnosisICD9CM: {} + http://terminology.hl7.org/ValueSet/v3-DiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Diegueno: {} + http://terminology.hl7.org/ValueSet/v3-Diffusion: {} + http://terminology.hl7.org/ValueSet/v3-DischargeDisposition: {} + http://terminology.hl7.org/ValueSet/v3-DiseaseProgram: {} + http://terminology.hl7.org/ValueSet/v3-DispensableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Dissolve: {} + http://terminology.hl7.org/ValueSet/v3-DocumentCompletion: {} + http://terminology.hl7.org/ValueSet/v3-DocumentSectionType: {} + http://terminology.hl7.org/ValueSet/v3-DocumentStorage: {} + http://terminology.hl7.org/ValueSet/v3-DocumentStorageActive: {} + http://terminology.hl7.org/ValueSet/v3-DosageProblem: {} + http://terminology.hl7.org/ValueSet/v3-DosageProblemDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationHighDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationLowDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseHighDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseIntervalDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseLowDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Douche: {} + http://terminology.hl7.org/ValueSet/v3-DropsDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-DrugEntity: {} + http://terminology.hl7.org/ValueSet/v3-DuplicateTherapyAlert: {} + http://terminology.hl7.org/ValueSet/v3-EasternAlgonquin: {} + http://terminology.hl7.org/ValueSet/v3-EasternApachean: {} + http://terminology.hl7.org/ValueSet/v3-EasternMiwok: {} + http://terminology.hl7.org/ValueSet/v3-ECGObservationSeriesType: {} + http://terminology.hl7.org/ValueSet/v3-EducationLevel: {} + http://terminology.hl7.org/ValueSet/v3-ElectroOsmosisRoute: {} + http://terminology.hl7.org/ValueSet/v3-EligibilityActReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-EmergencyMedicalServiceProviderHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-EmergencyPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-EmployeeJobClass: {} + http://terminology.hl7.org/ValueSet/v3-employmentStatusODH: {} + http://terminology.hl7.org/ValueSet/v3-EmploymentStatusUB92: {} + http://terminology.hl7.org/ValueSet/v3-EncounterAdmissionSource: {} + http://terminology.hl7.org/ValueSet/v3-EncounterSpecialCourtesy: {} + http://terminology.hl7.org/ValueSet/v3-EndocervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-EndocrinologyClinic: {} + http://terminology.hl7.org/ValueSet/v3-Enema: {} + http://terminology.hl7.org/ValueSet/v3-EnteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-EntericCoatedCapsule: {} + http://terminology.hl7.org/ValueSet/v3-EntericCoatedTablet: {} + http://terminology.hl7.org/ValueSet/v3-EntityClass: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassAnimal: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCertificateRepresentation: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassChemicalSubstance: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCityOrTown: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassContainer: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCountry: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCountyOrParish: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassDevice: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassFood: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassHealthChartEntity: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassHolder: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassImagingModality: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassManufacturedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassMaterial: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassMicroorganism: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassNation: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassNonPersonLivingSubject: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPerson: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPlace: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPlant: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPublicInstitution: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassState: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassStateOrProvince: {} + http://terminology.hl7.org/ValueSet/v3-EntityCode: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminer: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDescribedGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDescribedQuantified: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDetermined: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerSpecific: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerSpecificGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityHandling: {} + http://terminology.hl7.org/ValueSet/v3-EntityInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifier: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifierR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartTypeR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityNameUse: {} + http://terminology.hl7.org/ValueSet/v3-EntityNameUseR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityRisk: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatus: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusInactive: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-EpiduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-EPSG-GeodeticParameterDataset: {} + http://terminology.hl7.org/ValueSet/v3-EquipmentAlertLevel: {} + http://terminology.hl7.org/ValueSet/v3-ERPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-EskimoAleut: {} + http://terminology.hl7.org/ValueSet/v3-Eskimoan: {} + http://terminology.hl7.org/ValueSet/v3-Ethnicity: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanic: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicCentralAmerican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicMexican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicSouthAmerican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicSpaniard: {} + http://terminology.hl7.org/ValueSet/v3-ExpectedSubset: {} + http://terminology.hl7.org/ValueSet/v3-ExposureMode: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseCapsule: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseSuspension: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseTablet: {} + http://terminology.hl7.org/ValueSet/v3-ExtraAmnioticRoute: {} + http://terminology.hl7.org/ValueSet/v3-ExtracorporealCirculationRoute: {} + http://terminology.hl7.org/ValueSet/v3-FamilyMember: {} + http://terminology.hl7.org/ValueSet/v3-FirstFillPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-Flush: {} + http://terminology.hl7.org/ValueSet/v3-FoamDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-FontStyle: {} + http://terminology.hl7.org/ValueSet/v3-FosterChild: {} + http://terminology.hl7.org/ValueSet/v3-GasDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-GasLiquidMixture: {} + http://terminology.hl7.org/ValueSet/v3-GasSolidSpray: {} + http://terminology.hl7.org/ValueSet/v3-GastricRoute: {} + http://terminology.hl7.org/ValueSet/v3-GelDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-GenderStatus: {} + http://terminology.hl7.org/ValueSet/v3-GeneralAcuteCareHospital: {} + http://terminology.hl7.org/ValueSet/v3-GeneralAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-GeneralPurposeOfUse: {} + http://terminology.hl7.org/ValueSet/v3-GenericUpdateReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationType: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-GenitourinaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-GIClinicPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-GIDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-GingivalRoute: {} + http://terminology.hl7.org/ValueSet/v3-GrandChild: {} + http://terminology.hl7.org/ValueSet/v3-Grandparent: {} + http://terminology.hl7.org/ValueSet/v3-GreatGrandparent: {} + http://terminology.hl7.org/ValueSet/v3-GregorianCalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-GTIN: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviation: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationBase: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidays: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidaysChristianRoman: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidaysUSNational: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationOther: {} + http://terminology.hl7.org/ValueSet/v3-HairRoute: {} + http://terminology.hl7.org/ValueSet/v3-HalfSibling: {} + http://terminology.hl7.org/ValueSet/v3-HealthCareCommonProcedureCodingSystem: {} + http://terminology.hl7.org/ValueSet/v3-HealthcareServiceLocation: {} + http://terminology.hl7.org/ValueSet/v3-HealthQualityMeasureDocument: {} + http://terminology.hl7.org/ValueSet/v3-HeightSurfaceAreaAlert: {} + http://terminology.hl7.org/ValueSet/v3-HemClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HL7AccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7CalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-HL7FormatCodes: {} + http://terminology.hl7.org/ValueSet/v3-HL7ITSVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7SearchUse: {} + http://terminology.hl7.org/ValueSet/v3-HL7StandardVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7UpdateMode: {} + http://terminology.hl7.org/ValueSet/v3-Hokan: {} + http://terminology.hl7.org/ValueSet/v3-HomeAddress: {} + http://terminology.hl7.org/ValueSet/v3-Homeless: {} + http://terminology.hl7.org/ValueSet/v3-HospitalPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HospitalUnitPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HtmlLinkType: {} + http://terminology.hl7.org/ValueSet/v3-HumanActSite: {} + http://terminology.hl7.org/ValueSet/v3-HumanLanguage: {} + http://terminology.hl7.org/ValueSet/v3-HumanSubstanceAdministrationSite: {} + http://terminology.hl7.org/ValueSet/v3-ICUPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-IDClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-IdentifierReliability: {} + http://terminology.hl7.org/ValueSet/v3-IdentifierScope: {} + http://terminology.hl7.org/ValueSet/v3-ImageMediaType: {} + http://terminology.hl7.org/ValueSet/v3-immunizationForecastDate: {} + http://terminology.hl7.org/ValueSet/v3-immunizationForecastStatusObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ImmunizationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-Implantation: {} + http://terminology.hl7.org/ValueSet/v3-IncidentalServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualCaseSafetyReportType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualInsuredCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualPackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-IndustryClassificationSystem: {} + http://terminology.hl7.org/ValueSet/v3-InformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-Infusion: {} + http://terminology.hl7.org/ValueSet/v3-InhalantDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Inhalation: {} + http://terminology.hl7.org/ValueSet/v3-InhalerMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-Injection: {} + http://terminology.hl7.org/ValueSet/v3-InjectionMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-Insertion: {} + http://terminology.hl7.org/ValueSet/v3-Instillation: {} + http://terminology.hl7.org/ValueSet/v3-Institution: {} + http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm: {} + http://terminology.hl7.org/ValueSet/v3-InteractionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-InterameningealRoute: {} + http://terminology.hl7.org/ValueSet/v3-InteriorSalish: {} + http://terminology.hl7.org/ValueSet/v3-InterstitialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraabdominalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraarterialInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntraarterialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraarticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrabronchialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrabursalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracardiacInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntracardiacRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracartilaginousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracaudalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracavernosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracavitaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracerebralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracisternalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracornealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronaryInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracorpusCavernosumRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntradermalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntradiscalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraductalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraduodenalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraepidermalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraepithelialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraesophagealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntragastricRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrailealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntralesionalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraluminalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntralymphaticRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntramedullaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntramuscularInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntramuscularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraocularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraosseousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraovarianRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapericardialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraperitonealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapleuralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraprostaticRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapulmonaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasinalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraspinalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasternalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasynovialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratendinousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratesticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrathecalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrathoracicRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratrachealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratubularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratumorRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratympanicRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrauterineRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravascularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousInfusion: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraventricularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravesicleRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravitrealRoute: {} + http://terminology.hl7.org/ValueSet/v3-InuitInupiaq: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementAdjudicated: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementPaid: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementSubmitted: {} + http://terminology.hl7.org/ValueSet/v3-IontophoresisRoute: {} + http://terminology.hl7.org/ValueSet/v3-Iroquoian: {} + http://terminology.hl7.org/ValueSet/v3-Irrigation: {} + http://terminology.hl7.org/ValueSet/v3-IrrigationSolution: {} + http://terminology.hl7.org/ValueSet/v3-IssueFilterCode: {} + http://terminology.hl7.org/ValueSet/v3-JejunumRoute: {} + http://terminology.hl7.org/ValueSet/v3-Kalapuyan: {} + http://terminology.hl7.org/ValueSet/v3-Keresan: {} + http://terminology.hl7.org/ValueSet/v3-KiowaTanoan: {} + http://terminology.hl7.org/ValueSet/v3-KitEntityType: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubjectObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubjectObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubtopicObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubtopicObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-KoyukonIngalik: {} + http://terminology.hl7.org/ValueSet/v3-KutchinHan: {} + http://terminology.hl7.org/ValueSet/v3-LaboratoryObservationSubtype: {} + http://terminology.hl7.org/ValueSet/v3-LabResultReportingProcessStepCode: {} + http://terminology.hl7.org/ValueSet/v3-LabResultTriggerEvents: {} + http://terminology.hl7.org/ValueSet/v3-LabSpecimenCollectionProviders: {} + http://terminology.hl7.org/ValueSet/v3-LacrimalPunctaRoute: {} + http://terminology.hl7.org/ValueSet/v3-LanguageAbilityMode: {} + http://terminology.hl7.org/ValueSet/v3-LanguageAbilityProficiency: {} + http://terminology.hl7.org/ValueSet/v3-LaryngealRoute: {} + http://terminology.hl7.org/ValueSet/v3-LavageRoute: {} + http://terminology.hl7.org/ValueSet/v3-LengthOutOfRange: {} + http://terminology.hl7.org/ValueSet/v3-LifeInsurancePolicy: {} + http://terminology.hl7.org/ValueSet/v3-LineAccessMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-LingualRoute: {} + http://terminology.hl7.org/ValueSet/v3-Liquid: {} + http://terminology.hl7.org/ValueSet/v3-LiquidCleanser: {} + http://terminology.hl7.org/ValueSet/v3-LiquidLiquidEmulsion: {} + http://terminology.hl7.org/ValueSet/v3-LiquidSolidSuspension: {} + http://terminology.hl7.org/ValueSet/v3-ListStyle: {} + http://terminology.hl7.org/ValueSet/v3-LivingArrangement: {} + http://terminology.hl7.org/ValueSet/v3-LivingSubjectProductionClass: {} + http://terminology.hl7.org/ValueSet/v3-Loan: {} + http://terminology.hl7.org/ValueSet/v3-LocalMarkupIgnore: {} + http://terminology.hl7.org/ValueSet/v3-LocalRemoteControlState: {} + http://terminology.hl7.org/ValueSet/v3-LogicalObservationIdentifierNamesAndCodes: {} + http://terminology.hl7.org/ValueSet/v3-LoincDocumentOntologyInternational: {} + http://terminology.hl7.org/ValueSet/v3-LOINCObservationActContextAgeDefinitionCode: {} + http://terminology.hl7.org/ValueSet/v3-LOINCObservationActContextAgeType: {} + http://terminology.hl7.org/ValueSet/v3-LotionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Maiduan: {} + http://terminology.hl7.org/ValueSet/v3-ManagedCarePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatus: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-ManufacturerModelNameExample: {} + http://terminology.hl7.org/ValueSet/v3-MapRelationship: {} + http://terminology.hl7.org/ValueSet/v3-MaritalStatus: {} + http://terminology.hl7.org/ValueSet/v3-MaterialDangerInfectious: {} + http://terminology.hl7.org/ValueSet/v3-MaterialDangerInflammable: {} + http://terminology.hl7.org/ValueSet/v3-MaterialEntityClassType: {} + http://terminology.hl7.org/ValueSet/v3-materialForm: {} + http://terminology.hl7.org/ValueSet/v3-MediaType: {} + http://terminology.hl7.org/ValueSet/v3-MedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-MedicationCap: {} + http://terminology.hl7.org/ValueSet/v3-MedicationGeneralizationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-MedicationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-MedicationOrderAbortReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-MedicationOrderReleaseReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-MedOncClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-MemberRoleType: {} + http://terminology.hl7.org/ValueSet/v3-MessageWaitingPriority: {} + http://terminology.hl7.org/ValueSet/v3-MilitaryHospital: {} + http://terminology.hl7.org/ValueSet/v3-MilitaryRoleType: {} + http://terminology.hl7.org/ValueSet/v3-MississippiValley: {} + http://terminology.hl7.org/ValueSet/v3-MissouriRiver: {} + http://terminology.hl7.org/ValueSet/v3-Miwokan: {} + http://terminology.hl7.org/ValueSet/v3-MobileUnit: {} + http://terminology.hl7.org/ValueSet/v3-MobilityImpaired: {} + http://terminology.hl7.org/ValueSet/v3-ModelMediaType: {} + http://terminology.hl7.org/ValueSet/v3-ModifyIndicator: {} + http://terminology.hl7.org/ValueSet/v3-ModifyPrescriptionReasonType: {} + http://terminology.hl7.org/ValueSet/v3-MucosalAbsorptionRoute: {} + http://terminology.hl7.org/ValueSet/v3-MucousMembraneRoute: {} + http://terminology.hl7.org/ValueSet/v3-MultipartMediaType: {} + http://terminology.hl7.org/ValueSet/v3-MultiUseContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Muskogean: {} + http://terminology.hl7.org/ValueSet/v3-Nadene: {} + http://terminology.hl7.org/ValueSet/v3-NailRoute: {} + http://terminology.hl7.org/ValueSet/v3-NameLegalUse: {} + http://terminology.hl7.org/ValueSet/v3-NasalInhalation: {} + http://terminology.hl7.org/ValueSet/v3-NasalRoute: {} + http://terminology.hl7.org/ValueSet/v3-NationEntityType: {} + http://terminology.hl7.org/ValueSet/v3-NativeEntityAlaska: {} + http://terminology.hl7.org/ValueSet/v3-NativeEntityContiguous: {} + http://terminology.hl7.org/ValueSet/v3-NaturalChild: {} + http://terminology.hl7.org/ValueSet/v3-NaturalParent: {} + http://terminology.hl7.org/ValueSet/v3-NaturalSibling: {} + http://terminology.hl7.org/ValueSet/v3-Nebulization: {} + http://terminology.hl7.org/ValueSet/v3-NebulizationInhalation: {} + http://terminology.hl7.org/ValueSet/v3-NephClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-NieceNephew: {} + http://terminology.hl7.org/ValueSet/v3-NoInformation: {} + http://terminology.hl7.org/ValueSet/v3-NonDrugAgentEntity: {} + http://terminology.hl7.org/ValueSet/v3-NonRigidContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Nootkan: {} + http://terminology.hl7.org/ValueSet/v3-NorthernCaddoan: {} + http://terminology.hl7.org/ValueSet/v3-NorthernIroquoian: {} + http://terminology.hl7.org/ValueSet/v3-NUCCProviderCodes: {} + http://terminology.hl7.org/ValueSet/v3-NullFlavor: {} + http://terminology.hl7.org/ValueSet/v3-Numic: {} + http://terminology.hl7.org/ValueSet/v3-NursingOrCustodialCarePracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ObligationPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ObservationActContextAgeGroupType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationActContextAgeType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAlert: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAllergyType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAssetValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCategory: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCoordinateAxisType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCoordinateSystemType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDiagnosisTypes: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDrugIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationEligibilityIndicatorValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationEnvironmentalIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationFoodIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationHealthStatusValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIncomeValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationChange: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationDetected: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationExceptions: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationExpectation: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormality: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityAbnormal: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityCriticallyAbnormal: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityHigh: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityLow: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationOustsideThreshold: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationProtocolInclusion: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationSusceptibility: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIssueTriggerCodedObservationType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingDependencyValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingExpenseValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingSituationValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureCountableItems: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureScoring: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMethodAggregate: {} + http://terminology.hl7.org/ValueSet/v3-ObservationNonAllergyIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationPopulationInclusion: {} + http://terminology.hl7.org/ValueSet/v3-ObservationQualityMeasureAttribute: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSequenceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSeriesType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSocioEconomicStatusValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationType: {} + http://terminology.hl7.org/ValueSet/v3-OilDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-OintmentDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Ojibwayan: {} + http://terminology.hl7.org/ValueSet/v3-OphthalmicRoute: {} + http://terminology.hl7.org/ValueSet/v3-OralCapsule: {} + http://terminology.hl7.org/ValueSet/v3-OralInhalation: {} + http://terminology.hl7.org/ValueSet/v3-OralRoute: {} + http://terminology.hl7.org/ValueSet/v3-OralSolution: {} + http://terminology.hl7.org/ValueSet/v3-OralSuspension: {} + http://terminology.hl7.org/ValueSet/v3-OralTablet: {} + http://terminology.hl7.org/ValueSet/v3-OrderableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-OrderedListStyle: {} + http://terminology.hl7.org/ValueSet/v3-OregonAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationEntityType: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationIndustryClassNAICS: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationNamePartQualifier: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationNameUse: {} + http://terminology.hl7.org/ValueSet/v3-OromucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-OropharyngealRoute: {} + http://terminology.hl7.org/ValueSet/v3-OrthoClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Other: {} + http://terminology.hl7.org/ValueSet/v3-OtherActionTakenManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-OticRoute: {} + http://terminology.hl7.org/ValueSet/v3-OutpatientFacilityPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-OverriderParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-PacificCoastAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-PackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PadDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Pai: {} + http://terminology.hl7.org/ValueSet/v3-Palaihnihan: {} + http://terminology.hl7.org/ValueSet/v3-ParanasalSinusesRoute: {} + http://terminology.hl7.org/ValueSet/v3-Parent: {} + http://terminology.hl7.org/ValueSet/v3-ParenteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-ParentInLaw: {} + http://terminology.hl7.org/ValueSet/v3-PartialCompletionScale: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAdmitter: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAnalyte: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAncillary: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAttender: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAuthenticator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAuthorOriginator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationBaby: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationBeneficiary: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCallbackContact: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCatalyst: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCausativeAgent: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationConsultant: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationConsumable: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCoverageTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCustodian: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDataEntryPerson: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDestination: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDischarger: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDistributor: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDonor: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationEntryLocation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationEscort: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposureagent: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposureparticipation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposuresource: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposuretarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationGuarantorParty: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationHolder: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationIndirectTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformant: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationTranscriber: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationLegalAuthenticator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationMode: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeElectronicData: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeVerbal: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeWritten: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationNon-reuseableDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationOrigin: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationParticipation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPrimaryInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPrimaryPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationProduct: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReceiver: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationRecordTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferredBy: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferredTo: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferrer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationRemote: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationResponsibleParty: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReusableDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSecondaryPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSignature: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSpecimen: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSubset: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTracker: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationType: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTypeCDASectionOverride: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationUgentNotificationContact: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationVerifier: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationVia: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationWitness: {} + http://terminology.hl7.org/ValueSet/v3-PasteDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PastSubset: {} + http://terminology.hl7.org/ValueSet/v3-PatchDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PatientImmunizationRelatedObservationType: {} + http://terminology.hl7.org/ValueSet/v3-PatientImportance: {} + http://terminology.hl7.org/ValueSet/v3-PatientProfileQueryReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PaymentTerms: {} + http://terminology.hl7.org/ValueSet/v3-PayorParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-PayorRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PedsClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-PedsICUPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-PedsPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Penutian: {} + http://terminology.hl7.org/ValueSet/v3-PerianalRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriarticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-PerinealRoute: {} + http://terminology.hl7.org/ValueSet/v3-PerineuralRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriodontalRoute: {} + http://terminology.hl7.org/ValueSet/v3-PermanentDentition: {} + http://terminology.hl7.org/ValueSet/v3-PersonalAndLegalRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PersonalRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PersonDisabilityType: {} + http://terminology.hl7.org/ValueSet/v3-PersonNameUse: {} + http://terminology.hl7.org/ValueSet/v3-PharmacistHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyEventAbortReason: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyEventStockReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyRequestFulfillerRevisionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyRequestRenewalRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-Pidgin: {} + http://terminology.hl7.org/ValueSet/v3-PillDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PlaceEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PlasticBottleEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PlateauPenutian: {} + http://terminology.hl7.org/ValueSet/v3-PolicyOrProgramCoverageRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Pomoan: {} + http://terminology.hl7.org/ValueSet/v3-PopulationInclusionObservationType: {} + http://terminology.hl7.org/ValueSet/v3-PostalAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-PowderDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PowerOfAttorney: {} + http://terminology.hl7.org/ValueSet/v3-PrescriptionDispenseFilterCode: {} + http://terminology.hl7.org/ValueSet/v3-PrimaryDentition: {} + http://terminology.hl7.org/ValueSet/v3-PrivacyMark: {} + http://terminology.hl7.org/ValueSet/v3-PrivateResidence: {} + http://terminology.hl7.org/ValueSet/v3-ProbabilityDistributionType: {} + http://terminology.hl7.org/ValueSet/v3-ProcessingID: {} + http://terminology.hl7.org/ValueSet/v3-ProcessingMode: {} + http://terminology.hl7.org/ValueSet/v3-ProgramEligibleCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-AS: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-DC: {} + http://terminology.hl7.org/ValueSet/v3-PublicHealthcareProgram: {} + http://terminology.hl7.org/ValueSet/v3-PulmonaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-PurposeOfUse: {} + http://terminology.hl7.org/ValueSet/v3-QualityMeasureSectionType: {} + http://terminology.hl7.org/ValueSet/v3-QualitySpecimenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-QueryPriority: {} + http://terminology.hl7.org/ValueSet/v3-QueryRequestLimit: {} + http://terminology.hl7.org/ValueSet/v3-QueryResponse: {} + http://terminology.hl7.org/ValueSet/v3-QueryStatusCode: {} + http://terminology.hl7.org/ValueSet/v3-Race: {} + http://terminology.hl7.org/ValueSet/v3-RaceAfricanAmericanAfrican: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanIndianAthabascan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNative: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleut: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutAlutiiq: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutBristolBay: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutChugach: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutKoniag: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutUnangan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeInupiatEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeSiberianEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeYupikEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianApache: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianArapaho: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianAssiniboineSioux: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCaddo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCahuilla: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCalifornia: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChemakuan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCherokee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCheyenne: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChickahominy: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChinook: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChippewa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChippewaCree: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChoctaw: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChumash: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianComanche: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCoushatta: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCreek: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCupeno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianDelaware: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianDiegueno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianEasternTribes: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianGrosVentres: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianHoopa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianIowa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianIroquois: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKickapoo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKiowa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKlallam: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianLongIsland: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianLuiseno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMaidu: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMiami: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMicmac: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianNavajo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianNorthwestTribes: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianOttawa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPaiute: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPassamaquoddy: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPawnee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPeoria: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPequot: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPima: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPomo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPonca: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPotawatomi: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPueblo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPugetSoundSalish: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSacFox: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSeminole: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSerrano: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShawnee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShoshone: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShoshonePaiute: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSioux: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianTohonoOOdham: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianUmpqua: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianUte: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWampanoag: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWashoe: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWinnebago: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianYuman: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianYurok: {} + http://terminology.hl7.org/ValueSet/v3-RaceAsian: {} + http://terminology.hl7.org/ValueSet/v3-RaceBlackOrAfricanAmerican: {} + http://terminology.hl7.org/ValueSet/v3-RaceCanadianLatinIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceHawaiianOrPacificIsland: {} + http://terminology.hl7.org/ValueSet/v3-RaceNativeAmerican: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandMelanesian: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandMicronesian: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandPolynesian: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndianTlingit: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndianTsimshian: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhite: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteArab: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteEuropean: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteMiddleEast: {} + http://terminology.hl7.org/ValueSet/v3-RadDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ReactionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ReactionParticipant: {} + http://terminology.hl7.org/ValueSet/v3-ReactivityObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-RectalInstillation: {} + http://terminology.hl7.org/ValueSet/v3-RectalRoute: {} + http://terminology.hl7.org/ValueSet/v3-RefillPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-RefrainPolicy: {} + http://terminology.hl7.org/ValueSet/v3-RefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-RegulationPolicyActCode: {} + http://terminology.hl7.org/ValueSet/v3-RehabilitationHospital: {} + http://terminology.hl7.org/ValueSet/v3-RelatedReactionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-RelationalOperator: {} + http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction: {} + http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation: {} + http://terminology.hl7.org/ValueSet/v3-RepetitionsOutOfRange: {} + http://terminology.hl7.org/ValueSet/v3-ResearchSubjectRoleBasis: {} + http://terminology.hl7.org/ValueSet/v3-ResidentialTreatmentPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ResourceGroupEntityType: {} + http://terminology.hl7.org/ValueSet/v3-RespiratoryTractRoute: {} + http://terminology.hl7.org/ValueSet/v3-ResponseLevel: {} + http://terminology.hl7.org/ValueSet/v3-ResponseModality: {} + http://terminology.hl7.org/ValueSet/v3-ResponseMode: {} + http://terminology.hl7.org/ValueSet/v3-ResponsibleParty: {} + http://terminology.hl7.org/ValueSet/v3-RetrobulbarRoute: {} + http://terminology.hl7.org/ValueSet/v3-RheumClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-RigidContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Rinse: {} + http://terminology.hl7.org/ValueSet/v3-Ritwan: {} + http://terminology.hl7.org/ValueSet/v3-River: {} + http://terminology.hl7.org/ValueSet/v3-ROIOverlayShape: {} + http://terminology.hl7.org/ValueSet/v3-RoleClass: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAccess: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientMoietyBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientReferenceBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveMoiety: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdjacency: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdjuvant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdministerableMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAffiliate: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAgent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAliquot: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassBase: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassBirthplace: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCaregiver: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCaseSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassChild: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCitizen: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClaimant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClinicalResearchInvestigator: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClinicalResearchSponsor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassColorAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCommissioningParty: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassConnection: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContactCode: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContaminantIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContinuity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCoverageSponsor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCoveredParty: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCredentialedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDedicatedServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDependent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDistributedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEmergencyContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEmployee: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEquivalentEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEventLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposureAgentCarrier: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposureVector: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassFlavorAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassFomite: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassGuarantor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassGuardian: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHasGeneric: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHealthcareProvider: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHealthChart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHeldEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassICSRInvestigationSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIdentifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInactiveIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIncidentalServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIndividual: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIngredientEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInstance: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInvestigationSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInvoicePayor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIsolate: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIsSpeciesEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassLicensedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassLocatedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMaintainedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassManagedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassManufacturedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMechanicalIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMember: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMilitaryPerson: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularBond: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularFeatures: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMutualRelationship: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNamedInsured: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNextOfKin: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNotaryPublic: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNurse: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNursePractitioner: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassOntological: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassOwnedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPartitive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPassive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPatient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPayee: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPersonalRelationship: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPhysician: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPhysicianAssistant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPlaceOfDeath: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPolicyHolder: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPreservative: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassProductRelated: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassProgramEligible: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassQualifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRegulatedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRelationshipFormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassResearchSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRetailedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSame: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSigningAuthorityOrOfficer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSpecimen: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStabilizer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStoredEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStudent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubscriber: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubstancePresence: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubsumedBy: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubsumer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassTerritoryOfAuthority: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassTherapeuticAgent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassUnderwriter: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassUsedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassWarrantedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleCode: {} + http://terminology.hl7.org/ValueSet/v3-RoleInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasDirectAuthorityOver: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasIndirectAuthorityOver: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkIdentification: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkIsBackupFor: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkRelated: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkReplaces: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatus: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkType: {} + http://terminology.hl7.org/ValueSet/v3-RoleLocationIdentifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatus: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusSuspended: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusTerminated: {} + http://terminology.hl7.org/ValueSet/v3-RouteByMethod: {} + http://terminology.hl7.org/ValueSet/v3-RouteBySite: {} + http://terminology.hl7.org/ValueSet/v3-RouteOfAdministration: {} + http://terminology.hl7.org/ValueSet/v3-Sahaptian: {} + http://terminology.hl7.org/ValueSet/v3-Salishan: {} + http://terminology.hl7.org/ValueSet/v3-SaukFoxKickapoo: {} + http://terminology.hl7.org/ValueSet/v3-ScalpRoute: {} + http://terminology.hl7.org/ValueSet/v3-SCDHEC-GISSpatialAccuracyTiers: {} + http://terminology.hl7.org/ValueSet/v3-SchedulingActReason: {} + http://terminology.hl7.org/ValueSet/v3-SecurityAlterationIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityAlterationIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityCategoryObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityCategoryObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityClassificationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityClassificationObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityControlObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityControlObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityDataIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityDataIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityConfidenceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityConfidenceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceAssertedByObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceAssertedByObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceReportedByObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceReportedByObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityStatusObservation: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityStatusObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityLabelMark: {} + http://terminology.hl7.org/ValueSet/v3-SecurityLabelMarkLabel: {} + http://terminology.hl7.org/ValueSet/v3-SecurityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAccreditationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAccreditationObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAgreementObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAgreementObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAssuranceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAssuranceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustCertificateObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustCertificateObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustFrameworkObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustFrameworkObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustMechanismObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustMechanismObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-Sequencing: {} + http://terminology.hl7.org/ValueSet/v3-SerranoGabrielino: {} + http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SetOperator: {} + http://terminology.hl7.org/ValueSet/v3-SeverityObservation: {} + http://terminology.hl7.org/ValueSet/v3-SeverityObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-Shasta: {} + http://terminology.hl7.org/ValueSet/v3-Sibling: {} + http://terminology.hl7.org/ValueSet/v3-SiblingInLaw: {} + http://terminology.hl7.org/ValueSet/v3-SignificantOtherRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SinusUnspecifiedRoute: {} + http://terminology.hl7.org/ValueSet/v3-Siouan: {} + http://terminology.hl7.org/ValueSet/v3-SiouanCatawba: {} + http://terminology.hl7.org/ValueSet/v3-SirenikskiYupik: {} + http://terminology.hl7.org/ValueSet/v3-SkinRoute: {} + http://terminology.hl7.org/ValueSet/v3-SnodentAnteriorInterarchDeviationTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentCraniofacialAnomalyInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalAbnormalityInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalFrenumRegionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalPeriodontalProbingPositionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalToothFurcationSiteInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalToothMobilityMillerClassificationInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalUniversalNumberingSystemInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentitionStateInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentJawTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOralCavityAreaInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOrthodonticDiagnosticFeatureInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOrthodonticTreatmentPreconditionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentPosteriorInterarchDeviationTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentSalzmannInterarchDeviationMaxillaryToothInternational: {} + http://terminology.hl7.org/ValueSet/v3-SoftTissueRoute: {} + http://terminology.hl7.org/ValueSet/v3-SoftwareNameExample: {} + http://terminology.hl7.org/ValueSet/v3-SolidDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SolutionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SouthernAlaska: {} + http://terminology.hl7.org/ValueSet/v3-SouthernCaddoan: {} + http://terminology.hl7.org/ValueSet/v3-SouthernNumic: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenAdditiveEntity: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenEntityType: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SponsorParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-Spouse: {} + http://terminology.hl7.org/ValueSet/v3-StatusRevisionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-StepChild: {} + http://terminology.hl7.org/ValueSet/v3-StepParent: {} + http://terminology.hl7.org/ValueSet/v3-StepSibling: {} + http://terminology.hl7.org/ValueSet/v3-StreetAddressLine: {} + http://terminology.hl7.org/ValueSet/v3-StreetName: {} + http://terminology.hl7.org/ValueSet/v3-StudentRoleType: {} + http://terminology.hl7.org/ValueSet/v3-StyleType: {} + http://terminology.hl7.org/ValueSet/v3-SubarachnoidRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubconjunctivalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubcutaneousRoute: {} + http://terminology.hl7.org/ValueSet/v3-SublesionalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SublingualRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubmucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubscriberCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SubsidizedHealthProgram: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminGenericSubstitution: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdministrationPermissionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionNotAllowedReason: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason: {} + http://terminology.hl7.org/ValueSet/v3-SubstitutionCondition: {} + http://terminology.hl7.org/ValueSet/v3-SupernumeraryTooth: {} + http://terminology.hl7.org/ValueSet/v3-SupplyAppropriateManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-SupplyDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-SupplyOrderAbortReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-SuppositoryDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SuppositoryRoute: {} + http://terminology.hl7.org/ValueSet/v3-SurgClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-SusceptibilityObservationMethodType: {} + http://terminology.hl7.org/ValueSet/v3-SuspensionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SwabDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Swish: {} + http://terminology.hl7.org/ValueSet/v3-TableCellHorizontalAlign: {} + http://terminology.hl7.org/ValueSet/v3-TableCellScope: {} + http://terminology.hl7.org/ValueSet/v3-TableCellVerticalAlign: {} + http://terminology.hl7.org/ValueSet/v3-TableFrame: {} + http://terminology.hl7.org/ValueSet/v3-TableRules: {} + http://terminology.hl7.org/ValueSet/v3-TableRuleStyle: {} + http://terminology.hl7.org/ValueSet/v3-TabletDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Takelman: {} + http://terminology.hl7.org/ValueSet/v3-Takic: {} + http://terminology.hl7.org/ValueSet/v3-Tanana: {} + http://terminology.hl7.org/ValueSet/v3-TananaTutchone: {} + http://terminology.hl7.org/ValueSet/v3-Taracahitan: {} + http://terminology.hl7.org/ValueSet/v3-TargetAwareness: {} + http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-TelecommunicationCapabilities: {} + http://terminology.hl7.org/ValueSet/v3-Tepiman: {} + http://terminology.hl7.org/ValueSet/v3-TextMediaType: {} + http://terminology.hl7.org/ValueSet/v3-TherapeuticProductDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-TherapyAppropriateManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-TimingDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-TimingEvent: {} + http://terminology.hl7.org/ValueSet/v3-Tiwa: {} + http://terminology.hl7.org/ValueSet/v3-TopicalAbsorptionRoute: {} + http://terminology.hl7.org/ValueSet/v3-TopicalApplication: {} + http://terminology.hl7.org/ValueSet/v3-TopicalPowder: {} + http://terminology.hl7.org/ValueSet/v3-TopicalSolution: {} + http://terminology.hl7.org/ValueSet/v3-TracheostomyRoute: {} + http://terminology.hl7.org/ValueSet/v3-Transdermal: {} + http://terminology.hl7.org/ValueSet/v3-TransdermalPatch: {} + http://terminology.hl7.org/ValueSet/v3-Transfer: {} + http://terminology.hl7.org/ValueSet/v3-TransferActReason: {} + http://terminology.hl7.org/ValueSet/v3-TransmissionRelationshipTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-TransmucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-TransplacentalRoute: {} + http://terminology.hl7.org/ValueSet/v3-TranstrachealRoute: {} + http://terminology.hl7.org/ValueSet/v3-TranstympanicRoute: {} + http://terminology.hl7.org/ValueSet/v3-TribalEntityUS: {} + http://terminology.hl7.org/ValueSet/v3-TriggerEventID: {} + http://terminology.hl7.org/ValueSet/v3-TrustPolicy: {} + http://terminology.hl7.org/ValueSet/v3-Tsamosan: {} + http://terminology.hl7.org/ValueSet/v3-Tsimshianic: {} + http://terminology.hl7.org/ValueSet/v3-tst0272: {} + http://terminology.hl7.org/ValueSet/v3-tst0275a: {} + http://terminology.hl7.org/ValueSet/v3-tst0280: {} + http://terminology.hl7.org/ValueSet/v3-UnderwriterParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-UnitsOfMeasureCaseSensitive: {} + http://terminology.hl7.org/ValueSet/v3-Unknown: {} + http://terminology.hl7.org/ValueSet/v3-UnorderedListStyle: {} + http://terminology.hl7.org/ValueSet/v3-UNSPSC: {} + http://terminology.hl7.org/ValueSet/v3-UPC: {} + http://terminology.hl7.org/ValueSet/v3-UpdateRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-UpperChinook: {} + http://terminology.hl7.org/ValueSet/v3-UreteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrethralRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryBladderIrrigation: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryBladderRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryTractRoute: {} + http://terminology.hl7.org/ValueSet/v3-URLScheme: {} + http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition: {} + http://terminology.hl7.org/ValueSet/v3-USEncounterReferralSource: {} + http://terminology.hl7.org/ValueSet/v3-Utian: {} + http://terminology.hl7.org/ValueSet/v3-UtoAztecan: {} + http://terminology.hl7.org/ValueSet/v3-VaccineEntityType: {} + http://terminology.hl7.org/ValueSet/v3-VaccineManufacturer: {} + http://terminology.hl7.org/ValueSet/v3-VaccineType: {} + http://terminology.hl7.org/ValueSet/v3-VaginalCream: {} + http://terminology.hl7.org/ValueSet/v3-VaginalFoam: {} + http://terminology.hl7.org/ValueSet/v3-VaginalGel: {} + http://terminology.hl7.org/ValueSet/v3-VaginalOintment: {} + http://terminology.hl7.org/ValueSet/v3-VaginalRoute: {} + http://terminology.hl7.org/ValueSet/v3-ValidationIssue: {} + http://terminology.hl7.org/ValueSet/v3-VerificationMethod: {} + http://terminology.hl7.org/ValueSet/v3-VerificationOutcomeValue: {} + http://terminology.hl7.org/ValueSet/v3-VideoMediaType: {} + http://terminology.hl7.org/ValueSet/v3-VitreousHumourRoute: {} + http://terminology.hl7.org/ValueSet/v3-Wakashan: {} + http://terminology.hl7.org/ValueSet/v3-WeightAlert: {} + http://terminology.hl7.org/ValueSet/v3-WesternApachean: {} + http://terminology.hl7.org/ValueSet/v3-WesternMiwok: {} + http://terminology.hl7.org/ValueSet/v3-WesternMuskogean: {} + http://terminology.hl7.org/ValueSet/v3-WesternNumic: {} + http://terminology.hl7.org/ValueSet/v3-Wintuan: {} + http://terminology.hl7.org/ValueSet/v3-Wiyot: {} + http://terminology.hl7.org/ValueSet/v3-WorkClassificationODH: {} + http://terminology.hl7.org/ValueSet/v3-WorkPlace: {} + http://terminology.hl7.org/ValueSet/v3-WorkScheduleODH: {} + http://terminology.hl7.org/ValueSet/v3-xAccommodationRequestorRole: {} + http://terminology.hl7.org/ValueSet/v3-xActBillableCode: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionEncounter: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionObservation: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionProcedure: {} + http://terminology.hl7.org/ValueSet/v3-xActClassDocumentEntryAct: {} + http://terminology.hl7.org/ValueSet/v3-xActClassDocumentEntryOrganizer: {} + http://terminology.hl7.org/ValueSet/v3-xActEncounterReason: {} + http://terminology.hl7.org/ValueSet/v3-xActFinancialProductAcquisitionCode: {} + http://terminology.hl7.org/ValueSet/v3-xActInvoiceDetailPharmacyCode: {} + http://terminology.hl7.org/ValueSet/v3-xActInvoiceDetailPreferredAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodCompletionCriterion: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvn: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvnRqo: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvnRqoPrmsPrp: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDocumentObservation: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodEvnOrdPrmsPrp: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodIntentEvent: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodOrdPrms: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodOrdPrmsEvn: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodPermPermrq: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodRequestEvent: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodRqoPrpAptArq: {} + http://terminology.hl7.org/ValueSet/v3-xActOrderableOrBillable: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipDocument: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipDocumentSPL: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipExternalReference: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipPatientTransport: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipPertinentInfo: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipRelatedAuthorizations: {} + http://terminology.hl7.org/ValueSet/v3-xActReplaceOrRevise: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusActiveComplete: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusActiveSuspended: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusPrevious: {} + http://terminology.hl7.org/ValueSet/v3-xAdministeredSubstance: {} + http://terminology.hl7.org/ValueSet/v3-xAdverseEventCausalityAssessmentMethods: {} + http://terminology.hl7.org/ValueSet/v3-xBasicConfidentialityKind: {} + http://terminology.hl7.org/ValueSet/v3-xBillableProduct: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementActMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementEncounterMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementExposureMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementObservationMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementProcedureMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementSubstanceMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementSupplyMood: {} + http://terminology.hl7.org/ValueSet/v3-xDeterminerInstanceKind: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentActMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentEncounterMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentEntrySubject: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentProcedureMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentStatus: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentSubject: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterAdmissionUrgency: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterParticipant: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterPerformerParticipation: {} + http://terminology.hl7.org/ValueSet/v3-xEntityClassDocumentReceiving: {} + http://terminology.hl7.org/ValueSet/v3-xEntityClassPersonOrOrgReceiving: {} + http://terminology.hl7.org/ValueSet/v3-xInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-xInformationRecipientRole: {} + http://terminology.hl7.org/ValueSet/v3-xLabProcessClassCodes: {} + http://terminology.hl7.org/ValueSet/v3-xMedicationOrImmunization: {} + http://terminology.hl7.org/ValueSet/v3-xMedicine: {} + http://terminology.hl7.org/ValueSet/v3-xOrganizationNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationAuthorPerformer: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationEntVrf: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationPrfEntVrf: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationVrfRespSprfWit: {} + http://terminology.hl7.org/ValueSet/v3-xPayeeRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-xPersonNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-xPhoneOrEmailURLScheme: {} + http://terminology.hl7.org/ValueSet/v3-xPhoneURLScheme: {} + http://terminology.hl7.org/ValueSet/v3-xPhysicalVerbalParticipationMode: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassAccommodationRequestor: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCoverage: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCoverageInvoice: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCredentialedEntity: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassPayeePolicyRelationship: {} + http://terminology.hl7.org/ValueSet/v3-xServiceEventPerformer: {} + http://terminology.hl7.org/ValueSet/v3-xSubstitutionConditionNoneOrUnconditional: {} + http://terminology.hl7.org/ValueSet/v3-xSUCCREPLPREV: {} + http://terminology.hl7.org/ValueSet/v3-xVeryBasicConfidentialityKind: {} + http://terminology.hl7.org/ValueSet/v3-Yaqui: {} + http://terminology.hl7.org/ValueSet/v3-Yokuts: {} + http://terminology.hl7.org/ValueSet/v3-Yokutsan: {} + http://terminology.hl7.org/ValueSet/v3-Yukian: {} + http://terminology.hl7.org/ValueSet/v3-Yuman: {} + http://terminology.hl7.org/ValueSet/variable-role: {} + http://terminology.hl7.org/ValueSet/variable-role-subtype: {} + http://terminology.hl7.org/ValueSet/variant-state: {} + http://terminology.hl7.org/ValueSet/verificationresult-can-push-updates: {} + http://terminology.hl7.org/ValueSet/verificationresult-communication-method: {} + http://terminology.hl7.org/ValueSet/verificationresult-failure-action: {} + http://terminology.hl7.org/ValueSet/verificationresult-need: {} + http://terminology.hl7.org/ValueSet/verificationresult-primary-source-type: {} + http://terminology.hl7.org/ValueSet/verificationresult-push-type-available: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-process: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-status: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-type: {} + http://terminology.hl7.org/ValueSet/virtual-healthcare-delivery-method: {} + http://terminology.hl7.org/ValueSet/vision-product: {} + http://terminology.hl7.org/ValueSet/yes-no-unknown-not-applicable: {} + http://terminology.hl7.org/ValueSet/yes-no-unknown-not-asked: {} + nested: {} + binding: {} + profile: + http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp: {} + http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title: {} + http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity: {} + logical: {} +hl7.fhir.r5.core: + primitive-type: + http://hl7.org/fhir/StructureDefinition/base64Binary: {} + http://hl7.org/fhir/StructureDefinition/boolean: {} + http://hl7.org/fhir/StructureDefinition/canonical: {} + http://hl7.org/fhir/StructureDefinition/code: {} + http://hl7.org/fhir/StructureDefinition/date: {} + http://hl7.org/fhir/StructureDefinition/dateTime: {} + http://hl7.org/fhir/StructureDefinition/decimal: {} + http://hl7.org/fhir/StructureDefinition/id: {} + http://hl7.org/fhir/StructureDefinition/instant: {} + http://hl7.org/fhir/StructureDefinition/integer: {} + http://hl7.org/fhir/StructureDefinition/integer64: {} + http://hl7.org/fhir/StructureDefinition/markdown: {} + http://hl7.org/fhir/StructureDefinition/oid: {} + http://hl7.org/fhir/StructureDefinition/positiveInt: {} + http://hl7.org/fhir/StructureDefinition/string: {} + http://hl7.org/fhir/StructureDefinition/time: {} + http://hl7.org/fhir/StructureDefinition/unsignedInt: {} + http://hl7.org/fhir/StructureDefinition/uri: {} + http://hl7.org/fhir/StructureDefinition/url: {} + http://hl7.org/fhir/StructureDefinition/uuid: {} + http://hl7.org/fhir/StructureDefinition/xhtml: {} + complex-type: + http://hl7.org/fhir/StructureDefinition/Address: {} + http://hl7.org/fhir/StructureDefinition/Age: {} + http://hl7.org/fhir/StructureDefinition/Annotation: {} + http://hl7.org/fhir/StructureDefinition/Attachment: {} + http://hl7.org/fhir/StructureDefinition/Availability: {} + http://hl7.org/fhir/StructureDefinition/BackboneElement: {} + http://hl7.org/fhir/StructureDefinition/BackboneType: {} + http://hl7.org/fhir/StructureDefinition/Base: {} + http://hl7.org/fhir/StructureDefinition/CodeableConcept: {} + http://hl7.org/fhir/StructureDefinition/CodeableReference: {} + http://hl7.org/fhir/StructureDefinition/Coding: {} + http://hl7.org/fhir/StructureDefinition/ContactDetail: {} + http://hl7.org/fhir/StructureDefinition/ContactPoint: {} + http://hl7.org/fhir/StructureDefinition/Contributor: {} + http://hl7.org/fhir/StructureDefinition/Count: {} + http://hl7.org/fhir/StructureDefinition/DataRequirement: {} + http://hl7.org/fhir/StructureDefinition/DataType: {} + http://hl7.org/fhir/StructureDefinition/Distance: {} + http://hl7.org/fhir/StructureDefinition/Dosage: {} + http://hl7.org/fhir/StructureDefinition/Duration: {} + http://hl7.org/fhir/StructureDefinition/Element: {} + http://hl7.org/fhir/StructureDefinition/ElementDefinition: {} + http://hl7.org/fhir/StructureDefinition/Expression: {} + http://hl7.org/fhir/StructureDefinition/ExtendedContactDetail: {} + http://hl7.org/fhir/StructureDefinition/Extension: {} + http://hl7.org/fhir/StructureDefinition/HumanName: {} + http://hl7.org/fhir/StructureDefinition/Identifier: {} + http://hl7.org/fhir/StructureDefinition/MarketingStatus: {} + http://hl7.org/fhir/StructureDefinition/Meta: {} + http://hl7.org/fhir/StructureDefinition/MonetaryComponent: {} + http://hl7.org/fhir/StructureDefinition/Money: {} + http://hl7.org/fhir/StructureDefinition/Narrative: {} + http://hl7.org/fhir/StructureDefinition/ParameterDefinition: {} + http://hl7.org/fhir/StructureDefinition/Period: {} + http://hl7.org/fhir/StructureDefinition/PrimitiveType: {} + http://hl7.org/fhir/StructureDefinition/ProductShelfLife: {} + http://hl7.org/fhir/StructureDefinition/Quantity: {} + http://hl7.org/fhir/StructureDefinition/Range: {} + http://hl7.org/fhir/StructureDefinition/Ratio: {} + http://hl7.org/fhir/StructureDefinition/RatioRange: {} + http://hl7.org/fhir/StructureDefinition/Reference: {} + http://hl7.org/fhir/StructureDefinition/RelatedArtifact: {} + http://hl7.org/fhir/StructureDefinition/SampledData: {} + http://hl7.org/fhir/StructureDefinition/Signature: {} + http://hl7.org/fhir/StructureDefinition/Timing: {} + http://hl7.org/fhir/StructureDefinition/TriggerDefinition: {} + http://hl7.org/fhir/StructureDefinition/UsageContext: {} + http://hl7.org/fhir/StructureDefinition/VirtualServiceDetail: {} + resource: + http://hl7.org/fhir/StructureDefinition/Account: {} + http://hl7.org/fhir/StructureDefinition/ActivityDefinition: {} + http://hl7.org/fhir/StructureDefinition/ActorDefinition: {} + http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition: {} + http://hl7.org/fhir/StructureDefinition/AdverseEvent: {} + http://hl7.org/fhir/StructureDefinition/AllergyIntolerance: {} + http://hl7.org/fhir/StructureDefinition/Appointment: {} + http://hl7.org/fhir/StructureDefinition/AppointmentResponse: {} + http://hl7.org/fhir/StructureDefinition/ArtifactAssessment: {} + http://hl7.org/fhir/StructureDefinition/AuditEvent: {} + http://hl7.org/fhir/StructureDefinition/Basic: {} + http://hl7.org/fhir/StructureDefinition/Binary: {} + http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct: {} + http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProductDispense: {} + http://hl7.org/fhir/StructureDefinition/BodyStructure: {} + http://hl7.org/fhir/StructureDefinition/Bundle: {} + http://hl7.org/fhir/StructureDefinition/CanonicalResource: {} + http://hl7.org/fhir/StructureDefinition/CapabilityStatement: {} + http://hl7.org/fhir/StructureDefinition/CarePlan: {} + http://hl7.org/fhir/StructureDefinition/CareTeam: {} + http://hl7.org/fhir/StructureDefinition/ChargeItem: {} + http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition: {} + http://hl7.org/fhir/StructureDefinition/Citation: {} + http://hl7.org/fhir/StructureDefinition/Claim: {} + http://hl7.org/fhir/StructureDefinition/ClaimResponse: {} + http://hl7.org/fhir/StructureDefinition/ClinicalImpression: {} + http://hl7.org/fhir/StructureDefinition/ClinicalUseDefinition: {} + http://hl7.org/fhir/StructureDefinition/CodeSystem: {} + http://hl7.org/fhir/StructureDefinition/Communication: {} + http://hl7.org/fhir/StructureDefinition/CommunicationRequest: {} + http://hl7.org/fhir/StructureDefinition/CompartmentDefinition: {} + http://hl7.org/fhir/StructureDefinition/Composition: {} + http://hl7.org/fhir/StructureDefinition/ConceptMap: {} + http://hl7.org/fhir/StructureDefinition/Condition: {} + http://hl7.org/fhir/StructureDefinition/ConditionDefinition: {} + http://hl7.org/fhir/StructureDefinition/Consent: {} + http://hl7.org/fhir/StructureDefinition/Contract: {} + http://hl7.org/fhir/StructureDefinition/Coverage: {} + http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest: {} + http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse: {} + http://hl7.org/fhir/StructureDefinition/DetectedIssue: {} + http://hl7.org/fhir/StructureDefinition/Device: {} + http://hl7.org/fhir/StructureDefinition/DeviceAssociation: {} + http://hl7.org/fhir/StructureDefinition/DeviceDefinition: {} + http://hl7.org/fhir/StructureDefinition/DeviceDispense: {} + http://hl7.org/fhir/StructureDefinition/DeviceMetric: {} + http://hl7.org/fhir/StructureDefinition/DeviceRequest: {} + http://hl7.org/fhir/StructureDefinition/DeviceUsage: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport: {} + http://hl7.org/fhir/StructureDefinition/DocumentReference: {} + http://hl7.org/fhir/StructureDefinition/DomainResource: {} + http://hl7.org/fhir/StructureDefinition/Encounter: {} + http://hl7.org/fhir/StructureDefinition/EncounterHistory: {} + http://hl7.org/fhir/StructureDefinition/Endpoint: {} + http://hl7.org/fhir/StructureDefinition/EnrollmentRequest: {} + http://hl7.org/fhir/StructureDefinition/EnrollmentResponse: {} + http://hl7.org/fhir/StructureDefinition/EpisodeOfCare: {} + http://hl7.org/fhir/StructureDefinition/EventDefinition: {} + http://hl7.org/fhir/StructureDefinition/Evidence: {} + http://hl7.org/fhir/StructureDefinition/EvidenceReport: {} + http://hl7.org/fhir/StructureDefinition/EvidenceVariable: {} + http://hl7.org/fhir/StructureDefinition/ExampleScenario: {} + http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit: {} + http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory: {} + http://hl7.org/fhir/StructureDefinition/Flag: {} + http://hl7.org/fhir/StructureDefinition/FormularyItem: {} + http://hl7.org/fhir/StructureDefinition/GenomicStudy: {} + http://hl7.org/fhir/StructureDefinition/Goal: {} + http://hl7.org/fhir/StructureDefinition/GraphDefinition: {} + http://hl7.org/fhir/StructureDefinition/Group: {} + http://hl7.org/fhir/StructureDefinition/GuidanceResponse: {} + http://hl7.org/fhir/StructureDefinition/HealthcareService: {} + http://hl7.org/fhir/StructureDefinition/ImagingSelection: {} + http://hl7.org/fhir/StructureDefinition/ImagingStudy: {} + http://hl7.org/fhir/StructureDefinition/Immunization: {} + http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation: {} + http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation: {} + http://hl7.org/fhir/StructureDefinition/ImplementationGuide: {} + http://hl7.org/fhir/StructureDefinition/Ingredient: {} + http://hl7.org/fhir/StructureDefinition/InsurancePlan: {} + http://hl7.org/fhir/StructureDefinition/InventoryItem: {} + http://hl7.org/fhir/StructureDefinition/InventoryReport: {} + http://hl7.org/fhir/StructureDefinition/Invoice: {} + http://hl7.org/fhir/StructureDefinition/Library: {} + http://hl7.org/fhir/StructureDefinition/Linkage: {} + http://hl7.org/fhir/StructureDefinition/List: {} + http://hl7.org/fhir/StructureDefinition/Location: {} + http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition: {} + http://hl7.org/fhir/StructureDefinition/Measure: {} + http://hl7.org/fhir/StructureDefinition/MeasureReport: {} + http://hl7.org/fhir/StructureDefinition/Medication: {} + http://hl7.org/fhir/StructureDefinition/MedicationAdministration: {} + http://hl7.org/fhir/StructureDefinition/MedicationDispense: {} + http://hl7.org/fhir/StructureDefinition/MedicationKnowledge: {} + http://hl7.org/fhir/StructureDefinition/MedicationRequest: {} + http://hl7.org/fhir/StructureDefinition/MedicationStatement: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition: {} + http://hl7.org/fhir/StructureDefinition/MessageDefinition: {} + http://hl7.org/fhir/StructureDefinition/MessageHeader: {} + http://hl7.org/fhir/StructureDefinition/MetadataResource: {} + http://hl7.org/fhir/StructureDefinition/MolecularSequence: {} + http://hl7.org/fhir/StructureDefinition/NamingSystem: {} + http://hl7.org/fhir/StructureDefinition/NutritionIntake: {} + http://hl7.org/fhir/StructureDefinition/NutritionOrder: {} + http://hl7.org/fhir/StructureDefinition/NutritionProduct: {} + http://hl7.org/fhir/StructureDefinition/Observation: {} + http://hl7.org/fhir/StructureDefinition/ObservationDefinition: {} + http://hl7.org/fhir/StructureDefinition/OperationDefinition: {} + http://hl7.org/fhir/StructureDefinition/OperationOutcome: {} + http://hl7.org/fhir/StructureDefinition/Organization: {} + http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation: {} + http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition: {} + http://hl7.org/fhir/StructureDefinition/Parameters: {} + http://hl7.org/fhir/StructureDefinition/Patient: {} + http://hl7.org/fhir/StructureDefinition/PaymentNotice: {} + http://hl7.org/fhir/StructureDefinition/PaymentReconciliation: {} + http://hl7.org/fhir/StructureDefinition/Permission: {} + http://hl7.org/fhir/StructureDefinition/Person: {} + http://hl7.org/fhir/StructureDefinition/PlanDefinition: {} + http://hl7.org/fhir/StructureDefinition/Practitioner: {} + http://hl7.org/fhir/StructureDefinition/PractitionerRole: {} + http://hl7.org/fhir/StructureDefinition/Procedure: {} + http://hl7.org/fhir/StructureDefinition/Provenance: {} + http://hl7.org/fhir/StructureDefinition/Questionnaire: {} + http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse: {} + http://hl7.org/fhir/StructureDefinition/RegulatedAuthorization: {} + http://hl7.org/fhir/StructureDefinition/RelatedPerson: {} + http://hl7.org/fhir/StructureDefinition/RequestOrchestration: {} + http://hl7.org/fhir/StructureDefinition/Requirements: {} + http://hl7.org/fhir/StructureDefinition/ResearchStudy: {} + http://hl7.org/fhir/StructureDefinition/ResearchSubject: {} + http://hl7.org/fhir/StructureDefinition/Resource: {} + http://hl7.org/fhir/StructureDefinition/RiskAssessment: {} + http://hl7.org/fhir/StructureDefinition/Schedule: {} + http://hl7.org/fhir/StructureDefinition/SearchParameter: {} + http://hl7.org/fhir/StructureDefinition/ServiceRequest: {} + http://hl7.org/fhir/StructureDefinition/Slot: {} + http://hl7.org/fhir/StructureDefinition/Specimen: {} + http://hl7.org/fhir/StructureDefinition/SpecimenDefinition: {} + http://hl7.org/fhir/StructureDefinition/StructureDefinition: {} + http://hl7.org/fhir/StructureDefinition/StructureMap: {} + http://hl7.org/fhir/StructureDefinition/Subscription: {} + http://hl7.org/fhir/StructureDefinition/SubscriptionStatus: {} + http://hl7.org/fhir/StructureDefinition/SubscriptionTopic: {} + http://hl7.org/fhir/StructureDefinition/Substance: {} + http://hl7.org/fhir/StructureDefinition/SubstanceDefinition: {} + http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid: {} + http://hl7.org/fhir/StructureDefinition/SubstancePolymer: {} + http://hl7.org/fhir/StructureDefinition/SubstanceProtein: {} + http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation: {} + http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial: {} + http://hl7.org/fhir/StructureDefinition/SupplyDelivery: {} + http://hl7.org/fhir/StructureDefinition/SupplyRequest: {} + http://hl7.org/fhir/StructureDefinition/Task: {} + http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities: {} + http://hl7.org/fhir/StructureDefinition/TestPlan: {} + http://hl7.org/fhir/StructureDefinition/TestReport: {} + http://hl7.org/fhir/StructureDefinition/TestScript: {} + http://hl7.org/fhir/StructureDefinition/Transport: {} + http://hl7.org/fhir/StructureDefinition/ValueSet: {} + http://hl7.org/fhir/StructureDefinition/VerificationResult: {} + http://hl7.org/fhir/StructureDefinition/VisionPrescription: {} + value-set: + http://hl7.org/fhir/ValueSet/account-aggregate: {} + http://hl7.org/fhir/ValueSet/account-balance-term: {} + http://hl7.org/fhir/ValueSet/account-billing-status: {} + http://hl7.org/fhir/ValueSet/account-relationship: {} + http://hl7.org/fhir/ValueSet/account-status: {} + http://hl7.org/fhir/ValueSet/account-type: {} + http://hl7.org/fhir/ValueSet/action-cardinality-behavior: {} + http://hl7.org/fhir/ValueSet/action-code: {} + http://hl7.org/fhir/ValueSet/action-condition-kind: {} + http://hl7.org/fhir/ValueSet/action-grouping-behavior: {} + http://hl7.org/fhir/ValueSet/action-participant-function: {} + http://hl7.org/fhir/ValueSet/action-participant-type: {} + http://hl7.org/fhir/ValueSet/action-precheck-behavior: {} + http://hl7.org/fhir/ValueSet/action-reason-code: {} + http://hl7.org/fhir/ValueSet/action-relationship-type: {} + http://hl7.org/fhir/ValueSet/action-required-behavior: {} + http://hl7.org/fhir/ValueSet/action-selection-behavior: {} + http://hl7.org/fhir/ValueSet/action-type: {} + http://hl7.org/fhir/ValueSet/additional-binding-purpose: {} + http://hl7.org/fhir/ValueSet/additional-instruction-codes: {} + http://hl7.org/fhir/ValueSet/address-type: {} + http://hl7.org/fhir/ValueSet/address-use: {} + http://hl7.org/fhir/ValueSet/adjudication: {} + http://hl7.org/fhir/ValueSet/adjudication-error: {} + http://hl7.org/fhir/ValueSet/adjudication-reason: {} + http://hl7.org/fhir/ValueSet/administrable-dose-form: {} + http://hl7.org/fhir/ValueSet/administration-method-codes: {} + http://hl7.org/fhir/ValueSet/administration-subpotent-reason: {} + http://hl7.org/fhir/ValueSet/administrative-gender: {} + http://hl7.org/fhir/ValueSet/adverse-event-actuality: {} + http://hl7.org/fhir/ValueSet/adverse-event-category: {} + http://hl7.org/fhir/ValueSet/adverse-event-causality-assess: {} + http://hl7.org/fhir/ValueSet/adverse-event-causality-method: {} + http://hl7.org/fhir/ValueSet/adverse-event-contributing-factor: {} + http://hl7.org/fhir/ValueSet/adverse-event-mitigating-action: {} + http://hl7.org/fhir/ValueSet/adverse-event-outcome: {} + http://hl7.org/fhir/ValueSet/adverse-event-participant-function: {} + http://hl7.org/fhir/ValueSet/adverse-event-preventive-action: {} + http://hl7.org/fhir/ValueSet/adverse-event-seriousness: {} + http://hl7.org/fhir/ValueSet/adverse-event-status: {} + http://hl7.org/fhir/ValueSet/adverse-event-supporting-info: {} + http://hl7.org/fhir/ValueSet/adverse-event-type: {} + http://hl7.org/fhir/ValueSet/age-units: {} + http://hl7.org/fhir/ValueSet/all-distance-units: {} + http://hl7.org/fhir/ValueSet/allergen-class: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-category: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-clinical: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-code: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-type: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-verification: {} + http://hl7.org/fhir/ValueSet/all-languages: {} + http://hl7.org/fhir/ValueSet/all-resource-types: {} + http://hl7.org/fhir/ValueSet/all-time-units: {} + http://hl7.org/fhir/ValueSet/animal-tissue-type: {} + http://hl7.org/fhir/ValueSet/appointment-cancellation-reason: {} + http://hl7.org/fhir/ValueSet/appointment-recurrrence-type: {} + http://hl7.org/fhir/ValueSet/appointmentresponse-status: {} + http://hl7.org/fhir/ValueSet/appointmentstatus: {} + http://hl7.org/fhir/ValueSet/approach-site-codes: {} + http://hl7.org/fhir/ValueSet/artifactassessment-disposition: {} + http://hl7.org/fhir/ValueSet/artifactassessment-information-type: {} + http://hl7.org/fhir/ValueSet/artifactassessment-workflow-status: {} + http://hl7.org/fhir/ValueSet/artifact-contribution-instance-type: {} + http://hl7.org/fhir/ValueSet/artifact-contribution-type: {} + http://hl7.org/fhir/ValueSet/artifact-url-classifier: {} + http://hl7.org/fhir/ValueSet/assert-direction-codes: {} + http://hl7.org/fhir/ValueSet/assert-manual-completion-codes: {} + http://hl7.org/fhir/ValueSet/assert-operator-codes: {} + http://hl7.org/fhir/ValueSet/assert-response-code-types: {} + http://hl7.org/fhir/ValueSet/asset-availability: {} + http://hl7.org/fhir/ValueSet/attribute-estimate-type: {} + http://hl7.org/fhir/ValueSet/audit-event-action: {} + http://hl7.org/fhir/ValueSet/audit-event-outcome: {} + http://hl7.org/fhir/ValueSet/audit-event-outcome-detail: {} + http://hl7.org/fhir/ValueSet/audit-event-severity: {} + http://hl7.org/fhir/ValueSet/audit-event-sub-type: {} + http://hl7.org/fhir/ValueSet/audit-event-type: {} + http://hl7.org/fhir/ValueSet/basic-resource-type: {} + http://hl7.org/fhir/ValueSet/benefit-network: {} + http://hl7.org/fhir/ValueSet/benefit-term: {} + http://hl7.org/fhir/ValueSet/benefit-type: {} + http://hl7.org/fhir/ValueSet/benefit-unit: {} + http://hl7.org/fhir/ValueSet/binding-strength: {} + http://hl7.org/fhir/ValueSet/biologicallyderived-productcodes: {} + http://hl7.org/fhir/ValueSet/biologicallyderivedproductdispense-match-status: {} + http://hl7.org/fhir/ValueSet/biologicallyderivedproductdispense-origin-relationship: {} + http://hl7.org/fhir/ValueSet/biologicallyderivedproductdispense-performer-function: {} + http://hl7.org/fhir/ValueSet/biologicallyderivedproductdispense-status: {} + http://hl7.org/fhir/ValueSet/biologicallyderived-product-property-type-codes: {} + http://hl7.org/fhir/ValueSet/biologicallyderived-product-status: {} + http://hl7.org/fhir/ValueSet/body-site: {} + http://hl7.org/fhir/ValueSet/bodystructure-bodylandmarkorientation-clockface-position: {} + http://hl7.org/fhir/ValueSet/bodystructure-code: {} + http://hl7.org/fhir/ValueSet/bodystructure-relative-location: {} + http://hl7.org/fhir/ValueSet/bundle-type: {} + http://hl7.org/fhir/ValueSet/c80-facilitycodes: {} + http://hl7.org/fhir/ValueSet/c80-practice-codes: {} + http://hl7.org/fhir/ValueSet/capability-format-type: {} + http://hl7.org/fhir/ValueSet/capability-statement-kind: {} + http://hl7.org/fhir/ValueSet/care-plan-activity-performed: {} + http://hl7.org/fhir/ValueSet/care-plan-category: {} + http://hl7.org/fhir/ValueSet/care-plan-intent: {} + http://hl7.org/fhir/ValueSet/care-team-category: {} + http://hl7.org/fhir/ValueSet/care-team-status: {} + http://hl7.org/fhir/ValueSet/catalogType: {} + http://hl7.org/fhir/ValueSet/cdshooks-indicator: {} + http://hl7.org/fhir/ValueSet/certainty-rating: {} + http://hl7.org/fhir/ValueSet/certainty-type: {} + http://hl7.org/fhir/ValueSet/characteristic-combination: {} + http://hl7.org/fhir/ValueSet/characteristic-offset: {} + http://hl7.org/fhir/ValueSet/chargeitem-billingcodes: {} + http://hl7.org/fhir/ValueSet/chargeitem-status: {} + http://hl7.org/fhir/ValueSet/citation-artifact-classifier: {} + http://hl7.org/fhir/ValueSet/citation-classification-type: {} + http://hl7.org/fhir/ValueSet/citation-status-type: {} + http://hl7.org/fhir/ValueSet/citation-summary-style: {} + http://hl7.org/fhir/ValueSet/cited-artifact-abstract-type: {} + http://hl7.org/fhir/ValueSet/cited-artifact-classification-type: {} + http://hl7.org/fhir/ValueSet/cited-artifact-part-type: {} + http://hl7.org/fhir/ValueSet/cited-artifact-status-type: {} + http://hl7.org/fhir/ValueSet/cited-medium: {} + http://hl7.org/fhir/ValueSet/claim-careteamrole: {} + http://hl7.org/fhir/ValueSet/claim-decision: {} + http://hl7.org/fhir/ValueSet/claim-decision-reason: {} + http://hl7.org/fhir/ValueSet/claim-exception: {} + http://hl7.org/fhir/ValueSet/claim-informationcategory: {} + http://hl7.org/fhir/ValueSet/claim-modifiers: {} + http://hl7.org/fhir/ValueSet/claim-outcome: {} + http://hl7.org/fhir/ValueSet/claim-subtype: {} + http://hl7.org/fhir/ValueSet/claim-type: {} + http://hl7.org/fhir/ValueSet/claim-use: {} + http://hl7.org/fhir/ValueSet/clinical-findings: {} + http://hl7.org/fhir/ValueSet/clinicalimpression-change-pattern: {} + http://hl7.org/fhir/ValueSet/clinicalimpression-prognosis: {} + http://hl7.org/fhir/ValueSet/clinicalimpression-status-reason: {} + http://hl7.org/fhir/ValueSet/clinical-use-definition-category: {} + http://hl7.org/fhir/ValueSet/clinical-use-definition-type: {} + http://hl7.org/fhir/ValueSet/code-search-support: {} + http://hl7.org/fhir/ValueSet/codesystem-content-mode: {} + http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning: {} + http://hl7.org/fhir/ValueSet/color-codes: {} + http://hl7.org/fhir/ValueSet/combined-dose-form: {} + http://hl7.org/fhir/ValueSet/common-tags: {} + http://hl7.org/fhir/ValueSet/communication-category: {} + http://hl7.org/fhir/ValueSet/communication-not-done-reason: {} + http://hl7.org/fhir/ValueSet/communication-request-status-reason: {} + http://hl7.org/fhir/ValueSet/communication-topic: {} + http://hl7.org/fhir/ValueSet/compartment-type: {} + http://hl7.org/fhir/ValueSet/composite-measure-scoring: {} + http://hl7.org/fhir/ValueSet/composition-attestation-mode: {} + http://hl7.org/fhir/ValueSet/composition-status: {} + http://hl7.org/fhir/ValueSet/conceptmap-attribute-type: {} + http://hl7.org/fhir/ValueSet/conceptmap-property-type: {} + http://hl7.org/fhir/ValueSet/concept-map-relationship: {} + http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode: {} + http://hl7.org/fhir/ValueSet/concept-property-type: {} + http://hl7.org/fhir/ValueSet/concept-subsumption-outcome: {} + http://hl7.org/fhir/ValueSet/concrete-fhir-types: {} + http://hl7.org/fhir/ValueSet/conditional-delete-status: {} + http://hl7.org/fhir/ValueSet/conditional-read-status: {} + http://hl7.org/fhir/ValueSet/condition-category: {} + http://hl7.org/fhir/ValueSet/condition-clinical: {} + http://hl7.org/fhir/ValueSet/condition-code: {} + http://hl7.org/fhir/ValueSet/condition-outcome: {} + http://hl7.org/fhir/ValueSet/condition-precondition-type: {} + http://hl7.org/fhir/ValueSet/condition-questionnaire-purpose: {} + http://hl7.org/fhir/ValueSet/condition-severity: {} + http://hl7.org/fhir/ValueSet/condition-stage: {} + http://hl7.org/fhir/ValueSet/condition-stage-type: {} + http://hl7.org/fhir/ValueSet/condition-ver-status: {} + http://hl7.org/fhir/ValueSet/conformance-expectation: {} + http://hl7.org/fhir/ValueSet/consent-action: {} + http://hl7.org/fhir/ValueSet/consent-category: {} + http://hl7.org/fhir/ValueSet/consent-content-class: {} + http://hl7.org/fhir/ValueSet/consent-content-code: {} + http://hl7.org/fhir/ValueSet/consent-data-meaning: {} + http://hl7.org/fhir/ValueSet/consent-policy: {} + http://hl7.org/fhir/ValueSet/consent-provision-type: {} + http://hl7.org/fhir/ValueSet/consent-state-codes: {} + http://hl7.org/fhir/ValueSet/consent-verification: {} + http://hl7.org/fhir/ValueSet/consistency-type: {} + http://hl7.org/fhir/ValueSet/constraint-severity: {} + http://hl7.org/fhir/ValueSet/contact-point-system: {} + http://hl7.org/fhir/ValueSet/contact-point-use: {} + http://hl7.org/fhir/ValueSet/container-cap: {} + http://hl7.org/fhir/ValueSet/container-material: {} + http://hl7.org/fhir/ValueSet/contract-action: {} + http://hl7.org/fhir/ValueSet/contract-actionstatus: {} + http://hl7.org/fhir/ValueSet/contract-actorrole: {} + http://hl7.org/fhir/ValueSet/contract-assetcontext: {} + http://hl7.org/fhir/ValueSet/contract-assetscope: {} + http://hl7.org/fhir/ValueSet/contract-assetsubtype: {} + http://hl7.org/fhir/ValueSet/contract-assettype: {} + http://hl7.org/fhir/ValueSet/contract-content-derivative: {} + http://hl7.org/fhir/ValueSet/contract-decision-mode: {} + http://hl7.org/fhir/ValueSet/contract-definition-subtype: {} + http://hl7.org/fhir/ValueSet/contract-definition-type: {} + http://hl7.org/fhir/ValueSet/contract-expiration-type: {} + http://hl7.org/fhir/ValueSet/contract-legalstate: {} + http://hl7.org/fhir/ValueSet/contract-party-role: {} + http://hl7.org/fhir/ValueSet/contract-publicationstatus: {} + http://hl7.org/fhir/ValueSet/contract-scope: {} + http://hl7.org/fhir/ValueSet/contract-security-category: {} + http://hl7.org/fhir/ValueSet/contract-security-classification: {} + http://hl7.org/fhir/ValueSet/contract-security-control: {} + http://hl7.org/fhir/ValueSet/contract-signer-type: {} + http://hl7.org/fhir/ValueSet/contract-status: {} + http://hl7.org/fhir/ValueSet/contract-subtype: {} + http://hl7.org/fhir/ValueSet/contract-term-subtype: {} + http://hl7.org/fhir/ValueSet/contract-term-type: {} + http://hl7.org/fhir/ValueSet/contract-type: {} + http://hl7.org/fhir/ValueSet/contributor-role: {} + http://hl7.org/fhir/ValueSet/contributor-summary-source: {} + http://hl7.org/fhir/ValueSet/contributor-summary-style: {} + http://hl7.org/fhir/ValueSet/contributor-summary-type: {} + http://hl7.org/fhir/ValueSet/contributor-type: {} + http://hl7.org/fhir/ValueSet/country: {} + http://hl7.org/fhir/ValueSet/coverage-class: {} + http://hl7.org/fhir/ValueSet/coverage-copay-type: {} + http://hl7.org/fhir/ValueSet/coverageeligibilityresponse-ex-auth-support: {} + http://hl7.org/fhir/ValueSet/coverage-financial-exception: {} + http://hl7.org/fhir/ValueSet/coverage-kind: {} + http://hl7.org/fhir/ValueSet/coverage-type: {} + http://hl7.org/fhir/ValueSet/currencies: {} + http://hl7.org/fhir/ValueSet/data-absent-reason: {} + http://hl7.org/fhir/ValueSet/data-types: {} + http://hl7.org/fhir/ValueSet/datestype: {} + http://hl7.org/fhir/ValueSet/days-of-week: {} + http://hl7.org/fhir/ValueSet/definition-method: {} + http://hl7.org/fhir/ValueSet/definition-resource-types: {} + http://hl7.org/fhir/ValueSet/definition-topic: {} + http://hl7.org/fhir/ValueSet/definition-use: {} + http://hl7.org/fhir/ValueSet/designation-use: {} + http://hl7.org/fhir/ValueSet/detectedissue-category: {} + http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action: {} + http://hl7.org/fhir/ValueSet/detectedissue-severity: {} + http://hl7.org/fhir/ValueSet/detectedissue-status: {} + http://hl7.org/fhir/ValueSet/device-action: {} + http://hl7.org/fhir/ValueSet/deviceassociation-operationstatus: {} + http://hl7.org/fhir/ValueSet/deviceassociation-status: {} + http://hl7.org/fhir/ValueSet/deviceassociation-status-reason: {} + http://hl7.org/fhir/ValueSet/device-availability-status: {} + http://hl7.org/fhir/ValueSet/device-category: {} + http://hl7.org/fhir/ValueSet/device-correctiveactionscope: {} + http://hl7.org/fhir/ValueSet/devicedefinition-regulatory-identifier-type: {} + http://hl7.org/fhir/ValueSet/devicedefinition-relationtype: {} + http://hl7.org/fhir/ValueSet/devicedispense-status: {} + http://hl7.org/fhir/ValueSet/devicedispense-status-reason: {} + http://hl7.org/fhir/ValueSet/devicemetric-type: {} + http://hl7.org/fhir/ValueSet/device-nametype: {} + http://hl7.org/fhir/ValueSet/device-operation-mode: {} + http://hl7.org/fhir/ValueSet/device-productidentifierinudi: {} + http://hl7.org/fhir/ValueSet/device-property-type: {} + http://hl7.org/fhir/ValueSet/device-safety: {} + http://hl7.org/fhir/ValueSet/device-specification-category: {} + http://hl7.org/fhir/ValueSet/device-specification-type: {} + http://hl7.org/fhir/ValueSet/device-status: {} + http://hl7.org/fhir/ValueSet/device-type: {} + http://hl7.org/fhir/ValueSet/deviceusage-adherence-code: {} + http://hl7.org/fhir/ValueSet/deviceusage-adherence-reason: {} + http://hl7.org/fhir/ValueSet/deviceusage-status: {} + http://hl7.org/fhir/ValueSet/device-versiontype: {} + http://hl7.org/fhir/ValueSet/diagnosis-role: {} + http://hl7.org/fhir/ValueSet/diagnostic-report-status: {} + http://hl7.org/fhir/ValueSet/diagnostic-service-sections: {} + http://hl7.org/fhir/ValueSet/diet-type: {} + http://hl7.org/fhir/ValueSet/discriminator-type: {} + http://hl7.org/fhir/ValueSet/disease-status: {} + http://hl7.org/fhir/ValueSet/disease-symptom-procedure: {} + http://hl7.org/fhir/ValueSet/distance-units: {} + http://hl7.org/fhir/ValueSet/doc-section-codes: {} + http://hl7.org/fhir/ValueSet/doc-typecodes: {} + http://hl7.org/fhir/ValueSet/document-mode: {} + http://hl7.org/fhir/ValueSet/document-reference-status: {} + http://hl7.org/fhir/ValueSet/document-relationship-type: {} + http://hl7.org/fhir/ValueSet/duration-units: {} + http://hl7.org/fhir/ValueSet/edible-substance-type: {} + http://hl7.org/fhir/ValueSet/elementdefinition-types: {} + http://hl7.org/fhir/ValueSet/eligibility-outcome: {} + http://hl7.org/fhir/ValueSet/eligibilityrequest-purpose: {} + http://hl7.org/fhir/ValueSet/eligibilityresponse-purpose: {} + http://hl7.org/fhir/ValueSet/encounter-admit-source: {} + http://hl7.org/fhir/ValueSet/encounter-diagnosis-use: {} + http://hl7.org/fhir/ValueSet/encounter-diet: {} + http://hl7.org/fhir/ValueSet/encounter-discharge-disposition: {} + http://hl7.org/fhir/ValueSet/encounter-location-status: {} + http://hl7.org/fhir/ValueSet/encounter-participant-type: {} + http://hl7.org/fhir/ValueSet/encounter-reason: {} + http://hl7.org/fhir/ValueSet/encounter-reason-use: {} + http://hl7.org/fhir/ValueSet/encounter-special-arrangements: {} + http://hl7.org/fhir/ValueSet/encounter-special-courtesy: {} + http://hl7.org/fhir/ValueSet/encounter-status: {} + http://hl7.org/fhir/ValueSet/encounter-subject-status: {} + http://hl7.org/fhir/ValueSet/encounter-type: {} + http://hl7.org/fhir/ValueSet/endpoint-connection-type: {} + http://hl7.org/fhir/ValueSet/endpoint-environment: {} + http://hl7.org/fhir/ValueSet/endpoint-payload-type: {} + http://hl7.org/fhir/ValueSet/endpoint-status: {} + http://hl7.org/fhir/ValueSet/enrollment-outcome: {} + http://hl7.org/fhir/ValueSet/enteral-route: {} + http://hl7.org/fhir/ValueSet/entformula-additive: {} + http://hl7.org/fhir/ValueSet/entformula-type: {} + http://hl7.org/fhir/ValueSet/episode-of-care-status: {} + http://hl7.org/fhir/ValueSet/episodeofcare-type: {} + http://hl7.org/fhir/ValueSet/event-capability-mode: {} + http://hl7.org/fhir/ValueSet/event-resource-types: {} + http://hl7.org/fhir/ValueSet/event-status: {} + http://hl7.org/fhir/ValueSet/event-timing: {} + http://hl7.org/fhir/ValueSet/evidence-classifier-code: {} + http://hl7.org/fhir/ValueSet/evidence-report-section: {} + http://hl7.org/fhir/ValueSet/evidence-report-type: {} + http://hl7.org/fhir/ValueSet/evidence-variable-event: {} + http://hl7.org/fhir/ValueSet/example: {} + http://hl7.org/fhir/ValueSet/example-cpt-all: {} + http://hl7.org/fhir/ValueSet/example-expansion: {} + http://hl7.org/fhir/ValueSet/example-filter: {} + http://hl7.org/fhir/ValueSet/example-intensional: {} + http://hl7.org/fhir/ValueSet/example-metadata: {} + http://hl7.org/fhir/ValueSet/example-metadata-2: {} + http://hl7.org/fhir/ValueSet/examplescenario-actor-type: {} + http://hl7.org/fhir/ValueSet/examplescenario-instance-type: {} + http://hl7.org/fhir/ValueSet/ex-benefitcategory: {} + http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission: {} + http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup: {} + http://hl7.org/fhir/ValueSet/ex-diagnosistype: {} + http://hl7.org/fhir/ValueSet/ex-paymenttype: {} + http://hl7.org/fhir/ValueSet/explanationofbenefit-status: {} + http://hl7.org/fhir/ValueSet/expression-language: {} + http://hl7.org/fhir/ValueSet/ex-procedure-type: {} + http://hl7.org/fhir/ValueSet/ex-program-code: {} + http://hl7.org/fhir/ValueSet/ex-revenue-center: {} + http://hl7.org/fhir/ValueSet/extension-context-type: {} + http://hl7.org/fhir/ValueSet/fhirpath-types: {} + http://hl7.org/fhir/ValueSet/fhir-types: {} + http://hl7.org/fhir/ValueSet/FHIR-version: {} + http://hl7.org/fhir/ValueSet/filter-operator: {} + http://hl7.org/fhir/ValueSet/flag-category: {} + http://hl7.org/fhir/ValueSet/flag-code: {} + http://hl7.org/fhir/ValueSet/flag-status: {} + http://hl7.org/fhir/ValueSet/fm-status: {} + http://hl7.org/fhir/ValueSet/focus-characteristic-code: {} + http://hl7.org/fhir/ValueSet/food-type: {} + http://hl7.org/fhir/ValueSet/forms: {} + http://hl7.org/fhir/ValueSet/formularyitem-status: {} + http://hl7.org/fhir/ValueSet/fundsreserve: {} + http://hl7.org/fhir/ValueSet/genomicstudy-changetype: {} + http://hl7.org/fhir/ValueSet/genomicstudy-dataformat: {} + http://hl7.org/fhir/ValueSet/genomicstudy-methodtype: {} + http://hl7.org/fhir/ValueSet/genomicstudy-status: {} + http://hl7.org/fhir/ValueSet/genomicstudy-type: {} + http://hl7.org/fhir/ValueSet/goal-achievement: {} + http://hl7.org/fhir/ValueSet/goal-category: {} + http://hl7.org/fhir/ValueSet/goal-priority: {} + http://hl7.org/fhir/ValueSet/goal-start-event: {} + http://hl7.org/fhir/ValueSet/goal-status: {} + http://hl7.org/fhir/ValueSet/graph-compartment-rule: {} + http://hl7.org/fhir/ValueSet/graph-compartment-use: {} + http://hl7.org/fhir/ValueSet/group-membership-basis: {} + http://hl7.org/fhir/ValueSet/group-type: {} + http://hl7.org/fhir/ValueSet/guidance-module-code: {} + http://hl7.org/fhir/ValueSet/guidance-response-status: {} + http://hl7.org/fhir/ValueSet/guide-page-generation: {} + http://hl7.org/fhir/ValueSet/guide-parameter-code: {} + http://hl7.org/fhir/ValueSet/handling-condition: {} + http://hl7.org/fhir/ValueSet/history-absent-reason: {} + http://hl7.org/fhir/ValueSet/history-status: {} + http://hl7.org/fhir/ValueSet/http-operations: {} + http://hl7.org/fhir/ValueSet/http-verb: {} + http://hl7.org/fhir/ValueSet/iana-link-relations: {} + http://hl7.org/fhir/ValueSet/icd-10: {} + http://hl7.org/fhir/ValueSet/icd-10-procedures: {} + http://hl7.org/fhir/ValueSet/identifier-type: {} + http://hl7.org/fhir/ValueSet/identifier-use: {} + http://hl7.org/fhir/ValueSet/identity-assuranceLevel: {} + http://hl7.org/fhir/ValueSet/imagingselection-2dgraphictype: {} + http://hl7.org/fhir/ValueSet/imagingselection-3dgraphictype: {} + http://hl7.org/fhir/ValueSet/imagingselection-status: {} + http://hl7.org/fhir/ValueSet/imagingstudy-status: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status-reason: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-status: {} + http://hl7.org/fhir/ValueSet/immunization-function: {} + http://hl7.org/fhir/ValueSet/immunization-funding-source: {} + http://hl7.org/fhir/ValueSet/immunization-origin: {} + http://hl7.org/fhir/ValueSet/immunization-program-eligibility: {} + http://hl7.org/fhir/ValueSet/immunization-reason: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-reason: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-status: {} + http://hl7.org/fhir/ValueSet/immunization-route: {} + http://hl7.org/fhir/ValueSet/immunization-site: {} + http://hl7.org/fhir/ValueSet/immunization-status: {} + http://hl7.org/fhir/ValueSet/immunization-status-reason: {} + http://hl7.org/fhir/ValueSet/immunization-subpotent-reason: {} + http://hl7.org/fhir/ValueSet/immunization-target-disease: {} + http://hl7.org/fhir/ValueSet/immunization-vaccine-funding-program: {} + http://hl7.org/fhir/ValueSet/inactive: {} + http://hl7.org/fhir/ValueSet/ingredient-function: {} + http://hl7.org/fhir/ValueSet/ingredient-manufacturer-role: {} + http://hl7.org/fhir/ValueSet/ingredient-role: {} + http://hl7.org/fhir/ValueSet/insuranceplan-applicability: {} + http://hl7.org/fhir/ValueSet/insuranceplan-type: {} + http://hl7.org/fhir/ValueSet/interactant: {} + http://hl7.org/fhir/ValueSet/interaction-effect: {} + http://hl7.org/fhir/ValueSet/interaction-incidence: {} + http://hl7.org/fhir/ValueSet/interaction-management: {} + http://hl7.org/fhir/ValueSet/interaction-trigger: {} + http://hl7.org/fhir/ValueSet/interaction-type: {} + http://hl7.org/fhir/ValueSet/inventoryitem-nametype: {} + http://hl7.org/fhir/ValueSet/inventoryitem-status: {} + http://hl7.org/fhir/ValueSet/inventoryreport-counttype: {} + http://hl7.org/fhir/ValueSet/inventoryreport-status: {} + http://hl7.org/fhir/ValueSet/invoice-status: {} + http://hl7.org/fhir/ValueSet/iso3166-1-2: {} + http://hl7.org/fhir/ValueSet/iso3166-1-3: {} + http://hl7.org/fhir/ValueSet/iso3166-1-N: {} + http://hl7.org/fhir/ValueSet/issue-severity: {} + http://hl7.org/fhir/ValueSet/issue-type: {} + http://hl7.org/fhir/ValueSet/item-type: {} + http://hl7.org/fhir/ValueSet/jurisdiction: {} + http://hl7.org/fhir/ValueSet/knowledge-representation-level: {} + http://hl7.org/fhir/ValueSet/languages: {} + http://hl7.org/fhir/ValueSet/legal-status-of-supply: {} + http://hl7.org/fhir/ValueSet/library-type: {} + http://hl7.org/fhir/ValueSet/linkage-type: {} + http://hl7.org/fhir/ValueSet/link-type: {} + http://hl7.org/fhir/ValueSet/lipid-ldl-codes: {} + http://hl7.org/fhir/ValueSet/list-empty-reason: {} + http://hl7.org/fhir/ValueSet/list-example-codes: {} + http://hl7.org/fhir/ValueSet/list-item-flag: {} + http://hl7.org/fhir/ValueSet/list-mode: {} + http://hl7.org/fhir/ValueSet/list-order: {} + http://hl7.org/fhir/ValueSet/list-status: {} + http://hl7.org/fhir/ValueSet/location-characteristic: {} + http://hl7.org/fhir/ValueSet/location-form: {} + http://hl7.org/fhir/ValueSet/location-mode: {} + http://hl7.org/fhir/ValueSet/location-status: {} + http://hl7.org/fhir/ValueSet/manifestation-or-symptom: {} + http://hl7.org/fhir/ValueSet/manufactured-dose-form: {} + http://hl7.org/fhir/ValueSet/map-group-type-mode: {} + http://hl7.org/fhir/ValueSet/map-input-mode: {} + http://hl7.org/fhir/ValueSet/map-model-mode: {} + http://hl7.org/fhir/ValueSet/map-source-list-mode: {} + http://hl7.org/fhir/ValueSet/map-target-list-mode: {} + http://hl7.org/fhir/ValueSet/map-transform: {} + http://hl7.org/fhir/ValueSet/marital-status: {} + http://hl7.org/fhir/ValueSet/measure-aggregate-method: {} + http://hl7.org/fhir/ValueSet/measure-data-usage: {} + http://hl7.org/fhir/ValueSet/measure-definition-example: {} + http://hl7.org/fhir/ValueSet/measure-group-example: {} + http://hl7.org/fhir/ValueSet/measure-improvement-notation: {} + http://hl7.org/fhir/ValueSet/measurement-property: {} + http://hl7.org/fhir/ValueSet/measure-population: {} + http://hl7.org/fhir/ValueSet/measure-report-status: {} + http://hl7.org/fhir/ValueSet/measurereport-stratifier-value-example: {} + http://hl7.org/fhir/ValueSet/measure-report-type: {} + http://hl7.org/fhir/ValueSet/measure-scoring-unit: {} + http://hl7.org/fhir/ValueSet/measure-stratifier-example: {} + http://hl7.org/fhir/ValueSet/measure-supplemental-data-example: {} + http://hl7.org/fhir/ValueSet/measure-type: {} + http://hl7.org/fhir/ValueSet/med-admin-perform-function: {} + http://hl7.org/fhir/ValueSet/medication-admin-location: {} + http://hl7.org/fhir/ValueSet/medication-admin-status: {} + http://hl7.org/fhir/ValueSet/medication-as-needed-reason: {} + http://hl7.org/fhir/ValueSet/medication-codes: {} + http://hl7.org/fhir/ValueSet/medication-cost-category: {} + http://hl7.org/fhir/ValueSet/medicationdispense-admin-location: {} + http://hl7.org/fhir/ValueSet/medicationdispense-performer-function: {} + http://hl7.org/fhir/ValueSet/medicationdispense-status: {} + http://hl7.org/fhir/ValueSet/medicationdispense-status-reason: {} + http://hl7.org/fhir/ValueSet/medication-dose-aid: {} + http://hl7.org/fhir/ValueSet/medication-form-codes: {} + http://hl7.org/fhir/ValueSet/medication-ingredientstrength: {} + http://hl7.org/fhir/ValueSet/medication-intended-performer-role: {} + http://hl7.org/fhir/ValueSet/medicationknowledge-characteristic: {} + http://hl7.org/fhir/ValueSet/medicationknowledge-status: {} + http://hl7.org/fhir/ValueSet/medicationrequest-admin-location: {} + http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy: {} + http://hl7.org/fhir/ValueSet/medicationrequest-intent: {} + http://hl7.org/fhir/ValueSet/medicationrequest-status: {} + http://hl7.org/fhir/ValueSet/medicationrequest-status-reason: {} + http://hl7.org/fhir/ValueSet/medication-statement-adherence: {} + http://hl7.org/fhir/ValueSet/medication-statement-status: {} + http://hl7.org/fhir/ValueSet/medication-status: {} + http://hl7.org/fhir/ValueSet/medicinal-product-additional-monitoring: {} + http://hl7.org/fhir/ValueSet/medicinal-product-classification: {} + http://hl7.org/fhir/ValueSet/medicinal-product-confidentiality: {} + http://hl7.org/fhir/ValueSet/medicinal-product-contact-type: {} + http://hl7.org/fhir/ValueSet/medicinal-product-cross-reference-type: {} + http://hl7.org/fhir/ValueSet/medicinal-product-domain: {} + http://hl7.org/fhir/ValueSet/medicinal-product-name-part-type: {} + http://hl7.org/fhir/ValueSet/medicinal-product-name-type: {} + http://hl7.org/fhir/ValueSet/medicinal-product-package-type: {} + http://hl7.org/fhir/ValueSet/medicinal-product-pediatric-use: {} + http://hl7.org/fhir/ValueSet/medicinal-product-special-measures: {} + http://hl7.org/fhir/ValueSet/medicinal-product-type: {} + http://hl7.org/fhir/ValueSet/message-events: {} + http://hl7.org/fhir/ValueSet/messageheader-response-request: {} + http://hl7.org/fhir/ValueSet/message-reason-encounter: {} + http://hl7.org/fhir/ValueSet/message-significance-category: {} + http://hl7.org/fhir/ValueSet/message-transport: {} + http://hl7.org/fhir/ValueSet/metric-calibration-state: {} + http://hl7.org/fhir/ValueSet/metric-calibration-type: {} + http://hl7.org/fhir/ValueSet/metric-category: {} + http://hl7.org/fhir/ValueSet/metric-operational-status: {} + http://hl7.org/fhir/ValueSet/mimetypes: {} + http://hl7.org/fhir/ValueSet/missing-tooth-reason: {} + http://hl7.org/fhir/ValueSet/modified-foodtype: {} + http://hl7.org/fhir/ValueSet/name-use: {} + http://hl7.org/fhir/ValueSet/namingsystem-identifier-system-type: {} + http://hl7.org/fhir/ValueSet/namingsystem-identifier-type: {} + http://hl7.org/fhir/ValueSet/namingsystem-type: {} + http://hl7.org/fhir/ValueSet/narrative-status: {} + http://hl7.org/fhir/ValueSet/nhin-purposeofuse: {} + http://hl7.org/fhir/ValueSet/not-consumed-reason: {} + http://hl7.org/fhir/ValueSet/note-type: {} + http://hl7.org/fhir/ValueSet/nutrient-code: {} + http://hl7.org/fhir/ValueSet/nutrition-product-category: {} + http://hl7.org/fhir/ValueSet/nutrition-product-nutrient: {} + http://hl7.org/fhir/ValueSet/nutritionproduct-status: {} + http://hl7.org/fhir/ValueSet/object-role: {} + http://hl7.org/fhir/ValueSet/observation-category: {} + http://hl7.org/fhir/ValueSet/observation-codes: {} + http://hl7.org/fhir/ValueSet/observation-interpretation: {} + http://hl7.org/fhir/ValueSet/observation-methods: {} + http://hl7.org/fhir/ValueSet/observation-range-category: {} + http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue: {} + http://hl7.org/fhir/ValueSet/observation-statistics: {} + http://hl7.org/fhir/ValueSet/observation-status: {} + http://hl7.org/fhir/ValueSet/observation-triggeredbytype: {} + http://hl7.org/fhir/ValueSet/observation-vitalsignresult: {} + http://hl7.org/fhir/ValueSet/operation-kind: {} + http://hl7.org/fhir/ValueSet/operation-outcome: {} + http://hl7.org/fhir/ValueSet/operation-parameter-scope: {} + http://hl7.org/fhir/ValueSet/operation-parameter-use: {} + http://hl7.org/fhir/ValueSet/organization-role: {} + http://hl7.org/fhir/ValueSet/organization-type: {} + http://hl7.org/fhir/ValueSet/orientation-type: {} + http://hl7.org/fhir/ValueSet/package-material: {} + http://hl7.org/fhir/ValueSet/package-type: {} + http://hl7.org/fhir/ValueSet/packaging-type: {} + http://hl7.org/fhir/ValueSet/participant-resource-types: {} + http://hl7.org/fhir/ValueSet/participant-role: {} + http://hl7.org/fhir/ValueSet/participation-role-type: {} + http://hl7.org/fhir/ValueSet/participationstatus: {} + http://hl7.org/fhir/ValueSet/patient-contactrelationship: {} + http://hl7.org/fhir/ValueSet/payeetype: {} + http://hl7.org/fhir/ValueSet/payment-adjustment-reason: {} + http://hl7.org/fhir/ValueSet/payment-issuertype: {} + http://hl7.org/fhir/ValueSet/payment-kind: {} + http://hl7.org/fhir/ValueSet/payment-outcome: {} + http://hl7.org/fhir/ValueSet/payment-status: {} + http://hl7.org/fhir/ValueSet/payment-type: {} + http://hl7.org/fhir/ValueSet/performer-function: {} + http://hl7.org/fhir/ValueSet/performer-role: {} + http://hl7.org/fhir/ValueSet/permission-rule-combining: {} + http://hl7.org/fhir/ValueSet/permission-status: {} + http://hl7.org/fhir/ValueSet/permitted-data-type: {} + http://hl7.org/fhir/ValueSet/plan-definition-type: {} + http://hl7.org/fhir/ValueSet/practitioner-role: {} + http://hl7.org/fhir/ValueSet/prepare-patient-prior-specimen-collection: {} + http://hl7.org/fhir/ValueSet/price-component-type: {} + http://hl7.org/fhir/ValueSet/procedure-category: {} + http://hl7.org/fhir/ValueSet/procedure-code: {} + http://hl7.org/fhir/ValueSet/procedure-followup: {} + http://hl7.org/fhir/ValueSet/procedure-not-performed-reason: {} + http://hl7.org/fhir/ValueSet/procedure-outcome: {} + http://hl7.org/fhir/ValueSet/procedure-reason: {} + http://hl7.org/fhir/ValueSet/process-priority: {} + http://hl7.org/fhir/ValueSet/product-category: {} + http://hl7.org/fhir/ValueSet/product-characteristic-codes: {} + http://hl7.org/fhir/ValueSet/product-intended-use: {} + http://hl7.org/fhir/ValueSet/product-status: {} + http://hl7.org/fhir/ValueSet/program: {} + http://hl7.org/fhir/ValueSet/property-representation: {} + http://hl7.org/fhir/ValueSet/provenance-activity-type: {} + http://hl7.org/fhir/ValueSet/provenance-entity-role: {} + http://hl7.org/fhir/ValueSet/provenance-history-agent-type: {} + http://hl7.org/fhir/ValueSet/provenance-history-record-activity: {} + http://hl7.org/fhir/ValueSet/provider-qualification: {} + http://hl7.org/fhir/ValueSet/provider-taxonomy: {} + http://hl7.org/fhir/ValueSet/publication-status: {} + http://hl7.org/fhir/ValueSet/published-in-type: {} + http://hl7.org/fhir/ValueSet/quantity-comparator: {} + http://hl7.org/fhir/ValueSet/questionnaire-answer-constraint: {} + http://hl7.org/fhir/ValueSet/questionnaire-answers: {} + http://hl7.org/fhir/ValueSet/questionnaire-answers-status: {} + http://hl7.org/fhir/ValueSet/questionnaire-disabled-display: {} + http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior: {} + http://hl7.org/fhir/ValueSet/questionnaire-enable-operator: {} + http://hl7.org/fhir/ValueSet/questionnaire-questions: {} + http://hl7.org/fhir/ValueSet/reaction-event-severity: {} + http://hl7.org/fhir/ValueSet/reason-medication-given-codes: {} + http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes: {} + http://hl7.org/fhir/ValueSet/reason-medication-status-codes: {} + http://hl7.org/fhir/ValueSet/referenced-item-category: {} + http://hl7.org/fhir/ValueSet/reference-handling-policy: {} + http://hl7.org/fhir/ValueSet/referencerange-appliesto: {} + http://hl7.org/fhir/ValueSet/referencerange-meaning: {} + http://hl7.org/fhir/ValueSet/reference-version-rules: {} + http://hl7.org/fhir/ValueSet/regulated-authorization-basis: {} + http://hl7.org/fhir/ValueSet/regulated-authorization-case-type: {} + http://hl7.org/fhir/ValueSet/regulated-authorization-type: {} + http://hl7.org/fhir/ValueSet/rejection-criteria: {} + http://hl7.org/fhir/ValueSet/related-artifact-type: {} + http://hl7.org/fhir/ValueSet/related-artifact-type-all: {} + http://hl7.org/fhir/ValueSet/related-artifact-type-expanded: {} + http://hl7.org/fhir/ValueSet/related-claim-relationship: {} + http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype: {} + http://hl7.org/fhir/ValueSet/relationship: {} + http://hl7.org/fhir/ValueSet/remittance-outcome: {} + http://hl7.org/fhir/ValueSet/report-action-result-codes: {} + http://hl7.org/fhir/ValueSet/report-codes: {} + http://hl7.org/fhir/ValueSet/report-participant-type: {} + http://hl7.org/fhir/ValueSet/report-relation-type: {} + http://hl7.org/fhir/ValueSet/report-result-codes: {} + http://hl7.org/fhir/ValueSet/report-status-codes: {} + http://hl7.org/fhir/ValueSet/request-intent: {} + http://hl7.org/fhir/ValueSet/request-priority: {} + http://hl7.org/fhir/ValueSet/request-resource-types: {} + http://hl7.org/fhir/ValueSet/request-status: {} + http://hl7.org/fhir/ValueSet/research-study-arm-type: {} + http://hl7.org/fhir/ValueSet/research-study-classifiers: {} + http://hl7.org/fhir/ValueSet/research-study-focus-type: {} + http://hl7.org/fhir/ValueSet/research-study-objective-type: {} + http://hl7.org/fhir/ValueSet/research-study-party-organization-type: {} + http://hl7.org/fhir/ValueSet/research-study-party-role: {} + http://hl7.org/fhir/ValueSet/research-study-phase: {} + http://hl7.org/fhir/ValueSet/research-study-prim-purp-type: {} + http://hl7.org/fhir/ValueSet/research-study-reason-stopped: {} + http://hl7.org/fhir/ValueSet/research-study-status: {} + http://hl7.org/fhir/ValueSet/research-subject-milestone: {} + http://hl7.org/fhir/ValueSet/research-subject-state: {} + http://hl7.org/fhir/ValueSet/research-subject-state-type: {} + http://hl7.org/fhir/ValueSet/resource-aggregation-mode: {} + http://hl7.org/fhir/ValueSet/resource-slicing-rules: {} + http://hl7.org/fhir/ValueSet/resource-status: {} + http://hl7.org/fhir/ValueSet/resource-types: {} + http://hl7.org/fhir/ValueSet/resource-validation-mode: {} + http://hl7.org/fhir/ValueSet/response-code: {} + http://hl7.org/fhir/ValueSet/restful-capability-mode: {} + http://hl7.org/fhir/ValueSet/restful-security-service: {} + http://hl7.org/fhir/ValueSet/risk-probability: {} + http://hl7.org/fhir/ValueSet/route-codes: {} + http://hl7.org/fhir/ValueSet/search-comparator: {} + http://hl7.org/fhir/ValueSet/search-entry-mode: {} + http://hl7.org/fhir/ValueSet/search-modifier-code: {} + http://hl7.org/fhir/ValueSet/search-param-type: {} + http://hl7.org/fhir/ValueSet/search-processingmode: {} + http://hl7.org/fhir/ValueSet/security-label-data-examples: {} + http://hl7.org/fhir/ValueSet/security-label-event-examples: {} + http://hl7.org/fhir/ValueSet/security-label-examples: {} + http://hl7.org/fhir/ValueSet/security-labels: {} + http://hl7.org/fhir/ValueSet/security-role-type: {} + http://hl7.org/fhir/ValueSet/security-source-type: {} + http://hl7.org/fhir/ValueSet/sequence-type: {} + http://hl7.org/fhir/ValueSet/series-performer-function: {} + http://hl7.org/fhir/ValueSet/service-category: {} + http://hl7.org/fhir/ValueSet/service-mode: {} + http://hl7.org/fhir/ValueSet/service-place: {} + http://hl7.org/fhir/ValueSet/service-provision-conditions: {} + http://hl7.org/fhir/ValueSet/service-referral-method: {} + http://hl7.org/fhir/ValueSet/servicerequest-category: {} + http://hl7.org/fhir/ValueSet/servicerequest-orderdetail-parameter-code: {} + http://hl7.org/fhir/ValueSet/service-type: {} + http://hl7.org/fhir/ValueSet/service-uscls: {} + http://hl7.org/fhir/ValueSet/signature-type: {} + http://hl7.org/fhir/ValueSet/slotstatus: {} + http://hl7.org/fhir/ValueSet/sort-direction: {} + http://hl7.org/fhir/ValueSet/spdx-license: {} + http://hl7.org/fhir/ValueSet/specimen-collection: {} + http://hl7.org/fhir/ValueSet/specimen-collection-method: {} + http://hl7.org/fhir/ValueSet/specimen-combined: {} + http://hl7.org/fhir/ValueSet/specimen-contained-preference: {} + http://hl7.org/fhir/ValueSet/specimen-container-type: {} + http://hl7.org/fhir/ValueSet/specimen-processing-method: {} + http://hl7.org/fhir/ValueSet/specimen-role: {} + http://hl7.org/fhir/ValueSet/specimen-status: {} + http://hl7.org/fhir/ValueSet/statistic-model-code: {} + http://hl7.org/fhir/ValueSet/statistic-type: {} + http://hl7.org/fhir/ValueSet/strand-type: {} + http://hl7.org/fhir/ValueSet/structure-definition-kind: {} + http://hl7.org/fhir/ValueSet/study-design: {} + http://hl7.org/fhir/ValueSet/submit-data-update-type: {} + http://hl7.org/fhir/ValueSet/subscriber-relationship: {} + http://hl7.org/fhir/ValueSet/subscription-channel-type: {} + http://hl7.org/fhir/ValueSet/subscription-error: {} + http://hl7.org/fhir/ValueSet/subscription-notification-type: {} + http://hl7.org/fhir/ValueSet/subscription-payload-content: {} + http://hl7.org/fhir/ValueSet/subscription-status: {} + http://hl7.org/fhir/ValueSet/subscriptiontopic-cr-behavior: {} + http://hl7.org/fhir/ValueSet/subscription-types: {} + http://hl7.org/fhir/ValueSet/substance-amount-type: {} + http://hl7.org/fhir/ValueSet/substance-category: {} + http://hl7.org/fhir/ValueSet/substance-code: {} + http://hl7.org/fhir/ValueSet/substance-codes: {} + http://hl7.org/fhir/ValueSet/substance-form: {} + http://hl7.org/fhir/ValueSet/substance-grade: {} + http://hl7.org/fhir/ValueSet/substance-name-authority: {} + http://hl7.org/fhir/ValueSet/substance-name-domain: {} + http://hl7.org/fhir/ValueSet/substance-name-type: {} + http://hl7.org/fhir/ValueSet/substance-optical-activity: {} + http://hl7.org/fhir/ValueSet/substance-relationship-type: {} + http://hl7.org/fhir/ValueSet/substance-representation-format: {} + http://hl7.org/fhir/ValueSet/substance-representation-type: {} + http://hl7.org/fhir/ValueSet/substance-source-material-genus: {} + http://hl7.org/fhir/ValueSet/substance-source-material-part: {} + http://hl7.org/fhir/ValueSet/substance-source-material-species: {} + http://hl7.org/fhir/ValueSet/substance-source-material-type: {} + http://hl7.org/fhir/ValueSet/substance-status: {} + http://hl7.org/fhir/ValueSet/substance-stereochemistry: {} + http://hl7.org/fhir/ValueSet/substance-structure-technique: {} + http://hl7.org/fhir/ValueSet/substance-weight-method: {} + http://hl7.org/fhir/ValueSet/substance-weight-type: {} + http://hl7.org/fhir/ValueSet/supplement-type: {} + http://hl7.org/fhir/ValueSet/supplydelivery-status: {} + http://hl7.org/fhir/ValueSet/supplydelivery-supplyitemtype: {} + http://hl7.org/fhir/ValueSet/supply-item: {} + http://hl7.org/fhir/ValueSet/supplyrequest-kind: {} + http://hl7.org/fhir/ValueSet/supplyrequest-reason: {} + http://hl7.org/fhir/ValueSet/supplyrequest-status: {} + http://hl7.org/fhir/ValueSet/surface: {} + http://hl7.org/fhir/ValueSet/system-restful-interaction: {} + http://hl7.org/fhir/ValueSet/target-species: {} + http://hl7.org/fhir/ValueSet/task-code: {} + http://hl7.org/fhir/ValueSet/task-intent: {} + http://hl7.org/fhir/ValueSet/task-status: {} + http://hl7.org/fhir/ValueSet/task-status-reason: {} + http://hl7.org/fhir/ValueSet/testscript-operation-codes: {} + http://hl7.org/fhir/ValueSet/testscript-profile-destination-types: {} + http://hl7.org/fhir/ValueSet/testscript-profile-origin-types: {} + http://hl7.org/fhir/ValueSet/testscript-scope-conformance-codes: {} + http://hl7.org/fhir/ValueSet/testscript-scope-phase-codes: {} + http://hl7.org/fhir/ValueSet/texture-code: {} + http://hl7.org/fhir/ValueSet/therapy: {} + http://hl7.org/fhir/ValueSet/therapy-relationship-type: {} + http://hl7.org/fhir/ValueSet/timezones: {} + http://hl7.org/fhir/ValueSet/timing-abbreviation: {} + http://hl7.org/fhir/ValueSet/title-type: {} + http://hl7.org/fhir/ValueSet/tooth: {} + http://hl7.org/fhir/ValueSet/transport-code: {} + http://hl7.org/fhir/ValueSet/transport-intent: {} + http://hl7.org/fhir/ValueSet/transport-status: {} + http://hl7.org/fhir/ValueSet/transport-status-reason: {} + http://hl7.org/fhir/ValueSet/trigger-type: {} + http://hl7.org/fhir/ValueSet/type-derivation-rule: {} + http://hl7.org/fhir/ValueSet/type-restful-interaction: {} + http://hl7.org/fhir/ValueSet/ucum-bodylength: {} + http://hl7.org/fhir/ValueSet/ucum-bodytemp: {} + http://hl7.org/fhir/ValueSet/ucum-bodyweight: {} + http://hl7.org/fhir/ValueSet/ucum-common: {} + http://hl7.org/fhir/ValueSet/ucum-units: {} + http://hl7.org/fhir/ValueSet/ucum-vitals-common: {} + http://hl7.org/fhir/ValueSet/udi-entry-type: {} + http://hl7.org/fhir/ValueSet/undesirable-effect-classification: {} + http://hl7.org/fhir/ValueSet/undesirable-effect-frequency: {} + http://hl7.org/fhir/ValueSet/undesirable-effect-symptom: {} + http://hl7.org/fhir/ValueSet/unit-of-presentation: {} + http://hl7.org/fhir/ValueSet/units-of-time: {} + http://hl7.org/fhir/ValueSet/usage-context-agreement-scope: {} + http://hl7.org/fhir/ValueSet/use-context: {} + http://hl7.org/fhir/ValueSet/vaccine-code: {} + http://hl7.org/fhir/ValueSet/value-filter-comparator: {} + http://hl7.org/fhir/ValueSet/variable-handling: {} + http://hl7.org/fhir/ValueSet/variable-role: {} + http://hl7.org/fhir/ValueSet/verificationresult-can-push-updates: {} + http://hl7.org/fhir/ValueSet/verificationresult-communication-method: {} + http://hl7.org/fhir/ValueSet/verificationresult-failure-action: {} + http://hl7.org/fhir/ValueSet/verificationresult-need: {} + http://hl7.org/fhir/ValueSet/verificationresult-primary-source-type: {} + http://hl7.org/fhir/ValueSet/verificationresult-push-type-available: {} + http://hl7.org/fhir/ValueSet/verificationresult-status: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-process: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-status: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-type: {} + http://hl7.org/fhir/ValueSet/version-algorithm: {} + http://hl7.org/fhir/ValueSet/version-independent-all-resource-types: {} + http://hl7.org/fhir/ValueSet/version-independent-resource-types: {} + http://hl7.org/fhir/ValueSet/versioning-policy: {} + http://hl7.org/fhir/ValueSet/virtual-service-type: {} + http://hl7.org/fhir/ValueSet/vision-base-codes: {} + http://hl7.org/fhir/ValueSet/vision-eye-codes: {} + http://hl7.org/fhir/ValueSet/vision-product: {} + http://hl7.org/fhir/ValueSet/warning-type: {} + http://hl7.org/fhir/ValueSet/week-of-month: {} + http://hl7.org/fhir/ValueSet/written-languages: {} + http://hl7.org/fhir/ValueSet/yesnodontknow: {} + nested: {} + binding: + http://hl7.org/fhir/StructureDefinition/Account#procedure.code_binding: {} + http://hl7.org/fhir/StructureDefinition/actualgroup#membership_binding: {} + http://hl7.org/fhir/StructureDefinition/Bundle#link.relation_binding: {} + http://hl7.org/fhir/StructureDefinition/DeviceMetric#color_binding: {} + http://hl7.org/fhir/StructureDefinition/ExampleScenario#process.step.operation.type_binding: {} + http://hl7.org/fhir/StructureDefinition/Group#membership_binding: {} + http://hl7.org/fhir/StructureDefinition/groupdefinition#membership_binding: {} + http://hl7.org/fhir/StructureDefinition/ImplementationGuide#definition.parameter.code_binding: {} + profile: + http://hl7.org/fhir/StructureDefinition/actualgroup: {} + http://hl7.org/fhir/StructureDefinition/batch-bundle: {} + http://hl7.org/fhir/StructureDefinition/batch-response-bundle: {} + http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse: {} + http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration: {} + http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition: {} + http://hl7.org/fhir/StructureDefinition/clinicaldocument: {} + http://hl7.org/fhir/StructureDefinition/computableplandefinition: {} + http://hl7.org/fhir/StructureDefinition/computablevalueset: {} + http://hl7.org/fhir/StructureDefinition/cqllibrary: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-de: {} + http://hl7.org/fhir/StructureDefinition/devicemetricobservation: {} + http://hl7.org/fhir/StructureDefinition/document-bundle: {} + http://hl7.org/fhir/StructureDefinition/example-section-library: {} + http://hl7.org/fhir/StructureDefinition/example-composition: {} + http://hl7.org/fhir/StructureDefinition/ebmrecommendation: {} + http://hl7.org/fhir/StructureDefinition/elmlibrary: {} + http://hl7.org/fhir/StructureDefinition/triglyceride: {} + http://hl7.org/fhir/StructureDefinition/lipidprofile: {} + http://hl7.org/fhir/StructureDefinition/hdlcholesterol: {} + http://hl7.org/fhir/StructureDefinition/cholesterol: {} + http://hl7.org/fhir/StructureDefinition/ldlcholesterol: {} + http://hl7.org/fhir/StructureDefinition/executablevalueset: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic: {} + http://hl7.org/fhir/StructureDefinition/fhirpathlibrary: {} + http://hl7.org/fhir/StructureDefinition/groupdefinition: {} + http://hl7.org/fhir/StructureDefinition/history-bundle: {} + http://hl7.org/fhir/StructureDefinition/logiclibrary: {} + http://hl7.org/fhir/StructureDefinition/modelinfolibrary: {} + http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary: {} + http://hl7.org/fhir/StructureDefinition/MoneyQuantity: {} + http://hl7.org/fhir/StructureDefinition/bmi: {} + http://hl7.org/fhir/StructureDefinition/bodyheight: {} + http://hl7.org/fhir/StructureDefinition/bodytemp: {} + http://hl7.org/fhir/StructureDefinition/bodyweight: {} + http://hl7.org/fhir/StructureDefinition/bp: {} + http://hl7.org/fhir/StructureDefinition/headcircum: {} + http://hl7.org/fhir/StructureDefinition/heartrate: {} + http://hl7.org/fhir/StructureDefinition/oxygensat: {} + http://hl7.org/fhir/StructureDefinition/resprate: {} + http://hl7.org/fhir/StructureDefinition/vitalsigns: {} + http://hl7.org/fhir/StructureDefinition/vitalspanel: {} + http://hl7.org/fhir/StructureDefinition/catalog: {} + http://hl7.org/fhir/StructureDefinition/provenance-relevant-history: {} + http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition: {} + http://hl7.org/fhir/StructureDefinition/publishableconceptmap: {} + http://hl7.org/fhir/StructureDefinition/publishablelibrary: {} + http://hl7.org/fhir/StructureDefinition/publishablemeasure: {} + http://hl7.org/fhir/StructureDefinition/publishablenamingsystem: {} + http://hl7.org/fhir/StructureDefinition/publishableplandefinition: {} + http://hl7.org/fhir/StructureDefinition/publishablevalueset: {} + http://hl7.org/fhir/StructureDefinition/search-set-bundle: {} + http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition: {} + http://hl7.org/fhir/StructureDefinition/shareableconceptmap: {} + http://hl7.org/fhir/StructureDefinition/shareablelibrary: {} + http://hl7.org/fhir/StructureDefinition/shareablemeasure: {} + http://hl7.org/fhir/StructureDefinition/shareablenamingsystem: {} + http://hl7.org/fhir/StructureDefinition/shareableplandefinition: {} + http://hl7.org/fhir/StructureDefinition/shareabletestscript: {} + http://hl7.org/fhir/StructureDefinition/shareablevalueset: {} + http://hl7.org/fhir/StructureDefinition/SimpleQuantity: {} + http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle: {} + http://hl7.org/fhir/StructureDefinition/transaction-bundle: {} + http://hl7.org/fhir/StructureDefinition/transaction-response-bundle: {} + logical: + http://hl7.org/fhir/StructureDefinition/Definition: {} + http://hl7.org/fhir/StructureDefinition/Event: {} + http://hl7.org/fhir/StructureDefinition/FiveWs: {} + http://hl7.org/fhir/StructureDefinition/Participant: {} + http://hl7.org/fhir/StructureDefinition/ParticipantContactable: {} + http://hl7.org/fhir/StructureDefinition/ParticipantLiving: {} + http://hl7.org/fhir/StructureDefinition/Product: {} + http://hl7.org/fhir/StructureDefinition/Publishable: {} + http://hl7.org/fhir/StructureDefinition/Request: {} + http://hl7.org/fhir/StructureDefinition/Shareable: {} +hl7.terminology.r5: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://terminology.hl7.org/ValueSet/action-participant-role: {} + http://terminology.hl7.org/ValueSet/action-type: {} + http://terminology.hl7.org/ValueSet/activity-definition-category: {} + http://terminology.hl7.org/ValueSet/adjudication: {} + http://terminology.hl7.org/ValueSet/adjudication-error: {} + http://terminology.hl7.org/ValueSet/adjudication-reason: {} + http://terminology.hl7.org/ValueSet/adverse-event-category: {} + http://terminology.hl7.org/ValueSet/adverse-event-causality-assess: {} + http://terminology.hl7.org/ValueSet/adverse-event-causality-method: {} + http://terminology.hl7.org/ValueSet/adverse-event-seriousness: {} + http://terminology.hl7.org/ValueSet/adverse-event-severity: {} + http://terminology.hl7.org/ValueSet/allerg-intol-substance-exp-risk: {} + http://terminology.hl7.org/ValueSet/allergyintolerance-clinical: {} + http://terminology.hl7.org/ValueSet/allergyintolerance-verification: {} + http://terminology.hl7.org/ValueSet/appointment-cancellation-reason: {} + http://terminology.hl7.org/ValueSet/appropriateness-score: {} + http://terminology.hl7.org/ValueSet/attribute-estimate-type: {} + http://terminology.hl7.org/ValueSet/audit-event-outcome: {} + http://terminology.hl7.org/ValueSet/audit-source-type: {} + http://terminology.hl7.org/ValueSet/basic-resource-type: {} + http://terminology.hl7.org/ValueSet/benefit-network: {} + http://terminology.hl7.org/ValueSet/benefit-term: {} + http://terminology.hl7.org/ValueSet/benefit-type: {} + http://terminology.hl7.org/ValueSet/benefit-unit: {} + http://terminology.hl7.org/ValueSet/catalogType: {} + http://terminology.hl7.org/ValueSet/certainty-rating: {} + http://terminology.hl7.org/ValueSet/certainty-subcomponent-rating: {} + http://terminology.hl7.org/ValueSet/certainty-subcomponent-type: {} + http://terminology.hl7.org/ValueSet/characteristic-method: {} + http://terminology.hl7.org/ValueSet/chargeitem-billingcodes: {} + http://terminology.hl7.org/ValueSet/choice-list-orientation: {} + http://terminology.hl7.org/ValueSet/chromosome-human: {} + http://terminology.hl7.org/ValueSet/claim-careteamrole: {} + http://terminology.hl7.org/ValueSet/claim-exception: {} + http://terminology.hl7.org/ValueSet/claim-informationcategory: {} + http://terminology.hl7.org/ValueSet/claim-modifiers: {} + http://terminology.hl7.org/ValueSet/claim-subtype: {} + http://terminology.hl7.org/ValueSet/claim-type: {} + http://terminology.hl7.org/ValueSet/clinical-discharge-disposition: {} + http://terminology.hl7.org/ValueSet/codesystem-altcode-kind: {} + http://terminology.hl7.org/ValueSet/common-tags: {} + http://terminology.hl7.org/ValueSet/communication-category: {} + http://terminology.hl7.org/ValueSet/communication-not-done-reason: {} + http://terminology.hl7.org/ValueSet/communication-topic: {} + http://terminology.hl7.org/ValueSet/composite-measure-scoring: {} + http://terminology.hl7.org/ValueSet/composition-altcode-kind: {} + http://terminology.hl7.org/ValueSet/condition-category: {} + http://terminology.hl7.org/ValueSet/condition-clinical: {} + http://terminology.hl7.org/ValueSet/condition-state: {} + http://terminology.hl7.org/ValueSet/condition-ver-status: {} + http://terminology.hl7.org/ValueSet/conformance-expectation: {} + http://terminology.hl7.org/ValueSet/consent-action: {} + http://terminology.hl7.org/ValueSet/consent-policy: {} + http://terminology.hl7.org/ValueSet/consent-scope: {} + http://terminology.hl7.org/ValueSet/consent-verification: {} + http://terminology.hl7.org/ValueSet/contactentity-type: {} + http://terminology.hl7.org/ValueSet/container-cap: {} + http://terminology.hl7.org/ValueSet/contract-action: {} + http://terminology.hl7.org/ValueSet/contract-actorrole: {} + http://terminology.hl7.org/ValueSet/contract-content-derivative: {} + http://terminology.hl7.org/ValueSet/contract-data-meaning: {} + http://terminology.hl7.org/ValueSet/contract-signer-type: {} + http://terminology.hl7.org/ValueSet/contract-subtype: {} + http://terminology.hl7.org/ValueSet/contract-term-subtype: {} + http://terminology.hl7.org/ValueSet/contract-term-type: {} + http://terminology.hl7.org/ValueSet/contract-type: {} + http://terminology.hl7.org/ValueSet/copy-number-event: {} + http://terminology.hl7.org/ValueSet/coverage-class: {} + http://terminology.hl7.org/ValueSet/coverage-copay-type: {} + http://terminology.hl7.org/ValueSet/coverageeligibilityresponse-ex-auth-support: {} + http://terminology.hl7.org/ValueSet/coverage-financial-exception: {} + http://terminology.hl7.org/ValueSet/coverage-selfpay: {} + http://terminology.hl7.org/ValueSet/cpt-all: {} + http://terminology.hl7.org/ValueSet/cpt-base: {} + http://terminology.hl7.org/ValueSet/cpt-modifiers: {} + http://terminology.hl7.org/ValueSet/cpt-usable: {} + http://terminology.hl7.org/ValueSet/definition-status: {} + http://terminology.hl7.org/ValueSet/definition-topic: {} + http://terminology.hl7.org/ValueSet/definition-use: {} + http://terminology.hl7.org/ValueSet/device-kind: {} + http://terminology.hl7.org/ValueSet/device-status-reason: {} + http://terminology.hl7.org/ValueSet/diagnosis-role: {} + http://terminology.hl7.org/ValueSet/directness: {} + http://terminology.hl7.org/ValueSet/dose-rate-type: {} + http://terminology.hl7.org/ValueSet/encounter-admit-source: {} + http://terminology.hl7.org/ValueSet/encounter-class: {} + http://terminology.hl7.org/ValueSet/encounter-diet: {} + http://terminology.hl7.org/ValueSet/encounter-discharge-disposition: {} + http://terminology.hl7.org/ValueSet/encounter-special-arrangements: {} + http://terminology.hl7.org/ValueSet/encounter-subject-status: {} + http://terminology.hl7.org/ValueSet/encounter-type: {} + http://terminology.hl7.org/ValueSet/endpoint-connection-type: {} + http://terminology.hl7.org/ValueSet/entformula-additive: {} + http://terminology.hl7.org/ValueSet/episodeofcare-type: {} + http://terminology.hl7.org/ValueSet/evidence-quality: {} + http://terminology.hl7.org/ValueSet/ex-benefitcategory: {} + http://terminology.hl7.org/ValueSet/ex-diagnosis-on-admission: {} + http://terminology.hl7.org/ValueSet/ex-diagnosisrelatedgroup: {} + http://terminology.hl7.org/ValueSet/ex-diagnosistype: {} + http://terminology.hl7.org/ValueSet/expansion-parameter-source: {} + http://terminology.hl7.org/ValueSet/expansion-processing-rule: {} + http://terminology.hl7.org/ValueSet/ex-payee-resource-type: {} + http://terminology.hl7.org/ValueSet/ex-paymenttype: {} + http://terminology.hl7.org/ValueSet/ex-procedure-type: {} + http://terminology.hl7.org/ValueSet/ex-program-code: {} + http://terminology.hl7.org/ValueSet/ex-revenue-center: {} + http://terminology.hl7.org/ValueSet/financial-taskcode: {} + http://terminology.hl7.org/ValueSet/financial-taskinputtype: {} + http://terminology.hl7.org/ValueSet/flag-category: {} + http://terminology.hl7.org/ValueSet/forms: {} + http://terminology.hl7.org/ValueSet/fundsreserve: {} + http://terminology.hl7.org/ValueSet/gender-identity: {} + http://terminology.hl7.org/ValueSet/goal-acceptance-status: {} + http://terminology.hl7.org/ValueSet/goal-achievement: {} + http://terminology.hl7.org/ValueSet/goal-category: {} + http://terminology.hl7.org/ValueSet/goal-priority: {} + http://terminology.hl7.org/ValueSet/goal-relationship-type: {} + http://terminology.hl7.org/ValueSet/guide-parameter-code: {} + http://terminology.hl7.org/ValueSet/handling-condition: {} + http://terminology.hl7.org/ValueSet/history-absent-reason: {} + http://terminology.hl7.org/ValueSet/hl7-work-group: {} + http://terminology.hl7.org/ValueSet/immunization-evaluation-dose-status: {} + http://terminology.hl7.org/ValueSet/immunization-evaluation-dose-status-reason: {} + http://terminology.hl7.org/ValueSet/immunization-funding-source: {} + http://terminology.hl7.org/ValueSet/immunization-program-eligibility: {} + http://terminology.hl7.org/ValueSet/immunization-recommendation-status: {} + http://terminology.hl7.org/ValueSet/immunization-subpotent-reason: {} + http://terminology.hl7.org/ValueSet/implantStatus: {} + http://terminology.hl7.org/ValueSet/insuranceplan-applicability: {} + http://terminology.hl7.org/ValueSet/insuranceplan-type: {} + http://terminology.hl7.org/ValueSet/library-type: {} + http://terminology.hl7.org/ValueSet/list-empty-reason: {} + http://terminology.hl7.org/ValueSet/list-example-codes: {} + http://terminology.hl7.org/ValueSet/list-order: {} + http://terminology.hl7.org/ValueSet/location-physical-type: {} + http://terminology.hl7.org/ValueSet/match-grade: {} + http://terminology.hl7.org/ValueSet/measure-aggregate-method: {} + http://terminology.hl7.org/ValueSet/measure-data-usage: {} + http://terminology.hl7.org/ValueSet/measure-improvement-notation: {} + http://terminology.hl7.org/ValueSet/measure-population: {} + http://terminology.hl7.org/ValueSet/measure-scoring: {} + http://terminology.hl7.org/ValueSet/measure-supplemental-data: {} + http://terminology.hl7.org/ValueSet/measure-type: {} + http://terminology.hl7.org/ValueSet/med-admin-perform-function: {} + http://terminology.hl7.org/ValueSet/medication-admin-location: {} + http://terminology.hl7.org/ValueSet/medicationdispense-performer-function: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-characteristic: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-package-type: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-status: {} + http://terminology.hl7.org/ValueSet/medicationrequest-admin-location: {} + http://terminology.hl7.org/ValueSet/medicationrequest-category: {} + http://terminology.hl7.org/ValueSet/medicationrequest-course-of-therapy: {} + http://terminology.hl7.org/ValueSet/medicationrequest-status-reason: {} + http://terminology.hl7.org/ValueSet/medication-usage-admin-location: {} + http://terminology.hl7.org/ValueSet/message-reason-encounter: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipKind: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipReflexivity: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipSymmetry: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipTransitivity: {} + http://terminology.hl7.org/ValueSet/missing-tooth-reason: {} + http://terminology.hl7.org/ValueSet/nutrition-intake-category: {} + http://terminology.hl7.org/ValueSet/object-role: {} + http://terminology.hl7.org/ValueSet/observation-category: {} + http://terminology.hl7.org/ValueSet/observation-statistics: {} + http://terminology.hl7.org/ValueSet/organization-type: {} + http://terminology.hl7.org/ValueSet/parameter-group: {} + http://terminology.hl7.org/ValueSet/payeetype: {} + http://terminology.hl7.org/ValueSet/payment-adjustment-reason: {} + http://terminology.hl7.org/ValueSet/payment-status: {} + http://terminology.hl7.org/ValueSet/payment-type: {} + http://terminology.hl7.org/ValueSet/plan-definition-type: {} + http://terminology.hl7.org/ValueSet/POAIndicators: {} + http://terminology.hl7.org/ValueSet/process-priority: {} + http://terminology.hl7.org/ValueSet/program: {} + http://terminology.hl7.org/ValueSet/pronouns: {} + http://terminology.hl7.org/ValueSet/provenance-agent-type: {} + http://terminology.hl7.org/ValueSet/provider-qualification: {} + http://terminology.hl7.org/ValueSet/question-max-occurs: {} + http://terminology.hl7.org/ValueSet/questionnaire-usage-mode: {} + http://terminology.hl7.org/ValueSet/reaction-event-certainty: {} + http://terminology.hl7.org/ValueSet/reason-medication-given-codes: {} + http://terminology.hl7.org/ValueSet/recommendation-strength: {} + http://terminology.hl7.org/ValueSet/recorded-sex-or-gender-type: {} + http://terminology.hl7.org/ValueSet/referencerange-meaning: {} + http://terminology.hl7.org/ValueSet/rejection-criteria: {} + http://terminology.hl7.org/ValueSet/related-claim-relationship: {} + http://terminology.hl7.org/ValueSet/research-study-objective-type: {} + http://terminology.hl7.org/ValueSet/research-study-phase: {} + http://terminology.hl7.org/ValueSet/research-study-prim-purp-type: {} + http://terminology.hl7.org/ValueSet/research-study-reason-stopped: {} + http://terminology.hl7.org/ValueSet/research-subject-milestone: {} + http://terminology.hl7.org/ValueSet/research-subject-state: {} + http://terminology.hl7.org/ValueSet/research-subject-state-type: {} + http://terminology.hl7.org/ValueSet/resource-security-category: {} + http://terminology.hl7.org/ValueSet/resource-type-link: {} + http://terminology.hl7.org/ValueSet/risk-probability: {} + http://terminology.hl7.org/ValueSet/service-category: {} + http://terminology.hl7.org/ValueSet/service-place: {} + http://terminology.hl7.org/ValueSet/service-provision-conditions: {} + http://terminology.hl7.org/ValueSet/service-referral-method: {} + http://terminology.hl7.org/ValueSet/service-type: {} + http://terminology.hl7.org/ValueSet/service-uscls: {} + http://terminology.hl7.org/ValueSet/sex-parameter-for-clinical-use: {} + http://terminology.hl7.org/ValueSet/smart-capabilities: {} + http://terminology.hl7.org/ValueSet/snomed-intl-gps: {} + http://terminology.hl7.org/ValueSet/special-values: {} + http://terminology.hl7.org/ValueSet/standards-status: {} + http://terminology.hl7.org/ValueSet/state-change-reason: {} + http://terminology.hl7.org/ValueSet/statistic-type: {} + http://terminology.hl7.org/ValueSet/study-type: {} + http://terminology.hl7.org/ValueSet/subscriber-relationship: {} + http://terminology.hl7.org/ValueSet/subscription-channel-type: {} + http://terminology.hl7.org/ValueSet/subscription-error: {} + http://terminology.hl7.org/ValueSet/subscription-status-at-event: {} + http://terminology.hl7.org/ValueSet/subscription-tag: {} + http://terminology.hl7.org/ValueSet/substance-category: {} + http://terminology.hl7.org/ValueSet/supplydelivery-type: {} + http://terminology.hl7.org/ValueSet/supplyrequest-kind: {} + http://terminology.hl7.org/ValueSet/supplyrequest-reason: {} + http://terminology.hl7.org/ValueSet/surface: {} + http://terminology.hl7.org/ValueSet/synthesis-type: {} + http://terminology.hl7.org/ValueSet/testscript-operation-codes: {} + http://terminology.hl7.org/ValueSet/testscript-profile-destination-types: {} + http://terminology.hl7.org/ValueSet/testscript-profile-origin-types: {} + http://terminology.hl7.org/ValueSet/tooth: {} + http://terminology.hl7.org/ValueSet/usage-context-type: {} + http://terminology.hl7.org/ValueSet/v2-0001: {} + http://terminology.hl7.org/ValueSet/v2-0002: {} + http://terminology.hl7.org/ValueSet/v2-0003: {} + http://terminology.hl7.org/ValueSet/v2-0004: {} + http://terminology.hl7.org/ValueSet/v2-0005: {} + http://terminology.hl7.org/ValueSet/v2-0006: {} + http://terminology.hl7.org/ValueSet/v2-0007: {} + http://terminology.hl7.org/ValueSet/v2-0008: {} + http://terminology.hl7.org/ValueSet/v2-0009: {} + http://terminology.hl7.org/ValueSet/v2-0012: {} + http://terminology.hl7.org/ValueSet/v2-0017: {} + http://terminology.hl7.org/ValueSet/v2-0027: {} + http://terminology.hl7.org/ValueSet/v2-0033: {} + http://terminology.hl7.org/ValueSet/v2-0034: {} + http://terminology.hl7.org/ValueSet/v2-0038: {} + http://terminology.hl7.org/ValueSet/v2-0048: {} + http://terminology.hl7.org/ValueSet/v2-0052: {} + http://terminology.hl7.org/ValueSet/v2-0061: {} + http://terminology.hl7.org/ValueSet/v2-0062: {} + http://terminology.hl7.org/ValueSet/v2-0063: {} + http://terminology.hl7.org/ValueSet/v2-0065: {} + http://terminology.hl7.org/ValueSet/v2-0066: {} + http://terminology.hl7.org/ValueSet/v2-0069: {} + http://terminology.hl7.org/ValueSet/v2-0070: {} + http://terminology.hl7.org/ValueSet/v2-0074: {} + http://terminology.hl7.org/ValueSet/v2-0076: {} + http://terminology.hl7.org/ValueSet/v2-0080: {} + http://terminology.hl7.org/ValueSet/v2-0083: {} + http://terminology.hl7.org/ValueSet/v2-0085: {} + http://terminology.hl7.org/ValueSet/v2-0091: {} + http://terminology.hl7.org/ValueSet/v2-0092: {} + http://terminology.hl7.org/ValueSet/v2-0098: {} + http://terminology.hl7.org/ValueSet/v2-0100: {} + http://terminology.hl7.org/ValueSet/v2-0102: {} + http://terminology.hl7.org/ValueSet/v2-0103: {} + http://terminology.hl7.org/ValueSet/v2-0104: {} + http://terminology.hl7.org/ValueSet/v2-0105: {} + http://terminology.hl7.org/ValueSet/v2-0106: {} + http://terminology.hl7.org/ValueSet/v2-0107: {} + http://terminology.hl7.org/ValueSet/v2-0108: {} + http://terminology.hl7.org/ValueSet/v2-0109: {} + http://terminology.hl7.org/ValueSet/v2-0116: {} + http://terminology.hl7.org/ValueSet/v2-0119: {} + http://terminology.hl7.org/ValueSet/v2-0121: {} + http://terminology.hl7.org/ValueSet/v2-0122: {} + http://terminology.hl7.org/ValueSet/v2-0123: {} + http://terminology.hl7.org/ValueSet/v2-0124: {} + http://terminology.hl7.org/ValueSet/v2-0125: {} + http://terminology.hl7.org/ValueSet/v2-0126: {} + http://terminology.hl7.org/ValueSet/v2-0127: {} + http://terminology.hl7.org/ValueSet/v2-0128: {} + http://terminology.hl7.org/ValueSet/v2-0130: {} + http://terminology.hl7.org/ValueSet/v2-0131: {} + http://terminology.hl7.org/ValueSet/v2-0133: {} + http://terminology.hl7.org/ValueSet/v2-0135: {} + http://terminology.hl7.org/ValueSet/v2-0136: {} + http://terminology.hl7.org/ValueSet/v2-0137: {} + http://terminology.hl7.org/ValueSet/v2-0140: {} + http://terminology.hl7.org/ValueSet/v2-0142: {} + http://terminology.hl7.org/ValueSet/v2-0144: {} + http://terminology.hl7.org/ValueSet/v2-0145: {} + http://terminology.hl7.org/ValueSet/v2-0146: {} + http://terminology.hl7.org/ValueSet/v2-0147: {} + http://terminology.hl7.org/ValueSet/v2-0148: {} + http://terminology.hl7.org/ValueSet/v2-0149: {} + http://terminology.hl7.org/ValueSet/v2-0150: {} + http://terminology.hl7.org/ValueSet/v2-0155: {} + http://terminology.hl7.org/ValueSet/v2-0156: {} + http://terminology.hl7.org/ValueSet/v2-0157: {} + http://terminology.hl7.org/ValueSet/v2-0158: {} + http://terminology.hl7.org/ValueSet/v2-0159: {} + http://terminology.hl7.org/ValueSet/v2-0160: {} + http://terminology.hl7.org/ValueSet/v2-0161: {} + http://terminology.hl7.org/ValueSet/v2-0162: {} + http://terminology.hl7.org/ValueSet/v2-0163: {} + http://terminology.hl7.org/ValueSet/v2-0164: {} + http://terminology.hl7.org/ValueSet/v2-0165: {} + http://terminology.hl7.org/ValueSet/v2-0166: {} + http://terminology.hl7.org/ValueSet/v2-0167: {} + http://terminology.hl7.org/ValueSet/v2-0168: {} + http://terminology.hl7.org/ValueSet/v2-0169: {} + http://terminology.hl7.org/ValueSet/v2-0170: {} + http://terminology.hl7.org/ValueSet/v2-0173: {} + http://terminology.hl7.org/ValueSet/v2-0174: {} + http://terminology.hl7.org/ValueSet/v2-0175: {} + http://terminology.hl7.org/ValueSet/v2-0177: {} + http://terminology.hl7.org/ValueSet/v2-0178: {} + http://terminology.hl7.org/ValueSet/v2-0179: {} + http://terminology.hl7.org/ValueSet/v2-0180: {} + http://terminology.hl7.org/ValueSet/v2-0181: {} + http://terminology.hl7.org/ValueSet/v2-0183: {} + http://terminology.hl7.org/ValueSet/v2-0185: {} + http://terminology.hl7.org/ValueSet/v2-0187: {} + http://terminology.hl7.org/ValueSet/v2-0189: {} + http://terminology.hl7.org/ValueSet/v2-0190: {} + http://terminology.hl7.org/ValueSet/v2-0191: {} + http://terminology.hl7.org/ValueSet/v2-0193: {} + http://terminology.hl7.org/ValueSet/v2-0200: {} + http://terminology.hl7.org/ValueSet/v2-0201: {} + http://terminology.hl7.org/ValueSet/v2-0202: {} + http://terminology.hl7.org/ValueSet/v2-0203: {} + http://terminology.hl7.org/ValueSet/v2-0204: {} + http://terminology.hl7.org/ValueSet/v2-0205: {} + http://terminology.hl7.org/ValueSet/v2-0206: {} + http://terminology.hl7.org/ValueSet/v2-0207: {} + http://terminology.hl7.org/ValueSet/v2-0208: {} + http://terminology.hl7.org/ValueSet/v2-0209: {} + http://terminology.hl7.org/ValueSet/v2-0210: {} + http://terminology.hl7.org/ValueSet/v2-0211: {} + http://terminology.hl7.org/ValueSet/v2-0213: {} + http://terminology.hl7.org/ValueSet/v2-0214: {} + http://terminology.hl7.org/ValueSet/v2-0215: {} + http://terminology.hl7.org/ValueSet/v2-0216: {} + http://terminology.hl7.org/ValueSet/v2-0217: {} + http://terminology.hl7.org/ValueSet/v2-0220: {} + http://terminology.hl7.org/ValueSet/v2-0223: {} + http://terminology.hl7.org/ValueSet/v2-0224: {} + http://terminology.hl7.org/ValueSet/v2-0225: {} + http://terminology.hl7.org/ValueSet/v2-0227: {} + http://terminology.hl7.org/ValueSet/v2-0228: {} + http://terminology.hl7.org/ValueSet/v2-0230: {} + http://terminology.hl7.org/ValueSet/v2-0231: {} + http://terminology.hl7.org/ValueSet/v2-0232: {} + http://terminology.hl7.org/ValueSet/v2-0234: {} + http://terminology.hl7.org/ValueSet/v2-0235: {} + http://terminology.hl7.org/ValueSet/v2-0236: {} + http://terminology.hl7.org/ValueSet/v2-0237: {} + http://terminology.hl7.org/ValueSet/v2-0238: {} + http://terminology.hl7.org/ValueSet/v2-0239: {} + http://terminology.hl7.org/ValueSet/v2-0240: {} + http://terminology.hl7.org/ValueSet/v2-0241: {} + http://terminology.hl7.org/ValueSet/v2-0242: {} + http://terminology.hl7.org/ValueSet/v2-0243: {} + http://terminology.hl7.org/ValueSet/v2-0247: {} + http://terminology.hl7.org/ValueSet/v2-0248: {} + http://terminology.hl7.org/ValueSet/v2-0250: {} + http://terminology.hl7.org/ValueSet/v2-0251: {} + http://terminology.hl7.org/ValueSet/v2-0252: {} + http://terminology.hl7.org/ValueSet/v2-0253: {} + http://terminology.hl7.org/ValueSet/v2-0254: {} + http://terminology.hl7.org/ValueSet/v2-0255: {} + http://terminology.hl7.org/ValueSet/v2-0256: {} + http://terminology.hl7.org/ValueSet/v2-0257: {} + http://terminology.hl7.org/ValueSet/v2-0258: {} + http://terminology.hl7.org/ValueSet/v2-0260: {} + http://terminology.hl7.org/ValueSet/v2-0261: {} + http://terminology.hl7.org/ValueSet/v2-0262: {} + http://terminology.hl7.org/ValueSet/v2-0263: {} + http://terminology.hl7.org/ValueSet/v2-0265: {} + http://terminology.hl7.org/ValueSet/v2-0267: {} + http://terminology.hl7.org/ValueSet/v2-0268: {} + http://terminology.hl7.org/ValueSet/v2-0269: {} + http://terminology.hl7.org/ValueSet/v2-0270: {} + http://terminology.hl7.org/ValueSet/v2-0271: {} + http://terminology.hl7.org/ValueSet/v2-0272: {} + http://terminology.hl7.org/ValueSet/v2-0273: {} + http://terminology.hl7.org/ValueSet/v2-0275: {} + http://terminology.hl7.org/ValueSet/v2-0276: {} + http://terminology.hl7.org/ValueSet/v2-0277: {} + http://terminology.hl7.org/ValueSet/v2-0278: {} + http://terminology.hl7.org/ValueSet/v2-0279: {} + http://terminology.hl7.org/ValueSet/v2-0280: {} + http://terminology.hl7.org/ValueSet/v2-0281: {} + http://terminology.hl7.org/ValueSet/v2-0282: {} + http://terminology.hl7.org/ValueSet/v2-0283: {} + http://terminology.hl7.org/ValueSet/v2-0284: {} + http://terminology.hl7.org/ValueSet/v2-0286: {} + http://terminology.hl7.org/ValueSet/v2-0287: {} + http://terminology.hl7.org/ValueSet/v2-0290: {} + http://terminology.hl7.org/ValueSet/v2-0292: {} + http://terminology.hl7.org/ValueSet/v2-0294: {} + http://terminology.hl7.org/ValueSet/v2-0298: {} + http://terminology.hl7.org/ValueSet/v2-0299: {} + http://terminology.hl7.org/ValueSet/v2-0301: {} + http://terminology.hl7.org/ValueSet/v2-0305: {} + http://terminology.hl7.org/ValueSet/v2-0309: {} + http://terminology.hl7.org/ValueSet/v2-0311: {} + http://terminology.hl7.org/ValueSet/v2-0315: {} + http://terminology.hl7.org/ValueSet/v2-0316: {} + http://terminology.hl7.org/ValueSet/v2-0317: {} + http://terminology.hl7.org/ValueSet/v2-0321: {} + http://terminology.hl7.org/ValueSet/v2-0322: {} + http://terminology.hl7.org/ValueSet/v2-0323: {} + http://terminology.hl7.org/ValueSet/v2-0324: {} + http://terminology.hl7.org/ValueSet/v2-0325: {} + http://terminology.hl7.org/ValueSet/v2-0326: {} + http://terminology.hl7.org/ValueSet/v2-0329: {} + http://terminology.hl7.org/ValueSet/v2-0330: {} + http://terminology.hl7.org/ValueSet/v2-0331: {} + http://terminology.hl7.org/ValueSet/v2-0332: {} + http://terminology.hl7.org/ValueSet/v2-0334: {} + http://terminology.hl7.org/ValueSet/v2-0335: {} + http://terminology.hl7.org/ValueSet/v2-0336: {} + http://terminology.hl7.org/ValueSet/v2-0337: {} + http://terminology.hl7.org/ValueSet/v2-0338: {} + http://terminology.hl7.org/ValueSet/v2-0339: {} + http://terminology.hl7.org/ValueSet/v2-0344: {} + http://terminology.hl7.org/ValueSet/v2-0350: {} + http://terminology.hl7.org/ValueSet/v2-0351: {} + http://terminology.hl7.org/ValueSet/v2-0353: {} + http://terminology.hl7.org/ValueSet/v2-0354: {} + http://terminology.hl7.org/ValueSet/v2-0355: {} + http://terminology.hl7.org/ValueSet/v2-0356: {} + http://terminology.hl7.org/ValueSet/v2-0357: {} + http://terminology.hl7.org/ValueSet/v2-0359: {} + http://terminology.hl7.org/ValueSet/v2-0360: {} + http://terminology.hl7.org/ValueSet/v2-0364: {} + http://terminology.hl7.org/ValueSet/v2-0365: {} + http://terminology.hl7.org/ValueSet/v2-0366: {} + http://terminology.hl7.org/ValueSet/v2-0367: {} + http://terminology.hl7.org/ValueSet/v2-0368: {} + http://terminology.hl7.org/ValueSet/v2-0369: {} + http://terminology.hl7.org/ValueSet/v2-0370: {} + http://terminology.hl7.org/ValueSet/v2-0371: {} + http://terminology.hl7.org/ValueSet/v2-0372: {} + http://terminology.hl7.org/ValueSet/v2-0373: {} + http://terminology.hl7.org/ValueSet/v2-0374: {} + http://terminology.hl7.org/ValueSet/v2-0375: {} + http://terminology.hl7.org/ValueSet/v2-0376: {} + http://terminology.hl7.org/ValueSet/v2-0377: {} + http://terminology.hl7.org/ValueSet/v2-0383: {} + http://terminology.hl7.org/ValueSet/v2-0384: {} + http://terminology.hl7.org/ValueSet/v2-0387: {} + http://terminology.hl7.org/ValueSet/v2-0388: {} + http://terminology.hl7.org/ValueSet/v2-0389: {} + http://terminology.hl7.org/ValueSet/v2-0391: {} + http://terminology.hl7.org/ValueSet/v2-0392: {} + http://terminology.hl7.org/ValueSet/v2-0393: {} + http://terminology.hl7.org/ValueSet/v2-0394: {} + http://terminology.hl7.org/ValueSet/v2-0395: {} + http://terminology.hl7.org/ValueSet/v2-0396: {} + http://terminology.hl7.org/ValueSet/v2-0397: {} + http://terminology.hl7.org/ValueSet/v2-0398: {} + http://terminology.hl7.org/ValueSet/v2-0401: {} + http://terminology.hl7.org/ValueSet/v2-0402: {} + http://terminology.hl7.org/ValueSet/v2-0403: {} + http://terminology.hl7.org/ValueSet/v2-0404: {} + http://terminology.hl7.org/ValueSet/v2-0406: {} + http://terminology.hl7.org/ValueSet/v2-0409: {} + http://terminology.hl7.org/ValueSet/v2-0415: {} + http://terminology.hl7.org/ValueSet/v2-0416: {} + http://terminology.hl7.org/ValueSet/v2-0417: {} + http://terminology.hl7.org/ValueSet/v2-0418: {} + http://terminology.hl7.org/ValueSet/v2-0421: {} + http://terminology.hl7.org/ValueSet/v2-0422: {} + http://terminology.hl7.org/ValueSet/v2-0423: {} + http://terminology.hl7.org/ValueSet/v2-0424: {} + http://terminology.hl7.org/ValueSet/v2-0425: {} + http://terminology.hl7.org/ValueSet/v2-0426: {} + http://terminology.hl7.org/ValueSet/v2-0427: {} + http://terminology.hl7.org/ValueSet/v2-0428: {} + http://terminology.hl7.org/ValueSet/v2-0429: {} + http://terminology.hl7.org/ValueSet/v2-0430: {} + http://terminology.hl7.org/ValueSet/v2-0431: {} + http://terminology.hl7.org/ValueSet/v2-0432: {} + http://terminology.hl7.org/ValueSet/v2-0433: {} + http://terminology.hl7.org/ValueSet/v2-0434: {} + http://terminology.hl7.org/ValueSet/v2-0435: {} + http://terminology.hl7.org/ValueSet/v2-0436: {} + http://terminology.hl7.org/ValueSet/v2-0437: {} + http://terminology.hl7.org/ValueSet/v2-0438: {} + http://terminology.hl7.org/ValueSet/v2-0440: {} + http://terminology.hl7.org/ValueSet/v2-0441: {} + http://terminology.hl7.org/ValueSet/v2-0442: {} + http://terminology.hl7.org/ValueSet/v2-0443: {} + http://terminology.hl7.org/ValueSet/v2-0444: {} + http://terminology.hl7.org/ValueSet/v2-0445: {} + http://terminology.hl7.org/ValueSet/v2-0450: {} + http://terminology.hl7.org/ValueSet/v2-0456: {} + http://terminology.hl7.org/ValueSet/v2-0457: {} + http://terminology.hl7.org/ValueSet/v2-0465: {} + http://terminology.hl7.org/ValueSet/v2-0466: {} + http://terminology.hl7.org/ValueSet/v2-0468: {} + http://terminology.hl7.org/ValueSet/v2-0469: {} + http://terminology.hl7.org/ValueSet/v2-0470: {} + http://terminology.hl7.org/ValueSet/v2-0472: {} + http://terminology.hl7.org/ValueSet/v2-0473: {} + http://terminology.hl7.org/ValueSet/v2-0474: {} + http://terminology.hl7.org/ValueSet/v2-0475: {} + http://terminology.hl7.org/ValueSet/v2-0477: {} + http://terminology.hl7.org/ValueSet/v2-0478: {} + http://terminology.hl7.org/ValueSet/v2-0480: {} + http://terminology.hl7.org/ValueSet/v2-0482: {} + http://terminology.hl7.org/ValueSet/v2-0483: {} + http://terminology.hl7.org/ValueSet/v2-0484: {} + http://terminology.hl7.org/ValueSet/v2-0485: {} + http://terminology.hl7.org/ValueSet/v2-0487: {} + http://terminology.hl7.org/ValueSet/v2-0488: {} + http://terminology.hl7.org/ValueSet/v2-0489: {} + http://terminology.hl7.org/ValueSet/v2-0490: {} + http://terminology.hl7.org/ValueSet/v2-0491: {} + http://terminology.hl7.org/ValueSet/v2-0492: {} + http://terminology.hl7.org/ValueSet/v2-0493: {} + http://terminology.hl7.org/ValueSet/v2-0494: {} + http://terminology.hl7.org/ValueSet/v2-0495: {} + http://terminology.hl7.org/ValueSet/v2-0496: {} + http://terminology.hl7.org/ValueSet/v2-0497: {} + http://terminology.hl7.org/ValueSet/v2-0498: {} + http://terminology.hl7.org/ValueSet/v2-0499: {} + http://terminology.hl7.org/ValueSet/v2-0500: {} + http://terminology.hl7.org/ValueSet/v2-0501: {} + http://terminology.hl7.org/ValueSet/v2-0502: {} + http://terminology.hl7.org/ValueSet/v2-0503: {} + http://terminology.hl7.org/ValueSet/v2-0504: {} + http://terminology.hl7.org/ValueSet/v2-0505: {} + http://terminology.hl7.org/ValueSet/v2-0506: {} + http://terminology.hl7.org/ValueSet/v2-0507: {} + http://terminology.hl7.org/ValueSet/v2-0508: {} + http://terminology.hl7.org/ValueSet/v2-0510: {} + http://terminology.hl7.org/ValueSet/v2-0511: {} + http://terminology.hl7.org/ValueSet/v2-0513: {} + http://terminology.hl7.org/ValueSet/v2-0514: {} + http://terminology.hl7.org/ValueSet/v2-0516: {} + http://terminology.hl7.org/ValueSet/v2-0517: {} + http://terminology.hl7.org/ValueSet/v2-0518: {} + http://terminology.hl7.org/ValueSet/v2-0520: {} + http://terminology.hl7.org/ValueSet/v2-0523: {} + http://terminology.hl7.org/ValueSet/v2-0524: {} + http://terminology.hl7.org/ValueSet/v2-0527: {} + http://terminology.hl7.org/ValueSet/v2-0528: {} + http://terminology.hl7.org/ValueSet/v2-0529: {} + http://terminology.hl7.org/ValueSet/v2-0530: {} + http://terminology.hl7.org/ValueSet/v2-0532: {} + http://terminology.hl7.org/ValueSet/v2-0534: {} + http://terminology.hl7.org/ValueSet/v2-0535: {} + http://terminology.hl7.org/ValueSet/v2-0536: {} + http://terminology.hl7.org/ValueSet/v2-0538: {} + http://terminology.hl7.org/ValueSet/v2-0540: {} + http://terminology.hl7.org/ValueSet/v2-0544: {} + http://terminology.hl7.org/ValueSet/v2-0547: {} + http://terminology.hl7.org/ValueSet/v2-0548: {} + http://terminology.hl7.org/ValueSet/v2-0550: {} + http://terminology.hl7.org/ValueSet/v2-0553: {} + http://terminology.hl7.org/ValueSet/v2-0554: {} + http://terminology.hl7.org/ValueSet/v2-0555: {} + http://terminology.hl7.org/ValueSet/v2-0556: {} + http://terminology.hl7.org/ValueSet/v2-0557: {} + http://terminology.hl7.org/ValueSet/v2-0558: {} + http://terminology.hl7.org/ValueSet/v2-0559: {} + http://terminology.hl7.org/ValueSet/v2-0560: {} + http://terminology.hl7.org/ValueSet/v2-0561: {} + http://terminology.hl7.org/ValueSet/v2-0562: {} + http://terminology.hl7.org/ValueSet/v2-0564: {} + http://terminology.hl7.org/ValueSet/v2-0565: {} + http://terminology.hl7.org/ValueSet/v2-0566: {} + http://terminology.hl7.org/ValueSet/v2-0567: {} + http://terminology.hl7.org/ValueSet/v2-0568: {} + http://terminology.hl7.org/ValueSet/v2-0569: {} + http://terminology.hl7.org/ValueSet/v2-0570: {} + http://terminology.hl7.org/ValueSet/v2-0571: {} + http://terminology.hl7.org/ValueSet/v2-0572: {} + http://terminology.hl7.org/ValueSet/v2-0615: {} + http://terminology.hl7.org/ValueSet/v2-0616: {} + http://terminology.hl7.org/ValueSet/v2-0617: {} + http://terminology.hl7.org/ValueSet/v2-0618: {} + http://terminology.hl7.org/ValueSet/v2-0625: {} + http://terminology.hl7.org/ValueSet/v2-0634: {} + http://terminology.hl7.org/ValueSet/v2-0642: {} + http://terminology.hl7.org/ValueSet/v2-0651: {} + http://terminology.hl7.org/ValueSet/v2-0653: {} + http://terminology.hl7.org/ValueSet/v2-0657: {} + http://terminology.hl7.org/ValueSet/v2-0659: {} + http://terminology.hl7.org/ValueSet/v2-0667: {} + http://terminology.hl7.org/ValueSet/v2-0669: {} + http://terminology.hl7.org/ValueSet/v2-0682: {} + http://terminology.hl7.org/ValueSet/v2-0702: {} + http://terminology.hl7.org/ValueSet/v2-0717: {} + http://terminology.hl7.org/ValueSet/v2-0719: {} + http://terminology.hl7.org/ValueSet/v2-0725: {} + http://terminology.hl7.org/ValueSet/v2-0728: {} + http://terminology.hl7.org/ValueSet/v2-0731: {} + http://terminology.hl7.org/ValueSet/v2-0734: {} + http://terminology.hl7.org/ValueSet/v2-0739: {} + http://terminology.hl7.org/ValueSet/v2-0742: {} + http://terminology.hl7.org/ValueSet/v2-0749: {} + http://terminology.hl7.org/ValueSet/v2-0755: {} + http://terminology.hl7.org/ValueSet/v2-0757: {} + http://terminology.hl7.org/ValueSet/v2-0759: {} + http://terminology.hl7.org/ValueSet/v2-0761: {} + http://terminology.hl7.org/ValueSet/v2-0763: {} + http://terminology.hl7.org/ValueSet/v2-0776: {} + http://terminology.hl7.org/ValueSet/v2-0778: {} + http://terminology.hl7.org/ValueSet/v2-0790: {} + http://terminology.hl7.org/ValueSet/v2-0793: {} + http://terminology.hl7.org/ValueSet/v2-0806: {} + http://terminology.hl7.org/ValueSet/v2-0818: {} + http://terminology.hl7.org/ValueSet/v2-0868: {} + http://terminology.hl7.org/ValueSet/v2-0871: {} + http://terminology.hl7.org/ValueSet/v2-0881: {} + http://terminology.hl7.org/ValueSet/v2-0882: {} + http://terminology.hl7.org/ValueSet/v2-0894: {} + http://terminology.hl7.org/ValueSet/v2-0895: {} + http://terminology.hl7.org/ValueSet/v2-0904: {} + http://terminology.hl7.org/ValueSet/v2-0905: {} + http://terminology.hl7.org/ValueSet/v2-0906: {} + http://terminology.hl7.org/ValueSet/v2-0907: {} + http://terminology.hl7.org/ValueSet/v2-0909: {} + http://terminology.hl7.org/ValueSet/v2-0912: {} + http://terminology.hl7.org/ValueSet/v2-0914: {} + http://terminology.hl7.org/ValueSet/v2-0916: {} + http://terminology.hl7.org/ValueSet/v2-0917: {} + http://terminology.hl7.org/ValueSet/v2-0918: {} + http://terminology.hl7.org/ValueSet/v2-0919: {} + http://terminology.hl7.org/ValueSet/v2-0920: {} + http://terminology.hl7.org/ValueSet/v2-0921: {} + http://terminology.hl7.org/ValueSet/v2-0922: {} + http://terminology.hl7.org/ValueSet/v2-0923: {} + http://terminology.hl7.org/ValueSet/v2-0924: {} + http://terminology.hl7.org/ValueSet/v2-0925: {} + http://terminology.hl7.org/ValueSet/v2-0926: {} + http://terminology.hl7.org/ValueSet/v2-0927: {} + http://terminology.hl7.org/ValueSet/v2-0929: {} + http://terminology.hl7.org/ValueSet/v2-0930: {} + http://terminology.hl7.org/ValueSet/v2-0931: {} + http://terminology.hl7.org/ValueSet/v2-0932: {} + http://terminology.hl7.org/ValueSet/v2-0933: {} + http://terminology.hl7.org/ValueSet/v2-0935: {} + http://terminology.hl7.org/ValueSet/v2-0936: {} + http://terminology.hl7.org/ValueSet/v2-0937: {} + http://terminology.hl7.org/ValueSet/v2-0938: {} + http://terminology.hl7.org/ValueSet/v2-0939: {} + http://terminology.hl7.org/ValueSet/v2-0940: {} + http://terminology.hl7.org/ValueSet/v2-0942: {} + http://terminology.hl7.org/ValueSet/v2-0945: {} + http://terminology.hl7.org/ValueSet/v2-0946: {} + http://terminology.hl7.org/ValueSet/v2-0948: {} + http://terminology.hl7.org/ValueSet/v2-0949: {} + http://terminology.hl7.org/ValueSet/v2-0950: {} + http://terminology.hl7.org/ValueSet/v2-0951: {} + http://terminology.hl7.org/ValueSet/v2-0952: {} + http://terminology.hl7.org/ValueSet/v2-0959: {} + http://terminology.hl7.org/ValueSet/v2-0961: {} + http://terminology.hl7.org/ValueSet/v2-0962: {} + http://terminology.hl7.org/ValueSet/v2-0963: {} + http://terminology.hl7.org/ValueSet/v2-0970: {} + http://terminology.hl7.org/ValueSet/v2-0971: {} + http://terminology.hl7.org/ValueSet/v2-4000: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0291: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0347: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0399: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0834: {} + http://terminology.hl7.org/ValueSet/v3-Abenakian: {} + http://terminology.hl7.org/ValueSet/v3-AccessMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementCondition: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailNotSupportedCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailSyntaxErrorCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailType: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementType: {} + http://terminology.hl7.org/ValueSet/v3-ActAccommodationReason: {} + http://terminology.hl7.org/ValueSet/v3-ActAccountCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationResultActionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeAuthorizationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeDetectedIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeRuleDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAmbulatoryEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAntigenInvalidReason: {} + http://terminology.hl7.org/ValueSet/v3-ActBillableModifierCode: {} + http://terminology.hl7.org/ValueSet/v3-ActBillingArrangementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActBoundedROICode: {} + http://terminology.hl7.org/ValueSet/v3-ActCareProvisionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActClaimAttachmentCategoryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActClass: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccession: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccommodation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccount: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAcquisitionExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBattery: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBioSequence: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBioSequenceVariation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBoundedRoi: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCareProvision: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCategory: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCdaLevelOneClinicalDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalTrial: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalTrialTimepointEvent: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCluster: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCompositeOrder: {} + http://terminology.hl7.org/ValueSet/v3-ActClassComposition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConcern: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCondition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConditionNode: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConsent: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContainer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContainerRegistration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassControlAct: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCorrelatedObservationSequences: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCoverage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDetectedIssue: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDeterminantPeptide: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDiagnosticImage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDiet: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDisciplinaryAction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocumentBody: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocumentSection: {} + http://terminology.hl7.org/ValueSet/v3-ActClassElectronicHealthRecord: {} + http://terminology.hl7.org/ValueSet/v3-ActClassEncounter: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExpressionLevel: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExtract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialAdjudication: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialContract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialTransaction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFolder: {} + http://terminology.hl7.org/ValueSet/v3-ActClassGenomicObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassGrouper: {} + http://terminology.hl7.org/ValueSet/v3-ActClassIncident: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInform: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInformation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInvestigation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInvoiceElement: {} + http://terminology.hl7.org/ValueSet/v3-ActClassJurisdictionalPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassLeftLateralDecubitus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassLocus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassMonitoringProgram: {} + http://terminology.hl7.org/ValueSet/v3-ActClassObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassObservationSeries: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOrganizationalPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOutbreak: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOutbreak2: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOverlayRoi: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPhenotype: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPolypeptide: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPositionAccuracy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPositionCoordinate: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProcedure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProcessStep: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProne: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPublicHealthCase: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPublicHealthCase2: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRegistration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassReverseTrendelenburg: {} + http://terminology.hl7.org/ValueSet/v3-ActClassReview: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRightLateralDecubitus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassROI: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-ActClassScopeOfPracticePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSemiFowlers: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSitting: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenCollection: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStandardOfPracticePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStanding: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStateTransitionControl: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStorage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubjectBodyPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubjectPhysicalPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstanceAdministration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstanceExtraction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstitution: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSupine: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSupply: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTopic: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransfer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransmissionExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransportation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTrendelenburg: {} + http://terminology.hl7.org/ValueSet/v3-ActClassVerification: {} + http://terminology.hl7.org/ValueSet/v3-ActClassWorkingList: {} + http://terminology.hl7.org/ValueSet/v3-ActCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCodeProcessStep: {} + http://terminology.hl7.org/ValueSet/v3-ActConditionList: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentDirective: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentDirectiveType: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentInformationAccessOverrideReason: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentType: {} + http://terminology.hl7.org/ValueSet/v3-ActContainerRegistrationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActControlVariable: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageAssessmentObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageAuthorizationConfirmationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageConfirmationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageLimitCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageMaximaCodes: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageQuantityLimitCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageReason: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareProvisionPersonCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareProvisionProgramCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDetectedIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDietCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEmergencyEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEncounterAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActExposureCode: {} + http://terminology.hl7.org/ValueSet/v3-ActExposureLevelCode: {} + http://terminology.hl7.org/ValueSet/v3-ActFieldEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActFinancialStatusObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ActFinancialTransactionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActHealthInformationManagementReason: {} + http://terminology.hl7.org/ValueSet/v3-ActHealthInsuranceTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActHomeHealthEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActIncidentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActIneligibilityReason: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccess: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccessCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccessContextCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationCategoryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationTransferCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInjuryCodeCSA: {} + http://terminology.hl7.org/ValueSet/v3-ActInpatientEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInsurancePolicyCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInsuranceTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentSummaryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailClinicalProductCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailDrugProductCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericAdjudicatorCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericModifierCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericProviderCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailPreferredAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailTaxCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementModifier: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementSummaryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceInterGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceOverrideCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoicePaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceRootGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicalServiceCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicationList: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicationTherapyDurationWorkingListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMonitoringProtocolCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMood: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodActRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodAppointment: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodAppointmentRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodCompletionTrack: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodCriterion: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodDefinition: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodDesire: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodEventCriterion: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodEventOccurrence: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodExpectation: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodIntent: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodOption: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPermission: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPermissionRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPotential: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPromise: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodProposal: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRecommendation: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodResourceSlot: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRisk: {} + http://terminology.hl7.org/ValueSet/v3-ActNoImmunizationReason: {} + http://terminology.hl7.org/ValueSet/v3-ActNonObservationIndicationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActObservationList: {} + http://terminology.hl7.org/ValueSet/v3-ActObservationVerificationType: {} + http://terminology.hl7.org/ValueSet/v3-ActPatientAnnotationType: {} + http://terminology.hl7.org/ValueSet/v3-ActPatientTransportationModeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActPaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-ActPolicyType: {} + http://terminology.hl7.org/ValueSet/v3-ActPriority: {} + http://terminology.hl7.org/ValueSet/v3-ActPriorityCallback: {} + http://terminology.hl7.org/ValueSet/v3-ActPrivacyLaw: {} + http://terminology.hl7.org/ValueSet/v3-ActPrivacyPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActProcedureCodeCCI: {} + http://terminology.hl7.org/ValueSet/v3-ActProductAcquisitionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActProgramTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActReason: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAccounting: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipActiveImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipActProvenance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctCurativeIndication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctiveTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctMitigation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipArrival: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAssignsName: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAuthorizedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipBlocks: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpoint: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointBeginning: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointEntry: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointExit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointThrough: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCompliesWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipConditional: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsStartOfEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsTimeOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCostTracking: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCoveredBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCurativeIndication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDeparture: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDiagnosis: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocumentHQMF: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocumentProvenance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocuments: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsConcurrentWithStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsNearEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsNearStarts: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEpisodelink: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEvaluatesGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExacerbatredBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExcerpt: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExcerptVerbatim: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipFulfills: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasBaseline: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasBoundedSupport: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCharge: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasComponent: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasContinuingObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasContra-indication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasControlVariable: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCost: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCredit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasDebit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasExplanation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasFinalObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasGeneralization: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasMember: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasMetadata: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasOption: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPre-condition: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPreviousInstance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasQualifier: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasReferenceValues: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasRisk: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasStep: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasSubject: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasSupport: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasTrigger: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasValue: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipICSRInvestigation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIndependentOfTimeOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipInstantiatesMaster: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipInterferedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsAppendage: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsDerivedFrom: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsEtiologyFor: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsManifestationOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipItemsLocated: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoin: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinDetached: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinExclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinKill: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipLimitedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMaintenanceTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMatchesTrigger: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMitigates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipModifies: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOccurrence: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOutcome: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOverlapsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPalliates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPassiveImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPosting: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipProphylaxisOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipProvidesEvidenceFor: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReason: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRe-challenge: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRecovery: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReferencesOrder: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRefersTo: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRelievedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReplaces: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReverses: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSchedulesRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSequel: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitExclusiveTryOnce: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitExclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitInclusiveTryOnce: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitInclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartAfterStartOfContainsEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartofEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartOfEndsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOfEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOfEndsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsConcurrentWithEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsNearEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsNearStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsWithEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsWithEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSubset: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSucceeds: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSummarizedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSymptomaticRelief: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertains: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsApproximates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTransformation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTreats: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipType: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUpdate: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUpdatesCondition: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUses: {} + http://terminology.hl7.org/ValueSet/v3-ActResearchInformationAccess: {} + http://terminology.hl7.org/ValueSet/v3-ActShortStayEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSite: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecimenTreatmentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsDilutionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsInterferenceCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsVolumeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActStatus: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusAborted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusAbortedCancelledCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActiveAborted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActiveSuspendedObsolete: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusHeld: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNew: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusObsolete: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusSuspended: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationImmunizationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSuppliedItemDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSupplyFulfillmentRefusalReason: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskClinicalNoteEntryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskClinicalNoteReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskMedicationListReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskMicrobiologyResultsReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskOrderEntryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskPatientDocumentationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskPatientInformationReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskRiskAssessmentInstrumentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTherapyDurationWorkingListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTransportationModeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActUncertainty: {} + http://terminology.hl7.org/ValueSet/v3-ActUSPrivacyLaw: {} + http://terminology.hl7.org/ValueSet/v3-ActVirtualEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-AdditionalLocator: {} + http://terminology.hl7.org/ValueSet/v3-AddressLine: {} + http://terminology.hl7.org/ValueSet/v3-AddressPartType: {} + http://terminology.hl7.org/ValueSet/v3-AddressRepresentationUse: {} + http://terminology.hl7.org/ValueSet/v3-AddressUse: {} + http://terminology.hl7.org/ValueSet/v3-AdjudicatedWithAdjustments: {} + http://terminology.hl7.org/ValueSet/v3-AdministrableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-AdministrationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-AdministrationMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-AdministrativeContactRoleType: {} + http://terminology.hl7.org/ValueSet/v3-AdministrativeGender: {} + http://terminology.hl7.org/ValueSet/v3-AdoptedChild: {} + http://terminology.hl7.org/ValueSet/v3-AerosolDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-AgeDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-AgeGroupObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-Aleut: {} + http://terminology.hl7.org/ValueSet/v3-Algic: {} + http://terminology.hl7.org/ValueSet/v3-Algonquian: {} + http://terminology.hl7.org/ValueSet/v3-AlgorithmicDecisionObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-AllergyStatus: {} + http://terminology.hl7.org/ValueSet/v3-AllergyTestValue: {} + http://terminology.hl7.org/ValueSet/v3-Ambulance: {} + http://terminology.hl7.org/ValueSet/v3-AmbulanceHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-AmericanIndianAlaskaNativeLanguages: {} + http://terminology.hl7.org/ValueSet/v3-AmnioticFluidSacRoute: {} + http://terminology.hl7.org/ValueSet/v3-AnnotationType: {} + http://terminology.hl7.org/ValueSet/v3-Apachean: {} + http://terminology.hl7.org/ValueSet/v3-ApplicationMediaType: {} + http://terminology.hl7.org/ValueSet/v3-AppropriatenessDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Arapahoan: {} + http://terminology.hl7.org/ValueSet/v3-ArapahoGrosVentre: {} + http://terminology.hl7.org/ValueSet/v3-ArtificialDentition: {} + http://terminology.hl7.org/ValueSet/v3-AskedButUnknown: {} + http://terminology.hl7.org/ValueSet/v3-AssignedNonPersonLivingSubjectRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Athapaskan: {} + http://terminology.hl7.org/ValueSet/v3-AthapaskanEyak: {} + http://terminology.hl7.org/ValueSet/v3-AudioMediaType: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizationIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizedParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizedReceiverParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-AutomobileInsurancePolicy: {} + http://terminology.hl7.org/ValueSet/v3-BarDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-BarSoapDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-BiliaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-BindingRealm: {} + http://terminology.hl7.org/ValueSet/v3-BiotherapeuticNon-personLivingSubjectRoleType: {} + http://terminology.hl7.org/ValueSet/v3-BlisterPackEntityType: {} + http://terminology.hl7.org/ValueSet/v3-BodySurfaceRoute: {} + http://terminology.hl7.org/ValueSet/v3-BottleEntityType: {} + http://terminology.hl7.org/ValueSet/v3-BuccalMucosaRoute: {} + http://terminology.hl7.org/ValueSet/v3-BuccalTablet: {} + http://terminology.hl7.org/ValueSet/v3-BuildingNumber: {} + http://terminology.hl7.org/ValueSet/v3-Caddoan: {} + http://terminology.hl7.org/ValueSet/v3-Cahitan: {} + http://terminology.hl7.org/ValueSet/v3-Calendar: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycleOneLetter: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycleTwoLetter: {} + http://terminology.hl7.org/ValueSet/v3-CalendarType: {} + http://terminology.hl7.org/ValueSet/v3-CaliforniaAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-CapsuleDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-CardClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-CaseTransmissionMode: {} + http://terminology.hl7.org/ValueSet/v3-Catawba: {} + http://terminology.hl7.org/ValueSet/v3-CecostomyRoute: {} + http://terminology.hl7.org/ValueSet/v3-CentralAlaskaYukon: {} + http://terminology.hl7.org/ValueSet/v3-CentralMuskogean: {} + http://terminology.hl7.org/ValueSet/v3-CentralNumic: {} + http://terminology.hl7.org/ValueSet/v3-CentralSalish: {} + http://terminology.hl7.org/ValueSet/v3-CervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-Charset: {} + http://terminology.hl7.org/ValueSet/v3-Chew: {} + http://terminology.hl7.org/ValueSet/v3-Child: {} + http://terminology.hl7.org/ValueSet/v3-ChildInLaw: {} + http://terminology.hl7.org/ValueSet/v3-Chimakuan: {} + http://terminology.hl7.org/ValueSet/v3-Chinookan: {} + http://terminology.hl7.org/ValueSet/v3-ChiwereWinnebago: {} + http://terminology.hl7.org/ValueSet/v3-ChronicCareFacility: {} + http://terminology.hl7.org/ValueSet/v3-CitizenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ClaimantCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ClassNullFlavor: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchEventReason: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchObservationReason: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchReason: {} + http://terminology.hl7.org/ValueSet/v3-CochimiYuman: {} + http://terminology.hl7.org/ValueSet/v3-CodeIsNotValid: {} + http://terminology.hl7.org/ValueSet/v3-CodeSystem: {} + http://terminology.hl7.org/ValueSet/v3-CodeSystemType: {} + http://terminology.hl7.org/ValueSet/v3-CodingRationale: {} + http://terminology.hl7.org/ValueSet/v3-CombinedPharmacyOrderSuspendReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-CommunicationFunctionType: {} + http://terminology.hl7.org/ValueSet/v3-Compartment: {} + http://terminology.hl7.org/ValueSet/v3-ComplianceAlert: {} + http://terminology.hl7.org/ValueSet/v3-ComplianceDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-CompliancePackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-CompositeMeasureScoring: {} + http://terminology.hl7.org/ValueSet/v3-CompressionAlgorithm: {} + http://terminology.hl7.org/ValueSet/v3-ConceptPropertyId: {} + http://terminology.hl7.org/ValueSet/v3-Conditional: {} + http://terminology.hl7.org/ValueSet/v3-ConditionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Confidentiality: {} + http://terminology.hl7.org/ValueSet/v3-ConfidentialityModifiers: {} + http://terminology.hl7.org/ValueSet/v3-ConsenterParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-ConsultedPrescriberManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ContactRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ContainerCap: {} + http://terminology.hl7.org/ValueSet/v3-ContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-ContainerSeparator: {} + http://terminology.hl7.org/ValueSet/v3-ContentProcessingMode: {} + http://terminology.hl7.org/ValueSet/v3-ContextConductionStyle: {} + http://terminology.hl7.org/ValueSet/v3-ContextControl: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditive: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditiveNon-propagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditivePropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlNonPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverriding: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverridingNon-propagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverridingPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ControlActNullificationReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-ControlActNullificationRefusalReasonType: {} + http://terminology.hl7.org/ValueSet/v3-ControlActReason: {} + http://terminology.hl7.org/ValueSet/v3-ControlledSubstanceMonitoringProtocol: {} + http://terminology.hl7.org/ValueSet/v3-Coosan: {} + http://terminology.hl7.org/ValueSet/v3-Country: {} + http://terminology.hl7.org/ValueSet/v3-Country2: {} + http://terminology.hl7.org/ValueSet/v3-CountryEntityType: {} + http://terminology.hl7.org/ValueSet/v3-CoverageEligibilityReason: {} + http://terminology.hl7.org/ValueSet/v3-CoverageLevelObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CoverageLimitObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CoverageParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-CoverageRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CoverageSponsorRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CreamDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-CreditCard: {} + http://terminology.hl7.org/ValueSet/v3-Cree: {} + http://terminology.hl7.org/ValueSet/v3-CreeMontagnais: {} + http://terminology.hl7.org/ValueSet/v3-CriticalityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CUI: {} + http://terminology.hl7.org/ValueSet/v3-CUILabel: {} + http://terminology.hl7.org/ValueSet/v3-Cupan: {} + http://terminology.hl7.org/ValueSet/v3-Currency: {} + http://terminology.hl7.org/ValueSet/v3-CVDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Dakotan: {} + http://terminology.hl7.org/ValueSet/v3-DecisionObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedClinicalLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedNonClinicalLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Delawaran: {} + http://terminology.hl7.org/ValueSet/v3-DeliveryAddressLine: {} + http://terminology.hl7.org/ValueSet/v3-DeltaCalifornia: {} + http://terminology.hl7.org/ValueSet/v3-DentistHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-Dentition: {} + http://terminology.hl7.org/ValueSet/v3-DependentCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-DeviceAlertLevel: {} + http://terminology.hl7.org/ValueSet/v3-Dhegiha: {} + http://terminology.hl7.org/ValueSet/v3-DiagnosisICD9CM: {} + http://terminology.hl7.org/ValueSet/v3-DiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Diegueno: {} + http://terminology.hl7.org/ValueSet/v3-Diffusion: {} + http://terminology.hl7.org/ValueSet/v3-DiseaseProgram: {} + http://terminology.hl7.org/ValueSet/v3-DispensableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Dissolve: {} + http://terminology.hl7.org/ValueSet/v3-DocumentCompletion: {} + http://terminology.hl7.org/ValueSet/v3-DocumentSectionType: {} + http://terminology.hl7.org/ValueSet/v3-DocumentStorage: {} + http://terminology.hl7.org/ValueSet/v3-DocumentStorageActive: {} + http://terminology.hl7.org/ValueSet/v3-DosageProblem: {} + http://terminology.hl7.org/ValueSet/v3-DosageProblemDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationHighDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationLowDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseHighDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseIntervalDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseLowDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Douche: {} + http://terminology.hl7.org/ValueSet/v3-DropsDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-DrugEntity: {} + http://terminology.hl7.org/ValueSet/v3-DuplicateTherapyAlert: {} + http://terminology.hl7.org/ValueSet/v3-EasternAlgonquin: {} + http://terminology.hl7.org/ValueSet/v3-EasternApachean: {} + http://terminology.hl7.org/ValueSet/v3-EasternMiwok: {} + http://terminology.hl7.org/ValueSet/v3-ECGObservationSeriesType: {} + http://terminology.hl7.org/ValueSet/v3-EducationLevel: {} + http://terminology.hl7.org/ValueSet/v3-ElectroOsmosisRoute: {} + http://terminology.hl7.org/ValueSet/v3-EligibilityActReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-EmergencyMedicalServiceProviderHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-EmergencyPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-EmployeeJobClass: {} + http://terminology.hl7.org/ValueSet/v3-employmentStatusODH: {} + http://terminology.hl7.org/ValueSet/v3-EmploymentStatusUB92: {} + http://terminology.hl7.org/ValueSet/v3-EncounterAdmissionSource: {} + http://terminology.hl7.org/ValueSet/v3-EncounterSpecialCourtesy: {} + http://terminology.hl7.org/ValueSet/v3-EndocervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-EndocrinologyClinic: {} + http://terminology.hl7.org/ValueSet/v3-Enema: {} + http://terminology.hl7.org/ValueSet/v3-EnteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-EntericCoatedCapsule: {} + http://terminology.hl7.org/ValueSet/v3-EntericCoatedTablet: {} + http://terminology.hl7.org/ValueSet/v3-EntityClass: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassAnimal: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCertificateRepresentation: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassChemicalSubstance: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCityOrTown: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassContainer: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCountry: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCountyOrParish: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassDevice: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassFood: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassHealthChartEntity: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassHolder: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassImagingModality: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassManufacturedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassMaterial: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassMicroorganism: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassNation: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassNonPersonLivingSubject: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPerson: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPlace: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPlant: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPublicInstitution: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassState: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassStateOrProvince: {} + http://terminology.hl7.org/ValueSet/v3-EntityCode: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminer: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDescribedGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDescribedQuantified: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDetermined: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerSpecific: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerSpecificGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityHandling: {} + http://terminology.hl7.org/ValueSet/v3-EntityInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifier: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifierR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartTypeR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityNameUse: {} + http://terminology.hl7.org/ValueSet/v3-EntityNameUseR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityRisk: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatus: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusInactive: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-EpiduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-EPSG-GeodeticParameterDataset: {} + http://terminology.hl7.org/ValueSet/v3-EquipmentAlertLevel: {} + http://terminology.hl7.org/ValueSet/v3-ERPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-EskimoAleut: {} + http://terminology.hl7.org/ValueSet/v3-Eskimoan: {} + http://terminology.hl7.org/ValueSet/v3-Ethnicity: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanic: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicCentralAmerican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicMexican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicSouthAmerican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicSpaniard: {} + http://terminology.hl7.org/ValueSet/v3-ExpectedSubset: {} + http://terminology.hl7.org/ValueSet/v3-ExposureMode: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseCapsule: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseSuspension: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseTablet: {} + http://terminology.hl7.org/ValueSet/v3-ExtraAmnioticRoute: {} + http://terminology.hl7.org/ValueSet/v3-ExtracorporealCirculationRoute: {} + http://terminology.hl7.org/ValueSet/v3-FamilyMember: {} + http://terminology.hl7.org/ValueSet/v3-FirstFillPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-Flush: {} + http://terminology.hl7.org/ValueSet/v3-FoamDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-FontStyle: {} + http://terminology.hl7.org/ValueSet/v3-FosterChild: {} + http://terminology.hl7.org/ValueSet/v3-GasDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-GasLiquidMixture: {} + http://terminology.hl7.org/ValueSet/v3-GasSolidSpray: {} + http://terminology.hl7.org/ValueSet/v3-GastricRoute: {} + http://terminology.hl7.org/ValueSet/v3-GelDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-GenderStatus: {} + http://terminology.hl7.org/ValueSet/v3-GeneralAcuteCareHospital: {} + http://terminology.hl7.org/ValueSet/v3-GeneralAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-GeneralPurposeOfUse: {} + http://terminology.hl7.org/ValueSet/v3-GenericUpdateReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationType: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-GenitourinaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-GIClinicPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-GIDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-GingivalRoute: {} + http://terminology.hl7.org/ValueSet/v3-GrandChild: {} + http://terminology.hl7.org/ValueSet/v3-Grandparent: {} + http://terminology.hl7.org/ValueSet/v3-GreatGrandparent: {} + http://terminology.hl7.org/ValueSet/v3-GregorianCalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-GTIN: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviation: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationBase: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidays: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidaysChristianRoman: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidaysUSNational: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationOther: {} + http://terminology.hl7.org/ValueSet/v3-HairRoute: {} + http://terminology.hl7.org/ValueSet/v3-HalfSibling: {} + http://terminology.hl7.org/ValueSet/v3-HealthCareCommonProcedureCodingSystem: {} + http://terminology.hl7.org/ValueSet/v3-HealthcareServiceLocation: {} + http://terminology.hl7.org/ValueSet/v3-HealthQualityMeasureDocument: {} + http://terminology.hl7.org/ValueSet/v3-HeightSurfaceAreaAlert: {} + http://terminology.hl7.org/ValueSet/v3-HemClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HL7AccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7CalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-HL7FormatCodes: {} + http://terminology.hl7.org/ValueSet/v3-HL7ITSVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7SearchUse: {} + http://terminology.hl7.org/ValueSet/v3-HL7StandardVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7UpdateMode: {} + http://terminology.hl7.org/ValueSet/v3-Hokan: {} + http://terminology.hl7.org/ValueSet/v3-HomeAddress: {} + http://terminology.hl7.org/ValueSet/v3-Homeless: {} + http://terminology.hl7.org/ValueSet/v3-HospitalPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HospitalUnitPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HtmlLinkType: {} + http://terminology.hl7.org/ValueSet/v3-HumanActSite: {} + http://terminology.hl7.org/ValueSet/v3-HumanLanguage: {} + http://terminology.hl7.org/ValueSet/v3-HumanSubstanceAdministrationSite: {} + http://terminology.hl7.org/ValueSet/v3-ICUPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-IDClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-IdentifierReliability: {} + http://terminology.hl7.org/ValueSet/v3-IdentifierScope: {} + http://terminology.hl7.org/ValueSet/v3-ImageMediaType: {} + http://terminology.hl7.org/ValueSet/v3-immunizationForecastDate: {} + http://terminology.hl7.org/ValueSet/v3-immunizationForecastStatusObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ImmunizationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-Implantation: {} + http://terminology.hl7.org/ValueSet/v3-IncidentalServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualCaseSafetyReportType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualInsuredCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualPackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-IndustryClassificationSystem: {} + http://terminology.hl7.org/ValueSet/v3-InformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-Infusion: {} + http://terminology.hl7.org/ValueSet/v3-InhalantDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Inhalation: {} + http://terminology.hl7.org/ValueSet/v3-InhalerMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-Injection: {} + http://terminology.hl7.org/ValueSet/v3-InjectionMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-Insertion: {} + http://terminology.hl7.org/ValueSet/v3-Instillation: {} + http://terminology.hl7.org/ValueSet/v3-Institution: {} + http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm: {} + http://terminology.hl7.org/ValueSet/v3-InteractionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-InterameningealRoute: {} + http://terminology.hl7.org/ValueSet/v3-InteriorSalish: {} + http://terminology.hl7.org/ValueSet/v3-InterstitialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraabdominalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraarterialInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntraarterialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraarticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrabronchialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrabursalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracardiacInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntracardiacRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracartilaginousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracaudalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracavernosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracavitaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracerebralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracisternalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracornealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronaryInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracorpusCavernosumRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntradermalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntradiscalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraductalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraduodenalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraepidermalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraepithelialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraesophagealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntragastricRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrailealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntralesionalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraluminalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntralymphaticRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntramedullaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntramuscularInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntramuscularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraocularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraosseousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraovarianRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapericardialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraperitonealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapleuralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraprostaticRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapulmonaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasinalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraspinalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasternalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasynovialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratendinousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratesticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrathecalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrathoracicRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratrachealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratubularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratumorRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratympanicRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrauterineRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravascularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousInfusion: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraventricularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravesicleRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravitrealRoute: {} + http://terminology.hl7.org/ValueSet/v3-InuitInupiaq: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementAdjudicated: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementPaid: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementSubmitted: {} + http://terminology.hl7.org/ValueSet/v3-IontophoresisRoute: {} + http://terminology.hl7.org/ValueSet/v3-Iroquoian: {} + http://terminology.hl7.org/ValueSet/v3-Irrigation: {} + http://terminology.hl7.org/ValueSet/v3-IrrigationSolution: {} + http://terminology.hl7.org/ValueSet/v3-IssueFilterCode: {} + http://terminology.hl7.org/ValueSet/v3-JejunumRoute: {} + http://terminology.hl7.org/ValueSet/v3-Kalapuyan: {} + http://terminology.hl7.org/ValueSet/v3-Keresan: {} + http://terminology.hl7.org/ValueSet/v3-KiowaTanoan: {} + http://terminology.hl7.org/ValueSet/v3-KitEntityType: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubjectObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubjectObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubtopicObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubtopicObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-KoyukonIngalik: {} + http://terminology.hl7.org/ValueSet/v3-KutchinHan: {} + http://terminology.hl7.org/ValueSet/v3-LaboratoryObservationSubtype: {} + http://terminology.hl7.org/ValueSet/v3-LabResultReportingProcessStepCode: {} + http://terminology.hl7.org/ValueSet/v3-LabResultTriggerEvents: {} + http://terminology.hl7.org/ValueSet/v3-LabSpecimenCollectionProviders: {} + http://terminology.hl7.org/ValueSet/v3-LacrimalPunctaRoute: {} + http://terminology.hl7.org/ValueSet/v3-LanguageAbilityMode: {} + http://terminology.hl7.org/ValueSet/v3-LanguageAbilityProficiency: {} + http://terminology.hl7.org/ValueSet/v3-LaryngealRoute: {} + http://terminology.hl7.org/ValueSet/v3-LavageRoute: {} + http://terminology.hl7.org/ValueSet/v3-LengthOutOfRange: {} + http://terminology.hl7.org/ValueSet/v3-LifeInsurancePolicy: {} + http://terminology.hl7.org/ValueSet/v3-LineAccessMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-LingualRoute: {} + http://terminology.hl7.org/ValueSet/v3-Liquid: {} + http://terminology.hl7.org/ValueSet/v3-LiquidCleanser: {} + http://terminology.hl7.org/ValueSet/v3-LiquidLiquidEmulsion: {} + http://terminology.hl7.org/ValueSet/v3-LiquidSolidSuspension: {} + http://terminology.hl7.org/ValueSet/v3-ListStyle: {} + http://terminology.hl7.org/ValueSet/v3-LivingArrangement: {} + http://terminology.hl7.org/ValueSet/v3-LivingSubjectProductionClass: {} + http://terminology.hl7.org/ValueSet/v3-Loan: {} + http://terminology.hl7.org/ValueSet/v3-LocalMarkupIgnore: {} + http://terminology.hl7.org/ValueSet/v3-LocalRemoteControlState: {} + http://terminology.hl7.org/ValueSet/v3-LogicalObservationIdentifierNamesAndCodes: {} + http://terminology.hl7.org/ValueSet/v3-LoincDocumentOntologyInternational: {} + http://terminology.hl7.org/ValueSet/v3-LOINCObservationActContextAgeDefinitionCode: {} + http://terminology.hl7.org/ValueSet/v3-LOINCObservationActContextAgeType: {} + http://terminology.hl7.org/ValueSet/v3-LotionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Maiduan: {} + http://terminology.hl7.org/ValueSet/v3-ManagedCarePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatus: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-ManufacturerModelNameExample: {} + http://terminology.hl7.org/ValueSet/v3-MapRelationship: {} + http://terminology.hl7.org/ValueSet/v3-MaritalStatus: {} + http://terminology.hl7.org/ValueSet/v3-MaterialDangerInfectious: {} + http://terminology.hl7.org/ValueSet/v3-MaterialDangerInflammable: {} + http://terminology.hl7.org/ValueSet/v3-MaterialEntityClassType: {} + http://terminology.hl7.org/ValueSet/v3-materialForm: {} + http://terminology.hl7.org/ValueSet/v3-MediaType: {} + http://terminology.hl7.org/ValueSet/v3-MedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-MedicationCap: {} + http://terminology.hl7.org/ValueSet/v3-MedicationGeneralizationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-MedicationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-MedicationOrderAbortReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-MedicationOrderReleaseReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-MedOncClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-MemberRoleType: {} + http://terminology.hl7.org/ValueSet/v3-MessageWaitingPriority: {} + http://terminology.hl7.org/ValueSet/v3-MilitaryHospital: {} + http://terminology.hl7.org/ValueSet/v3-MilitaryRoleType: {} + http://terminology.hl7.org/ValueSet/v3-MississippiValley: {} + http://terminology.hl7.org/ValueSet/v3-MissouriRiver: {} + http://terminology.hl7.org/ValueSet/v3-Miwokan: {} + http://terminology.hl7.org/ValueSet/v3-MobileUnit: {} + http://terminology.hl7.org/ValueSet/v3-MobilityImpaired: {} + http://terminology.hl7.org/ValueSet/v3-ModelMediaType: {} + http://terminology.hl7.org/ValueSet/v3-ModifyIndicator: {} + http://terminology.hl7.org/ValueSet/v3-ModifyPrescriptionReasonType: {} + http://terminology.hl7.org/ValueSet/v3-MucosalAbsorptionRoute: {} + http://terminology.hl7.org/ValueSet/v3-MucousMembraneRoute: {} + http://terminology.hl7.org/ValueSet/v3-MultipartMediaType: {} + http://terminology.hl7.org/ValueSet/v3-MultiUseContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Muskogean: {} + http://terminology.hl7.org/ValueSet/v3-Nadene: {} + http://terminology.hl7.org/ValueSet/v3-NailRoute: {} + http://terminology.hl7.org/ValueSet/v3-NameLegalUse: {} + http://terminology.hl7.org/ValueSet/v3-NasalInhalation: {} + http://terminology.hl7.org/ValueSet/v3-NasalRoute: {} + http://terminology.hl7.org/ValueSet/v3-NationEntityType: {} + http://terminology.hl7.org/ValueSet/v3-NativeEntityAlaska: {} + http://terminology.hl7.org/ValueSet/v3-NativeEntityContiguous: {} + http://terminology.hl7.org/ValueSet/v3-NaturalChild: {} + http://terminology.hl7.org/ValueSet/v3-NaturalParent: {} + http://terminology.hl7.org/ValueSet/v3-NaturalSibling: {} + http://terminology.hl7.org/ValueSet/v3-Nebulization: {} + http://terminology.hl7.org/ValueSet/v3-NebulizationInhalation: {} + http://terminology.hl7.org/ValueSet/v3-NephClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-NieceNephew: {} + http://terminology.hl7.org/ValueSet/v3-NoInformation: {} + http://terminology.hl7.org/ValueSet/v3-NonDrugAgentEntity: {} + http://terminology.hl7.org/ValueSet/v3-NonRigidContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Nootkan: {} + http://terminology.hl7.org/ValueSet/v3-NorthernCaddoan: {} + http://terminology.hl7.org/ValueSet/v3-NorthernIroquoian: {} + http://terminology.hl7.org/ValueSet/v3-NUCCProviderCodes: {} + http://terminology.hl7.org/ValueSet/v3-NullFlavor: {} + http://terminology.hl7.org/ValueSet/v3-Numic: {} + http://terminology.hl7.org/ValueSet/v3-NursingOrCustodialCarePracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ObligationPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ObservationActContextAgeGroupType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationActContextAgeType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAlert: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAllergyType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAssetValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCategory: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCoordinateAxisType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCoordinateSystemType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDiagnosisTypes: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDrugIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationEligibilityIndicatorValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationEnvironmentalIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationFoodIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationHealthStatusValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIncomeValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationChange: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationDetected: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationExceptions: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationExpectation: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormality: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityAbnormal: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityCriticallyAbnormal: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityHigh: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityLow: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationOustsideThreshold: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationProtocolInclusion: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationSusceptibility: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIssueTriggerCodedObservationType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingDependencyValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingExpenseValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingSituationValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureCountableItems: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureScoring: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMethodAggregate: {} + http://terminology.hl7.org/ValueSet/v3-ObservationNonAllergyIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationPopulationInclusion: {} + http://terminology.hl7.org/ValueSet/v3-ObservationQualityMeasureAttribute: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSequenceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSeriesType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSocioEconomicStatusValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationType: {} + http://terminology.hl7.org/ValueSet/v3-OilDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-OintmentDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Ojibwayan: {} + http://terminology.hl7.org/ValueSet/v3-OphthalmicRoute: {} + http://terminology.hl7.org/ValueSet/v3-OralCapsule: {} + http://terminology.hl7.org/ValueSet/v3-OralInhalation: {} + http://terminology.hl7.org/ValueSet/v3-OralRoute: {} + http://terminology.hl7.org/ValueSet/v3-OralSolution: {} + http://terminology.hl7.org/ValueSet/v3-OralSuspension: {} + http://terminology.hl7.org/ValueSet/v3-OralTablet: {} + http://terminology.hl7.org/ValueSet/v3-OrderableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-OrderedListStyle: {} + http://terminology.hl7.org/ValueSet/v3-OregonAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationEntityType: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationIndustryClassNAICS: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationNamePartQualifier: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationNameUse: {} + http://terminology.hl7.org/ValueSet/v3-OromucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-OropharyngealRoute: {} + http://terminology.hl7.org/ValueSet/v3-OrthoClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Other: {} + http://terminology.hl7.org/ValueSet/v3-OtherActionTakenManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-OticRoute: {} + http://terminology.hl7.org/ValueSet/v3-OutpatientFacilityPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-OverriderParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-PacificCoastAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-PackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PadDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Pai: {} + http://terminology.hl7.org/ValueSet/v3-Palaihnihan: {} + http://terminology.hl7.org/ValueSet/v3-ParanasalSinusesRoute: {} + http://terminology.hl7.org/ValueSet/v3-Parent: {} + http://terminology.hl7.org/ValueSet/v3-ParenteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-ParentInLaw: {} + http://terminology.hl7.org/ValueSet/v3-PartialCompletionScale: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAdmitter: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAnalyte: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAncillary: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAttender: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAuthenticator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAuthorOriginator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationBaby: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationBeneficiary: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCallbackContact: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCatalyst: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCausativeAgent: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationConsultant: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationConsumable: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCoverageTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCustodian: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDataEntryPerson: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDestination: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDischarger: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDistributor: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDonor: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationEntryLocation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationEscort: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposureagent: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposureparticipation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposuresource: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposuretarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationGuarantorParty: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationHolder: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationIndirectTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformant: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationTranscriber: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationLegalAuthenticator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationMode: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeElectronicData: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeVerbal: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeWritten: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationNon-reuseableDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationOrigin: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationParticipation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPrimaryInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPrimaryPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationProduct: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReceiver: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationRecordTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferredBy: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferredTo: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferrer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationRemote: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationResponsibleParty: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReusableDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSecondaryPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSignature: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSpecimen: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSubset: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTracker: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationType: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTypeCDASectionOverride: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationUgentNotificationContact: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationVerifier: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationVia: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationWitness: {} + http://terminology.hl7.org/ValueSet/v3-PasteDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PastSubset: {} + http://terminology.hl7.org/ValueSet/v3-PatchDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PatientImmunizationRelatedObservationType: {} + http://terminology.hl7.org/ValueSet/v3-PatientImportance: {} + http://terminology.hl7.org/ValueSet/v3-PatientProfileQueryReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PaymentTerms: {} + http://terminology.hl7.org/ValueSet/v3-PayorParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-PayorRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PedsClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-PedsICUPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-PedsPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Penutian: {} + http://terminology.hl7.org/ValueSet/v3-PerianalRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriarticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-PerinealRoute: {} + http://terminology.hl7.org/ValueSet/v3-PerineuralRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriodontalRoute: {} + http://terminology.hl7.org/ValueSet/v3-PermanentDentition: {} + http://terminology.hl7.org/ValueSet/v3-PersonalAndLegalRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PersonalRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PersonDisabilityType: {} + http://terminology.hl7.org/ValueSet/v3-PersonNameUse: {} + http://terminology.hl7.org/ValueSet/v3-PharmacistHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyEventAbortReason: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyEventStockReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyRequestFulfillerRevisionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyRequestRenewalRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-Pidgin: {} + http://terminology.hl7.org/ValueSet/v3-PillDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PlaceEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PlasticBottleEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PlateauPenutian: {} + http://terminology.hl7.org/ValueSet/v3-PolicyOrProgramCoverageRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Pomoan: {} + http://terminology.hl7.org/ValueSet/v3-PopulationInclusionObservationType: {} + http://terminology.hl7.org/ValueSet/v3-PostalAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-PowderDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PowerOfAttorney: {} + http://terminology.hl7.org/ValueSet/v3-PrescriptionDispenseFilterCode: {} + http://terminology.hl7.org/ValueSet/v3-PrimaryDentition: {} + http://terminology.hl7.org/ValueSet/v3-PrivacyMark: {} + http://terminology.hl7.org/ValueSet/v3-PrivateResidence: {} + http://terminology.hl7.org/ValueSet/v3-ProbabilityDistributionType: {} + http://terminology.hl7.org/ValueSet/v3-ProcessingID: {} + http://terminology.hl7.org/ValueSet/v3-ProcessingMode: {} + http://terminology.hl7.org/ValueSet/v3-ProgramEligibleCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-AS: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-DC: {} + http://terminology.hl7.org/ValueSet/v3-PublicHealthcareProgram: {} + http://terminology.hl7.org/ValueSet/v3-PulmonaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-PurposeOfUse: {} + http://terminology.hl7.org/ValueSet/v3-QualityMeasureSectionType: {} + http://terminology.hl7.org/ValueSet/v3-QualitySpecimenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-QueryPriority: {} + http://terminology.hl7.org/ValueSet/v3-QueryRequestLimit: {} + http://terminology.hl7.org/ValueSet/v3-QueryResponse: {} + http://terminology.hl7.org/ValueSet/v3-QueryStatusCode: {} + http://terminology.hl7.org/ValueSet/v3-Race: {} + http://terminology.hl7.org/ValueSet/v3-RaceAfricanAmericanAfrican: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanIndianAthabascan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNative: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleut: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutAlutiiq: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutBristolBay: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutChugach: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutKoniag: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutUnangan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeInupiatEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeSiberianEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeYupikEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianApache: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianArapaho: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianAssiniboineSioux: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCaddo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCahuilla: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCalifornia: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChemakuan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCherokee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCheyenne: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChickahominy: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChinook: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChippewa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChippewaCree: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChoctaw: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChumash: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianComanche: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCoushatta: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCreek: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCupeno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianDelaware: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianDiegueno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianEasternTribes: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianGrosVentres: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianHoopa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianIowa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianIroquois: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKickapoo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKiowa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKlallam: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianLongIsland: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianLuiseno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMaidu: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMiami: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMicmac: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianNavajo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianNorthwestTribes: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianOttawa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPaiute: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPassamaquoddy: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPawnee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPeoria: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPequot: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPima: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPomo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPonca: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPotawatomi: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPueblo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPugetSoundSalish: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSacFox: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSeminole: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSerrano: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShawnee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShoshone: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShoshonePaiute: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSioux: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianTohonoOOdham: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianUmpqua: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianUte: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWampanoag: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWashoe: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWinnebago: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianYuman: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianYurok: {} + http://terminology.hl7.org/ValueSet/v3-RaceAsian: {} + http://terminology.hl7.org/ValueSet/v3-RaceBlackOrAfricanAmerican: {} + http://terminology.hl7.org/ValueSet/v3-RaceCanadianLatinIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceHawaiianOrPacificIsland: {} + http://terminology.hl7.org/ValueSet/v3-RaceNativeAmerican: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandMelanesian: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandMicronesian: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandPolynesian: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndianTlingit: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndianTsimshian: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhite: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteArab: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteEuropean: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteMiddleEast: {} + http://terminology.hl7.org/ValueSet/v3-RadDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ReactionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ReactionParticipant: {} + http://terminology.hl7.org/ValueSet/v3-ReactivityObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-RectalInstillation: {} + http://terminology.hl7.org/ValueSet/v3-RectalRoute: {} + http://terminology.hl7.org/ValueSet/v3-RefillPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-RefrainPolicy: {} + http://terminology.hl7.org/ValueSet/v3-RefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-RegulationPolicyActCode: {} + http://terminology.hl7.org/ValueSet/v3-RehabilitationHospital: {} + http://terminology.hl7.org/ValueSet/v3-RelatedReactionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-RelationalOperator: {} + http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction: {} + http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation: {} + http://terminology.hl7.org/ValueSet/v3-RepetitionsOutOfRange: {} + http://terminology.hl7.org/ValueSet/v3-ResearchSubjectRoleBasis: {} + http://terminology.hl7.org/ValueSet/v3-ResidentialTreatmentPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ResourceGroupEntityType: {} + http://terminology.hl7.org/ValueSet/v3-RespiratoryTractRoute: {} + http://terminology.hl7.org/ValueSet/v3-ResponseLevel: {} + http://terminology.hl7.org/ValueSet/v3-ResponseModality: {} + http://terminology.hl7.org/ValueSet/v3-ResponseMode: {} + http://terminology.hl7.org/ValueSet/v3-ResponsibleParty: {} + http://terminology.hl7.org/ValueSet/v3-RetrobulbarRoute: {} + http://terminology.hl7.org/ValueSet/v3-RheumClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-RigidContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Rinse: {} + http://terminology.hl7.org/ValueSet/v3-Ritwan: {} + http://terminology.hl7.org/ValueSet/v3-River: {} + http://terminology.hl7.org/ValueSet/v3-ROIOverlayShape: {} + http://terminology.hl7.org/ValueSet/v3-RoleClass: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAccess: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientMoietyBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientReferenceBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveMoiety: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdjacency: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdjuvant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdministerableMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAffiliate: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAgent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAliquot: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassBase: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassBirthplace: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCaregiver: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCaseSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassChild: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCitizen: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClaimant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClinicalResearchInvestigator: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClinicalResearchSponsor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassColorAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCommissioningParty: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassConnection: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContactCode: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContaminantIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContinuity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCoverageSponsor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCoveredParty: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCredentialedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDedicatedServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDependent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDistributedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEmergencyContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEmployee: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEquivalentEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEventLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposureAgentCarrier: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposureVector: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassFlavorAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassFomite: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassGuarantor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassGuardian: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHasGeneric: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHealthcareProvider: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHealthChart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHeldEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassICSRInvestigationSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIdentifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInactiveIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIncidentalServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIndividual: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIngredientEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInstance: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInvestigationSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInvoicePayor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIsolate: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIsSpeciesEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassLicensedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassLocatedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMaintainedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassManagedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassManufacturedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMechanicalIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMember: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMilitaryPerson: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularBond: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularFeatures: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMutualRelationship: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNamedInsured: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNextOfKin: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNotaryPublic: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNurse: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNursePractitioner: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassOntological: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassOwnedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPartitive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPassive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPatient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPayee: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPersonalRelationship: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPhysician: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPhysicianAssistant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPlaceOfDeath: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPolicyHolder: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPreservative: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassProductRelated: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassProgramEligible: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassQualifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRegulatedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRelationshipFormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassResearchSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRetailedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSame: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSigningAuthorityOrOfficer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSpecimen: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStabilizer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStoredEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStudent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubscriber: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubstancePresence: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubsumedBy: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubsumer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassTerritoryOfAuthority: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassTherapeuticAgent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassUnderwriter: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassUsedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassWarrantedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleCode: {} + http://terminology.hl7.org/ValueSet/v3-RoleInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasDirectAuthorityOver: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasIndirectAuthorityOver: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkIdentification: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkIsBackupFor: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkRelated: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkReplaces: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatus: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkType: {} + http://terminology.hl7.org/ValueSet/v3-RoleLocationIdentifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatus: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusSuspended: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusTerminated: {} + http://terminology.hl7.org/ValueSet/v3-RouteByMethod: {} + http://terminology.hl7.org/ValueSet/v3-RouteBySite: {} + http://terminology.hl7.org/ValueSet/v3-RouteOfAdministration: {} + http://terminology.hl7.org/ValueSet/v3-Sahaptian: {} + http://terminology.hl7.org/ValueSet/v3-Salishan: {} + http://terminology.hl7.org/ValueSet/v3-SaukFoxKickapoo: {} + http://terminology.hl7.org/ValueSet/v3-ScalpRoute: {} + http://terminology.hl7.org/ValueSet/v3-SCDHEC-GISSpatialAccuracyTiers: {} + http://terminology.hl7.org/ValueSet/v3-SchedulingActReason: {} + http://terminology.hl7.org/ValueSet/v3-SecurityAlterationIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityAlterationIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityCategoryObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityCategoryObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityClassificationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityClassificationObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityControlObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityControlObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityDataIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityDataIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityConfidenceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityConfidenceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceAssertedByObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceAssertedByObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceReportedByObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceReportedByObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityStatusObservation: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityStatusObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityLabelMark: {} + http://terminology.hl7.org/ValueSet/v3-SecurityLabelMarkLabel: {} + http://terminology.hl7.org/ValueSet/v3-SecurityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAccreditationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAccreditationObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAgreementObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAgreementObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAssuranceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAssuranceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustCertificateObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustCertificateObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustFrameworkObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustFrameworkObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustMechanismObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustMechanismObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-Sequencing: {} + http://terminology.hl7.org/ValueSet/v3-SerranoGabrielino: {} + http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SetOperator: {} + http://terminology.hl7.org/ValueSet/v3-SeverityObservation: {} + http://terminology.hl7.org/ValueSet/v3-SeverityObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-Shasta: {} + http://terminology.hl7.org/ValueSet/v3-Sibling: {} + http://terminology.hl7.org/ValueSet/v3-SiblingInLaw: {} + http://terminology.hl7.org/ValueSet/v3-SignificantOtherRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SinusUnspecifiedRoute: {} + http://terminology.hl7.org/ValueSet/v3-Siouan: {} + http://terminology.hl7.org/ValueSet/v3-SiouanCatawba: {} + http://terminology.hl7.org/ValueSet/v3-SirenikskiYupik: {} + http://terminology.hl7.org/ValueSet/v3-SkinRoute: {} + http://terminology.hl7.org/ValueSet/v3-SnodentAnteriorInterarchDeviationTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentCraniofacialAnomalyInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalAbnormalityInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalFrenumRegionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalPeriodontalProbingPositionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalToothFurcationSiteInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalToothMobilityMillerClassificationInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalUniversalNumberingSystemInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentitionStateInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentJawTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOralCavityAreaInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOrthodonticDiagnosticFeatureInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOrthodonticTreatmentPreconditionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentPosteriorInterarchDeviationTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentSalzmannInterarchDeviationMaxillaryToothInternational: {} + http://terminology.hl7.org/ValueSet/v3-SoftTissueRoute: {} + http://terminology.hl7.org/ValueSet/v3-SoftwareNameExample: {} + http://terminology.hl7.org/ValueSet/v3-SolidDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SolutionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SouthernAlaska: {} + http://terminology.hl7.org/ValueSet/v3-SouthernCaddoan: {} + http://terminology.hl7.org/ValueSet/v3-SouthernNumic: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenAdditiveEntity: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenEntityType: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SponsorParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-Spouse: {} + http://terminology.hl7.org/ValueSet/v3-StatusRevisionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-StepChild: {} + http://terminology.hl7.org/ValueSet/v3-StepParent: {} + http://terminology.hl7.org/ValueSet/v3-StepSibling: {} + http://terminology.hl7.org/ValueSet/v3-StreetAddressLine: {} + http://terminology.hl7.org/ValueSet/v3-StreetName: {} + http://terminology.hl7.org/ValueSet/v3-StudentRoleType: {} + http://terminology.hl7.org/ValueSet/v3-StyleType: {} + http://terminology.hl7.org/ValueSet/v3-SubarachnoidRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubconjunctivalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubcutaneousRoute: {} + http://terminology.hl7.org/ValueSet/v3-SublesionalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SublingualRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubmucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubscriberCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SubsidizedHealthProgram: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminGenericSubstitution: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdministrationPermissionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionNotAllowedReason: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason: {} + http://terminology.hl7.org/ValueSet/v3-SubstitutionCondition: {} + http://terminology.hl7.org/ValueSet/v3-SupernumeraryTooth: {} + http://terminology.hl7.org/ValueSet/v3-SupplyAppropriateManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-SupplyDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-SupplyOrderAbortReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-SuppositoryDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SuppositoryRoute: {} + http://terminology.hl7.org/ValueSet/v3-SurgClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-SusceptibilityObservationMethodType: {} + http://terminology.hl7.org/ValueSet/v3-SuspensionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SwabDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Swish: {} + http://terminology.hl7.org/ValueSet/v3-TableCellHorizontalAlign: {} + http://terminology.hl7.org/ValueSet/v3-TableCellScope: {} + http://terminology.hl7.org/ValueSet/v3-TableCellVerticalAlign: {} + http://terminology.hl7.org/ValueSet/v3-TableFrame: {} + http://terminology.hl7.org/ValueSet/v3-TableRules: {} + http://terminology.hl7.org/ValueSet/v3-TableRuleStyle: {} + http://terminology.hl7.org/ValueSet/v3-TabletDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Takelman: {} + http://terminology.hl7.org/ValueSet/v3-Takic: {} + http://terminology.hl7.org/ValueSet/v3-Tanana: {} + http://terminology.hl7.org/ValueSet/v3-TananaTutchone: {} + http://terminology.hl7.org/ValueSet/v3-Taracahitan: {} + http://terminology.hl7.org/ValueSet/v3-TargetAwareness: {} + http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-TelecommunicationCapabilities: {} + http://terminology.hl7.org/ValueSet/v3-Tepiman: {} + http://terminology.hl7.org/ValueSet/v3-TextMediaType: {} + http://terminology.hl7.org/ValueSet/v3-TherapeuticProductDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-TherapyAppropriateManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-TimingDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-TimingEvent: {} + http://terminology.hl7.org/ValueSet/v3-Tiwa: {} + http://terminology.hl7.org/ValueSet/v3-TopicalAbsorptionRoute: {} + http://terminology.hl7.org/ValueSet/v3-TopicalApplication: {} + http://terminology.hl7.org/ValueSet/v3-TopicalPowder: {} + http://terminology.hl7.org/ValueSet/v3-TopicalSolution: {} + http://terminology.hl7.org/ValueSet/v3-TracheostomyRoute: {} + http://terminology.hl7.org/ValueSet/v3-Transdermal: {} + http://terminology.hl7.org/ValueSet/v3-TransdermalPatch: {} + http://terminology.hl7.org/ValueSet/v3-Transfer: {} + http://terminology.hl7.org/ValueSet/v3-TransferActReason: {} + http://terminology.hl7.org/ValueSet/v3-TransmissionRelationshipTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-TransmucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-TransplacentalRoute: {} + http://terminology.hl7.org/ValueSet/v3-TranstrachealRoute: {} + http://terminology.hl7.org/ValueSet/v3-TranstympanicRoute: {} + http://terminology.hl7.org/ValueSet/v3-TribalEntityUS: {} + http://terminology.hl7.org/ValueSet/v3-TriggerEventID: {} + http://terminology.hl7.org/ValueSet/v3-TrustPolicy: {} + http://terminology.hl7.org/ValueSet/v3-Tsamosan: {} + http://terminology.hl7.org/ValueSet/v3-Tsimshianic: {} + http://terminology.hl7.org/ValueSet/v3-tst0272: {} + http://terminology.hl7.org/ValueSet/v3-tst0275a: {} + http://terminology.hl7.org/ValueSet/v3-tst0280: {} + http://terminology.hl7.org/ValueSet/v3-UnderwriterParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-UnitsOfMeasureCaseSensitive: {} + http://terminology.hl7.org/ValueSet/v3-Unknown: {} + http://terminology.hl7.org/ValueSet/v3-UnorderedListStyle: {} + http://terminology.hl7.org/ValueSet/v3-UNSPSC: {} + http://terminology.hl7.org/ValueSet/v3-UPC: {} + http://terminology.hl7.org/ValueSet/v3-UpdateRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-UpperChinook: {} + http://terminology.hl7.org/ValueSet/v3-UreteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrethralRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryBladderIrrigation: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryBladderRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryTractRoute: {} + http://terminology.hl7.org/ValueSet/v3-URLScheme: {} + http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition: {} + http://terminology.hl7.org/ValueSet/v3-USEncounterReferralSource: {} + http://terminology.hl7.org/ValueSet/v3-Utian: {} + http://terminology.hl7.org/ValueSet/v3-UtoAztecan: {} + http://terminology.hl7.org/ValueSet/v3-VaccineEntityType: {} + http://terminology.hl7.org/ValueSet/v3-VaccineManufacturer: {} + http://terminology.hl7.org/ValueSet/v3-VaccineType: {} + http://terminology.hl7.org/ValueSet/v3-VaginalCream: {} + http://terminology.hl7.org/ValueSet/v3-VaginalFoam: {} + http://terminology.hl7.org/ValueSet/v3-VaginalGel: {} + http://terminology.hl7.org/ValueSet/v3-VaginalOintment: {} + http://terminology.hl7.org/ValueSet/v3-VaginalRoute: {} + http://terminology.hl7.org/ValueSet/v3-ValidationIssue: {} + http://terminology.hl7.org/ValueSet/v3-VerificationMethod: {} + http://terminology.hl7.org/ValueSet/v3-VerificationOutcomeValue: {} + http://terminology.hl7.org/ValueSet/v3-VideoMediaType: {} + http://terminology.hl7.org/ValueSet/v3-VitreousHumourRoute: {} + http://terminology.hl7.org/ValueSet/v3-Wakashan: {} + http://terminology.hl7.org/ValueSet/v3-WeightAlert: {} + http://terminology.hl7.org/ValueSet/v3-WesternApachean: {} + http://terminology.hl7.org/ValueSet/v3-WesternMiwok: {} + http://terminology.hl7.org/ValueSet/v3-WesternMuskogean: {} + http://terminology.hl7.org/ValueSet/v3-WesternNumic: {} + http://terminology.hl7.org/ValueSet/v3-Wintuan: {} + http://terminology.hl7.org/ValueSet/v3-Wiyot: {} + http://terminology.hl7.org/ValueSet/v3-WorkClassificationODH: {} + http://terminology.hl7.org/ValueSet/v3-WorkPlace: {} + http://terminology.hl7.org/ValueSet/v3-WorkScheduleODH: {} + http://terminology.hl7.org/ValueSet/v3-xAccommodationRequestorRole: {} + http://terminology.hl7.org/ValueSet/v3-xActBillableCode: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionEncounter: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionObservation: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionProcedure: {} + http://terminology.hl7.org/ValueSet/v3-xActClassDocumentEntryAct: {} + http://terminology.hl7.org/ValueSet/v3-xActClassDocumentEntryOrganizer: {} + http://terminology.hl7.org/ValueSet/v3-xActEncounterReason: {} + http://terminology.hl7.org/ValueSet/v3-xActFinancialProductAcquisitionCode: {} + http://terminology.hl7.org/ValueSet/v3-xActInvoiceDetailPharmacyCode: {} + http://terminology.hl7.org/ValueSet/v3-xActInvoiceDetailPreferredAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodCompletionCriterion: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvn: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvnRqo: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvnRqoPrmsPrp: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDocumentObservation: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodEvnOrdPrmsPrp: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodIntentEvent: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodOrdPrms: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodOrdPrmsEvn: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodPermPermrq: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodRequestEvent: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodRqoPrpAptArq: {} + http://terminology.hl7.org/ValueSet/v3-xActOrderableOrBillable: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipDocument: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipDocumentSPL: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipExternalReference: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipPatientTransport: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipPertinentInfo: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipRelatedAuthorizations: {} + http://terminology.hl7.org/ValueSet/v3-xActReplaceOrRevise: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusActiveComplete: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusActiveSuspended: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusPrevious: {} + http://terminology.hl7.org/ValueSet/v3-xAdministeredSubstance: {} + http://terminology.hl7.org/ValueSet/v3-xAdverseEventCausalityAssessmentMethods: {} + http://terminology.hl7.org/ValueSet/v3-xBasicConfidentialityKind: {} + http://terminology.hl7.org/ValueSet/v3-xBillableProduct: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementActMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementEncounterMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementExposureMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementObservationMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementProcedureMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementSubstanceMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementSupplyMood: {} + http://terminology.hl7.org/ValueSet/v3-xDeterminerInstanceKind: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentActMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentEncounterMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentEntrySubject: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentProcedureMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentStatus: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentSubject: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterAdmissionUrgency: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterParticipant: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterPerformerParticipation: {} + http://terminology.hl7.org/ValueSet/v3-xEntityClassDocumentReceiving: {} + http://terminology.hl7.org/ValueSet/v3-xEntityClassPersonOrOrgReceiving: {} + http://terminology.hl7.org/ValueSet/v3-xInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-xInformationRecipientRole: {} + http://terminology.hl7.org/ValueSet/v3-xLabProcessClassCodes: {} + http://terminology.hl7.org/ValueSet/v3-xMedicationOrImmunization: {} + http://terminology.hl7.org/ValueSet/v3-xMedicine: {} + http://terminology.hl7.org/ValueSet/v3-xOrganizationNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationAuthorPerformer: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationEntVrf: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationPrfEntVrf: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationVrfRespSprfWit: {} + http://terminology.hl7.org/ValueSet/v3-xPayeeRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-xPersonNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-xPhoneOrEmailURLScheme: {} + http://terminology.hl7.org/ValueSet/v3-xPhoneURLScheme: {} + http://terminology.hl7.org/ValueSet/v3-xPhysicalVerbalParticipationMode: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassAccommodationRequestor: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCoverage: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCoverageInvoice: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCredentialedEntity: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassPayeePolicyRelationship: {} + http://terminology.hl7.org/ValueSet/v3-xServiceEventPerformer: {} + http://terminology.hl7.org/ValueSet/v3-xSubstitutionConditionNoneOrUnconditional: {} + http://terminology.hl7.org/ValueSet/v3-xSUCCREPLPREV: {} + http://terminology.hl7.org/ValueSet/v3-xVeryBasicConfidentialityKind: {} + http://terminology.hl7.org/ValueSet/v3-Yaqui: {} + http://terminology.hl7.org/ValueSet/v3-Yokuts: {} + http://terminology.hl7.org/ValueSet/v3-Yokutsan: {} + http://terminology.hl7.org/ValueSet/v3-Yukian: {} + http://terminology.hl7.org/ValueSet/v3-Yuman: {} + http://terminology.hl7.org/ValueSet/variable-role: {} + http://terminology.hl7.org/ValueSet/variant-state: {} + http://terminology.hl7.org/ValueSet/verificationresult-can-push-updates: {} + http://terminology.hl7.org/ValueSet/verificationresult-communication-method: {} + http://terminology.hl7.org/ValueSet/verificationresult-failure-action: {} + http://terminology.hl7.org/ValueSet/verificationresult-need: {} + http://terminology.hl7.org/ValueSet/verificationresult-primary-source-type: {} + http://terminology.hl7.org/ValueSet/verificationresult-push-type-available: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-process: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-status: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-type: {} + http://terminology.hl7.org/ValueSet/vision-product: {} + http://terminology.hl7.org/ValueSet/yes-no-unknown-not-asked: {} + nested: {} + binding: {} + profile: + http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp: {} + http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title: {} + http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity: {} + logical: {} +hl7.fhir.uv.extensions: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://hl7.org/fhir/ValueSet/allerg-intol-substance-exp-risk: {} + http://hl7.org/fhir/ValueSet/animal-breeds: {} + http://hl7.org/fhir/ValueSet/animal-genderstatus: {} + http://hl7.org/fhir/ValueSet/animal-species: {} + http://hl7.org/fhir/ValueSet/artifact-comment-type: {} + http://terminology.hl7.org/ValueSet/artifact-version-policy: {} + http://hl7.org/fhir/ValueSet/barrier: {} + http://hl7.org/fhir/ValueSet/capabilitystatement-search-mode: {} + http://hl7.org/fhir/ValueSet/choice-list-orientation: {} + http://hl7.org/fhir/ValueSet/codesystem-altcode-kind: {} + http://hl7.org/fhir/ValueSet/codesystem-properties-mode: {} + http://hl7.org/fhir/ValueSet/coding-purpose: {} + http://hl7.org/fhir/ValueSet/concept-map-equivalence: {} + http://hl7.org/fhir/ValueSet/condition-cause: {} + http://hl7.org/fhir/ValueSet/condition-course: {} + http://hl7.org/fhir/ValueSet/condition-predecessor: {} + http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass: {} + http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty: {} + http://hl7.org/fhir/ValueSet/expansion-parameter-source: {} + http://hl7.org/fhir/ValueSet/feeding-device: {} + http://hl7.org/fhir/ValueSet/flag-priority: {} + http://hl7.org/fhir/ValueSet/focal-subject: {} + http://hl7.org/fhir/ValueSet/goal-acceptance-status: {} + http://hl7.org/fhir/ValueSet/goal-relationship-type: {} + http://hl7.org/fhir/ValueSet/hl7-work-group: {} + http://hl7.org/fhir/ValueSet/implantStatus: {} + http://hl7.org/fhir/ValueSet/inheritance-control-code: {} + http://hl7.org/fhir/ValueSet/knowledge-capability: {} + http://hl7.org/fhir/ValueSet/language-preference-type: {} + http://hl7.org/fhir/ValueSet/major-fhir-version: {} + http://hl7.org/fhir/ValueSet/match-grade: {} + http://hl7.org/fhir/ValueSet/name-assembly-order: {} + http://hl7.org/fhir/ValueSet/name-part-qualifier: {} + http://hl7.org/fhir/ValueSet/name-v3-representation: {} + http://hl7.org/fhir/ValueSet/object-lifecycle-events: {} + http://hl7.org/fhir/ValueSet/obligation: {} + http://hl7.org/fhir/ValueSet/parent-relationship-codes: {} + http://hl7.org/fhir/ValueSet/patient-bornstatus: {} + http://hl7.org/fhir/ValueSet/patient-unknownIdentity: {} + http://hl7.org/fhir/ValueSet/postal-address-use: {} + http://hl7.org/fhir/ValueSet/practitioner-job-title: {} + http://hl7.org/fhir/ValueSet/practitionerrole-employmentStatus: {} + http://hl7.org/fhir/ValueSet/probability-distribution-type: {} + http://hl7.org/fhir/ValueSet/procedure-progress-status-codes: {} + http://hl7.org/fhir/ValueSet/protective-factor: {} + http://hl7.org/fhir/ValueSet/questionnaire-derivationType: {} + http://hl7.org/fhir/ValueSet/questionnaire-display-category: {} + http://hl7.org/fhir/ValueSet/questionnaire-item-control: {} + http://hl7.org/fhir/ValueSet/questionnaireresponse-mode: {} + http://hl7.org/fhir/ValueSet/questionnaire-usage-mode: {} + http://hl7.org/fhir/ValueSet/reaction-event-certainty: {} + http://hl7.org/fhir/ValueSet/research-study-registration-activity: {} + http://hl7.org/fhir/ValueSet/resource-security-category: {} + http://hl7.org/fhir/ValueSet/secondary-finding: {} + http://hl7.org/fhir/ValueSet/sibling-relationship-codes: {} + http://hl7.org/fhir/ValueSet/specimen-additive-substance: {} + http://hl7.org/fhir/ValueSet/specimen-collection-priority: {} + http://hl7.org/fhir/ValueSet/standards-status: {} + http://hl7.org/fhir/ValueSet/template-status-code: {} + http://hl7.org/fhir/ValueSet/type-characteristics-code: {} + http://hl7.org/fhir/ValueSet/value-filter-comparator: {} + nested: {} + binding: {} + profile: + http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement: {} + http://hl7.org/fhir/StructureDefinition/additionalIdentifier: {} + http://hl7.org/fhir/StructureDefinition/workflow-adheresTo: {} + http://hl7.org/fhir/StructureDefinition/iso21090-AD-use: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Accession: {} + http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Instance: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle: {} + http://hl7.org/fhir/StructureDefinition/auditevent-MPPS: {} + http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances: {} + http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf: {} + http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy: {} + http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass: {} + http://hl7.org/fhir/StructureDefinition/openEHR-administration: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate: {} + http://hl7.org/fhir/StructureDefinition/openEHR-careplan: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration: {} + http://hl7.org/fhir/StructureDefinition/openEHR-location: {} + http://hl7.org/fhir/StructureDefinition/openEHR-management: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits: {} + http://hl7.org/fhir/StructureDefinition/alternate-canonical: {} + http://hl7.org/fhir/StructureDefinition/alternate-codes: {} + http://hl7.org/fhir/StructureDefinition/alternate-reference: {} + http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression: {} + http://hl7.org/fhir/StructureDefinition/annotationType: {} + http://hl7.org/fhir/StructureDefinition/artifact-approvalDate: {} + http://hl7.org/fhir/StructureDefinition/artifactassessment-content: {} + http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition: {} + http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/artifact-author: {} + http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference: {} + http://hl7.org/fhir/StructureDefinition/artifact-citeAs: {} + http://hl7.org/fhir/StructureDefinition/cqf-artifactComment: {} + http://hl7.org/fhir/StructureDefinition/artifact-contact: {} + http://hl7.org/fhir/StructureDefinition/artifact-copyright: {} + http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel: {} + http://hl7.org/fhir/StructureDefinition/artifact-date: {} + http://hl7.org/fhir/StructureDefinition/artifact-description: {} + http://hl7.org/fhir/StructureDefinition/artifact-editor: {} + http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod: {} + http://hl7.org/fhir/StructureDefinition/artifact-endorser: {} + http://hl7.org/fhir/StructureDefinition/artifact-experimental: {} + http://hl7.org/fhir/StructureDefinition/artifact-identifier: {} + http://hl7.org/fhir/StructureDefinition/artifact-isOwned: {} + http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction: {} + http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate: {} + http://hl7.org/fhir/StructureDefinition/artifact-name: {} + http://hl7.org/fhir/StructureDefinition/artifact-publisher: {} + http://hl7.org/fhir/StructureDefinition/artifact-purpose: {} + http://hl7.org/fhir/StructureDefinition/artifact-reference: {} + http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact: {} + http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription: {} + http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel: {} + http://hl7.org/fhir/StructureDefinition/artifact-reviewer: {} + http://hl7.org/fhir/StructureDefinition/artifact-status: {} + http://hl7.org/fhir/StructureDefinition/artifact-title: {} + http://hl7.org/fhir/StructureDefinition/artifact-topic: {} + http://hl7.org/fhir/StructureDefinition/artifact-url: {} + http://hl7.org/fhir/StructureDefinition/artifact-usage: {} + http://hl7.org/fhir/StructureDefinition/artifact-useContext: {} + http://hl7.org/fhir/StructureDefinition/artifact-version: {} + http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm: {} + http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy: {} + http://hl7.org/fhir/StructureDefinition/humanname-assembly-order: {} + http://hl7.org/fhir/StructureDefinition/event-basedOn: {} + http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure: {} + http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation: {} + http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName: {} + http://hl7.org/fhir/StructureDefinition/bodySite: {} + http://hl7.org/fhir/StructureDefinition/http-response-header: {} + http://hl7.org/fhir/StructureDefinition/location-distance: {} + http://hl7.org/fhir/StructureDefinition/match-grade: {} + http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue: {} + http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities: {} + http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint: {} + http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber: {} + http://hl7.org/fhir/StructureDefinition/characteristicExpression: {} + http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation: {} + http://hl7.org/fhir/StructureDefinition/concept-bidirectional: {} + http://hl7.org/fhir/StructureDefinition/communication-media: {} + http://hl7.org/fhir/StructureDefinition/iso21090-codedString: {} + http://hl7.org/fhir/StructureDefinition/coding-conformance: {} + http://hl7.org/fhir/StructureDefinition/coding-purpose: {} + http://hl7.org/fhir/StructureDefinition/workflow-compliesWith: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap: {} + http://hl7.org/fhir/StructureDefinition/condition-assertedDate: {} + http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse: {} + http://hl7.org/fhir/StructureDefinition/condition-dueTo: {} + http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing: {} + http://hl7.org/fhir/StructureDefinition/condition-outcome: {} + http://hl7.org/fhir/StructureDefinition/condition-related: {} + http://hl7.org/fhir/StructureDefinition/condition-reviewed: {} + http://hl7.org/fhir/StructureDefinition/condition-ruledOut: {} + http://hl7.org/fhir/StructureDefinition/dosage-conditions: {} + http://hl7.org/fhir/StructureDefinition/confidential: {} + http://hl7.org/fhir/StructureDefinition/consent-location: {} + http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint: {} + http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext: {} + http://hl7.org/fhir/StructureDefinition/consent-Transcriber: {} + http://hl7.org/fhir/StructureDefinition/consent-Witness: {} + http://hl7.org/fhir/StructureDefinition/cqf-contactAddress: {} + http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-area: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-comment: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-country: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-extension: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-local: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-purpose: {} + http://hl7.org/fhir/StructureDefinition/cqf-contactReference: {} + http://hl7.org/fhir/StructureDefinition/cqf-contributionTime: {} + http://hl7.org/fhir/StructureDefinition/careplan-activity-title: {} + http://hl7.org/fhir/StructureDefinition/cqf-certainty: {} + http://hl7.org/fhir/StructureDefinition/cqf-citation: {} + http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions: {} + http://hl7.org/fhir/StructureDefinition/cqf-expression: {} + http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability: {} + http://hl7.org/fhir/StructureDefinition/cqf-library: {} + http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation: {} + http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date: {} + http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description: {} + http://hl7.org/fhir/StructureDefinition/codesystem-alternate: {} + http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource: {} + http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments: {} + http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile: {} + http://hl7.org/fhir/StructureDefinition/composition-section-subject: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation: {} + http://hl7.org/fhir/StructureDefinition/codesystem-history: {} + http://hl7.org/fhir/StructureDefinition/codesystem-keyWord: {} + http://hl7.org/fhir/StructureDefinition/codesystem-label: {} + http://hl7.org/fhir/StructureDefinition/codesystem-map: {} + http://hl7.org/fhir/StructureDefinition/codesystem-otherName: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited: {} + http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode: {} + http://hl7.org/fhir/StructureDefinition/codesystem-replacedby: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use: {} + http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system: {} + http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion: {} + http://hl7.org/fhir/StructureDefinition/codesystem-usage: {} + http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown: {} + http://hl7.org/fhir/StructureDefinition/codesystem-warning: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket: {} + http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/careteam-alias: {} + http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod: {} + http://hl7.org/fhir/StructureDefinition/data-absent-reason: {} + http://hl7.org/fhir/StructureDefinition/_datatype: {} + http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype: {} + http://hl7.org/fhir/StructureDefinition/cqf-defaultValue: {} + http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm: {} + http://hl7.org/fhir/StructureDefinition/designNote: {} + http://hl7.org/fhir/StructureDefinition/device-commercialBrand: {} + http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime: {} + http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility: {} + http://hl7.org/fhir/StructureDefinition/device-implantStatus: {} + http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode: {} + http://hl7.org/fhir/StructureDefinition/display: {} + http://hl7.org/fhir/StructureDefinition/request-doNotPerform: {} + http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed: {} + http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk: {} + http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf: {} + http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter: {} + http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival: {} + http://hl7.org/fhir/StructureDefinition/cqf-encounterClass: {} + http://hl7.org/fhir/StructureDefinition/cqf-encounterType: {} + http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled: {} + http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation: {} + http://hl7.org/fhir/StructureDefinition/entryFormat: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-use: {} + http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence: {} + http://hl7.org/fhir/StructureDefinition/event-eventHistory: {} + http://hl7.org/fhir/StructureDefinition/event-location: {} + http://hl7.org/fhir/StructureDefinition/event-statusReason: {} + http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters: {} + http://hl7.org/fhir/StructureDefinition/extended-contact-availability: {} + http://hl7.org/fhir/StructureDefinition/humanname-fathers-family: {} + http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern: {} + http://hl7.org/fhir/StructureDefinition/firstCreated: {} + http://hl7.org/fhir/StructureDefinition/flag-detail: {} + http://hl7.org/fhir/StructureDefinition/flag-priority: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-type: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support: {} + http://hl7.org/fhir/StructureDefinition/workflow-followOnOf: {} + http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom: {} + http://hl7.org/fhir/StructureDefinition/geolocation: {} + http://hl7.org/fhir/StructureDefinition/goal-acceptance: {} + http://hl7.org/fhir/StructureDefinition/goal-reasonRejected: {} + http://hl7.org/fhir/StructureDefinition/goal-relationship: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint: {} + http://hl7.org/fhir/StructureDefinition/language: {} + http://hl7.org/fhir/StructureDefinition/identifier-checkDigit: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier: {} + http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile: {} + http://hl7.org/fhir/StructureDefinition/immunization-procedure: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet: {} + http://hl7.org/fhir/StructureDefinition/cqf-initialValue: {} + http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization: {} + http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson: {} + http://hl7.org/fhir/StructureDefinition/cqf-inputParameters: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding: {} + http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken: {} + http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation: {} + http://hl7.org/fhir/StructureDefinition/cqf-isSelective: {} + http://hl7.org/fhir/StructureDefinition/itemWeight: {} + http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel: {} + http://hl7.org/fhir/StructureDefinition/largeValue: {} + http://hl7.org/fhir/StructureDefinition/lastSourceSync: {} + http://hl7.org/fhir/StructureDefinition/list-category: {} + http://hl7.org/fhir/StructureDefinition/list-changeBase: {} + http://hl7.org/fhir/StructureDefinition/list-for: {} + http://hl7.org/fhir/StructureDefinition/location-boundary-geojson: {} + http://hl7.org/fhir/StructureDefinition/location-communication: {} + http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition: {} + http://hl7.org/fhir/StructureDefinition/rendering-markdown: {} + http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces: {} + http://hl7.org/fhir/StructureDefinition/maxSize: {} + http://hl7.org/fhir/StructureDefinition/maxValue: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet: {} + http://hl7.org/fhir/StructureDefinition/cqf-measureInfo: {} + http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch: {} + http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining: {} + http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining: {} + http://hl7.org/fhir/StructureDefinition/cqf-messages: {} + http://hl7.org/fhir/StructureDefinition/mimeType: {} + http://hl7.org/fhir/StructureDefinition/minLength: {} + http://hl7.org/fhir/StructureDefinition/minValue: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath: {} + http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings: {} + http://hl7.org/fhir/StructureDefinition/humanname-mothers-family: {} + http://hl7.org/fhir/StructureDefinition/messageheader-response-request: {} + http://hl7.org/fhir/StructureDefinition/narrativeLink: {} + http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet: {} + http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit: {} + http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice: {} + http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor: {} + http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris: {} + http://hl7.org/fhir/StructureDefinition/11179-objectClass: {} + http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty: {} + http://hl7.org/fhir/StructureDefinition/obligation: {} + http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time: {} + http://hl7.org/fhir/StructureDefinition/observation-bodyPosition: {} + http://hl7.org/fhir/StructureDefinition/observation-delta: {} + http://hl7.org/fhir/StructureDefinition/observation-deviceCode: {} + http://hl7.org/fhir/StructureDefinition/observation-focusCode: {} + http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice: {} + http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test: {} + http://hl7.org/fhir/StructureDefinition/observation-precondition: {} + http://hl7.org/fhir/StructureDefinition/observation-reagent: {} + http://hl7.org/fhir/StructureDefinition/observation-replaces: {} + http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding: {} + http://hl7.org/fhir/StructureDefinition/observation-sequelTo: {} + http://hl7.org/fhir/StructureDefinition/observation-specimenCode: {} + http://hl7.org/fhir/StructureDefinition/observation-timeOffset: {} + http://hl7.org/fhir/StructureDefinition/observation-v2-subid: {} + http://hl7.org/fhir/StructureDefinition/operationdefinition-profile: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-authority: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-file: {} + http://hl7.org/fhir/StructureDefinition/organization-brand: {} + http://hl7.org/fhir/StructureDefinition/organization-portal: {} + http://hl7.org/fhir/StructureDefinition/organization-period: {} + http://hl7.org/fhir/StructureDefinition/organization-preferredContact: {} + http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd: {} + http://hl7.org/fhir/StructureDefinition/originalText: {} + http://hl7.org/fhir/StructureDefinition/humanname-own-name: {} + http://hl7.org/fhir/StructureDefinition/humanname-own-prefix: {} + http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition: {} + http://hl7.org/fhir/StructureDefinition/parameters-definition: {} + http://hl7.org/fhir/StructureDefinition/parameters-fullUrl: {} + http://hl7.org/fhir/StructureDefinition/humanname-partner-name: {} + http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix: {} + http://hl7.org/fhir/StructureDefinition/event-partOf: {} + http://hl7.org/fhir/StructureDefinition/cqf-partOf: {} + http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo: {} + http://hl7.org/fhir/StructureDefinition/patient-animal: {} + http://hl7.org/fhir/StructureDefinition/patient-birthPlace: {} + http://hl7.org/fhir/StructureDefinition/patient-birthTime: {} + http://hl7.org/fhir/StructureDefinition/patient-bornStatus: {} + http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor: {} + http://hl7.org/fhir/StructureDefinition/patient-citizenship: {} + http://hl7.org/fhir/StructureDefinition/patient-congregation: {} + http://hl7.org/fhir/StructureDefinition/patient-contactPriority: {} + http://hl7.org/fhir/StructureDefinition/patient-disability: {} + http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate: {} + http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity: {} + http://hl7.org/fhir/StructureDefinition/patient-importance: {} + http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired: {} + http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName: {} + http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal: {} + http://hl7.org/fhir/StructureDefinition/patient-nationality: {} + http://hl7.org/fhir/StructureDefinition/no-fixed-address: {} + http://hl7.org/fhir/StructureDefinition/patient-preferenceType: {} + http://hl7.org/fhir/StructureDefinition/patient-proficiency: {} + http://hl7.org/fhir/StructureDefinition/patient-relatedPerson: {} + http://hl7.org/fhir/StructureDefinition/patient-religion: {} + http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern: {} + http://hl7.org/fhir/StructureDefinition/event-performerFunction: {} + http://hl7.org/fhir/StructureDefinition/request-performerOrder: {} + http://hl7.org/fhir/StructureDefinition/artifact-periodDuration: {} + http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap: {} + http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset: {} + http://hl7.org/fhir/StructureDefinition/individual-genderIdentity: {} + http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies: {} + http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure: {} + http://hl7.org/fhir/StructureDefinition/procedure-causedBy: {} + http://hl7.org/fhir/StructureDefinition/procedure-directedBy: {} + http://hl7.org/fhir/StructureDefinition/quantity-precision: {} + http://hl7.org/fhir/StructureDefinition/iso21090-preferred: {} + http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus: {} + http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime: {} + http://hl7.org/fhir/StructureDefinition/practitioner-job-title: {} + http://hl7.org/fhir/StructureDefinition/procedure-method: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element: {} + http://hl7.org/fhir/StructureDefinition/individual-pronouns: {} + http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor: {} + http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd: {} + http://hl7.org/fhir/StructureDefinition/procedure-progressStatus: {} + http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure: {} + http://hl7.org/fhir/StructureDefinition/cqf-publicationDate: {} + http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-baseType: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-constraint: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-hidden: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink: {} + http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence: {} + http://hl7.org/fhir/StructureDefinition/extension-quantity-translation: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-question: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unit: {} + http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization: {} + http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson: {} + http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage: {} + http://hl7.org/fhir/StructureDefinition/cqf-recipientType: {} + http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter: {} + http://hl7.org/fhir/StructureDefinition/referencesContained: {} + http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact: {} + http://hl7.org/fhir/StructureDefinition/relative-date: {} + http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime: {} + http://hl7.org/fhir/StructureDefinition/workflow-releaseDate: {} + http://hl7.org/fhir/StructureDefinition/request-relevantHistory: {} + http://hl7.org/fhir/StructureDefinition/rendered-value: {} + http://hl7.org/fhir/StructureDefinition/rendering-style: {} + http://hl7.org/fhir/StructureDefinition/replaces: {} + http://hl7.org/fhir/StructureDefinition/request-insurance: {} + http://hl7.org/fhir/StructureDefinition/request-replaces: {} + http://hl7.org/fhir/StructureDefinition/request-statusReason: {} + http://hl7.org/fhir/StructureDefinition/requirements-parent: {} + http://hl7.org/fhir/StructureDefinition/workflow-researchStudy: {} + http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate: {} + http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific: {} + http://hl7.org/fhir/StructureDefinition/resource-approvalDate: {} + http://hl7.org/fhir/StructureDefinition/derivation-reference: {} + http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod: {} + http://hl7.org/fhir/StructureDefinition/resource-instance-description: {} + http://hl7.org/fhir/StructureDefinition/resource-instance-name: {} + http://hl7.org/fhir/StructureDefinition/satisfies-requirement: {} + http://hl7.org/fhir/StructureDefinition/cqf-resourceType: {} + http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment: {} + http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration: {} + http://hl7.org/fhir/StructureDefinition/cqf-scope: {} + http://hl7.org/fhir/StructureDefinition/coding-sctdescid: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-category: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-interface: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-summary: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-wg: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-selector: {} + http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith: {} + http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority: {} + http://hl7.org/fhir/StructureDefinition/specimen-additive: {} + http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight: {} + http://hl7.org/fhir/StructureDefinition/specimen-processingTime: {} + http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber: {} + http://hl7.org/fhir/StructureDefinition/specimen-specialHandling: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number: {} + http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-precondition: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest: {} + http://hl7.org/fhir/StructureDefinition/statistic-model-include-if: {} + http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation: {} + http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive: {} + http://hl7.org/fhir/StructureDefinition/subscription-best-effort: {} + http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion: {} + http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserType: {} + http://hl7.org/fhir/StructureDefinition/targetElement: {} + http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant: {} + http://hl7.org/fhir/StructureDefinition/targetPath: {} + http://hl7.org/fhir/StructureDefinition/task-replaces: {} + http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address: {} + http://hl7.org/fhir/StructureDefinition/timezone: {} + http://hl7.org/fhir/StructureDefinition/tz-offset: {} + http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth: {} + http://hl7.org/fhir/StructureDefinition/timing-exact: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable: {} + http://hl7.org/fhir/StructureDefinition/translation: {} + http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy: {} + http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support: {} + http://hl7.org/fhir/StructureDefinition/timing-uncertainDate: {} + http://hl7.org/fhir/StructureDefinition/uncertainPeriod: {} + http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty: {} + http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType: {} + http://hl7.org/fhir/StructureDefinition/usagecontext-group: {} + http://hl7.org/fhir/StructureDefinition/identifier-validDate: {} + http://hl7.org/fhir/StructureDefinition/cqf-valueFilter: {} + http://hl7.org/fhir/StructureDefinition/variable: {} + http://hl7.org/fhir/StructureDefinition/version-specific-use: {} + http://hl7.org/fhir/StructureDefinition/version-specific-value: {} + http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource: {} + http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive: {} + http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy: {} + http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate: {} + http://hl7.org/fhir/StructureDefinition/valueset-concept-comments: {} + http://hl7.org/fhir/StructureDefinition/valueset-concept-definition: {} + http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder: {} + http://hl7.org/fhir/StructureDefinition/valueset-deprecated: {} + http://hl7.org/fhir/StructureDefinition/valueset-expansionSource: {} + http://hl7.org/fhir/StructureDefinition/valueset-expression: {} + http://hl7.org/fhir/StructureDefinition/valueset-extensible: {} + http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle: {} + http://hl7.org/fhir/StructureDefinition/valueset-keyWord: {} + http://hl7.org/fhir/StructureDefinition/valueset-label: {} + http://hl7.org/fhir/StructureDefinition/valueset-map: {} + http://hl7.org/fhir/StructureDefinition/valueset-otherName: {} + http://hl7.org/fhir/StructureDefinition/valueset-otherTitle: {} + http://hl7.org/fhir/StructureDefinition/valueset-parameterSource: {} + http://hl7.org/fhir/StructureDefinition/valueset-reference: {} + http://hl7.org/fhir/StructureDefinition/valueset-rules-text: {} + http://hl7.org/fhir/StructureDefinition/valueset-sourceReference: {} + http://hl7.org/fhir/StructureDefinition/valueset-special-status: {} + http://hl7.org/fhir/StructureDefinition/valueset-supplement: {} + http://hl7.org/fhir/StructureDefinition/valueset-system: {} + http://hl7.org/fhir/StructureDefinition/valueset-systemName: {} + http://hl7.org/fhir/StructureDefinition/valueset-systemRef: {} + http://hl7.org/fhir/StructureDefinition/valueset-systemTitle: {} + http://hl7.org/fhir/StructureDefinition/valueset-toocostly: {} + http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion: {} + http://hl7.org/fhir/StructureDefinition/valueset-unclosed: {} + http://hl7.org/fhir/StructureDefinition/valueset-usage: {} + http://hl7.org/fhir/StructureDefinition/valueset-warning: {} + http://hl7.org/fhir/StructureDefinition/workflow-barrier: {} + http://hl7.org/fhir/StructureDefinition/workflow-reason: {} + http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription: {} + http://hl7.org/fhir/StructureDefinition/rendering-xhtml: {} + logical: {} +hl7.terminology: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://terminology.hl7.org/ValueSet/action-participant-role: {} + http://terminology.hl7.org/ValueSet/action-type: {} + http://terminology.hl7.org/ValueSet/activity-definition-category: {} + http://terminology.hl7.org/ValueSet/adjudication: {} + http://terminology.hl7.org/ValueSet/adjudication-error: {} + http://terminology.hl7.org/ValueSet/adjudication-reason: {} + http://terminology.hl7.org/ValueSet/adverse-event-category: {} + http://terminology.hl7.org/ValueSet/adverse-event-causality-assess: {} + http://terminology.hl7.org/ValueSet/adverse-event-causality-method: {} + http://terminology.hl7.org/ValueSet/adverse-event-clinical-research-causality-relatedness: {} + http://terminology.hl7.org/ValueSet/adverse-event-clinical-research-grades: {} + http://terminology.hl7.org/ValueSet/adverse-event-clinical-research-outcomes: {} + http://terminology.hl7.org/ValueSet/adverse-event-clinical-research-seriousness-criteria: {} + http://terminology.hl7.org/ValueSet/adverse-event-seriousness: {} + http://terminology.hl7.org/ValueSet/adverse-event-severity: {} + http://terminology.hl7.org/ValueSet/allerg-intol-substance-exp-risk: {} + http://terminology.hl7.org/ValueSet/allergyintolerance-clinical: {} + http://terminology.hl7.org/ValueSet/allergyintolerance-verification: {} + http://terminology.hl7.org/ValueSet/appointment-cancellation-reason: {} + http://terminology.hl7.org/ValueSet/appropriateness-score: {} + http://terminology.hl7.org/ValueSet/artifact-identifier-type: {} + http://terminology.hl7.org/ValueSet/artifact-version-policy: {} + http://terminology.hl7.org/ValueSet/attribute-estimate-type: {} + http://terminology.hl7.org/ValueSet/audit-event-outcome: {} + http://terminology.hl7.org/ValueSet/audit-source-type: {} + http://terminology.hl7.org/ValueSet/basic-resource-type: {} + http://terminology.hl7.org/ValueSet/benefit-network: {} + http://terminology.hl7.org/ValueSet/benefit-term: {} + http://terminology.hl7.org/ValueSet/benefit-type: {} + http://terminology.hl7.org/ValueSet/benefit-unit: {} + http://terminology.hl7.org/ValueSet/catalogType: {} + http://terminology.hl7.org/ValueSet/certainty-rating: {} + http://terminology.hl7.org/ValueSet/certainty-subcomponent-rating: {} + http://terminology.hl7.org/ValueSet/certainty-subcomponent-type: {} + http://terminology.hl7.org/ValueSet/characteristic-method: {} + http://terminology.hl7.org/ValueSet/chargeitem-billingcodes: {} + http://terminology.hl7.org/ValueSet/choice-list-orientation: {} + http://terminology.hl7.org/ValueSet/chromosome-human: {} + http://terminology.hl7.org/ValueSet/claim-careteamrole: {} + http://terminology.hl7.org/ValueSet/claim-exception: {} + http://terminology.hl7.org/ValueSet/claim-informationcategory: {} + http://terminology.hl7.org/ValueSet/claim-modifiers: {} + http://terminology.hl7.org/ValueSet/claim-subtype: {} + http://terminology.hl7.org/ValueSet/claim-type: {} + http://terminology.hl7.org/ValueSet/clinical-discharge-disposition: {} + http://terminology.hl7.org/ValueSet/codesystem-altcode-kind: {} + http://terminology.hl7.org/ValueSet/common-tags: {} + http://terminology.hl7.org/ValueSet/communication-category: {} + http://terminology.hl7.org/ValueSet/communication-not-done-reason: {} + http://terminology.hl7.org/ValueSet/communication-topic: {} + http://terminology.hl7.org/ValueSet/composite-measure-scoring: {} + http://terminology.hl7.org/ValueSet/composition-altcode-kind: {} + http://terminology.hl7.org/ValueSet/condition-category: {} + http://terminology.hl7.org/ValueSet/condition-clinical: {} + http://terminology.hl7.org/ValueSet/condition-state: {} + http://terminology.hl7.org/ValueSet/condition-ver-status: {} + http://terminology.hl7.org/ValueSet/conformance-expectation: {} + http://terminology.hl7.org/ValueSet/consent-action: {} + http://terminology.hl7.org/ValueSet/consent-policy: {} + http://terminology.hl7.org/ValueSet/consent-scope: {} + http://terminology.hl7.org/ValueSet/consent-verification: {} + http://terminology.hl7.org/ValueSet/contactentity-type: {} + http://terminology.hl7.org/ValueSet/container-cap: {} + http://terminology.hl7.org/ValueSet/contract-action: {} + http://terminology.hl7.org/ValueSet/contract-actorrole: {} + http://terminology.hl7.org/ValueSet/contract-content-derivative: {} + http://terminology.hl7.org/ValueSet/contract-data-meaning: {} + http://terminology.hl7.org/ValueSet/contract-signer-type: {} + http://terminology.hl7.org/ValueSet/contract-subtype: {} + http://terminology.hl7.org/ValueSet/contract-term-subtype: {} + http://terminology.hl7.org/ValueSet/contract-term-type: {} + http://terminology.hl7.org/ValueSet/contract-type: {} + http://terminology.hl7.org/ValueSet/copy-number-event: {} + http://terminology.hl7.org/ValueSet/coverage-class: {} + http://terminology.hl7.org/ValueSet/coverage-copay-type: {} + http://terminology.hl7.org/ValueSet/coverageeligibilityresponse-ex-auth-support: {} + http://terminology.hl7.org/ValueSet/coverage-financial-exception: {} + http://terminology.hl7.org/ValueSet/coverage-selfpay: {} + http://terminology.hl7.org/ValueSet/cpt-all: {} + http://terminology.hl7.org/ValueSet/cpt-base: {} + http://terminology.hl7.org/ValueSet/cpt-modifiers: {} + http://terminology.hl7.org/ValueSet/cpt-usable: {} + http://terminology.hl7.org/ValueSet/cql-access-modifier: {} + http://terminology.hl7.org/ValueSet/definition-status: {} + http://terminology.hl7.org/ValueSet/definition-topic: {} + http://terminology.hl7.org/ValueSet/definition-use: {} + http://terminology.hl7.org/ValueSet/device-kind: {} + http://terminology.hl7.org/ValueSet/device-status-reason: {} + http://terminology.hl7.org/ValueSet/diagnosis-role: {} + http://terminology.hl7.org/ValueSet/digital-certificate: {} + http://terminology.hl7.org/ValueSet/directness: {} + http://terminology.hl7.org/ValueSet/dose-rate-type: {} + http://terminology.hl7.org/ValueSet/edible-substance-type: {} + http://terminology.hl7.org/ValueSet/encounter-admit-source: {} + http://terminology.hl7.org/ValueSet/encounter-class: {} + http://terminology.hl7.org/ValueSet/encounter-diet: {} + http://terminology.hl7.org/ValueSet/encounter-discharge-disposition: {} + http://terminology.hl7.org/ValueSet/encounter-special-arrangements: {} + http://terminology.hl7.org/ValueSet/encounter-subject-status: {} + http://terminology.hl7.org/ValueSet/encounter-type: {} + http://terminology.hl7.org/ValueSet/endpoint-connection-type: {} + http://terminology.hl7.org/ValueSet/entformula-additive: {} + http://terminology.hl7.org/ValueSet/episodeofcare-type: {} + http://terminology.hl7.org/ValueSet/evidence-quality: {} + http://terminology.hl7.org/ValueSet/ex-benefitcategory: {} + http://terminology.hl7.org/ValueSet/ex-diagnosis-on-admission: {} + http://terminology.hl7.org/ValueSet/ex-diagnosisrelatedgroup: {} + http://terminology.hl7.org/ValueSet/ex-diagnosistype: {} + http://terminology.hl7.org/ValueSet/expansion-parameter-source: {} + http://terminology.hl7.org/ValueSet/expansion-processing-rule: {} + http://terminology.hl7.org/ValueSet/ex-payee-resource-type: {} + http://terminology.hl7.org/ValueSet/ex-paymenttype: {} + http://terminology.hl7.org/ValueSet/ex-procedure-type: {} + http://terminology.hl7.org/ValueSet/ex-program-code: {} + http://terminology.hl7.org/ValueSet/ex-revenue-center: {} + http://terminology.hl7.org/ValueSet/financial-taskcode: {} + http://terminology.hl7.org/ValueSet/financial-taskinputtype: {} + http://terminology.hl7.org/ValueSet/flag-category: {} + http://terminology.hl7.org/ValueSet/forms: {} + http://terminology.hl7.org/ValueSet/fundsreserve: {} + http://terminology.hl7.org/ValueSet/gender-identity: {} + http://terminology.hl7.org/ValueSet/goal-acceptance-status: {} + http://terminology.hl7.org/ValueSet/goal-achievement: {} + http://terminology.hl7.org/ValueSet/goal-category: {} + http://terminology.hl7.org/ValueSet/goal-priority: {} + http://terminology.hl7.org/ValueSet/goal-relationship-type: {} + http://terminology.hl7.org/ValueSet/guide-parameter-code: {} + http://terminology.hl7.org/ValueSet/handling-condition: {} + http://terminology.hl7.org/ValueSet/history-absent-reason: {} + http://terminology.hl7.org/ValueSet/hl7-work-group: {} + http://terminology.hl7.org/ValueSet/immunization-evaluation-dose-status: {} + http://terminology.hl7.org/ValueSet/immunization-evaluation-dose-status-reason: {} + http://terminology.hl7.org/ValueSet/immunization-funding-source: {} + http://terminology.hl7.org/ValueSet/immunization-program-eligibility: {} + http://terminology.hl7.org/ValueSet/immunization-recommendation-status: {} + http://terminology.hl7.org/ValueSet/immunization-subpotent-reason: {} + http://terminology.hl7.org/ValueSet/implantStatus: {} + http://terminology.hl7.org/ValueSet/insuranceplan-applicability: {} + http://terminology.hl7.org/ValueSet/insuranceplan-type: {} + http://terminology.hl7.org/ValueSet/jurisdiction: {} + http://terminology.hl7.org/ValueSet/library-type: {} + http://terminology.hl7.org/ValueSet/list-empty-reason: {} + http://terminology.hl7.org/ValueSet/list-example-codes: {} + http://terminology.hl7.org/ValueSet/list-order: {} + http://terminology.hl7.org/ValueSet/location-physical-type: {} + http://terminology.hl7.org/ValueSet/match-grade: {} + http://terminology.hl7.org/ValueSet/measure-aggregate-method: {} + http://terminology.hl7.org/ValueSet/measure-data-usage: {} + http://terminology.hl7.org/ValueSet/measure-improvement-notation: {} + http://terminology.hl7.org/ValueSet/measure-population: {} + http://terminology.hl7.org/ValueSet/measure-scoring: {} + http://terminology.hl7.org/ValueSet/measure-supplemental-data: {} + http://terminology.hl7.org/ValueSet/measure-type: {} + http://terminology.hl7.org/ValueSet/med-admin-perform-function: {} + http://terminology.hl7.org/ValueSet/medication-admin-location: {} + http://terminology.hl7.org/ValueSet/medicationdispense-performer-function: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-characteristic: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-package-type: {} + http://terminology.hl7.org/ValueSet/medicationknowledge-status: {} + http://terminology.hl7.org/ValueSet/medicationrequest-admin-location: {} + http://terminology.hl7.org/ValueSet/medicationrequest-category: {} + http://terminology.hl7.org/ValueSet/medicationrequest-course-of-therapy: {} + http://terminology.hl7.org/ValueSet/medicationrequest-status-reason: {} + http://terminology.hl7.org/ValueSet/medication-usage-admin-location: {} + http://terminology.hl7.org/ValueSet/message-reason-encounter: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipKind: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipReflexivity: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipSymmetry: {} + http://terminology.hl7.org/ValueSet/mif-conceptRelationshipTransitivity: {} + http://terminology.hl7.org/ValueSet/missing-tooth-reason: {} + http://terminology.hl7.org/ValueSet/nutrition-intake-category: {} + http://terminology.hl7.org/ValueSet/object-role: {} + http://terminology.hl7.org/ValueSet/observation-category: {} + http://terminology.hl7.org/ValueSet/observation-statistics: {} + http://terminology.hl7.org/ValueSet/organization-type: {} + http://terminology.hl7.org/ValueSet/parameter-group: {} + http://terminology.hl7.org/ValueSet/payeetype: {} + http://terminology.hl7.org/ValueSet/payment-adjustment-reason: {} + http://terminology.hl7.org/ValueSet/payment-status: {} + http://terminology.hl7.org/ValueSet/payment-type: {} + http://terminology.hl7.org/ValueSet/plan-definition-type: {} + http://terminology.hl7.org/ValueSet/POAIndicators: {} + http://terminology.hl7.org/ValueSet/process-priority: {} + http://terminology.hl7.org/ValueSet/program: {} + http://terminology.hl7.org/ValueSet/pronouns: {} + http://terminology.hl7.org/ValueSet/provenance-agent-type: {} + http://terminology.hl7.org/ValueSet/provider-qualification: {} + http://terminology.hl7.org/ValueSet/question-max-occurs: {} + http://terminology.hl7.org/ValueSet/questionnaire-usage-mode: {} + http://terminology.hl7.org/ValueSet/reaction-event-certainty: {} + http://terminology.hl7.org/ValueSet/reason-medication-given-codes: {} + http://terminology.hl7.org/ValueSet/recommendation-strength: {} + http://terminology.hl7.org/ValueSet/recorded-sex-or-gender-type: {} + http://terminology.hl7.org/ValueSet/referencerange-meaning: {} + http://terminology.hl7.org/ValueSet/rejection-criteria: {} + http://terminology.hl7.org/ValueSet/related-claim-relationship: {} + http://terminology.hl7.org/ValueSet/research-study-objective-type: {} + http://terminology.hl7.org/ValueSet/research-study-phase: {} + http://terminology.hl7.org/ValueSet/research-study-prim-purp-type: {} + http://terminology.hl7.org/ValueSet/research-study-reason-stopped: {} + http://terminology.hl7.org/ValueSet/research-subject-milestone: {} + http://terminology.hl7.org/ValueSet/research-subject-state: {} + http://terminology.hl7.org/ValueSet/research-subject-state-type: {} + http://terminology.hl7.org/ValueSet/resource-security-category: {} + http://terminology.hl7.org/ValueSet/resource-type-link: {} + http://terminology.hl7.org/ValueSet/risk-probability: {} + http://terminology.hl7.org/ValueSet/service-category: {} + http://terminology.hl7.org/ValueSet/service-place: {} + http://terminology.hl7.org/ValueSet/service-provision-conditions: {} + http://terminology.hl7.org/ValueSet/service-referral-method: {} + http://terminology.hl7.org/ValueSet/service-type: {} + http://terminology.hl7.org/ValueSet/service-uscls: {} + http://terminology.hl7.org/ValueSet/sex-parameter-for-clinical-use: {} + http://terminology.hl7.org/ValueSet/smart-capabilities: {} + http://terminology.hl7.org/ValueSet/snomed-intl-gps: {} + http://terminology.hl7.org/ValueSet/software-system-type: {} + http://terminology.hl7.org/ValueSet/special-values: {} + http://terminology.hl7.org/ValueSet/standards-status: {} + http://terminology.hl7.org/ValueSet/state-change-reason: {} + http://terminology.hl7.org/ValueSet/statistic-type: {} + http://terminology.hl7.org/ValueSet/study-type: {} + http://terminology.hl7.org/ValueSet/subscriber-relationship: {} + http://terminology.hl7.org/ValueSet/subscription-channel-type: {} + http://terminology.hl7.org/ValueSet/subscription-error: {} + http://terminology.hl7.org/ValueSet/subscription-status-at-event: {} + http://terminology.hl7.org/ValueSet/subscription-tag: {} + http://terminology.hl7.org/ValueSet/substance-category: {} + http://terminology.hl7.org/ValueSet/supplydelivery-type: {} + http://terminology.hl7.org/ValueSet/supplyrequest-kind: {} + http://terminology.hl7.org/ValueSet/supplyrequest-reason: {} + http://terminology.hl7.org/ValueSet/surface: {} + http://terminology.hl7.org/ValueSet/synthesis-type: {} + http://terminology.hl7.org/ValueSet/testscript-operation-codes: {} + http://terminology.hl7.org/ValueSet/testscript-profile-destination-types: {} + http://terminology.hl7.org/ValueSet/testscript-profile-origin-types: {} + http://terminology.hl7.org/ValueSet/tooth: {} + http://terminology.hl7.org/ValueSet/ucum-common: {} + http://terminology.hl7.org/ValueSet/ucum-units: {} + http://terminology.hl7.org/ValueSet/usage-context-type: {} + http://terminology.hl7.org/ValueSet/v2-0006: {} + http://terminology.hl7.org/ValueSet/v2-0360: {} + http://terminology.hl7.org/ValueSet/v2-0391: {} + http://terminology.hl7.org/ValueSet/v2-0560: {} + http://terminology.hl7.org/ValueSet/v2-0567: {} + http://terminology.hl7.org/ValueSet/v2-0568: {} + http://terminology.hl7.org/ValueSet/v2-0929: {} + http://terminology.hl7.org/ValueSet/v2-0930: {} + http://terminology.hl7.org/ValueSet/v2-0931: {} + http://terminology.hl7.org/ValueSet/v2-0932: {} + http://terminology.hl7.org/ValueSet/v2-0936: {} + http://terminology.hl7.org/ValueSet/v2-0937: {} + http://terminology.hl7.org/ValueSet/v2-0938: {} + http://terminology.hl7.org/ValueSet/v2-0939: {} + http://terminology.hl7.org/ValueSet/v2-0940: {} + http://terminology.hl7.org/ValueSet/v2-0942: {} + http://terminology.hl7.org/ValueSet/v2-0945: {} + http://terminology.hl7.org/ValueSet/v2-0946: {} + http://terminology.hl7.org/ValueSet/v2-0948: {} + http://terminology.hl7.org/ValueSet/v2-0949: {} + http://terminology.hl7.org/ValueSet/v2-0950: {} + http://terminology.hl7.org/ValueSet/v2-0951: {} + http://terminology.hl7.org/ValueSet/v2-0952: {} + http://terminology.hl7.org/ValueSet/v2-0959: {} + http://terminology.hl7.org/ValueSet/v2-0961: {} + http://terminology.hl7.org/ValueSet/v2-0962: {} + http://terminology.hl7.org/ValueSet/v2-0963: {} + http://terminology.hl7.org/ValueSet/v2-0970: {} + http://terminology.hl7.org/ValueSet/v2-0971: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0291: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0347: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0399: {} + http://terminology.hl7.org/ValueSet/v2-notAllCodes-0834: {} + http://terminology.hl7.org/ValueSet/v3-Abenakian: {} + http://terminology.hl7.org/ValueSet/v3-AccessMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailNotSupportedCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailSyntaxErrorCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAccommodationReason: {} + http://terminology.hl7.org/ValueSet/v3-ActAccountCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdjudicationResultActionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeAuthorizationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeDetectedIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAdministrativeRuleDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAmbulatoryEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActAntigenInvalidReason: {} + http://terminology.hl7.org/ValueSet/v3-ActBillableModifierCode: {} + http://terminology.hl7.org/ValueSet/v3-ActBillingArrangementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActBoundedROICode: {} + http://terminology.hl7.org/ValueSet/v3-ActCareProvisionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActClaimAttachmentCategoryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccession: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccommodation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAccount: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAcquisitionExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassAction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBattery: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBioSequence: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBioSequenceVariation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassBoundedRoi: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCareProvision: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCategory: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCdaLevelOneClinicalDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalTrial: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalTrialTimepointEvent: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCluster: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCompositeOrder: {} + http://terminology.hl7.org/ValueSet/v3-ActClassComposition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConcern: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCondition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConditionNode: {} + http://terminology.hl7.org/ValueSet/v3-ActClassConsent: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContainer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContainerRegistration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassContract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassControlAct: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCorrelatedObservationSequences: {} + http://terminology.hl7.org/ValueSet/v3-ActClassCoverage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDetectedIssue: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDeterminantPeptide: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDiagnosticImage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDiet: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDisciplinaryAction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocumentBody: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocumentSection: {} + http://terminology.hl7.org/ValueSet/v3-ActClassElectronicHealthRecord: {} + http://terminology.hl7.org/ValueSet/v3-ActClassEncounter: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExpressionLevel: {} + http://terminology.hl7.org/ValueSet/v3-ActClassExtract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialAdjudication: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialContract: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFinancialTransaction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassFolder: {} + http://terminology.hl7.org/ValueSet/v3-ActClassGenomicObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassGrouper: {} + http://terminology.hl7.org/ValueSet/v3-ActClassIncident: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInform: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInformation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInvoiceElement: {} + http://terminology.hl7.org/ValueSet/v3-ActClassJurisdictionalPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassLeftLateralDecubitus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassLocus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassMonitoringProgram: {} + http://terminology.hl7.org/ValueSet/v3-ActClassObservationSeries: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOrganizationalPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOutbreak: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOutbreak2: {} + http://terminology.hl7.org/ValueSet/v3-ActClassOverlayRoi: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPhenotype: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPolypeptide: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPositionAccuracy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPositionCoordinate: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProcessStep: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProne: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPublicHealthCase: {} + http://terminology.hl7.org/ValueSet/v3-ActClassPublicHealthCase2: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRegistration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassReverseTrendelenburg: {} + http://terminology.hl7.org/ValueSet/v3-ActClassReview: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRightLateralDecubitus: {} + http://terminology.hl7.org/ValueSet/v3-ActClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-ActClassScopeOfPracticePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSemiFowlers: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSitting: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenCollection: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSpecimenTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStandardOfPracticePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStanding: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStateTransitionControl: {} + http://terminology.hl7.org/ValueSet/v3-ActClassStorage: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubjectBodyPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubjectPhysicalPosition: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstanceAdministration: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstanceExtraction: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSubstitution: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSupine: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTopic: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransfer: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransmissionExposure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTransportation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassTrendelenburg: {} + http://terminology.hl7.org/ValueSet/v3-ActClassVerification: {} + http://terminology.hl7.org/ValueSet/v3-ActClassWorkingList: {} + http://terminology.hl7.org/ValueSet/v3-ActCodeProcessStep: {} + http://terminology.hl7.org/ValueSet/v3-ActConditionList: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentDirectiveType: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentInformationAccessOverrideReason: {} + http://terminology.hl7.org/ValueSet/v3-ActContainerRegistrationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActControlVariable: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageAssessmentObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageAuthorizationConfirmationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageConfirmationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageLimitCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageMaximaCodes: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageQuantityLimitCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageReason: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareProvisionPersonCode: {} + http://terminology.hl7.org/ValueSet/v3-ActCredentialedCareProvisionProgramCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDetectedIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActDietCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEmergencyEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEncounterAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActExposureCode: {} + http://terminology.hl7.org/ValueSet/v3-ActFieldEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActFinancialStatusObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ActFinancialTransactionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActHealthInformationManagementReason: {} + http://terminology.hl7.org/ValueSet/v3-ActHealthInsuranceTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActHomeHealthEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActIneligibilityReason: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccess: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccessCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationAccessContextCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationCategoryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActInformationTransferCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInjuryCodeCSA: {} + http://terminology.hl7.org/ValueSet/v3-ActInpatientEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInsurancePolicyCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInsuranceTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceAdjudicationPaymentSummaryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailClinicalProductCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailDrugProductCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericAdjudicatorCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericModifierCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailGenericProviderCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailPreferredAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceDetailTaxCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementSummaryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceInterGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceOverrideCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoicePaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceRootGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicalServiceCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicationList: {} + http://terminology.hl7.org/ValueSet/v3-ActMedicationTherapyDurationWorkingListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMonitoringProtocolCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodActRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodAppointment: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodAppointmentRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodCompletionTrack: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodCriterion: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodDefinition: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodDesire: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodEventCriterion: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodEventOccurrence: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodExpectation: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodOption: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPermission: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPermissionRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPotential: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPromise: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodProposal: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRecommendation: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodResourceSlot: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodRisk: {} + http://terminology.hl7.org/ValueSet/v3-ActNoImmunizationReason: {} + http://terminology.hl7.org/ValueSet/v3-ActNonObservationIndicationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActObservationList: {} + http://terminology.hl7.org/ValueSet/v3-ActObservationVerificationType: {} + http://terminology.hl7.org/ValueSet/v3-ActPatientAnnotationType: {} + http://terminology.hl7.org/ValueSet/v3-ActPatientTransportationModeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActPaymentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActPolicyType: {} + http://terminology.hl7.org/ValueSet/v3-ActPriorityCallback: {} + http://terminology.hl7.org/ValueSet/v3-ActPrivacyLaw: {} + http://terminology.hl7.org/ValueSet/v3-ActPrivacyPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ActProcedureCodeCCI: {} + http://terminology.hl7.org/ValueSet/v3-ActProductAcquisitionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActProgramTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAccounting: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipActiveImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipActProvenance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctCurativeIndication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctiveTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAdjunctMitigation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipArrival: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAssignsName: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipAuthorizedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipBlocks: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointBeginning: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointEntry: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointExit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpointThrough: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCompliesWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsStartOfEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipContainsTimeOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCostTracking: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCoveredBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCurativeIndication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDeparture: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDiagnosis: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocumentHQMF: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocumentProvenance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDocuments: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsAfterStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsBeforeStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsConcurrentWithStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsNearEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEndsNearStarts: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEpisodelink: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipEvaluatesGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExacerbatredBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExcerpt: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipExcerptVerbatim: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasBaseline: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasBoundedSupport: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCharge: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasContinuingObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasContra-indication: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasControlVariable: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCost: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasCredit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasDebit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasExplanation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasFinalObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasGeneralization: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasGoal: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasMember: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasMetadata: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasOption: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPre-condition: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasPreviousInstance: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasQualifier: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasReferenceValues: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasRisk: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasStep: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasSubject: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasSupport: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasTrigger: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasValue: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipICSRInvestigation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIndependentOfTimeOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipInstantiatesMaster: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipInterferedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsAppendage: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsDerivedFrom: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsEtiologyFor: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipIsManifestationOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipItemsLocated: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinDetached: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinExclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinKill: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoinWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipLimitedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMaintenanceTreatment: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMatchesTrigger: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipMitigates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipModifies: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipObjective: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOccurrence: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOutcome: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipOverlapsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPalliates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPassiveImmunizationAgainst: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPosting: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipProphylaxisOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipProvidesEvidenceFor: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReason: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRe-challenge: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRecovery: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReferencesOrder: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRefersTo: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipRelievedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReplaces: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipReverses: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSchedulesRequest: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSequel: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitExclusiveTryOnce: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitExclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitInclusiveTryOnce: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplitInclusiveWait: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartAfterStartOfContainsEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartofEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsAfterStartOfEndsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeOrConcurrentWithEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeOrConcurrentWithStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOfEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsBeforeStartOfEndsWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsConcurrentWith: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsConcurrentWithEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsDuring: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsNearEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsNearStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsWithEndsAfterEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipStartsWithEndsBeforeEndOf: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSucceeds: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSummarizedBy: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSymptomaticRelief: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertains: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsApproximates: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsEnd: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTemporallyPertainsStart: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTransformation: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipTreats: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUpdate: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUpdatesCondition: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipUses: {} + http://terminology.hl7.org/ValueSet/v3-ActResearchInformationAccess: {} + http://terminology.hl7.org/ValueSet/v3-ActShortStayEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecimenTreatmentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsDilutionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsInterferenceCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSpecObsVolumeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusAborted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusAbortedCancelledCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActiveAborted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusActiveSuspendedObsolete: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusHeld: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNew: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusObsolete: {} + http://terminology.hl7.org/ValueSet/v3-ActStatusSuspended: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationImmunizationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSuppliedItemDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ActSupplyFulfillmentRefusalReason: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskClinicalNoteEntryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskClinicalNoteReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskMedicationListReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskMicrobiologyResultsReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskOrderEntryCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskPatientDocumentationCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskPatientInformationReviewCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskRiskAssessmentInstrumentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTherapyDurationWorkingListCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTransportationModeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActVirtualEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-AdditionalLocator: {} + http://terminology.hl7.org/ValueSet/v3-AddressLine: {} + http://terminology.hl7.org/ValueSet/v3-AddressRepresentationUse: {} + http://terminology.hl7.org/ValueSet/v3-AdjudicatedWithAdjustments: {} + http://terminology.hl7.org/ValueSet/v3-AdministrableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-AdministrationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-AdministrationMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-AdministrativeContactRoleType: {} + http://terminology.hl7.org/ValueSet/v3-AdoptedChild: {} + http://terminology.hl7.org/ValueSet/v3-AerosolDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-AgeDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-AgeGroupObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-Aleut: {} + http://terminology.hl7.org/ValueSet/v3-Algic: {} + http://terminology.hl7.org/ValueSet/v3-Algonquian: {} + http://terminology.hl7.org/ValueSet/v3-AlgorithmicDecisionObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-AllergyStatus: {} + http://terminology.hl7.org/ValueSet/v3-AllergyTestValue: {} + http://terminology.hl7.org/ValueSet/v3-Ambulance: {} + http://terminology.hl7.org/ValueSet/v3-AmbulanceHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-AmnioticFluidSacRoute: {} + http://terminology.hl7.org/ValueSet/v3-AnnotationType: {} + http://terminology.hl7.org/ValueSet/v3-Apachean: {} + http://terminology.hl7.org/ValueSet/v3-ApplicationMediaType: {} + http://terminology.hl7.org/ValueSet/v3-AppropriatenessDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Arapahoan: {} + http://terminology.hl7.org/ValueSet/v3-ArapahoGrosVentre: {} + http://terminology.hl7.org/ValueSet/v3-ArtificialDentition: {} + http://terminology.hl7.org/ValueSet/v3-AskedButUnknown: {} + http://terminology.hl7.org/ValueSet/v3-AssignedNonPersonLivingSubjectRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Athapaskan: {} + http://terminology.hl7.org/ValueSet/v3-AthapaskanEyak: {} + http://terminology.hl7.org/ValueSet/v3-AudioMediaType: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizationIssueManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizedParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-AuthorizedReceiverParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-AutomobileInsurancePolicy: {} + http://terminology.hl7.org/ValueSet/v3-BarDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-BarSoapDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-BiliaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-BindingRealm: {} + http://terminology.hl7.org/ValueSet/v3-BiotherapeuticNon-personLivingSubjectRoleType: {} + http://terminology.hl7.org/ValueSet/v3-BlisterPackEntityType: {} + http://terminology.hl7.org/ValueSet/v3-BodySurfaceRoute: {} + http://terminology.hl7.org/ValueSet/v3-BottleEntityType: {} + http://terminology.hl7.org/ValueSet/v3-BuccalMucosaRoute: {} + http://terminology.hl7.org/ValueSet/v3-BuccalTablet: {} + http://terminology.hl7.org/ValueSet/v3-BuildingNumber: {} + http://terminology.hl7.org/ValueSet/v3-Caddoan: {} + http://terminology.hl7.org/ValueSet/v3-Cahitan: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycleOneLetter: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycleTwoLetter: {} + http://terminology.hl7.org/ValueSet/v3-CaliforniaAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-CapsuleDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-CardClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-CaseTransmissionMode: {} + http://terminology.hl7.org/ValueSet/v3-Catawba: {} + http://terminology.hl7.org/ValueSet/v3-CecostomyRoute: {} + http://terminology.hl7.org/ValueSet/v3-CentralAlaskaYukon: {} + http://terminology.hl7.org/ValueSet/v3-CentralMuskogean: {} + http://terminology.hl7.org/ValueSet/v3-CentralNumic: {} + http://terminology.hl7.org/ValueSet/v3-CentralSalish: {} + http://terminology.hl7.org/ValueSet/v3-CervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-Chew: {} + http://terminology.hl7.org/ValueSet/v3-Child: {} + http://terminology.hl7.org/ValueSet/v3-ChildInLaw: {} + http://terminology.hl7.org/ValueSet/v3-Chimakuan: {} + http://terminology.hl7.org/ValueSet/v3-Chinookan: {} + http://terminology.hl7.org/ValueSet/v3-ChiwereWinnebago: {} + http://terminology.hl7.org/ValueSet/v3-ChronicCareFacility: {} + http://terminology.hl7.org/ValueSet/v3-CitizenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ClaimantCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ClassNullFlavor: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchEventReason: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchObservationReason: {} + http://terminology.hl7.org/ValueSet/v3-ClinicalResearchReason: {} + http://terminology.hl7.org/ValueSet/v3-CochimiYuman: {} + http://terminology.hl7.org/ValueSet/v3-CodeIsNotValid: {} + http://terminology.hl7.org/ValueSet/v3-CodeSystem: {} + http://terminology.hl7.org/ValueSet/v3-CodeSystemType: {} + http://terminology.hl7.org/ValueSet/v3-CombinedPharmacyOrderSuspendReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-ComplianceAlert: {} + http://terminology.hl7.org/ValueSet/v3-ComplianceDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-CompliancePackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-CompositeMeasureScoring: {} + http://terminology.hl7.org/ValueSet/v3-ConceptPropertyId: {} + http://terminology.hl7.org/ValueSet/v3-Conditional: {} + http://terminology.hl7.org/ValueSet/v3-ConditionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ConfidentialityModifiers: {} + http://terminology.hl7.org/ValueSet/v3-ConsenterParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-ConsultedPrescriberManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-ContactRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-ContextConductionStyle: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditive: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditiveNon-propagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlAdditivePropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlNonPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverriding: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverridingNon-propagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlOverridingPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ContextControlPropagating: {} + http://terminology.hl7.org/ValueSet/v3-ControlActNullificationReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-ControlActNullificationRefusalReasonType: {} + http://terminology.hl7.org/ValueSet/v3-ControlActReason: {} + http://terminology.hl7.org/ValueSet/v3-ControlledSubstanceMonitoringProtocol: {} + http://terminology.hl7.org/ValueSet/v3-Coosan: {} + http://terminology.hl7.org/ValueSet/v3-Country: {} + http://terminology.hl7.org/ValueSet/v3-Country2: {} + http://terminology.hl7.org/ValueSet/v3-CountryEntityType: {} + http://terminology.hl7.org/ValueSet/v3-CoverageEligibilityReason: {} + http://terminology.hl7.org/ValueSet/v3-CoverageLevelObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CoverageLimitObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CoverageParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-CoverageRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CoverageSponsorRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-CreamDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-CreditCard: {} + http://terminology.hl7.org/ValueSet/v3-Cree: {} + http://terminology.hl7.org/ValueSet/v3-CreeMontagnais: {} + http://terminology.hl7.org/ValueSet/v3-CriticalityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-CUI: {} + http://terminology.hl7.org/ValueSet/v3-CUILabel: {} + http://terminology.hl7.org/ValueSet/v3-Cupan: {} + http://terminology.hl7.org/ValueSet/v3-Currency: {} + http://terminology.hl7.org/ValueSet/v3-CVDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Dakotan: {} + http://terminology.hl7.org/ValueSet/v3-DecisionObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedClinicalLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedNonClinicalLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-DedicatedServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Delawaran: {} + http://terminology.hl7.org/ValueSet/v3-DeliveryAddressLine: {} + http://terminology.hl7.org/ValueSet/v3-DeltaCalifornia: {} + http://terminology.hl7.org/ValueSet/v3-DentistHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-DependentCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Dhegiha: {} + http://terminology.hl7.org/ValueSet/v3-DiagnosisICD9CM: {} + http://terminology.hl7.org/ValueSet/v3-DiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Diegueno: {} + http://terminology.hl7.org/ValueSet/v3-Diffusion: {} + http://terminology.hl7.org/ValueSet/v3-DiseaseProgram: {} + http://terminology.hl7.org/ValueSet/v3-DispensableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Dissolve: {} + http://terminology.hl7.org/ValueSet/v3-DocumentStorageActive: {} + http://terminology.hl7.org/ValueSet/v3-DosageProblem: {} + http://terminology.hl7.org/ValueSet/v3-DosageProblemDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationHighDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseDurationLowDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseHighDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseIntervalDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-DoseLowDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Douche: {} + http://terminology.hl7.org/ValueSet/v3-DropsDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-DrugEntity: {} + http://terminology.hl7.org/ValueSet/v3-DuplicateTherapyAlert: {} + http://terminology.hl7.org/ValueSet/v3-EasternAlgonquin: {} + http://terminology.hl7.org/ValueSet/v3-EasternApachean: {} + http://terminology.hl7.org/ValueSet/v3-EasternMiwok: {} + http://terminology.hl7.org/ValueSet/v3-ECGObservationSeriesType: {} + http://terminology.hl7.org/ValueSet/v3-ElectroOsmosisRoute: {} + http://terminology.hl7.org/ValueSet/v3-EligibilityActReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-EmergencyMedicalServiceProviderHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-EmergencyPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-EmploymentStatusUB92: {} + http://terminology.hl7.org/ValueSet/v3-EndocervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-EndocrinologyClinic: {} + http://terminology.hl7.org/ValueSet/v3-Enema: {} + http://terminology.hl7.org/ValueSet/v3-EnteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-EntericCoatedCapsule: {} + http://terminology.hl7.org/ValueSet/v3-EntericCoatedTablet: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassAnimal: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCertificateRepresentation: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassChemicalSubstance: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCityOrTown: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassContainer: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCountry: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassCountyOrParish: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassFood: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassHealthChartEntity: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassHolder: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassImagingModality: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassMaterial: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassMicroorganism: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassNation: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassNonPersonLivingSubject: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPerson: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPlant: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPublicInstitution: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassState: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassStateOrProvince: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDescribedGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDescribedQuantified: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerSpecific: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerSpecificGroup: {} + http://terminology.hl7.org/ValueSet/v3-EntityInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusInactive: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-EpiduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-EPSG-GeodeticParameterDataset: {} + http://terminology.hl7.org/ValueSet/v3-ERPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-EskimoAleut: {} + http://terminology.hl7.org/ValueSet/v3-Eskimoan: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanic: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicCentralAmerican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicMexican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicSouthAmerican: {} + http://terminology.hl7.org/ValueSet/v3-EthnicityHispanicSpaniard: {} + http://terminology.hl7.org/ValueSet/v3-ExpectedSubset: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseCapsule: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseSuspension: {} + http://terminology.hl7.org/ValueSet/v3-ExtendedReleaseTablet: {} + http://terminology.hl7.org/ValueSet/v3-ExtraAmnioticRoute: {} + http://terminology.hl7.org/ValueSet/v3-ExtracorporealCirculationRoute: {} + http://terminology.hl7.org/ValueSet/v3-FirstFillPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-Flush: {} + http://terminology.hl7.org/ValueSet/v3-FoamDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-FontStyle: {} + http://terminology.hl7.org/ValueSet/v3-FosterChild: {} + http://terminology.hl7.org/ValueSet/v3-GasDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-GasLiquidMixture: {} + http://terminology.hl7.org/ValueSet/v3-GasSolidSpray: {} + http://terminology.hl7.org/ValueSet/v3-GastricRoute: {} + http://terminology.hl7.org/ValueSet/v3-GelDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-GeneralAcuteCareHospital: {} + http://terminology.hl7.org/ValueSet/v3-GeneralAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-GenericUpdateReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationType: {} + http://terminology.hl7.org/ValueSet/v3-GeneticObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-GenitourinaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-GIClinicPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-GIDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-GingivalRoute: {} + http://terminology.hl7.org/ValueSet/v3-GrandChild: {} + http://terminology.hl7.org/ValueSet/v3-Grandparent: {} + http://terminology.hl7.org/ValueSet/v3-GreatGrandparent: {} + http://terminology.hl7.org/ValueSet/v3-GregorianCalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-GTIN: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationBase: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidays: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidaysChristianRoman: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationHolidaysUSNational: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviationOther: {} + http://terminology.hl7.org/ValueSet/v3-HairRoute: {} + http://terminology.hl7.org/ValueSet/v3-HalfSibling: {} + http://terminology.hl7.org/ValueSet/v3-HealthCareCommonProcedureCodingSystem: {} + http://terminology.hl7.org/ValueSet/v3-HealthcareServiceLocation: {} + http://terminology.hl7.org/ValueSet/v3-HealthQualityMeasureDocument: {} + http://terminology.hl7.org/ValueSet/v3-HeightSurfaceAreaAlert: {} + http://terminology.hl7.org/ValueSet/v3-HemClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HL7AccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7CalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-HL7FormatCodes: {} + http://terminology.hl7.org/ValueSet/v3-HL7ITSVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7SearchUse: {} + http://terminology.hl7.org/ValueSet/v3-Hokan: {} + http://terminology.hl7.org/ValueSet/v3-HomeAddress: {} + http://terminology.hl7.org/ValueSet/v3-Homeless: {} + http://terminology.hl7.org/ValueSet/v3-HospitalPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HospitalUnitPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-HumanActSite: {} + http://terminology.hl7.org/ValueSet/v3-HumanSubstanceAdministrationSite: {} + http://terminology.hl7.org/ValueSet/v3-ICUPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-IDClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ImageMediaType: {} + http://terminology.hl7.org/ValueSet/v3-immunizationForecastDate: {} + http://terminology.hl7.org/ValueSet/v3-immunizationForecastStatusObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-ImmunizationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-Implantation: {} + http://terminology.hl7.org/ValueSet/v3-IncidentalServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualCaseSafetyReportType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualInsuredCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-IndividualPackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-IndustryClassificationSystem: {} + http://terminology.hl7.org/ValueSet/v3-Infusion: {} + http://terminology.hl7.org/ValueSet/v3-InhalantDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Inhalation: {} + http://terminology.hl7.org/ValueSet/v3-InhalerMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-Injection: {} + http://terminology.hl7.org/ValueSet/v3-InjectionMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-Insertion: {} + http://terminology.hl7.org/ValueSet/v3-Instillation: {} + http://terminology.hl7.org/ValueSet/v3-Institution: {} + http://terminology.hl7.org/ValueSet/v3-InteractionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-InterameningealRoute: {} + http://terminology.hl7.org/ValueSet/v3-InteriorSalish: {} + http://terminology.hl7.org/ValueSet/v3-InterstitialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraabdominalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraarterialInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntraarterialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraarticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrabronchialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrabursalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracardiacInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntracardiacRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracartilaginousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracaudalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracavernosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracavitaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracerebralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracervicalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracisternalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracornealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronaryInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntracoronaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntracorpusCavernosumRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntradermalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntradiscalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraductalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraduodenalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraepidermalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraepithelialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraesophagealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntragastricRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrailealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntralesionalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraluminalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntralymphaticRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntramedullaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntramuscularInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntramuscularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraocularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraosseousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraovarianRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapericardialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraperitonealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapleuralRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraprostaticRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrapulmonaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasinalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraspinalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasternalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrasynovialRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratendinousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratesticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrathecalRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrathoracicRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratrachealRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratubularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratumorRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntratympanicRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntrauterineRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravascularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousInfusion: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousInjection: {} + http://terminology.hl7.org/ValueSet/v3-IntravenousRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntraventricularRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravesicleRoute: {} + http://terminology.hl7.org/ValueSet/v3-IntravitrealRoute: {} + http://terminology.hl7.org/ValueSet/v3-InuitInupiaq: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementAdjudicated: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementPaid: {} + http://terminology.hl7.org/ValueSet/v3-InvoiceElementSubmitted: {} + http://terminology.hl7.org/ValueSet/v3-IontophoresisRoute: {} + http://terminology.hl7.org/ValueSet/v3-Iroquoian: {} + http://terminology.hl7.org/ValueSet/v3-Irrigation: {} + http://terminology.hl7.org/ValueSet/v3-IrrigationSolution: {} + http://terminology.hl7.org/ValueSet/v3-IssueFilterCode: {} + http://terminology.hl7.org/ValueSet/v3-JejunumRoute: {} + http://terminology.hl7.org/ValueSet/v3-Kalapuyan: {} + http://terminology.hl7.org/ValueSet/v3-Keresan: {} + http://terminology.hl7.org/ValueSet/v3-KiowaTanoan: {} + http://terminology.hl7.org/ValueSet/v3-KitEntityType: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubjectObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubjectObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubtopicObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-KnowledgeSubtopicObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-KoyukonIngalik: {} + http://terminology.hl7.org/ValueSet/v3-KutchinHan: {} + http://terminology.hl7.org/ValueSet/v3-LaboratoryObservationSubtype: {} + http://terminology.hl7.org/ValueSet/v3-LabResultReportingProcessStepCode: {} + http://terminology.hl7.org/ValueSet/v3-LabResultTriggerEvents: {} + http://terminology.hl7.org/ValueSet/v3-LabSpecimenCollectionProviders: {} + http://terminology.hl7.org/ValueSet/v3-LacrimalPunctaRoute: {} + http://terminology.hl7.org/ValueSet/v3-LaryngealRoute: {} + http://terminology.hl7.org/ValueSet/v3-LavageRoute: {} + http://terminology.hl7.org/ValueSet/v3-LengthOutOfRange: {} + http://terminology.hl7.org/ValueSet/v3-LifeInsurancePolicy: {} + http://terminology.hl7.org/ValueSet/v3-LineAccessMedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-LingualRoute: {} + http://terminology.hl7.org/ValueSet/v3-Liquid: {} + http://terminology.hl7.org/ValueSet/v3-LiquidCleanser: {} + http://terminology.hl7.org/ValueSet/v3-LiquidLiquidEmulsion: {} + http://terminology.hl7.org/ValueSet/v3-LiquidSolidSuspension: {} + http://terminology.hl7.org/ValueSet/v3-ListStyle: {} + http://terminology.hl7.org/ValueSet/v3-LivingSubjectProductionClass: {} + http://terminology.hl7.org/ValueSet/v3-Loan: {} + http://terminology.hl7.org/ValueSet/v3-LogicalObservationIdentifierNamesAndCodes: {} + http://terminology.hl7.org/ValueSet/v3-LoincDocumentOntologyInternational: {} + http://terminology.hl7.org/ValueSet/v3-LOINCObservationActContextAgeDefinitionCode: {} + http://terminology.hl7.org/ValueSet/v3-LOINCObservationActContextAgeType: {} + http://terminology.hl7.org/ValueSet/v3-LotionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Maiduan: {} + http://terminology.hl7.org/ValueSet/v3-ManagedCarePolicy: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-ManufacturerModelNameExample: {} + http://terminology.hl7.org/ValueSet/v3-MaterialDangerInfectious: {} + http://terminology.hl7.org/ValueSet/v3-MaterialDangerInflammable: {} + http://terminology.hl7.org/ValueSet/v3-MaterialEntityClassType: {} + http://terminology.hl7.org/ValueSet/v3-materialForm: {} + http://terminology.hl7.org/ValueSet/v3-MediaType: {} + http://terminology.hl7.org/ValueSet/v3-MedicalDevice: {} + http://terminology.hl7.org/ValueSet/v3-MedicationCap: {} + http://terminology.hl7.org/ValueSet/v3-MedicationGeneralizationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-MedicationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-MedicationOrderAbortReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-MedicationOrderReleaseReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-MedOncClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-MemberRoleType: {} + http://terminology.hl7.org/ValueSet/v3-MilitaryHospital: {} + http://terminology.hl7.org/ValueSet/v3-MississippiValley: {} + http://terminology.hl7.org/ValueSet/v3-MissouriRiver: {} + http://terminology.hl7.org/ValueSet/v3-Miwokan: {} + http://terminology.hl7.org/ValueSet/v3-MobileUnit: {} + http://terminology.hl7.org/ValueSet/v3-MobilityImpaired: {} + http://terminology.hl7.org/ValueSet/v3-ModelMediaType: {} + http://terminology.hl7.org/ValueSet/v3-ModifyPrescriptionReasonType: {} + http://terminology.hl7.org/ValueSet/v3-MucosalAbsorptionRoute: {} + http://terminology.hl7.org/ValueSet/v3-MucousMembraneRoute: {} + http://terminology.hl7.org/ValueSet/v3-MultipartMediaType: {} + http://terminology.hl7.org/ValueSet/v3-MultiUseContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Muskogean: {} + http://terminology.hl7.org/ValueSet/v3-Nadene: {} + http://terminology.hl7.org/ValueSet/v3-NailRoute: {} + http://terminology.hl7.org/ValueSet/v3-NameLegalUse: {} + http://terminology.hl7.org/ValueSet/v3-NasalInhalation: {} + http://terminology.hl7.org/ValueSet/v3-NasalRoute: {} + http://terminology.hl7.org/ValueSet/v3-NationEntityType: {} + http://terminology.hl7.org/ValueSet/v3-NativeEntityAlaska: {} + http://terminology.hl7.org/ValueSet/v3-NativeEntityContiguous: {} + http://terminology.hl7.org/ValueSet/v3-NaturalChild: {} + http://terminology.hl7.org/ValueSet/v3-NaturalParent: {} + http://terminology.hl7.org/ValueSet/v3-NaturalSibling: {} + http://terminology.hl7.org/ValueSet/v3-Nebulization: {} + http://terminology.hl7.org/ValueSet/v3-NebulizationInhalation: {} + http://terminology.hl7.org/ValueSet/v3-NephClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-NieceNephew: {} + http://terminology.hl7.org/ValueSet/v3-NoInformation: {} + http://terminology.hl7.org/ValueSet/v3-NonDrugAgentEntity: {} + http://terminology.hl7.org/ValueSet/v3-NonRigidContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Nootkan: {} + http://terminology.hl7.org/ValueSet/v3-NorthernCaddoan: {} + http://terminology.hl7.org/ValueSet/v3-NorthernIroquoian: {} + http://terminology.hl7.org/ValueSet/v3-NUCCProviderCodes: {} + http://terminology.hl7.org/ValueSet/v3-Numic: {} + http://terminology.hl7.org/ValueSet/v3-NursingOrCustodialCarePracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ObservationActContextAgeGroupType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationActContextAgeType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAlert: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAllergyType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationAssetValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCoordinateAxisType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCoordinateSystemType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDiagnosisTypes: {} + http://terminology.hl7.org/ValueSet/v3-ObservationDrugIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationEligibilityIndicatorValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationEnvironmentalIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationFoodIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationHealthStatusValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIncomeValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationChange: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationDetected: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationExceptions: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationExpectation: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormality: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityAbnormal: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityCriticallyAbnormal: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityHigh: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationNormalityLow: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationOustsideThreshold: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationProtocolInclusion: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretationSusceptibility: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationIssueTriggerCodedObservationType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingDependencyValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingExpenseValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationLivingSituationValue: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureCountableItems: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureScoring: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMeasureType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMethodAggregate: {} + http://terminology.hl7.org/ValueSet/v3-ObservationNonAllergyIntoleranceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationPopulationInclusion: {} + http://terminology.hl7.org/ValueSet/v3-ObservationQualityMeasureAttribute: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSequenceType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSeriesType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationSocioEconomicStatusValue: {} + http://terminology.hl7.org/ValueSet/v3-OilDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-OintmentDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Ojibwayan: {} + http://terminology.hl7.org/ValueSet/v3-OphthalmicRoute: {} + http://terminology.hl7.org/ValueSet/v3-OralCapsule: {} + http://terminology.hl7.org/ValueSet/v3-OralInhalation: {} + http://terminology.hl7.org/ValueSet/v3-OralRoute: {} + http://terminology.hl7.org/ValueSet/v3-OralSolution: {} + http://terminology.hl7.org/ValueSet/v3-OralSuspension: {} + http://terminology.hl7.org/ValueSet/v3-OralTablet: {} + http://terminology.hl7.org/ValueSet/v3-OrderableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-OrderedListStyle: {} + http://terminology.hl7.org/ValueSet/v3-OregonAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationEntityType: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationIndustryClassNAICS: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationNamePartQualifier: {} + http://terminology.hl7.org/ValueSet/v3-OrganizationNameUse: {} + http://terminology.hl7.org/ValueSet/v3-OromucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-OropharyngealRoute: {} + http://terminology.hl7.org/ValueSet/v3-OrthoClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Other: {} + http://terminology.hl7.org/ValueSet/v3-OtherActionTakenManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-OticRoute: {} + http://terminology.hl7.org/ValueSet/v3-OutpatientFacilityPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-OverriderParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-PacificCoastAthapaskan: {} + http://terminology.hl7.org/ValueSet/v3-PackageEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PadDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Pai: {} + http://terminology.hl7.org/ValueSet/v3-Palaihnihan: {} + http://terminology.hl7.org/ValueSet/v3-ParanasalSinusesRoute: {} + http://terminology.hl7.org/ValueSet/v3-Parent: {} + http://terminology.hl7.org/ValueSet/v3-ParenteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-ParentInLaw: {} + http://terminology.hl7.org/ValueSet/v3-PartialCompletionScale: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAdmitter: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAnalyte: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAncillary: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAttender: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAuthenticator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationAuthorOriginator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationBaby: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationBeneficiary: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCallbackContact: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCatalyst: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCausativeAgent: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationConsultant: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationConsumable: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCoverageTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationCustodian: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDataEntryPerson: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDestination: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDischarger: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDistributor: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationDonor: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationEntryLocation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationEscort: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposureagent: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposureparticipation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposuresource: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationExposuretarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationGuarantorParty: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationHolder: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformant: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationLegalAuthenticator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeElectronicData: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeVerbal: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationModeWritten: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationNon-reuseableDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationOrigin: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationParticipation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPrimaryInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPrimaryPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationProduct: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReceiver: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationRecordTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferredBy: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferredTo: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReferrer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationRemote: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationResponsibleParty: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationReusableDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSecondaryPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSpecimen: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSubset: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDevice: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTracker: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTypeCDASectionOverride: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationUgentNotificationContact: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationVia: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationWitness: {} + http://terminology.hl7.org/ValueSet/v3-PasteDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PastSubset: {} + http://terminology.hl7.org/ValueSet/v3-PatchDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PatientImmunizationRelatedObservationType: {} + http://terminology.hl7.org/ValueSet/v3-PatientProfileQueryReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PayorParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-PayorRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PedsClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-PedsICUPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-PedsPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-Penutian: {} + http://terminology.hl7.org/ValueSet/v3-PerianalRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriarticularRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriduralRoute: {} + http://terminology.hl7.org/ValueSet/v3-PerinealRoute: {} + http://terminology.hl7.org/ValueSet/v3-PerineuralRoute: {} + http://terminology.hl7.org/ValueSet/v3-PeriodontalRoute: {} + http://terminology.hl7.org/ValueSet/v3-PermanentDentition: {} + http://terminology.hl7.org/ValueSet/v3-PersonalAndLegalRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PersonNameUse: {} + http://terminology.hl7.org/ValueSet/v3-PharmacistHIPAA: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyEventAbortReason: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyEventStockReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyRequestFulfillerRevisionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-PharmacySupplyRequestRenewalRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-Pidgin: {} + http://terminology.hl7.org/ValueSet/v3-PillDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PlaceEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PlasticBottleEntityType: {} + http://terminology.hl7.org/ValueSet/v3-PlateauPenutian: {} + http://terminology.hl7.org/ValueSet/v3-PolicyOrProgramCoverageRoleType: {} + http://terminology.hl7.org/ValueSet/v3-Pomoan: {} + http://terminology.hl7.org/ValueSet/v3-PopulationInclusionObservationType: {} + http://terminology.hl7.org/ValueSet/v3-PostalAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-PowderDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-PowerOfAttorney: {} + http://terminology.hl7.org/ValueSet/v3-PrescriptionDispenseFilterCode: {} + http://terminology.hl7.org/ValueSet/v3-PrimaryDentition: {} + http://terminology.hl7.org/ValueSet/v3-PrivacyMark: {} + http://terminology.hl7.org/ValueSet/v3-PrivateResidence: {} + http://terminology.hl7.org/ValueSet/v3-ProgramEligibleCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PublicHealthcareProgram: {} + http://terminology.hl7.org/ValueSet/v3-PulmonaryRoute: {} + http://terminology.hl7.org/ValueSet/v3-QualityMeasureSectionType: {} + http://terminology.hl7.org/ValueSet/v3-QualitySpecimenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-RaceAfricanAmericanAfrican: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanIndianAthabascan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNative: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleut: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutAlutiiq: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutBristolBay: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutChugach: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutKoniag: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeAleutUnangan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeInupiatEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeSiberianEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAlaskanNativeYupikEskimo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianApache: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianArapaho: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianAssiniboineSioux: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCaddo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCahuilla: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCalifornia: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChemakuan: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCherokee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCheyenne: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChickahominy: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChinook: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChippewa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChippewaCree: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChoctaw: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianChumash: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianComanche: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCoushatta: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCreek: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianCupeno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianDelaware: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianDiegueno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianEasternTribes: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianGrosVentres: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianHoopa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianIowa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianIroquois: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKickapoo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKiowa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianKlallam: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianLongIsland: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianLuiseno: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMaidu: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMiami: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianMicmac: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianNavajo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianNorthwestTribes: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianOttawa: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPaiute: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPassamaquoddy: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPawnee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPeoria: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPequot: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPima: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPomo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPonca: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPotawatomi: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPueblo: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianPugetSoundSalish: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSacFox: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSeminole: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSerrano: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShawnee: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShoshone: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianShoshonePaiute: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianSioux: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianTohonoOOdham: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianUmpqua: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianUte: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWampanoag: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWashoe: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianWinnebago: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianYuman: {} + http://terminology.hl7.org/ValueSet/v3-RaceAmericanIndianYurok: {} + http://terminology.hl7.org/ValueSet/v3-RaceAsian: {} + http://terminology.hl7.org/ValueSet/v3-RaceBlackOrAfricanAmerican: {} + http://terminology.hl7.org/ValueSet/v3-RaceCanadianLatinIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceHawaiianOrPacificIsland: {} + http://terminology.hl7.org/ValueSet/v3-RaceNativeAmerican: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandMelanesian: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandMicronesian: {} + http://terminology.hl7.org/ValueSet/v3-RacePacificIslandPolynesian: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndian: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndianTlingit: {} + http://terminology.hl7.org/ValueSet/v3-RaceSoutheastAlaskanIndianTsimshian: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhite: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteArab: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteEuropean: {} + http://terminology.hl7.org/ValueSet/v3-RaceWhiteMiddleEast: {} + http://terminology.hl7.org/ValueSet/v3-RadDiagTherPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ReactionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-ReactionParticipant: {} + http://terminology.hl7.org/ValueSet/v3-ReactivityObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-RectalInstillation: {} + http://terminology.hl7.org/ValueSet/v3-RectalRoute: {} + http://terminology.hl7.org/ValueSet/v3-RefillPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-RefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-RegulationPolicyActCode: {} + http://terminology.hl7.org/ValueSet/v3-RehabilitationHospital: {} + http://terminology.hl7.org/ValueSet/v3-RelatedReactionDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-RepetitionsOutOfRange: {} + http://terminology.hl7.org/ValueSet/v3-ResearchSubjectRoleBasis: {} + http://terminology.hl7.org/ValueSet/v3-ResidentialTreatmentPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-ResourceGroupEntityType: {} + http://terminology.hl7.org/ValueSet/v3-RespiratoryTractRoute: {} + http://terminology.hl7.org/ValueSet/v3-ResponsibleParty: {} + http://terminology.hl7.org/ValueSet/v3-RetrobulbarRoute: {} + http://terminology.hl7.org/ValueSet/v3-RheumClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-RigidContainerEntityType: {} + http://terminology.hl7.org/ValueSet/v3-Rinse: {} + http://terminology.hl7.org/ValueSet/v3-Ritwan: {} + http://terminology.hl7.org/ValueSet/v3-River: {} + http://terminology.hl7.org/ValueSet/v3-ROIOverlayShape: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAccess: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientMoietyBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveIngredientReferenceBasis: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassActiveMoiety: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdjacency: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdjuvant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAdministerableMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAffiliate: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAliquot: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassBase: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassBirthplace: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCaregiver: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCaseSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassChild: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCitizen: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClaimant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClinicalResearchInvestigator: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassClinicalResearchSponsor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassColorAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCommissioningParty: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassConnection: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContactCode: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContaminantIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassContinuity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCoverageSponsor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCoveredParty: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassCredentialedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDedicatedServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDependent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassDistributedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEmergencyContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEmployee: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEquivalentEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassEventLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposureAgentCarrier: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassExposureVector: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassFlavorAdditive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassFomite: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassGuarantor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassGuardian: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHasGeneric: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHealthcareProvider: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHealthChart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassHeldEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassICSRInvestigationSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIdentifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInactiveIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIncidentalServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIndividual: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIngredientEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInstance: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInvestigationSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassInvoicePayor: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIsolate: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassIsSpeciesEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassLicensedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassLocatedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMaintainedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassManagedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMechanicalIngredient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMember: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMilitaryPerson: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularBond: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularFeatures: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMolecularPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNamedInsured: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNextOfKin: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNotaryPublic: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNurse: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassNursePractitioner: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassOntological: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassOwnedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPatient: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPayee: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPersonalRelationship: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPhysician: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPhysicianAssistant: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPlaceOfDeath: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPolicyHolder: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPreservative: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassProductRelated: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassProgramEligible: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassQualifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRegulatedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassResearchSubject: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRetailedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSame: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSigningAuthorityOrOfficer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStabilizer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStoredEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassStudent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubscriber: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubstancePresence: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubsumedBy: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSubsumer: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassTerritoryOfAuthority: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassTherapeuticAgent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassUnderwriter: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassUsedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassWarrantedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleInformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasContact: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasDirectAuthorityOver: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasIndirectAuthorityOver: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkHasPart: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkIdentification: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkIsBackupFor: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkRelated: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkReplaces: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusCompleted: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-RoleLocationIdentifiedEntity: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusActive: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusCancelled: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusNormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusNullified: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusPending: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusSuspended: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatusTerminated: {} + http://terminology.hl7.org/ValueSet/v3-RouteByMethod: {} + http://terminology.hl7.org/ValueSet/v3-RouteBySite: {} + http://terminology.hl7.org/ValueSet/v3-Sahaptian: {} + http://terminology.hl7.org/ValueSet/v3-Salishan: {} + http://terminology.hl7.org/ValueSet/v3-SaukFoxKickapoo: {} + http://terminology.hl7.org/ValueSet/v3-ScalpRoute: {} + http://terminology.hl7.org/ValueSet/v3-SCDHEC-GISSpatialAccuracyTiers: {} + http://terminology.hl7.org/ValueSet/v3-SchedulingActReason: {} + http://terminology.hl7.org/ValueSet/v3-SecurityAlterationIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityAlterationIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityCategoryObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityCategoryObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityClassificationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityClassificationObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityControlObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityDataIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityDataIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityConfidenceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityConfidenceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceAssertedByObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceAssertedByObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceReportedByObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityProvenanceReportedByObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityStatusObservation: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityStatusObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityLabelMark: {} + http://terminology.hl7.org/ValueSet/v3-SecurityLabelMarkLabel: {} + http://terminology.hl7.org/ValueSet/v3-SecurityObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAccreditationObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAccreditationObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAgreementObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAgreementObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAssuranceObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustAssuranceObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustCertificateObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustCertificateObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustFrameworkObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustFrameworkObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustMechanismObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustMechanismObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustObservationType: {} + http://terminology.hl7.org/ValueSet/v3-SecurityTrustObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SerranoGabrielino: {} + http://terminology.hl7.org/ValueSet/v3-SeverityObservationCode: {} + http://terminology.hl7.org/ValueSet/v3-Shasta: {} + http://terminology.hl7.org/ValueSet/v3-Sibling: {} + http://terminology.hl7.org/ValueSet/v3-SiblingInLaw: {} + http://terminology.hl7.org/ValueSet/v3-SignificantOtherRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SinusUnspecifiedRoute: {} + http://terminology.hl7.org/ValueSet/v3-Siouan: {} + http://terminology.hl7.org/ValueSet/v3-SiouanCatawba: {} + http://terminology.hl7.org/ValueSet/v3-SirenikskiYupik: {} + http://terminology.hl7.org/ValueSet/v3-SkinRoute: {} + http://terminology.hl7.org/ValueSet/v3-SnodentAnteriorInterarchDeviationTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentCraniofacialAnomalyInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalAbnormalityInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalFrenumRegionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalPeriodontalProbingPositionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalToothFurcationSiteInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalToothMobilityMillerClassificationInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentalUniversalNumberingSystemInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentDentitionStateInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentJawTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOralCavityAreaInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOrthodonticDiagnosticFeatureInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentOrthodonticTreatmentPreconditionInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentPosteriorInterarchDeviationTypeInternational: {} + http://terminology.hl7.org/ValueSet/v3-SnodentSalzmannInterarchDeviationMaxillaryToothInternational: {} + http://terminology.hl7.org/ValueSet/v3-SoftTissueRoute: {} + http://terminology.hl7.org/ValueSet/v3-SoftwareNameExample: {} + http://terminology.hl7.org/ValueSet/v3-SolidDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SolutionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SouthernAlaska: {} + http://terminology.hl7.org/ValueSet/v3-SouthernCaddoan: {} + http://terminology.hl7.org/ValueSet/v3-SouthernNumic: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenAdditiveEntity: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenEntityType: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SponsorParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-Spouse: {} + http://terminology.hl7.org/ValueSet/v3-StatusRevisionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-StepChild: {} + http://terminology.hl7.org/ValueSet/v3-StepParent: {} + http://terminology.hl7.org/ValueSet/v3-StepSibling: {} + http://terminology.hl7.org/ValueSet/v3-StreetAddressLine: {} + http://terminology.hl7.org/ValueSet/v3-StreetName: {} + http://terminology.hl7.org/ValueSet/v3-StudentRoleType: {} + http://terminology.hl7.org/ValueSet/v3-StyleType: {} + http://terminology.hl7.org/ValueSet/v3-SubarachnoidRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubconjunctivalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubcutaneousRoute: {} + http://terminology.hl7.org/ValueSet/v3-SublesionalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SublingualRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubmucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-SubscriberCoveredPartyRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SubsidizedHealthProgram: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminGenericSubstitution: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdministrationPermissionRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionNotAllowedReason: {} + http://terminology.hl7.org/ValueSet/v3-SupernumeraryTooth: {} + http://terminology.hl7.org/ValueSet/v3-SupplyAppropriateManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-SupplyDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-SupplyOrderAbortReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-SuppositoryDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SuppositoryRoute: {} + http://terminology.hl7.org/ValueSet/v3-SurgClinPracticeSetting: {} + http://terminology.hl7.org/ValueSet/v3-SusceptibilityObservationMethodType: {} + http://terminology.hl7.org/ValueSet/v3-SuspensionDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-SwabDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Swish: {} + http://terminology.hl7.org/ValueSet/v3-TableRuleStyle: {} + http://terminology.hl7.org/ValueSet/v3-TabletDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-Takelman: {} + http://terminology.hl7.org/ValueSet/v3-Takic: {} + http://terminology.hl7.org/ValueSet/v3-Tanana: {} + http://terminology.hl7.org/ValueSet/v3-TananaTutchone: {} + http://terminology.hl7.org/ValueSet/v3-Taracahitan: {} + http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse: {} + http://terminology.hl7.org/ValueSet/v3-Tepiman: {} + http://terminology.hl7.org/ValueSet/v3-TextMediaType: {} + http://terminology.hl7.org/ValueSet/v3-TherapeuticProductDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-TherapyAppropriateManagementCode: {} + http://terminology.hl7.org/ValueSet/v3-TimingDetectedIssueCode: {} + http://terminology.hl7.org/ValueSet/v3-Tiwa: {} + http://terminology.hl7.org/ValueSet/v3-TopicalAbsorptionRoute: {} + http://terminology.hl7.org/ValueSet/v3-TopicalApplication: {} + http://terminology.hl7.org/ValueSet/v3-TopicalPowder: {} + http://terminology.hl7.org/ValueSet/v3-TopicalSolution: {} + http://terminology.hl7.org/ValueSet/v3-TracheostomyRoute: {} + http://terminology.hl7.org/ValueSet/v3-Transdermal: {} + http://terminology.hl7.org/ValueSet/v3-TransdermalPatch: {} + http://terminology.hl7.org/ValueSet/v3-Transfer: {} + http://terminology.hl7.org/ValueSet/v3-TransferActReason: {} + http://terminology.hl7.org/ValueSet/v3-TransmucosalRoute: {} + http://terminology.hl7.org/ValueSet/v3-TransplacentalRoute: {} + http://terminology.hl7.org/ValueSet/v3-TranstrachealRoute: {} + http://terminology.hl7.org/ValueSet/v3-TranstympanicRoute: {} + http://terminology.hl7.org/ValueSet/v3-TriggerEventID: {} + http://terminology.hl7.org/ValueSet/v3-TrustPolicy: {} + http://terminology.hl7.org/ValueSet/v3-Tsamosan: {} + http://terminology.hl7.org/ValueSet/v3-Tsimshianic: {} + http://terminology.hl7.org/ValueSet/v3-tst0272: {} + http://terminology.hl7.org/ValueSet/v3-tst0275a: {} + http://terminology.hl7.org/ValueSet/v3-tst0280: {} + http://terminology.hl7.org/ValueSet/v3-UnderwriterParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-UnitsOfMeasureCaseSensitive: {} + http://terminology.hl7.org/ValueSet/v3-Unknown: {} + http://terminology.hl7.org/ValueSet/v3-UnorderedListStyle: {} + http://terminology.hl7.org/ValueSet/v3-UNSPSC: {} + http://terminology.hl7.org/ValueSet/v3-UPC: {} + http://terminology.hl7.org/ValueSet/v3-UpdateRefusalReasonCode: {} + http://terminology.hl7.org/ValueSet/v3-UpperChinook: {} + http://terminology.hl7.org/ValueSet/v3-UreteralRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrethralRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryBladderIrrigation: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryBladderRoute: {} + http://terminology.hl7.org/ValueSet/v3-UrinaryTractRoute: {} + http://terminology.hl7.org/ValueSet/v3-URLScheme: {} + http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition: {} + http://terminology.hl7.org/ValueSet/v3-USEncounterReferralSource: {} + http://terminology.hl7.org/ValueSet/v3-Utian: {} + http://terminology.hl7.org/ValueSet/v3-UtoAztecan: {} + http://terminology.hl7.org/ValueSet/v3-VaccineEntityType: {} + http://terminology.hl7.org/ValueSet/v3-VaccineType: {} + http://terminology.hl7.org/ValueSet/v3-VaginalCream: {} + http://terminology.hl7.org/ValueSet/v3-VaginalFoam: {} + http://terminology.hl7.org/ValueSet/v3-VaginalGel: {} + http://terminology.hl7.org/ValueSet/v3-VaginalOintment: {} + http://terminology.hl7.org/ValueSet/v3-VaginalRoute: {} + http://terminology.hl7.org/ValueSet/v3-ValidationIssue: {} + http://terminology.hl7.org/ValueSet/v3-VerificationOutcomeValue: {} + http://terminology.hl7.org/ValueSet/v3-VideoMediaType: {} + http://terminology.hl7.org/ValueSet/v3-VitreousHumourRoute: {} + http://terminology.hl7.org/ValueSet/v3-Wakashan: {} + http://terminology.hl7.org/ValueSet/v3-WeightAlert: {} + http://terminology.hl7.org/ValueSet/v3-WesternApachean: {} + http://terminology.hl7.org/ValueSet/v3-WesternMiwok: {} + http://terminology.hl7.org/ValueSet/v3-WesternMuskogean: {} + http://terminology.hl7.org/ValueSet/v3-WesternNumic: {} + http://terminology.hl7.org/ValueSet/v3-Wintuan: {} + http://terminology.hl7.org/ValueSet/v3-Wiyot: {} + http://terminology.hl7.org/ValueSet/v3-WorkPlace: {} + http://terminology.hl7.org/ValueSet/v3-xAccommodationRequestorRole: {} + http://terminology.hl7.org/ValueSet/v3-xActBillableCode: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionEncounter: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionObservation: {} + http://terminology.hl7.org/ValueSet/v3-xActClassCareProvisionProcedure: {} + http://terminology.hl7.org/ValueSet/v3-xActClassDocumentEntryAct: {} + http://terminology.hl7.org/ValueSet/v3-xActClassDocumentEntryOrganizer: {} + http://terminology.hl7.org/ValueSet/v3-xActEncounterReason: {} + http://terminology.hl7.org/ValueSet/v3-xActFinancialProductAcquisitionCode: {} + http://terminology.hl7.org/ValueSet/v3-xActInvoiceDetailPharmacyCode: {} + http://terminology.hl7.org/ValueSet/v3-xActInvoiceDetailPreferredAccommodationCode: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodCompletionCriterion: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvn: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvnRqo: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDefEvnRqoPrmsPrp: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodDocumentObservation: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodEvnOrdPrmsPrp: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodIntentEvent: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodOrdPrms: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodOrdPrmsEvn: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodPermPermrq: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodRequestEvent: {} + http://terminology.hl7.org/ValueSet/v3-xActMoodRqoPrpAptArq: {} + http://terminology.hl7.org/ValueSet/v3-xActOrderableOrBillable: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipDocument: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipDocumentSPL: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipExternalReference: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipPatientTransport: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipPertinentInfo: {} + http://terminology.hl7.org/ValueSet/v3-xActRelationshipRelatedAuthorizations: {} + http://terminology.hl7.org/ValueSet/v3-xActReplaceOrRevise: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusActiveComplete: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusActiveSuspended: {} + http://terminology.hl7.org/ValueSet/v3-xActStatusPrevious: {} + http://terminology.hl7.org/ValueSet/v3-xAdministeredSubstance: {} + http://terminology.hl7.org/ValueSet/v3-xAdverseEventCausalityAssessmentMethods: {} + http://terminology.hl7.org/ValueSet/v3-xBillableProduct: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementActMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementEncounterMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementExposureMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementObservationMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementProcedureMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementSubstanceMood: {} + http://terminology.hl7.org/ValueSet/v3-xClinicalStatementSupplyMood: {} + http://terminology.hl7.org/ValueSet/v3-xDeterminerInstanceKind: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentActMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentEncounterMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentEntrySubject: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentProcedureMood: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentStatus: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentSubject: {} + http://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterAdmissionUrgency: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterParticipant: {} + http://terminology.hl7.org/ValueSet/v3-xEncounterPerformerParticipation: {} + http://terminology.hl7.org/ValueSet/v3-xEntityClassDocumentReceiving: {} + http://terminology.hl7.org/ValueSet/v3-xEntityClassPersonOrOrgReceiving: {} + http://terminology.hl7.org/ValueSet/v3-xInformationRecipient: {} + http://terminology.hl7.org/ValueSet/v3-xInformationRecipientRole: {} + http://terminology.hl7.org/ValueSet/v3-xLabProcessClassCodes: {} + http://terminology.hl7.org/ValueSet/v3-xMedicationOrImmunization: {} + http://terminology.hl7.org/ValueSet/v3-xMedicine: {} + http://terminology.hl7.org/ValueSet/v3-xOrganizationNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationAuthorPerformer: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationEntVrf: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationPrfEntVrf: {} + http://terminology.hl7.org/ValueSet/v3-xParticipationVrfRespSprfWit: {} + http://terminology.hl7.org/ValueSet/v3-xPayeeRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-xPersonNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-xPhoneOrEmailURLScheme: {} + http://terminology.hl7.org/ValueSet/v3-xPhoneURLScheme: {} + http://terminology.hl7.org/ValueSet/v3-xPhysicalVerbalParticipationMode: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassAccommodationRequestor: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCoverage: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCoverageInvoice: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassCredentialedEntity: {} + http://terminology.hl7.org/ValueSet/v3-xRoleClassPayeePolicyRelationship: {} + http://terminology.hl7.org/ValueSet/v3-xServiceEventPerformer: {} + http://terminology.hl7.org/ValueSet/v3-xSubstitutionConditionNoneOrUnconditional: {} + http://terminology.hl7.org/ValueSet/v3-xSUCCREPLPREV: {} + http://terminology.hl7.org/ValueSet/v3-xVeryBasicConfidentialityKind: {} + http://terminology.hl7.org/ValueSet/v3-Yaqui: {} + http://terminology.hl7.org/ValueSet/v3-Yokuts: {} + http://terminology.hl7.org/ValueSet/v3-Yokutsan: {} + http://terminology.hl7.org/ValueSet/v3-Yukian: {} + http://terminology.hl7.org/ValueSet/v3-Yuman: {} + http://terminology.hl7.org/ValueSet/variable-role: {} + http://terminology.hl7.org/ValueSet/variant-state: {} + http://terminology.hl7.org/ValueSet/verificationresult-can-push-updates: {} + http://terminology.hl7.org/ValueSet/verificationresult-communication-method: {} + http://terminology.hl7.org/ValueSet/verificationresult-failure-action: {} + http://terminology.hl7.org/ValueSet/verificationresult-need: {} + http://terminology.hl7.org/ValueSet/verificationresult-primary-source-type: {} + http://terminology.hl7.org/ValueSet/verificationresult-push-type-available: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-process: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-status: {} + http://terminology.hl7.org/ValueSet/verificationresult-validation-type: {} + http://terminology.hl7.org/ValueSet/vision-product: {} + http://terminology.hl7.org/ValueSet/yes-no-unknown-not-asked: {} + nested: {} + binding: {} + profile: + http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp: {} + http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title: {} + http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry: {} + http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity: {} + logical: {} +hl7.fhir.uv.smart-app-launch: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://hl7.org/fhir/smart-app-launch/ValueSet/smart-launch-info: {} + http://hl7.org/fhir/smart-app-launch/ValueSet/smart-launch-types: {} + http://hl7.org/fhir/smart-app-launch/ValueSet/user-access-category: {} + nested: {} + binding: + http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch#code_binding: {} + http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch#code_binding: {} + profile: + http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic: {} + http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch: {} + http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch: {} + http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brand: {} + http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brands-bundle: {} + http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-endpoint: {} + logical: {} +hl7.fhir.r4.examples: + primitive-type: + http://hl7.org/fhir/StructureDefinition/base64Binary: {} + http://hl7.org/fhir/StructureDefinition/boolean: {} + http://hl7.org/fhir/StructureDefinition/canonical: {} + http://hl7.org/fhir/StructureDefinition/code: {} + http://hl7.org/fhir/StructureDefinition/date: {} + http://hl7.org/fhir/StructureDefinition/dateTime: {} + http://hl7.org/fhir/StructureDefinition/decimal: {} + http://hl7.org/fhir/StructureDefinition/id: {} + http://hl7.org/fhir/StructureDefinition/instant: {} + http://hl7.org/fhir/StructureDefinition/integer: {} + http://hl7.org/fhir/StructureDefinition/markdown: {} + http://hl7.org/fhir/StructureDefinition/oid: {} + http://hl7.org/fhir/StructureDefinition/positiveInt: {} + http://hl7.org/fhir/StructureDefinition/string: {} + http://hl7.org/fhir/StructureDefinition/time: {} + http://hl7.org/fhir/StructureDefinition/unsignedInt: {} + http://hl7.org/fhir/StructureDefinition/uri: {} + http://hl7.org/fhir/StructureDefinition/url: {} + http://hl7.org/fhir/StructureDefinition/uuid: {} + http://hl7.org/fhir/StructureDefinition/xhtml: {} + complex-type: + http://hl7.org/fhir/StructureDefinition/Address: {} + http://hl7.org/fhir/StructureDefinition/Age: {} + http://hl7.org/fhir/StructureDefinition/Annotation: {} + http://hl7.org/fhir/StructureDefinition/Attachment: {} + http://hl7.org/fhir/StructureDefinition/BackboneElement: {} + http://hl7.org/fhir/StructureDefinition/CodeableConcept: {} + http://hl7.org/fhir/StructureDefinition/Coding: {} + http://hl7.org/fhir/StructureDefinition/ContactDetail: {} + http://hl7.org/fhir/StructureDefinition/ContactPoint: {} + http://hl7.org/fhir/StructureDefinition/Contributor: {} + http://hl7.org/fhir/StructureDefinition/Count: {} + http://hl7.org/fhir/StructureDefinition/DataRequirement: {} + http://hl7.org/fhir/StructureDefinition/Distance: {} + http://hl7.org/fhir/StructureDefinition/Dosage: {} + http://hl7.org/fhir/StructureDefinition/Duration: {} + http://hl7.org/fhir/StructureDefinition/Element: {} + http://hl7.org/fhir/StructureDefinition/ElementDefinition: {} + http://hl7.org/fhir/StructureDefinition/Expression: {} + http://hl7.org/fhir/StructureDefinition/Extension: {} + http://hl7.org/fhir/StructureDefinition/HumanName: {} + http://hl7.org/fhir/StructureDefinition/Identifier: {} + http://hl7.org/fhir/StructureDefinition/MarketingStatus: {} + http://hl7.org/fhir/StructureDefinition/Meta: {} + http://hl7.org/fhir/StructureDefinition/Money: {} + http://hl7.org/fhir/StructureDefinition/Narrative: {} + http://hl7.org/fhir/StructureDefinition/ParameterDefinition: {} + http://hl7.org/fhir/StructureDefinition/Period: {} + http://hl7.org/fhir/StructureDefinition/Population: {} + http://hl7.org/fhir/StructureDefinition/ProdCharacteristic: {} + http://hl7.org/fhir/StructureDefinition/ProductShelfLife: {} + http://hl7.org/fhir/StructureDefinition/Quantity: {} + http://hl7.org/fhir/StructureDefinition/Range: {} + http://hl7.org/fhir/StructureDefinition/Ratio: {} + http://hl7.org/fhir/StructureDefinition/Reference: {} + http://hl7.org/fhir/StructureDefinition/RelatedArtifact: {} + http://hl7.org/fhir/StructureDefinition/SampledData: {} + http://hl7.org/fhir/StructureDefinition/Signature: {} + http://hl7.org/fhir/StructureDefinition/SubstanceAmount: {} + http://hl7.org/fhir/StructureDefinition/Timing: {} + http://hl7.org/fhir/StructureDefinition/TriggerDefinition: {} + http://hl7.org/fhir/StructureDefinition/UsageContext: {} + resource: + http://hl7.org/fhir/StructureDefinition/Account: {} + http://hl7.org/fhir/StructureDefinition/ActivityDefinition: {} + http://hl7.org/fhir/StructureDefinition/AdverseEvent: {} + http://hl7.org/fhir/StructureDefinition/AllergyIntolerance: {} + http://hl7.org/fhir/StructureDefinition/Appointment: {} + http://hl7.org/fhir/StructureDefinition/AppointmentResponse: {} + http://hl7.org/fhir/StructureDefinition/AuditEvent: {} + http://hl7.org/fhir/StructureDefinition/Basic: {} + http://hl7.org/fhir/StructureDefinition/Binary: {} + http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct: {} + http://hl7.org/fhir/StructureDefinition/BodyStructure: {} + http://hl7.org/fhir/StructureDefinition/Bundle: {} + http://hl7.org/fhir/StructureDefinition/CapabilityStatement: {} + http://hl7.org/fhir/StructureDefinition/CarePlan: {} + http://hl7.org/fhir/StructureDefinition/CareTeam: {} + http://hl7.org/fhir/StructureDefinition/CatalogEntry: {} + http://hl7.org/fhir/StructureDefinition/ChargeItem: {} + http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition: {} + http://hl7.org/fhir/StructureDefinition/Claim: {} + http://hl7.org/fhir/StructureDefinition/ClaimResponse: {} + http://hl7.org/fhir/StructureDefinition/ClinicalImpression: {} + http://hl7.org/fhir/StructureDefinition/CodeSystem: {} + http://hl7.org/fhir/StructureDefinition/Communication: {} + http://hl7.org/fhir/StructureDefinition/CommunicationRequest: {} + http://hl7.org/fhir/StructureDefinition/CompartmentDefinition: {} + http://hl7.org/fhir/StructureDefinition/Composition: {} + http://hl7.org/fhir/StructureDefinition/ConceptMap: {} + http://hl7.org/fhir/StructureDefinition/Condition: {} + http://hl7.org/fhir/StructureDefinition/Consent: {} + http://hl7.org/fhir/StructureDefinition/Contract: {} + http://hl7.org/fhir/StructureDefinition/Coverage: {} + http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest: {} + http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse: {} + http://hl7.org/fhir/StructureDefinition/DetectedIssue: {} + http://hl7.org/fhir/StructureDefinition/Device: {} + http://hl7.org/fhir/StructureDefinition/DeviceDefinition: {} + http://hl7.org/fhir/StructureDefinition/DeviceMetric: {} + http://hl7.org/fhir/StructureDefinition/DeviceRequest: {} + http://hl7.org/fhir/StructureDefinition/DeviceUseStatement: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport: {} + http://hl7.org/fhir/StructureDefinition/DocumentManifest: {} + http://hl7.org/fhir/StructureDefinition/DocumentReference: {} + http://hl7.org/fhir/StructureDefinition/DomainResource: {} + http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis: {} + http://hl7.org/fhir/StructureDefinition/Encounter: {} + http://hl7.org/fhir/StructureDefinition/Endpoint: {} + http://hl7.org/fhir/StructureDefinition/EnrollmentRequest: {} + http://hl7.org/fhir/StructureDefinition/EnrollmentResponse: {} + http://hl7.org/fhir/StructureDefinition/EpisodeOfCare: {} + http://hl7.org/fhir/StructureDefinition/EventDefinition: {} + http://hl7.org/fhir/StructureDefinition/Evidence: {} + http://hl7.org/fhir/StructureDefinition/EvidenceVariable: {} + http://hl7.org/fhir/StructureDefinition/ExampleScenario: {} + http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit: {} + http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory: {} + http://hl7.org/fhir/StructureDefinition/Flag: {} + http://hl7.org/fhir/StructureDefinition/Goal: {} + http://hl7.org/fhir/StructureDefinition/GraphDefinition: {} + http://hl7.org/fhir/StructureDefinition/Group: {} + http://hl7.org/fhir/StructureDefinition/GuidanceResponse: {} + http://hl7.org/fhir/StructureDefinition/HealthcareService: {} + http://hl7.org/fhir/StructureDefinition/ImagingStudy: {} + http://hl7.org/fhir/StructureDefinition/Immunization: {} + http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation: {} + http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation: {} + http://hl7.org/fhir/StructureDefinition/ImplementationGuide: {} + http://hl7.org/fhir/StructureDefinition/InsurancePlan: {} + http://hl7.org/fhir/StructureDefinition/Invoice: {} + http://hl7.org/fhir/StructureDefinition/Library: {} + http://hl7.org/fhir/StructureDefinition/Linkage: {} + http://hl7.org/fhir/StructureDefinition/List: {} + http://hl7.org/fhir/StructureDefinition/Location: {} + http://hl7.org/fhir/StructureDefinition/Measure: {} + http://hl7.org/fhir/StructureDefinition/MeasureReport: {} + http://hl7.org/fhir/StructureDefinition/Media: {} + http://hl7.org/fhir/StructureDefinition/Medication: {} + http://hl7.org/fhir/StructureDefinition/MedicationAdministration: {} + http://hl7.org/fhir/StructureDefinition/MedicationDispense: {} + http://hl7.org/fhir/StructureDefinition/MedicationKnowledge: {} + http://hl7.org/fhir/StructureDefinition/MedicationRequest: {} + http://hl7.org/fhir/StructureDefinition/MedicationStatement: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProduct: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical: {} + http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect: {} + http://hl7.org/fhir/StructureDefinition/MessageDefinition: {} + http://hl7.org/fhir/StructureDefinition/MessageHeader: {} + http://hl7.org/fhir/StructureDefinition/MolecularSequence: {} + http://hl7.org/fhir/StructureDefinition/NamingSystem: {} + http://hl7.org/fhir/StructureDefinition/NutritionOrder: {} + http://hl7.org/fhir/StructureDefinition/Observation: {} + http://hl7.org/fhir/StructureDefinition/ObservationDefinition: {} + http://hl7.org/fhir/StructureDefinition/OperationDefinition: {} + http://hl7.org/fhir/StructureDefinition/OperationOutcome: {} + http://hl7.org/fhir/StructureDefinition/Organization: {} + http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation: {} + http://hl7.org/fhir/StructureDefinition/Parameters: {} + http://hl7.org/fhir/StructureDefinition/Patient: {} + http://hl7.org/fhir/StructureDefinition/PaymentNotice: {} + http://hl7.org/fhir/StructureDefinition/PaymentReconciliation: {} + http://hl7.org/fhir/StructureDefinition/Person: {} + http://hl7.org/fhir/StructureDefinition/PlanDefinition: {} + http://hl7.org/fhir/StructureDefinition/Practitioner: {} + http://hl7.org/fhir/StructureDefinition/PractitionerRole: {} + http://hl7.org/fhir/StructureDefinition/Procedure: {} + http://hl7.org/fhir/StructureDefinition/Provenance: {} + http://hl7.org/fhir/StructureDefinition/Questionnaire: {} + http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse: {} + http://hl7.org/fhir/StructureDefinition/RelatedPerson: {} + http://hl7.org/fhir/StructureDefinition/RequestGroup: {} + http://hl7.org/fhir/StructureDefinition/ResearchDefinition: {} + http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition: {} + http://hl7.org/fhir/StructureDefinition/ResearchStudy: {} + http://hl7.org/fhir/StructureDefinition/ResearchSubject: {} + http://hl7.org/fhir/StructureDefinition/Resource: {} + http://hl7.org/fhir/StructureDefinition/RiskAssessment: {} + http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis: {} + http://hl7.org/fhir/StructureDefinition/Schedule: {} + http://hl7.org/fhir/StructureDefinition/SearchParameter: {} + http://hl7.org/fhir/StructureDefinition/ServiceRequest: {} + http://hl7.org/fhir/StructureDefinition/Slot: {} + http://hl7.org/fhir/StructureDefinition/Specimen: {} + http://hl7.org/fhir/StructureDefinition/SpecimenDefinition: {} + http://hl7.org/fhir/StructureDefinition/StructureDefinition: {} + http://hl7.org/fhir/StructureDefinition/StructureMap: {} + http://hl7.org/fhir/StructureDefinition/Subscription: {} + http://hl7.org/fhir/StructureDefinition/Substance: {} + http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid: {} + http://hl7.org/fhir/StructureDefinition/SubstancePolymer: {} + http://hl7.org/fhir/StructureDefinition/SubstanceProtein: {} + http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation: {} + http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial: {} + http://hl7.org/fhir/StructureDefinition/SubstanceSpecification: {} + http://hl7.org/fhir/StructureDefinition/SupplyDelivery: {} + http://hl7.org/fhir/StructureDefinition/SupplyRequest: {} + http://hl7.org/fhir/StructureDefinition/Task: {} + http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities: {} + http://hl7.org/fhir/StructureDefinition/TestReport: {} + http://hl7.org/fhir/StructureDefinition/TestScript: {} + http://hl7.org/fhir/StructureDefinition/ValueSet: {} + http://hl7.org/fhir/StructureDefinition/VerificationResult: {} + http://hl7.org/fhir/StructureDefinition/VisionPrescription: {} + value-set: + http://hl7.org/fhir/ValueSet/abstract-types: {} + http://hl7.org/fhir/ValueSet/account-status: {} + http://hl7.org/fhir/ValueSet/account-type: {} + http://hl7.org/fhir/ValueSet/action-cardinality-behavior: {} + http://hl7.org/fhir/ValueSet/action-condition-kind: {} + http://hl7.org/fhir/ValueSet/action-grouping-behavior: {} + http://hl7.org/fhir/ValueSet/action-participant-role: {} + http://hl7.org/fhir/ValueSet/action-participant-type: {} + http://hl7.org/fhir/ValueSet/action-precheck-behavior: {} + http://hl7.org/fhir/ValueSet/action-relationship-type: {} + http://hl7.org/fhir/ValueSet/action-required-behavior: {} + http://hl7.org/fhir/ValueSet/action-selection-behavior: {} + http://hl7.org/fhir/ValueSet/action-type: {} + http://hl7.org/fhir/ValueSet/activity-definition-category: {} + http://hl7.org/fhir/ValueSet/additional-instruction-codes: {} + http://hl7.org/fhir/ValueSet/additionalmaterials: {} + http://hl7.org/fhir/ValueSet/address-type: {} + http://hl7.org/fhir/ValueSet/address-use: {} + http://hl7.org/fhir/ValueSet/adjudication: {} + http://hl7.org/fhir/ValueSet/adjudication-error: {} + http://hl7.org/fhir/ValueSet/adjudication-reason: {} + http://hl7.org/fhir/ValueSet/administration-method-codes: {} + http://hl7.org/fhir/ValueSet/administrative-gender: {} + http://hl7.org/fhir/ValueSet/adverse-event-actuality: {} + http://hl7.org/fhir/ValueSet/adverse-event-category: {} + http://hl7.org/fhir/ValueSet/adverse-event-causality-assess: {} + http://hl7.org/fhir/ValueSet/adverse-event-causality-method: {} + http://hl7.org/fhir/ValueSet/adverse-event-outcome: {} + http://hl7.org/fhir/ValueSet/adverse-event-seriousness: {} + http://hl7.org/fhir/ValueSet/adverse-event-severity: {} + http://hl7.org/fhir/ValueSet/adverse-event-type: {} + http://hl7.org/fhir/ValueSet/age-units: {} + http://hl7.org/fhir/ValueSet/all-distance-units: {} + http://hl7.org/fhir/ValueSet/allelename: {} + http://hl7.org/fhir/ValueSet/allerg-intol-substance-exp-risk: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-category: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-clinical: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-code: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality: {} + http://hl7.org/fhir/ValueSet/allergy-intolerance-type: {} + http://hl7.org/fhir/ValueSet/allergyintolerance-verification: {} + http://hl7.org/fhir/ValueSet/all-languages: {} + http://hl7.org/fhir/ValueSet/all-time-units: {} + http://hl7.org/fhir/ValueSet/all-types: {} + http://hl7.org/fhir/ValueSet/animal-breeds: {} + http://hl7.org/fhir/ValueSet/animal-genderstatus: {} + http://hl7.org/fhir/ValueSet/animal-species: {} + http://hl7.org/fhir/ValueSet/appointment-cancellation-reason: {} + http://hl7.org/fhir/ValueSet/appointmentstatus: {} + http://hl7.org/fhir/ValueSet/approach-site-codes: {} + http://hl7.org/fhir/ValueSet/assert-direction-codes: {} + http://hl7.org/fhir/ValueSet/assert-operator-codes: {} + http://hl7.org/fhir/ValueSet/assert-response-code-types: {} + http://hl7.org/fhir/ValueSet/asset-availability: {} + http://hl7.org/fhir/ValueSet/audit-entity-type: {} + http://hl7.org/fhir/ValueSet/audit-event-action: {} + http://hl7.org/fhir/ValueSet/audit-event-outcome: {} + http://hl7.org/fhir/ValueSet/audit-event-sub-type: {} + http://hl7.org/fhir/ValueSet/audit-event-type: {} + http://hl7.org/fhir/ValueSet/audit-source-type: {} + http://hl7.org/fhir/ValueSet/basic-resource-type: {} + http://hl7.org/fhir/ValueSet/benefit-network: {} + http://hl7.org/fhir/ValueSet/benefit-term: {} + http://hl7.org/fhir/ValueSet/benefit-type: {} + http://hl7.org/fhir/ValueSet/benefit-unit: {} + http://hl7.org/fhir/ValueSet/binding-strength: {} + http://hl7.org/fhir/ValueSet/body-site: {} + http://hl7.org/fhir/ValueSet/bodysite-laterality: {} + http://hl7.org/fhir/ValueSet/bodystructure-code: {} + http://hl7.org/fhir/ValueSet/bodystructure-relative-location: {} + http://hl7.org/fhir/ValueSet/bundle-type: {} + http://hl7.org/fhir/ValueSet/c80-doc-typecodes: {} + http://hl7.org/fhir/ValueSet/c80-facilitycodes: {} + http://hl7.org/fhir/ValueSet/c80-practice-codes: {} + http://hl7.org/fhir/ValueSet/capability-statement-kind: {} + http://hl7.org/fhir/ValueSet/care-plan-activity-kind: {} + http://hl7.org/fhir/ValueSet/care-plan-activity-outcome: {} + http://hl7.org/fhir/ValueSet/care-plan-activity-status: {} + http://hl7.org/fhir/ValueSet/care-plan-category: {} + http://hl7.org/fhir/ValueSet/care-plan-intent: {} + http://hl7.org/fhir/ValueSet/care-team-category: {} + http://hl7.org/fhir/ValueSet/care-team-status: {} + http://hl7.org/fhir/ValueSet/catalogType: {} + http://hl7.org/fhir/ValueSet/cdshooks-indicator: {} + http://hl7.org/fhir/ValueSet/certainty-subcomponent-rating: {} + http://hl7.org/fhir/ValueSet/certainty-subcomponent-type: {} + http://hl7.org/fhir/ValueSet/chargeitem-billingcodes: {} + http://hl7.org/fhir/ValueSet/chargeitem-status: {} + http://hl7.org/fhir/ValueSet/choice-list-orientation: {} + http://hl7.org/fhir/ValueSet/chromosome-human: {} + http://hl7.org/fhir/ValueSet/claim-careteamrole: {} + http://hl7.org/fhir/ValueSet/claim-exception: {} + http://hl7.org/fhir/ValueSet/claim-informationcategory: {} + http://hl7.org/fhir/ValueSet/claim-modifiers: {} + http://hl7.org/fhir/ValueSet/claim-subtype: {} + http://hl7.org/fhir/ValueSet/claim-type: {} + http://hl7.org/fhir/ValueSet/claim-use: {} + http://hl7.org/fhir/ValueSet/clinical-findings: {} + http://hl7.org/fhir/ValueSet/clinicalimpression-prognosis: {} + http://hl7.org/fhir/ValueSet/clinicalimpression-status: {} + http://hl7.org/fhir/ValueSet/clinvar: {} + http://hl7.org/fhir/ValueSet/code-search-support: {} + http://hl7.org/fhir/ValueSet/codesystem-altcode-kind: {} + http://hl7.org/fhir/ValueSet/codesystem-content-mode: {} + http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning: {} + http://hl7.org/fhir/ValueSet/common-tags: {} + http://hl7.org/fhir/ValueSet/communication-category: {} + http://hl7.org/fhir/ValueSet/communication-not-done-reason: {} + http://hl7.org/fhir/ValueSet/communication-topic: {} + http://hl7.org/fhir/ValueSet/compartment-type: {} + http://hl7.org/fhir/ValueSet/composite-measure-scoring: {} + http://hl7.org/fhir/ValueSet/composition-altcode-kind: {} + http://hl7.org/fhir/ValueSet/composition-attestation-mode: {} + http://hl7.org/fhir/ValueSet/composition-status: {} + http://hl7.org/fhir/ValueSet/concept-map-equivalence: {} + http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode: {} + http://hl7.org/fhir/ValueSet/concept-property-type: {} + http://hl7.org/fhir/ValueSet/concept-subsumption-outcome: {} + http://hl7.org/fhir/ValueSet/conditional-delete-status: {} + http://hl7.org/fhir/ValueSet/conditional-read-status: {} + http://hl7.org/fhir/ValueSet/condition-category: {} + http://hl7.org/fhir/ValueSet/condition-cause: {} + http://hl7.org/fhir/ValueSet/condition-clinical: {} + http://hl7.org/fhir/ValueSet/condition-code: {} + http://hl7.org/fhir/ValueSet/condition-outcome: {} + http://hl7.org/fhir/ValueSet/condition-predecessor: {} + http://hl7.org/fhir/ValueSet/condition-severity: {} + http://hl7.org/fhir/ValueSet/condition-stage: {} + http://hl7.org/fhir/ValueSet/condition-stage-type: {} + http://hl7.org/fhir/ValueSet/condition-state: {} + http://hl7.org/fhir/ValueSet/condition-ver-status: {} + http://hl7.org/fhir/ValueSet/conformance-expectation: {} + http://hl7.org/fhir/ValueSet/consent-action: {} + http://hl7.org/fhir/ValueSet/consent-category: {} + http://hl7.org/fhir/ValueSet/consent-content-class: {} + http://hl7.org/fhir/ValueSet/consent-content-code: {} + http://hl7.org/fhir/ValueSet/consent-data-meaning: {} + http://hl7.org/fhir/ValueSet/consent-performer: {} + http://hl7.org/fhir/ValueSet/consent-policy: {} + http://hl7.org/fhir/ValueSet/consent-provision-type: {} + http://hl7.org/fhir/ValueSet/consent-scope: {} + http://hl7.org/fhir/ValueSet/consent-state-codes: {} + http://hl7.org/fhir/ValueSet/consistency-type: {} + http://hl7.org/fhir/ValueSet/constraint-severity: {} + http://hl7.org/fhir/ValueSet/contactentity-type: {} + http://hl7.org/fhir/ValueSet/contact-point-system: {} + http://hl7.org/fhir/ValueSet/contact-point-use: {} + http://hl7.org/fhir/ValueSet/container-cap: {} + http://hl7.org/fhir/ValueSet/container-material: {} + http://hl7.org/fhir/ValueSet/contract-action: {} + http://hl7.org/fhir/ValueSet/contract-actionstatus: {} + http://hl7.org/fhir/ValueSet/contract-actorrole: {} + http://hl7.org/fhir/ValueSet/contract-assetcontext: {} + http://hl7.org/fhir/ValueSet/contract-assetscope: {} + http://hl7.org/fhir/ValueSet/contract-assetsubtype: {} + http://hl7.org/fhir/ValueSet/contract-assettype: {} + http://hl7.org/fhir/ValueSet/contract-content-derivative: {} + http://hl7.org/fhir/ValueSet/contract-data-meaning: {} + http://hl7.org/fhir/ValueSet/contract-decision-mode: {} + http://hl7.org/fhir/ValueSet/contract-definition-subtype: {} + http://hl7.org/fhir/ValueSet/contract-definition-type: {} + http://hl7.org/fhir/ValueSet/contract-expiration-type: {} + http://hl7.org/fhir/ValueSet/contract-legalstate: {} + http://hl7.org/fhir/ValueSet/contract-party-role: {} + http://hl7.org/fhir/ValueSet/contract-publicationstatus: {} + http://hl7.org/fhir/ValueSet/contract-scope: {} + http://hl7.org/fhir/ValueSet/contract-security-category: {} + http://hl7.org/fhir/ValueSet/contract-security-classification: {} + http://hl7.org/fhir/ValueSet/contract-security-control: {} + http://hl7.org/fhir/ValueSet/contract-signer-type: {} + http://hl7.org/fhir/ValueSet/contract-status: {} + http://hl7.org/fhir/ValueSet/contract-subtype: {} + http://hl7.org/fhir/ValueSet/contract-term-subtype: {} + http://hl7.org/fhir/ValueSet/contract-term-type: {} + http://hl7.org/fhir/ValueSet/contract-type: {} + http://hl7.org/fhir/ValueSet/contributor-type: {} + http://hl7.org/fhir/ValueSet/copy-number-event: {} + http://hl7.org/fhir/ValueSet/cosmic: {} + http://hl7.org/fhir/ValueSet/coverage-class: {} + http://hl7.org/fhir/ValueSet/coverage-copay-type: {} + http://hl7.org/fhir/ValueSet/coverageeligibilityresponse-ex-auth-support: {} + http://hl7.org/fhir/ValueSet/coverage-financial-exception: {} + http://hl7.org/fhir/ValueSet/coverage-selfpay: {} + http://hl7.org/fhir/ValueSet/coverage-type: {} + http://hl7.org/fhir/ValueSet/cpt-all: {} + http://hl7.org/fhir/ValueSet/currencies: {} + http://hl7.org/fhir/ValueSet/data-absent-reason: {} + http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass: {} + http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty: {} + http://hl7.org/fhir/ValueSet/data-types: {} + http://hl7.org/fhir/ValueSet/days-of-week: {} + http://hl7.org/fhir/ValueSet/dbsnp: {} + http://hl7.org/fhir/ValueSet/defined-types: {} + http://hl7.org/fhir/ValueSet/definition-resource-types: {} + http://hl7.org/fhir/ValueSet/definition-status: {} + http://hl7.org/fhir/ValueSet/definition-topic: {} + http://hl7.org/fhir/ValueSet/definition-use: {} + http://hl7.org/fhir/ValueSet/designation-use: {} + http://hl7.org/fhir/ValueSet/detectedissue-category: {} + http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action: {} + http://hl7.org/fhir/ValueSet/detectedissue-severity: {} + http://hl7.org/fhir/ValueSet/device-action: {} + http://hl7.org/fhir/ValueSet/device-component-property: {} + http://hl7.org/fhir/ValueSet/device-definition-status: {} + http://hl7.org/fhir/ValueSet/device-kind: {} + http://hl7.org/fhir/ValueSet/devicemetric-type: {} + http://hl7.org/fhir/ValueSet/device-nametype: {} + http://hl7.org/fhir/ValueSet/device-safety: {} + http://hl7.org/fhir/ValueSet/device-statement-status: {} + http://hl7.org/fhir/ValueSet/device-status: {} + http://hl7.org/fhir/ValueSet/device-status-reason: {} + http://hl7.org/fhir/ValueSet/device-type: {} + http://hl7.org/fhir/ValueSet/diagnosis-role: {} + http://hl7.org/fhir/ValueSet/diagnostic-based-on-snomed: {} + http://hl7.org/fhir/ValueSet/diagnostic-report-status: {} + http://hl7.org/fhir/ValueSet/diagnostic-service-sections: {} + http://hl7.org/fhir/ValueSet/dicm-405-mediatype: {} + http://hl7.org/fhir/ValueSet/diet-type: {} + http://hl7.org/fhir/ValueSet/discriminator-type: {} + http://hl7.org/fhir/ValueSet/distance-units: {} + http://hl7.org/fhir/ValueSet/doc-section-codes: {} + http://hl7.org/fhir/ValueSet/doc-typecodes: {} + http://hl7.org/fhir/ValueSet/document-classcodes: {} + http://hl7.org/fhir/ValueSet/document-mode: {} + http://hl7.org/fhir/ValueSet/document-reference-status: {} + http://hl7.org/fhir/ValueSet/document-relationship-type: {} + http://hl7.org/fhir/ValueSet/dose-rate-type: {} + http://hl7.org/fhir/ValueSet/duration-units: {} + http://hl7.org/fhir/ValueSet/effect-estimate-type: {} + http://hl7.org/fhir/ValueSet/eligibilityrequest-purpose: {} + http://hl7.org/fhir/ValueSet/eligibilityresponse-purpose: {} + http://hl7.org/fhir/ValueSet/encounter-admit-source: {} + http://hl7.org/fhir/ValueSet/encounter-diet: {} + http://hl7.org/fhir/ValueSet/encounter-discharge-disposition: {} + http://hl7.org/fhir/ValueSet/encounter-location-status: {} + http://hl7.org/fhir/ValueSet/encounter-participant-type: {} + http://hl7.org/fhir/ValueSet/encounter-reason: {} + http://hl7.org/fhir/ValueSet/encounter-special-arrangements: {} + http://hl7.org/fhir/ValueSet/encounter-special-courtesy: {} + http://hl7.org/fhir/ValueSet/encounter-status: {} + http://hl7.org/fhir/ValueSet/encounter-type: {} + http://hl7.org/fhir/ValueSet/endpoint-connection-type: {} + http://hl7.org/fhir/ValueSet/endpoint-payload-type: {} + http://hl7.org/fhir/ValueSet/endpoint-status: {} + http://hl7.org/fhir/ValueSet/ensembl: {} + http://hl7.org/fhir/ValueSet/enteral-route: {} + http://hl7.org/fhir/ValueSet/entformula-additive: {} + http://hl7.org/fhir/ValueSet/entformula-type: {} + http://hl7.org/fhir/ValueSet/episode-of-care-status: {} + http://hl7.org/fhir/ValueSet/episodeofcare-type: {} + http://hl7.org/fhir/ValueSet/event-capability-mode: {} + http://hl7.org/fhir/ValueSet/event-or-request-resource-types: {} + http://hl7.org/fhir/ValueSet/event-resource-types: {} + http://hl7.org/fhir/ValueSet/event-status: {} + http://hl7.org/fhir/ValueSet/event-timing: {} + http://hl7.org/fhir/ValueSet/evidence-quality: {} + http://hl7.org/fhir/ValueSet/evidence-variant-state: {} + http://hl7.org/fhir/ValueSet/example-expansion: {} + http://hl7.org/fhir/ValueSet/example-extensional: {} + http://hl7.org/fhir/ValueSet/example-filter: {} + http://hl7.org/fhir/ValueSet/example-hierarchical: {} + http://hl7.org/fhir/ValueSet/example-intensional: {} + http://hl7.org/fhir/ValueSet/examplescenario-actor-type: {} + http://hl7.org/fhir/ValueSet/ex-benefitcategory: {} + http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission: {} + http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup: {} + http://hl7.org/fhir/ValueSet/ex-diagnosistype: {} + http://hl7.org/fhir/ValueSet/ex-onsettype: {} + http://hl7.org/fhir/ValueSet/expansion-parameter-source: {} + http://hl7.org/fhir/ValueSet/expansion-processing-rule: {} + http://hl7.org/fhir/ValueSet/ex-payee-resource-type: {} + http://hl7.org/fhir/ValueSet/ex-paymenttype: {} + http://hl7.org/fhir/ValueSet/explanationofbenefit-status: {} + http://hl7.org/fhir/ValueSet/exposure-state: {} + http://hl7.org/fhir/ValueSet/expression-language: {} + http://hl7.org/fhir/ValueSet/ex-procedure-type: {} + http://hl7.org/fhir/ValueSet/ex-program-code: {} + http://hl7.org/fhir/ValueSet/ex-revenue-center: {} + http://hl7.org/fhir/ValueSet/extension-context-type: {} + http://hl7.org/fhir/ValueSet/feeding-device: {} + http://hl7.org/fhir/ValueSet/FHIR-version: {} + http://hl7.org/fhir/ValueSet/filter-operator: {} + http://hl7.org/fhir/ValueSet/financial-taskcode: {} + http://hl7.org/fhir/ValueSet/financial-taskinputtype: {} + http://hl7.org/fhir/ValueSet/flag-category: {} + http://hl7.org/fhir/ValueSet/flag-code: {} + http://hl7.org/fhir/ValueSet/flag-priority: {} + http://hl7.org/fhir/ValueSet/flag-status: {} + http://hl7.org/fhir/ValueSet/fm-conditions: {} + http://hl7.org/fhir/ValueSet/fm-itemtype: {} + http://hl7.org/fhir/ValueSet/fm-status: {} + http://hl7.org/fhir/ValueSet/focal-subject: {} + http://hl7.org/fhir/ValueSet/food-type: {} + http://hl7.org/fhir/ValueSet/formatcodes: {} + http://hl7.org/fhir/ValueSet/forms: {} + http://hl7.org/fhir/ValueSet/fundsreserve: {} + http://hl7.org/fhir/ValueSet/gender-identity: {} + http://hl7.org/fhir/ValueSet/genenames: {} + http://hl7.org/fhir/ValueSet/goal-acceptance-status: {} + http://hl7.org/fhir/ValueSet/goal-achievement: {} + http://hl7.org/fhir/ValueSet/goal-category: {} + http://hl7.org/fhir/ValueSet/goal-priority: {} + http://hl7.org/fhir/ValueSet/goal-relationship-type: {} + http://hl7.org/fhir/ValueSet/goal-start-event: {} + http://hl7.org/fhir/ValueSet/goal-status: {} + http://hl7.org/fhir/ValueSet/goal-status-reason: {} + http://hl7.org/fhir/ValueSet/graph-compartment-rule: {} + http://hl7.org/fhir/ValueSet/graph-compartment-use: {} + http://hl7.org/fhir/ValueSet/group-measure: {} + http://hl7.org/fhir/ValueSet/group-type: {} + http://hl7.org/fhir/ValueSet/guidance-response-status: {} + http://hl7.org/fhir/ValueSet/guide-page-generation: {} + http://hl7.org/fhir/ValueSet/guide-parameter-code: {} + http://hl7.org/fhir/ValueSet/handling-condition: {} + http://hl7.org/fhir/ValueSet/history-absent-reason: {} + http://hl7.org/fhir/ValueSet/history-status: {} + http://hl7.org/fhir/ValueSet/hl7-work-group: {} + http://hl7.org/fhir/ValueSet/http-operations: {} + http://hl7.org/fhir/ValueSet/http-verb: {} + http://hl7.org/fhir/ValueSet/icd-10: {} + http://hl7.org/fhir/ValueSet/icd-10-procedures: {} + http://hl7.org/fhir/ValueSet/identifier-type: {} + http://hl7.org/fhir/ValueSet/identifier-use: {} + http://hl7.org/fhir/ValueSet/identity-assuranceLevel: {} + http://hl7.org/fhir/ValueSet/imagingstudy-status: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status-reason: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-status: {} + http://hl7.org/fhir/ValueSet/immunization-evaluation-target-disease: {} + http://hl7.org/fhir/ValueSet/immunization-function: {} + http://hl7.org/fhir/ValueSet/immunization-funding-source: {} + http://hl7.org/fhir/ValueSet/immunization-origin: {} + http://hl7.org/fhir/ValueSet/immunization-program-eligibility: {} + http://hl7.org/fhir/ValueSet/immunization-reason: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-reason: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-status: {} + http://hl7.org/fhir/ValueSet/immunization-recommendation-target-disease: {} + http://hl7.org/fhir/ValueSet/immunization-route: {} + http://hl7.org/fhir/ValueSet/immunization-site: {} + http://hl7.org/fhir/ValueSet/immunization-status: {} + http://hl7.org/fhir/ValueSet/immunization-status-reason: {} + http://hl7.org/fhir/ValueSet/immunization-subpotent-reason: {} + http://hl7.org/fhir/ValueSet/immunization-target-disease: {} + http://hl7.org/fhir/ValueSet/implantStatus: {} + http://hl7.org/fhir/ValueSet/inactive: {} + http://hl7.org/fhir/ValueSet/instance-availability: {} + http://hl7.org/fhir/ValueSet/insuranceplan-applicability: {} + http://hl7.org/fhir/ValueSet/insuranceplan-type: {} + http://hl7.org/fhir/ValueSet/intervention: {} + http://hl7.org/fhir/ValueSet/investigation-sets: {} + http://hl7.org/fhir/ValueSet/invoice-priceComponentType: {} + http://hl7.org/fhir/ValueSet/invoice-status: {} + http://hl7.org/fhir/ValueSet/iso3166-1-2: {} + http://hl7.org/fhir/ValueSet/iso3166-1-3: {} + http://hl7.org/fhir/ValueSet/iso3166-1-N: {} + http://hl7.org/fhir/ValueSet/issue-severity: {} + http://hl7.org/fhir/ValueSet/issue-type: {} + http://hl7.org/fhir/ValueSet/item-type: {} + http://hl7.org/fhir/ValueSet/jurisdiction: {} + http://hl7.org/fhir/ValueSet/knowledge-resource-types: {} + http://hl7.org/fhir/ValueSet/language-preference-type: {} + http://hl7.org/fhir/ValueSet/languages: {} + http://hl7.org/fhir/ValueSet/ldlcholesterol-codes: {} + http://hl7.org/fhir/ValueSet/library-type: {} + http://hl7.org/fhir/ValueSet/linkage-type: {} + http://hl7.org/fhir/ValueSet/link-type: {} + http://hl7.org/fhir/ValueSet/list-empty-reason: {} + http://hl7.org/fhir/ValueSet/list-example-codes: {} + http://hl7.org/fhir/ValueSet/list-item-flag: {} + http://hl7.org/fhir/ValueSet/list-mode: {} + http://hl7.org/fhir/ValueSet/list-order: {} + http://hl7.org/fhir/ValueSet/list-status: {} + http://hl7.org/fhir/ValueSet/location-mode: {} + http://hl7.org/fhir/ValueSet/location-physical-type: {} + http://hl7.org/fhir/ValueSet/location-status: {} + http://hl7.org/fhir/ValueSet/manifestation-or-symptom: {} + http://hl7.org/fhir/ValueSet/map-context-type: {} + http://hl7.org/fhir/ValueSet/map-group-type-mode: {} + http://hl7.org/fhir/ValueSet/map-input-mode: {} + http://hl7.org/fhir/ValueSet/map-model-mode: {} + http://hl7.org/fhir/ValueSet/map-source-list-mode: {} + http://hl7.org/fhir/ValueSet/map-target-list-mode: {} + http://hl7.org/fhir/ValueSet/map-transform: {} + http://hl7.org/fhir/ValueSet/marital-status: {} + http://hl7.org/fhir/ValueSet/match-grade: {} + http://hl7.org/fhir/ValueSet/measure-data-usage: {} + http://hl7.org/fhir/ValueSet/measure-improvement-notation: {} + http://hl7.org/fhir/ValueSet/measure-population: {} + http://hl7.org/fhir/ValueSet/measure-report-status: {} + http://hl7.org/fhir/ValueSet/measure-report-type: {} + http://hl7.org/fhir/ValueSet/measure-scoring: {} + http://hl7.org/fhir/ValueSet/measure-type: {} + http://hl7.org/fhir/ValueSet/med-admin-perform-function: {} + http://hl7.org/fhir/ValueSet/media-modality: {} + http://hl7.org/fhir/ValueSet/media-type: {} + http://hl7.org/fhir/ValueSet/media-view: {} + http://hl7.org/fhir/ValueSet/medication-admin-category: {} + http://hl7.org/fhir/ValueSet/medication-admin-status: {} + http://hl7.org/fhir/ValueSet/medication-as-needed-reason: {} + http://hl7.org/fhir/ValueSet/medication-codes: {} + http://hl7.org/fhir/ValueSet/medicationdispense-category: {} + http://hl7.org/fhir/ValueSet/medicationdispense-performer-function: {} + http://hl7.org/fhir/ValueSet/medicationdispense-status: {} + http://hl7.org/fhir/ValueSet/medicationdispense-status-reason: {} + http://hl7.org/fhir/ValueSet/medication-form-codes: {} + http://hl7.org/fhir/ValueSet/medicationknowledge-characteristic: {} + http://hl7.org/fhir/ValueSet/medicationknowledge-package-type: {} + http://hl7.org/fhir/ValueSet/medicationknowledge-status: {} + http://hl7.org/fhir/ValueSet/medicationrequest-category: {} + http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy: {} + http://hl7.org/fhir/ValueSet/medicationrequest-intent: {} + http://hl7.org/fhir/ValueSet/medicationrequest-status: {} + http://hl7.org/fhir/ValueSet/medicationrequest-status-reason: {} + http://hl7.org/fhir/ValueSet/medication-statement-category: {} + http://hl7.org/fhir/ValueSet/medication-statement-status: {} + http://hl7.org/fhir/ValueSet/medication-status: {} + http://hl7.org/fhir/ValueSet/message-events: {} + http://hl7.org/fhir/ValueSet/messageheader-response-request: {} + http://hl7.org/fhir/ValueSet/message-reason-encounter: {} + http://hl7.org/fhir/ValueSet/message-significance-category: {} + http://hl7.org/fhir/ValueSet/message-transport: {} + http://hl7.org/fhir/ValueSet/metric-calibration-state: {} + http://hl7.org/fhir/ValueSet/metric-calibration-type: {} + http://hl7.org/fhir/ValueSet/metric-category: {} + http://hl7.org/fhir/ValueSet/metric-color: {} + http://hl7.org/fhir/ValueSet/metric-operational-status: {} + http://hl7.org/fhir/ValueSet/mimetypes: {} + http://hl7.org/fhir/ValueSet/missing-tooth-reason: {} + http://hl7.org/fhir/ValueSet/modified-foodtype: {} + http://hl7.org/fhir/ValueSet/name-assembly-order: {} + http://hl7.org/fhir/ValueSet/name-part-qualifier: {} + http://hl7.org/fhir/ValueSet/name-use: {} + http://hl7.org/fhir/ValueSet/name-v3-representation: {} + http://hl7.org/fhir/ValueSet/namingsystem-identifier-type: {} + http://hl7.org/fhir/ValueSet/namingsystem-type: {} + http://hl7.org/fhir/ValueSet/narrative-status: {} + http://hl7.org/fhir/ValueSet/network-type: {} + http://hl7.org/fhir/ValueSet/nhin-purposeofuse: {} + http://hl7.org/fhir/ValueSet/note-type: {} + http://hl7.org/fhir/ValueSet/nutrient-code: {} + http://hl7.org/fhir/ValueSet/object-lifecycle-events: {} + http://hl7.org/fhir/ValueSet/object-role: {} + http://hl7.org/fhir/ValueSet/observation-category: {} + http://hl7.org/fhir/ValueSet/observation-codes: {} + http://hl7.org/fhir/ValueSet/observation-interpretation: {} + http://hl7.org/fhir/ValueSet/observation-methods: {} + http://hl7.org/fhir/ValueSet/observation-range-category: {} + http://hl7.org/fhir/ValueSet/observation-statistics: {} + http://hl7.org/fhir/ValueSet/observation-status: {} + http://hl7.org/fhir/ValueSet/observation-vitalsignresult: {} + http://hl7.org/fhir/ValueSet/operation-kind: {} + http://hl7.org/fhir/ValueSet/operation-outcome: {} + http://hl7.org/fhir/ValueSet/operation-parameter-use: {} + http://hl7.org/fhir/ValueSet/oral-prosthodontic-material: {} + http://hl7.org/fhir/ValueSet/organization-role: {} + http://hl7.org/fhir/ValueSet/organization-type: {} + http://hl7.org/fhir/ValueSet/orientation-type: {} + http://hl7.org/fhir/ValueSet/parameter-group: {} + http://hl7.org/fhir/ValueSet/parent-relationship-codes: {} + http://hl7.org/fhir/ValueSet/participantrequired: {} + http://hl7.org/fhir/ValueSet/participant-role: {} + http://hl7.org/fhir/ValueSet/participation-role-type: {} + http://hl7.org/fhir/ValueSet/participationstatus: {} + http://hl7.org/fhir/ValueSet/patient-contactrelationship: {} + http://hl7.org/fhir/ValueSet/payeetype: {} + http://hl7.org/fhir/ValueSet/payment-adjustment-reason: {} + http://hl7.org/fhir/ValueSet/payment-status: {} + http://hl7.org/fhir/ValueSet/payment-type: {} + http://hl7.org/fhir/ValueSet/performer-function: {} + http://hl7.org/fhir/ValueSet/performer-role: {} + http://hl7.org/fhir/ValueSet/permitted-data-type: {} + http://hl7.org/fhir/ValueSet/plan-definition-type: {} + http://hl7.org/fhir/ValueSet/postal-address-use: {} + http://hl7.org/fhir/ValueSet/practitioner-role: {} + http://hl7.org/fhir/ValueSet/practitioner-specialty: {} + http://hl7.org/fhir/ValueSet/precision-estimate-type: {} + http://hl7.org/fhir/ValueSet/prepare-patient-prior-specimen-collection: {} + http://hl7.org/fhir/ValueSet/probability-distribution-type: {} + http://hl7.org/fhir/ValueSet/procedure-category: {} + http://hl7.org/fhir/ValueSet/procedure-code: {} + http://hl7.org/fhir/ValueSet/procedure-followup: {} + http://hl7.org/fhir/ValueSet/procedure-not-performed-reason: {} + http://hl7.org/fhir/ValueSet/procedure-outcome: {} + http://hl7.org/fhir/ValueSet/procedure-progress-status-codes: {} + http://hl7.org/fhir/ValueSet/procedure-reason: {} + http://hl7.org/fhir/ValueSet/process-priority: {} + http://hl7.org/fhir/ValueSet/product-category: {} + http://hl7.org/fhir/ValueSet/product-status: {} + http://hl7.org/fhir/ValueSet/product-storage-scale: {} + http://hl7.org/fhir/ValueSet/program: {} + http://hl7.org/fhir/ValueSet/property-representation: {} + http://hl7.org/fhir/ValueSet/provenance-activity-type: {} + http://hl7.org/fhir/ValueSet/provenance-agent-role: {} + http://hl7.org/fhir/ValueSet/provenance-agent-type: {} + http://hl7.org/fhir/ValueSet/provenance-entity-role: {} + http://hl7.org/fhir/ValueSet/provenance-history-agent-type: {} + http://hl7.org/fhir/ValueSet/provenance-history-record-activity: {} + http://hl7.org/fhir/ValueSet/provider-qualification: {} + http://hl7.org/fhir/ValueSet/provider-taxonomy: {} + http://hl7.org/fhir/ValueSet/publication-status: {} + http://hl7.org/fhir/ValueSet/quality-type: {} + http://hl7.org/fhir/ValueSet/quantity-comparator: {} + http://hl7.org/fhir/ValueSet/question-max-occurs: {} + http://hl7.org/fhir/ValueSet/questionnaire-answers: {} + http://hl7.org/fhir/ValueSet/questionnaire-answers-status: {} + http://hl7.org/fhir/ValueSet/questionnaire-category: {} + http://hl7.org/fhir/ValueSet/questionnaire-display-category: {} + http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior: {} + http://hl7.org/fhir/ValueSet/questionnaire-enable-operator: {} + http://hl7.org/fhir/ValueSet/questionnaire-item-control: {} + http://hl7.org/fhir/ValueSet/questionnaire-questions: {} + http://hl7.org/fhir/ValueSet/questionnaireresponse-mode: {} + http://hl7.org/fhir/ValueSet/questionnaire-usage-mode: {} + http://hl7.org/fhir/ValueSet/reaction-event-certainty: {} + http://hl7.org/fhir/ValueSet/reaction-event-severity: {} + http://hl7.org/fhir/ValueSet/reason-medication-given-codes: {} + http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes: {} + http://hl7.org/fhir/ValueSet/reason-medication-status-codes: {} + http://hl7.org/fhir/ValueSet/recommendation-strength: {} + http://hl7.org/fhir/ValueSet/reference-handling-policy: {} + http://hl7.org/fhir/ValueSet/referencerange-appliesto: {} + http://hl7.org/fhir/ValueSet/referencerange-meaning: {} + http://hl7.org/fhir/ValueSet/reference-version-rules: {} + http://hl7.org/fhir/ValueSet/ref-sequences: {} + http://hl7.org/fhir/ValueSet/rejection-criteria: {} + http://hl7.org/fhir/ValueSet/related-artifact-type: {} + http://hl7.org/fhir/ValueSet/related-claim-relationship: {} + http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype: {} + http://hl7.org/fhir/ValueSet/relationship: {} + http://hl7.org/fhir/ValueSet/relation-type: {} + http://hl7.org/fhir/ValueSet/remittance-outcome: {} + http://hl7.org/fhir/ValueSet/report-action-result-codes: {} + http://hl7.org/fhir/ValueSet/report-codes: {} + http://hl7.org/fhir/ValueSet/report-participant-type: {} + http://hl7.org/fhir/ValueSet/report-result-codes: {} + http://hl7.org/fhir/ValueSet/report-status-codes: {} + http://hl7.org/fhir/ValueSet/repository-type: {} + http://hl7.org/fhir/ValueSet/request-intent: {} + http://hl7.org/fhir/ValueSet/request-priority: {} + http://hl7.org/fhir/ValueSet/request-resource-types: {} + http://hl7.org/fhir/ValueSet/request-status: {} + http://hl7.org/fhir/ValueSet/research-element-type: {} + http://hl7.org/fhir/ValueSet/research-study-objective-type: {} + http://hl7.org/fhir/ValueSet/research-study-phase: {} + http://hl7.org/fhir/ValueSet/research-study-prim-purp-type: {} + http://hl7.org/fhir/ValueSet/research-study-reason-stopped: {} + http://hl7.org/fhir/ValueSet/research-study-status: {} + http://hl7.org/fhir/ValueSet/research-subject-status: {} + http://hl7.org/fhir/ValueSet/resource-aggregation-mode: {} + http://hl7.org/fhir/ValueSet/resource-security-category: {} + http://hl7.org/fhir/ValueSet/resource-slicing-rules: {} + http://hl7.org/fhir/ValueSet/resource-status: {} + http://hl7.org/fhir/ValueSet/resource-type-link: {} + http://hl7.org/fhir/ValueSet/resource-types: {} + http://hl7.org/fhir/ValueSet/resource-validation-mode: {} + http://hl7.org/fhir/ValueSet/response-code: {} + http://hl7.org/fhir/ValueSet/restful-capability-mode: {} + http://hl7.org/fhir/ValueSet/restful-security-service: {} + http://hl7.org/fhir/ValueSet/risk-estimate-type: {} + http://hl7.org/fhir/ValueSet/risk-probability: {} + http://hl7.org/fhir/ValueSet/route-codes: {} + http://hl7.org/fhir/ValueSet/search-comparator: {} + http://hl7.org/fhir/ValueSet/search-entry-mode: {} + http://hl7.org/fhir/ValueSet/search-modifier-code: {} + http://hl7.org/fhir/ValueSet/search-param-type: {} + http://hl7.org/fhir/ValueSet/search-xpath-usage: {} + http://hl7.org/fhir/ValueSet/secondary-finding: {} + http://hl7.org/fhir/ValueSet/security-labels: {} + http://hl7.org/fhir/ValueSet/security-role-type: {} + http://hl7.org/fhir/ValueSet/sequenceontology: {} + http://hl7.org/fhir/ValueSet/sequence-quality-method: {} + http://hl7.org/fhir/ValueSet/sequence-quality-standardSequence: {} + http://hl7.org/fhir/ValueSet/sequence-referenceSeq: {} + http://hl7.org/fhir/ValueSet/sequence-species: {} + http://hl7.org/fhir/ValueSet/sequence-type: {} + http://hl7.org/fhir/ValueSet/series-performer-function: {} + http://hl7.org/fhir/ValueSet/service-category: {} + http://hl7.org/fhir/ValueSet/service-modifiers: {} + http://hl7.org/fhir/ValueSet/service-pharmacy: {} + http://hl7.org/fhir/ValueSet/service-place: {} + http://hl7.org/fhir/ValueSet/service-product: {} + http://hl7.org/fhir/ValueSet/service-provision-conditions: {} + http://hl7.org/fhir/ValueSet/service-referral-method: {} + http://hl7.org/fhir/ValueSet/servicerequest-category: {} + http://hl7.org/fhir/ValueSet/servicerequest-orderdetail: {} + http://hl7.org/fhir/ValueSet/service-type: {} + http://hl7.org/fhir/ValueSet/service-uscls: {} + http://hl7.org/fhir/ValueSet/sibling-relationship-codes: {} + http://hl7.org/fhir/ValueSet/signature-type: {} + http://hl7.org/fhir/ValueSet/slotstatus: {} + http://hl7.org/fhir/ValueSet/smart-capabilities: {} + http://hl7.org/fhir/ValueSet/sort-direction: {} + http://hl7.org/fhir/ValueSet/spdx-license: {} + http://hl7.org/fhir/ValueSet/special-values: {} + http://hl7.org/fhir/ValueSet/specimen-collection: {} + http://hl7.org/fhir/ValueSet/specimen-collection-method: {} + http://hl7.org/fhir/ValueSet/specimen-collection-priority: {} + http://hl7.org/fhir/ValueSet/specimen-contained-preference: {} + http://hl7.org/fhir/ValueSet/specimen-container-type: {} + http://hl7.org/fhir/ValueSet/specimen-processing-procedure: {} + http://hl7.org/fhir/ValueSet/specimen-status: {} + http://hl7.org/fhir/ValueSet/standards-status: {} + http://hl7.org/fhir/ValueSet/strand-type: {} + http://hl7.org/fhir/ValueSet/structure-definition-kind: {} + http://hl7.org/fhir/ValueSet/study-type: {} + http://hl7.org/fhir/ValueSet/subject-type: {} + http://hl7.org/fhir/ValueSet/subscriber-relationship: {} + http://hl7.org/fhir/ValueSet/subscription-channel-type: {} + http://hl7.org/fhir/ValueSet/subscription-status: {} + http://hl7.org/fhir/ValueSet/subscription-tag: {} + http://hl7.org/fhir/ValueSet/substance-category: {} + http://hl7.org/fhir/ValueSet/substance-code: {} + http://hl7.org/fhir/ValueSet/substance-status: {} + http://hl7.org/fhir/ValueSet/supplement-type: {} + http://hl7.org/fhir/ValueSet/supplydelivery-status: {} + http://hl7.org/fhir/ValueSet/supplydelivery-type: {} + http://hl7.org/fhir/ValueSet/supply-item: {} + http://hl7.org/fhir/ValueSet/supplyrequest-kind: {} + http://hl7.org/fhir/ValueSet/supplyrequest-reason: {} + http://hl7.org/fhir/ValueSet/supplyrequest-status: {} + http://hl7.org/fhir/ValueSet/surface: {} + http://hl7.org/fhir/ValueSet/synthesis-type: {} + http://hl7.org/fhir/ValueSet/system-restful-interaction: {} + http://hl7.org/fhir/ValueSet/task-code: {} + http://hl7.org/fhir/ValueSet/task-intent: {} + http://hl7.org/fhir/ValueSet/task-status: {} + http://hl7.org/fhir/ValueSet/teeth: {} + http://hl7.org/fhir/ValueSet/template-status-code: {} + http://hl7.org/fhir/ValueSet/testscript-operation-codes: {} + http://hl7.org/fhir/ValueSet/testscript-profile-destination-types: {} + http://hl7.org/fhir/ValueSet/testscript-profile-origin-types: {} + http://hl7.org/fhir/ValueSet/texture-code: {} + http://hl7.org/fhir/ValueSet/timezones: {} + http://hl7.org/fhir/ValueSet/timing-abbreviation: {} + http://hl7.org/fhir/ValueSet/tooth: {} + http://hl7.org/fhir/ValueSet/transaction-mode: {} + http://hl7.org/fhir/ValueSet/trigger-type: {} + http://hl7.org/fhir/ValueSet/type-derivation-rule: {} + http://hl7.org/fhir/ValueSet/type-restful-interaction: {} + http://hl7.org/fhir/ValueSet/ucum-bodylength: {} + http://hl7.org/fhir/ValueSet/ucum-bodytemp: {} + http://hl7.org/fhir/ValueSet/ucum-bodyweight: {} + http://hl7.org/fhir/ValueSet/ucum-common: {} + http://hl7.org/fhir/ValueSet/ucum-units: {} + http://hl7.org/fhir/ValueSet/ucum-vitals-common: {} + http://hl7.org/fhir/ValueSet/udi: {} + http://hl7.org/fhir/ValueSet/udi-entry-type: {} + http://hl7.org/fhir/ValueSet/units-of-time: {} + http://hl7.org/fhir/ValueSet/unknown-content-code: {} + http://hl7.org/fhir/ValueSet/usage-context-type: {} + http://hl7.org/fhir/ValueSet/use-context: {} + http://terminology.hl7.org/ValueSet/v2-0001: {} + http://terminology.hl7.org/ValueSet/v2-0002: {} + http://terminology.hl7.org/ValueSet/v2-0003: {} + http://terminology.hl7.org/ValueSet/v2-0004: {} + http://terminology.hl7.org/ValueSet/v2-0005: {} + http://terminology.hl7.org/ValueSet/v2-0007: {} + http://terminology.hl7.org/ValueSet/v2-0008: {} + http://terminology.hl7.org/ValueSet/v2-0009: {} + http://terminology.hl7.org/ValueSet/v2-0012: {} + http://terminology.hl7.org/ValueSet/v2-0017: {} + http://terminology.hl7.org/ValueSet/v2-0023: {} + http://terminology.hl7.org/ValueSet/v2-0027: {} + http://terminology.hl7.org/ValueSet/v2-0033: {} + http://terminology.hl7.org/ValueSet/v2-0034: {} + http://terminology.hl7.org/ValueSet/v2-0038: {} + http://terminology.hl7.org/ValueSet/v2-0043: {} + http://terminology.hl7.org/ValueSet/v2-0048: {} + http://terminology.hl7.org/ValueSet/v2-0052: {} + http://terminology.hl7.org/ValueSet/v2-0061: {} + http://terminology.hl7.org/ValueSet/v2-0062: {} + http://terminology.hl7.org/ValueSet/v2-0063: {} + http://terminology.hl7.org/ValueSet/v2-0065: {} + http://terminology.hl7.org/ValueSet/v2-0066: {} + http://terminology.hl7.org/ValueSet/v2-0069: {} + http://terminology.hl7.org/ValueSet/v2-0070: {} + http://terminology.hl7.org/ValueSet/v2-0074: {} + http://terminology.hl7.org/ValueSet/v2-0076: {} + http://terminology.hl7.org/ValueSet/v2-0078: {} + http://terminology.hl7.org/ValueSet/v2-0080: {} + http://terminology.hl7.org/ValueSet/v2-0083: {} + http://terminology.hl7.org/ValueSet/v2-0085: {} + http://terminology.hl7.org/ValueSet/v2-0091: {} + http://terminology.hl7.org/ValueSet/v2-0092: {} + http://terminology.hl7.org/ValueSet/v2-0098: {} + http://terminology.hl7.org/ValueSet/v2-0100: {} + http://terminology.hl7.org/ValueSet/v2-0102: {} + http://terminology.hl7.org/ValueSet/v2-0103: {} + http://terminology.hl7.org/ValueSet/v2-0104: {} + http://terminology.hl7.org/ValueSet/v2-0105: {} + http://terminology.hl7.org/ValueSet/v2-0106: {} + http://terminology.hl7.org/ValueSet/v2-0107: {} + http://terminology.hl7.org/ValueSet/v2-0108: {} + http://terminology.hl7.org/ValueSet/v2-0109: {} + http://terminology.hl7.org/ValueSet/v2-0116: {} + http://terminology.hl7.org/ValueSet/v2-0119: {} + http://terminology.hl7.org/ValueSet/v2-0121: {} + http://terminology.hl7.org/ValueSet/v2-0122: {} + http://terminology.hl7.org/ValueSet/v2-0123: {} + http://terminology.hl7.org/ValueSet/v2-0124: {} + http://terminology.hl7.org/ValueSet/v2-0125: {} + http://terminology.hl7.org/ValueSet/v2-0126: {} + http://terminology.hl7.org/ValueSet/v2-0127: {} + http://terminology.hl7.org/ValueSet/v2-0128: {} + http://terminology.hl7.org/ValueSet/v2-0130: {} + http://terminology.hl7.org/ValueSet/v2-0131: {} + http://terminology.hl7.org/ValueSet/v2-0133: {} + http://terminology.hl7.org/ValueSet/v2-0135: {} + http://terminology.hl7.org/ValueSet/v2-0136: {} + http://terminology.hl7.org/ValueSet/v2-0137: {} + http://terminology.hl7.org/ValueSet/v2-0140: {} + http://terminology.hl7.org/ValueSet/v2-0141: {} + http://terminology.hl7.org/ValueSet/v2-0142: {} + http://terminology.hl7.org/ValueSet/v2-0144: {} + http://terminology.hl7.org/ValueSet/v2-0145: {} + http://terminology.hl7.org/ValueSet/v2-0146: {} + http://terminology.hl7.org/ValueSet/v2-0147: {} + http://terminology.hl7.org/ValueSet/v2-0148: {} + http://terminology.hl7.org/ValueSet/v2-0149: {} + http://terminology.hl7.org/ValueSet/v2-0150: {} + http://terminology.hl7.org/ValueSet/v2-0153: {} + http://terminology.hl7.org/ValueSet/v2-0155: {} + http://terminology.hl7.org/ValueSet/v2-0156: {} + http://terminology.hl7.org/ValueSet/v2-0157: {} + http://terminology.hl7.org/ValueSet/v2-0158: {} + http://terminology.hl7.org/ValueSet/v2-0159: {} + http://terminology.hl7.org/ValueSet/v2-0160: {} + http://terminology.hl7.org/ValueSet/v2-0161: {} + http://terminology.hl7.org/ValueSet/v2-0162: {} + http://terminology.hl7.org/ValueSet/v2-0163: {} + http://terminology.hl7.org/ValueSet/v2-0164: {} + http://terminology.hl7.org/ValueSet/v2-0165: {} + http://terminology.hl7.org/ValueSet/v2-0166: {} + http://terminology.hl7.org/ValueSet/v2-0167: {} + http://terminology.hl7.org/ValueSet/v2-0168: {} + http://terminology.hl7.org/ValueSet/v2-0169: {} + http://terminology.hl7.org/ValueSet/v2-0170: {} + http://terminology.hl7.org/ValueSet/v2-0173: {} + http://terminology.hl7.org/ValueSet/v2-0174: {} + http://terminology.hl7.org/ValueSet/v2-0175: {} + http://terminology.hl7.org/ValueSet/v2-0177: {} + http://terminology.hl7.org/ValueSet/v2-0178: {} + http://terminology.hl7.org/ValueSet/v2-0179: {} + http://terminology.hl7.org/ValueSet/v2-0180: {} + http://terminology.hl7.org/ValueSet/v2-0181: {} + http://terminology.hl7.org/ValueSet/v2-0183: {} + http://terminology.hl7.org/ValueSet/v2-0185: {} + http://terminology.hl7.org/ValueSet/v2-0187: {} + http://terminology.hl7.org/ValueSet/v2-0189: {} + http://terminology.hl7.org/ValueSet/v2-0190: {} + http://terminology.hl7.org/ValueSet/v2-0191: {} + http://terminology.hl7.org/ValueSet/v2-0193: {} + http://terminology.hl7.org/ValueSet/v2-0200: {} + http://terminology.hl7.org/ValueSet/v2-0201: {} + http://terminology.hl7.org/ValueSet/v2-0202: {} + http://terminology.hl7.org/ValueSet/v2-0203: {} + http://terminology.hl7.org/ValueSet/v2-0204: {} + http://terminology.hl7.org/ValueSet/v2-0205: {} + http://terminology.hl7.org/ValueSet/v2-0206: {} + http://terminology.hl7.org/ValueSet/v2-0207: {} + http://terminology.hl7.org/ValueSet/v2-0208: {} + http://terminology.hl7.org/ValueSet/v2-0209: {} + http://terminology.hl7.org/ValueSet/v2-0210: {} + http://terminology.hl7.org/ValueSet/v2-0211: {} + http://terminology.hl7.org/ValueSet/v2-0213: {} + http://terminology.hl7.org/ValueSet/v2-0214: {} + http://terminology.hl7.org/ValueSet/v2-0215: {} + http://terminology.hl7.org/ValueSet/v2-0216: {} + http://terminology.hl7.org/ValueSet/v2-0217: {} + http://terminology.hl7.org/ValueSet/v2-0220: {} + http://terminology.hl7.org/ValueSet/v2-0223: {} + http://terminology.hl7.org/ValueSet/v2-0224: {} + http://terminology.hl7.org/ValueSet/v2-0225: {} + http://terminology.hl7.org/ValueSet/v2-0227: {} + http://terminology.hl7.org/ValueSet/v2-0228: {} + http://terminology.hl7.org/ValueSet/v2-0229: {} + http://terminology.hl7.org/ValueSet/v2-0230: {} + http://terminology.hl7.org/ValueSet/v2-0231: {} + http://terminology.hl7.org/ValueSet/v2-0232: {} + http://terminology.hl7.org/ValueSet/v2-0234: {} + http://terminology.hl7.org/ValueSet/v2-0235: {} + http://terminology.hl7.org/ValueSet/v2-0236: {} + http://terminology.hl7.org/ValueSet/v2-0237: {} + http://terminology.hl7.org/ValueSet/v2-0238: {} + http://terminology.hl7.org/ValueSet/v2-0239: {} + http://terminology.hl7.org/ValueSet/v2-0240: {} + http://terminology.hl7.org/ValueSet/v2-0241: {} + http://terminology.hl7.org/ValueSet/v2-0242: {} + http://terminology.hl7.org/ValueSet/v2-0243: {} + http://terminology.hl7.org/ValueSet/v2-0247: {} + http://terminology.hl7.org/ValueSet/v2-0248: {} + http://terminology.hl7.org/ValueSet/v2-0250: {} + http://terminology.hl7.org/ValueSet/v2-0251: {} + http://terminology.hl7.org/ValueSet/v2-0252: {} + http://terminology.hl7.org/ValueSet/v2-0253: {} + http://terminology.hl7.org/ValueSet/v2-0254: {} + http://terminology.hl7.org/ValueSet/v2-0255: {} + http://terminology.hl7.org/ValueSet/v2-0256: {} + http://terminology.hl7.org/ValueSet/v2-0257: {} + http://terminology.hl7.org/ValueSet/v2-0258: {} + http://terminology.hl7.org/ValueSet/v2-0259: {} + http://terminology.hl7.org/ValueSet/v2-0260: {} + http://terminology.hl7.org/ValueSet/v2-0261: {} + http://terminology.hl7.org/ValueSet/v2-0262: {} + http://terminology.hl7.org/ValueSet/v2-0263: {} + http://terminology.hl7.org/ValueSet/v2-0265: {} + http://terminology.hl7.org/ValueSet/v2-0267: {} + http://terminology.hl7.org/ValueSet/v2-0268: {} + http://terminology.hl7.org/ValueSet/v2-0269: {} + http://terminology.hl7.org/ValueSet/v2-0270: {} + http://terminology.hl7.org/ValueSet/v2-0271: {} + http://terminology.hl7.org/ValueSet/v2-0272: {} + http://terminology.hl7.org/ValueSet/v2-0273: {} + http://terminology.hl7.org/ValueSet/v2-0275: {} + http://terminology.hl7.org/ValueSet/v2-0276: {} + http://terminology.hl7.org/ValueSet/v2-0277: {} + http://terminology.hl7.org/ValueSet/v2-0278: {} + http://terminology.hl7.org/ValueSet/v2-0279: {} + http://terminology.hl7.org/ValueSet/v2-0280: {} + http://terminology.hl7.org/ValueSet/v2-0281: {} + http://terminology.hl7.org/ValueSet/v2-0282: {} + http://terminology.hl7.org/ValueSet/v2-0283: {} + http://terminology.hl7.org/ValueSet/v2-0284: {} + http://terminology.hl7.org/ValueSet/v2-0286: {} + http://terminology.hl7.org/ValueSet/v2-0287: {} + http://terminology.hl7.org/ValueSet/v2-0290: {} + http://terminology.hl7.org/ValueSet/v2-0291: {} + http://terminology.hl7.org/ValueSet/v2-0292: {} + http://terminology.hl7.org/ValueSet/v2-0294: {} + http://terminology.hl7.org/ValueSet/v2-0298: {} + http://terminology.hl7.org/ValueSet/v2-0299: {} + http://terminology.hl7.org/ValueSet/v2-0301: {} + http://terminology.hl7.org/ValueSet/v2-0305: {} + http://terminology.hl7.org/ValueSet/v2-0309: {} + http://terminology.hl7.org/ValueSet/v2-0311: {} + http://terminology.hl7.org/ValueSet/v2-0315: {} + http://terminology.hl7.org/ValueSet/v2-0316: {} + http://terminology.hl7.org/ValueSet/v2-0317: {} + http://terminology.hl7.org/ValueSet/v2-0321: {} + http://terminology.hl7.org/ValueSet/v2-0322: {} + http://terminology.hl7.org/ValueSet/v2-0323: {} + http://terminology.hl7.org/ValueSet/v2-0324: {} + http://terminology.hl7.org/ValueSet/v2-0325: {} + http://terminology.hl7.org/ValueSet/v2-0326: {} + http://terminology.hl7.org/ValueSet/v2-0329: {} + http://terminology.hl7.org/ValueSet/v2-0330: {} + http://terminology.hl7.org/ValueSet/v2-0331: {} + http://terminology.hl7.org/ValueSet/v2-0332: {} + http://terminology.hl7.org/ValueSet/v2-0334: {} + http://terminology.hl7.org/ValueSet/v2-0335: {} + http://terminology.hl7.org/ValueSet/v2-0336: {} + http://terminology.hl7.org/ValueSet/v2-0337: {} + http://terminology.hl7.org/ValueSet/v2-0338: {} + http://terminology.hl7.org/ValueSet/v2-0339: {} + http://terminology.hl7.org/ValueSet/v2-0344: {} + http://terminology.hl7.org/ValueSet/v2-0350: {} + http://terminology.hl7.org/ValueSet/v2-0351: {} + http://terminology.hl7.org/ValueSet/v2-0353: {} + http://terminology.hl7.org/ValueSet/v2-0354: {} + http://terminology.hl7.org/ValueSet/v2-0355: {} + http://terminology.hl7.org/ValueSet/v2-0356: {} + http://terminology.hl7.org/ValueSet/v2-0357: {} + http://terminology.hl7.org/ValueSet/v2-0359: {} + http://terminology.hl7.org/ValueSet/v2-0363: {} + http://terminology.hl7.org/ValueSet/v2-0364: {} + http://terminology.hl7.org/ValueSet/v2-0365: {} + http://terminology.hl7.org/ValueSet/v2-0366: {} + http://terminology.hl7.org/ValueSet/v2-0367: {} + http://terminology.hl7.org/ValueSet/v2-0368: {} + http://terminology.hl7.org/ValueSet/v2-0369: {} + http://terminology.hl7.org/ValueSet/v2-0370: {} + http://terminology.hl7.org/ValueSet/v2-0371: {} + http://terminology.hl7.org/ValueSet/v2-0372: {} + http://terminology.hl7.org/ValueSet/v2-0373: {} + http://terminology.hl7.org/ValueSet/v2-0374: {} + http://terminology.hl7.org/ValueSet/v2-0375: {} + http://terminology.hl7.org/ValueSet/v2-0376: {} + http://terminology.hl7.org/ValueSet/v2-0377: {} + http://terminology.hl7.org/ValueSet/v2-0383: {} + http://terminology.hl7.org/ValueSet/v2-0384: {} + http://terminology.hl7.org/ValueSet/v2-0387: {} + http://terminology.hl7.org/ValueSet/v2-0388: {} + http://terminology.hl7.org/ValueSet/v2-0389: {} + http://terminology.hl7.org/ValueSet/v2-0392: {} + http://terminology.hl7.org/ValueSet/v2-0393: {} + http://terminology.hl7.org/ValueSet/v2-0394: {} + http://terminology.hl7.org/ValueSet/v2-0395: {} + http://terminology.hl7.org/ValueSet/v2-0396: {} + http://terminology.hl7.org/ValueSet/v2-0397: {} + http://terminology.hl7.org/ValueSet/v2-0398: {} + http://terminology.hl7.org/ValueSet/v2-0401: {} + http://terminology.hl7.org/ValueSet/v2-0402: {} + http://terminology.hl7.org/ValueSet/v2-0403: {} + http://terminology.hl7.org/ValueSet/v2-0404: {} + http://terminology.hl7.org/ValueSet/v2-0406: {} + http://terminology.hl7.org/ValueSet/v2-0409: {} + http://terminology.hl7.org/ValueSet/v2-0411: {} + http://terminology.hl7.org/ValueSet/v2-0415: {} + http://terminology.hl7.org/ValueSet/v2-0416: {} + http://terminology.hl7.org/ValueSet/v2-0417: {} + http://terminology.hl7.org/ValueSet/v2-0418: {} + http://terminology.hl7.org/ValueSet/v2-0421: {} + http://terminology.hl7.org/ValueSet/v2-0422: {} + http://terminology.hl7.org/ValueSet/v2-0423: {} + http://terminology.hl7.org/ValueSet/v2-0424: {} + http://terminology.hl7.org/ValueSet/v2-0425: {} + http://terminology.hl7.org/ValueSet/v2-0426: {} + http://terminology.hl7.org/ValueSet/v2-0427: {} + http://terminology.hl7.org/ValueSet/v2-0428: {} + http://terminology.hl7.org/ValueSet/v2-0429: {} + http://terminology.hl7.org/ValueSet/v2-0430: {} + http://terminology.hl7.org/ValueSet/v2-0431: {} + http://terminology.hl7.org/ValueSet/v2-0432: {} + http://terminology.hl7.org/ValueSet/v2-0433: {} + http://terminology.hl7.org/ValueSet/v2-0434: {} + http://terminology.hl7.org/ValueSet/v2-0435: {} + http://terminology.hl7.org/ValueSet/v2-0436: {} + http://terminology.hl7.org/ValueSet/v2-0437: {} + http://terminology.hl7.org/ValueSet/v2-0438: {} + http://terminology.hl7.org/ValueSet/v2-0440: {} + http://terminology.hl7.org/ValueSet/v2-0441: {} + http://terminology.hl7.org/ValueSet/v2-0442: {} + http://terminology.hl7.org/ValueSet/v2-0443: {} + http://terminology.hl7.org/ValueSet/v2-0444: {} + http://terminology.hl7.org/ValueSet/v2-0445: {} + http://terminology.hl7.org/ValueSet/v2-0450: {} + http://terminology.hl7.org/ValueSet/v2-0455: {} + http://terminology.hl7.org/ValueSet/v2-0456: {} + http://terminology.hl7.org/ValueSet/v2-0457: {} + http://terminology.hl7.org/ValueSet/v2-0459: {} + http://terminology.hl7.org/ValueSet/v2-0460: {} + http://terminology.hl7.org/ValueSet/v2-0465: {} + http://terminology.hl7.org/ValueSet/v2-0466: {} + http://terminology.hl7.org/ValueSet/v2-0468: {} + http://terminology.hl7.org/ValueSet/v2-0469: {} + http://terminology.hl7.org/ValueSet/v2-0470: {} + http://terminology.hl7.org/ValueSet/v2-0472: {} + http://terminology.hl7.org/ValueSet/v2-0473: {} + http://terminology.hl7.org/ValueSet/v2-0474: {} + http://terminology.hl7.org/ValueSet/v2-0475: {} + http://terminology.hl7.org/ValueSet/v2-0477: {} + http://terminology.hl7.org/ValueSet/v2-0478: {} + http://terminology.hl7.org/ValueSet/v2-0480: {} + http://terminology.hl7.org/ValueSet/v2-0482: {} + http://terminology.hl7.org/ValueSet/v2-0483: {} + http://terminology.hl7.org/ValueSet/v2-0484: {} + http://terminology.hl7.org/ValueSet/v2-0485: {} + http://terminology.hl7.org/ValueSet/v2-0487: {} + http://terminology.hl7.org/ValueSet/v2-0488: {} + http://terminology.hl7.org/ValueSet/v2-0489: {} + http://terminology.hl7.org/ValueSet/v2-0490: {} + http://terminology.hl7.org/ValueSet/v2-0491: {} + http://terminology.hl7.org/ValueSet/v2-0492: {} + http://terminology.hl7.org/ValueSet/v2-0493: {} + http://terminology.hl7.org/ValueSet/v2-0494: {} + http://terminology.hl7.org/ValueSet/v2-0495: {} + http://terminology.hl7.org/ValueSet/v2-0496: {} + http://terminology.hl7.org/ValueSet/v2-0497: {} + http://terminology.hl7.org/ValueSet/v2-0498: {} + http://terminology.hl7.org/ValueSet/v2-0499: {} + http://terminology.hl7.org/ValueSet/v2-0500: {} + http://terminology.hl7.org/ValueSet/v2-0501: {} + http://terminology.hl7.org/ValueSet/v2-0502: {} + http://terminology.hl7.org/ValueSet/v2-0503: {} + http://terminology.hl7.org/ValueSet/v2-0504: {} + http://terminology.hl7.org/ValueSet/v2-0505: {} + http://terminology.hl7.org/ValueSet/v2-0506: {} + http://terminology.hl7.org/ValueSet/v2-0507: {} + http://terminology.hl7.org/ValueSet/v2-0508: {} + http://terminology.hl7.org/ValueSet/v2-0510: {} + http://terminology.hl7.org/ValueSet/v2-0511: {} + http://terminology.hl7.org/ValueSet/v2-0513: {} + http://terminology.hl7.org/ValueSet/v2-0514: {} + http://terminology.hl7.org/ValueSet/v2-0516: {} + http://terminology.hl7.org/ValueSet/v2-0517: {} + http://terminology.hl7.org/ValueSet/v2-0518: {} + http://terminology.hl7.org/ValueSet/v2-0520: {} + http://terminology.hl7.org/ValueSet/v2-0523: {} + http://terminology.hl7.org/ValueSet/v2-0524: {} + http://terminology.hl7.org/ValueSet/v2-0527: {} + http://terminology.hl7.org/ValueSet/v2-0528: {} + http://terminology.hl7.org/ValueSet/v2-0529: {} + http://terminology.hl7.org/ValueSet/v2-0530: {} + http://terminology.hl7.org/ValueSet/v2-0532: {} + http://terminology.hl7.org/ValueSet/v2-0534: {} + http://terminology.hl7.org/ValueSet/v2-0535: {} + http://terminology.hl7.org/ValueSet/v2-0536: {} + http://terminology.hl7.org/ValueSet/v2-0538: {} + http://terminology.hl7.org/ValueSet/v2-0540: {} + http://terminology.hl7.org/ValueSet/v2-0544: {} + http://terminology.hl7.org/ValueSet/v2-0547: {} + http://terminology.hl7.org/ValueSet/v2-0548: {} + http://terminology.hl7.org/ValueSet/v2-0550: {} + http://terminology.hl7.org/ValueSet/v2-0553: {} + http://terminology.hl7.org/ValueSet/v2-0554: {} + http://terminology.hl7.org/ValueSet/v2-0555: {} + http://terminology.hl7.org/ValueSet/v2-0556: {} + http://terminology.hl7.org/ValueSet/v2-0557: {} + http://terminology.hl7.org/ValueSet/v2-0558: {} + http://terminology.hl7.org/ValueSet/v2-0559: {} + http://terminology.hl7.org/ValueSet/v2-0561: {} + http://terminology.hl7.org/ValueSet/v2-0562: {} + http://terminology.hl7.org/ValueSet/v2-0564: {} + http://terminology.hl7.org/ValueSet/v2-0565: {} + http://terminology.hl7.org/ValueSet/v2-0566: {} + http://terminology.hl7.org/ValueSet/v2-0569: {} + http://terminology.hl7.org/ValueSet/v2-0570: {} + http://terminology.hl7.org/ValueSet/v2-0571: {} + http://terminology.hl7.org/ValueSet/v2-0572: {} + http://terminology.hl7.org/ValueSet/v2-0615: {} + http://terminology.hl7.org/ValueSet/v2-0616: {} + http://terminology.hl7.org/ValueSet/v2-0617: {} + http://terminology.hl7.org/ValueSet/v2-0618: {} + http://terminology.hl7.org/ValueSet/v2-0625: {} + http://terminology.hl7.org/ValueSet/v2-0634: {} + http://terminology.hl7.org/ValueSet/v2-0642: {} + http://terminology.hl7.org/ValueSet/v2-0651: {} + http://terminology.hl7.org/ValueSet/v2-0653: {} + http://terminology.hl7.org/ValueSet/v2-0657: {} + http://terminology.hl7.org/ValueSet/v2-0659: {} + http://terminology.hl7.org/ValueSet/v2-0667: {} + http://terminology.hl7.org/ValueSet/v2-0669: {} + http://terminology.hl7.org/ValueSet/v2-0682: {} + http://terminology.hl7.org/ValueSet/v2-0702: {} + http://terminology.hl7.org/ValueSet/v2-0717: {} + http://terminology.hl7.org/ValueSet/v2-0719: {} + http://terminology.hl7.org/ValueSet/v2-0725: {} + http://terminology.hl7.org/ValueSet/v2-0728: {} + http://terminology.hl7.org/ValueSet/v2-0731: {} + http://terminology.hl7.org/ValueSet/v2-0734: {} + http://terminology.hl7.org/ValueSet/v2-0739: {} + http://terminology.hl7.org/ValueSet/v2-0742: {} + http://terminology.hl7.org/ValueSet/v2-0749: {} + http://terminology.hl7.org/ValueSet/v2-0755: {} + http://terminology.hl7.org/ValueSet/v2-0757: {} + http://terminology.hl7.org/ValueSet/v2-0759: {} + http://terminology.hl7.org/ValueSet/v2-0761: {} + http://terminology.hl7.org/ValueSet/v2-0763: {} + http://terminology.hl7.org/ValueSet/v2-0776: {} + http://terminology.hl7.org/ValueSet/v2-0778: {} + http://terminology.hl7.org/ValueSet/v2-0790: {} + http://terminology.hl7.org/ValueSet/v2-0793: {} + http://terminology.hl7.org/ValueSet/v2-0806: {} + http://terminology.hl7.org/ValueSet/v2-0818: {} + http://terminology.hl7.org/ValueSet/v2-0834: {} + http://terminology.hl7.org/ValueSet/v2-0868: {} + http://terminology.hl7.org/ValueSet/v2-0871: {} + http://terminology.hl7.org/ValueSet/v2-0881: {} + http://terminology.hl7.org/ValueSet/v2-0882: {} + http://terminology.hl7.org/ValueSet/v2-0894: {} + http://terminology.hl7.org/ValueSet/v2-0895: {} + http://terminology.hl7.org/ValueSet/v2-0904: {} + http://terminology.hl7.org/ValueSet/v2-0905: {} + http://terminology.hl7.org/ValueSet/v2-0906: {} + http://terminology.hl7.org/ValueSet/v2-0907: {} + http://terminology.hl7.org/ValueSet/v2-0909: {} + http://terminology.hl7.org/ValueSet/v2-0912: {} + http://terminology.hl7.org/ValueSet/v2-0914: {} + http://terminology.hl7.org/ValueSet/v2-0916: {} + http://terminology.hl7.org/ValueSet/v2-0917: {} + http://terminology.hl7.org/ValueSet/v2-0918: {} + http://terminology.hl7.org/ValueSet/v2-0919: {} + http://terminology.hl7.org/ValueSet/v2-0920: {} + http://terminology.hl7.org/ValueSet/v2-0921: {} + http://terminology.hl7.org/ValueSet/v2-0922: {} + http://terminology.hl7.org/ValueSet/v2-0923: {} + http://terminology.hl7.org/ValueSet/v2-0924: {} + http://terminology.hl7.org/ValueSet/v2-0925: {} + http://terminology.hl7.org/ValueSet/v2-0926: {} + http://terminology.hl7.org/ValueSet/v2-0927: {} + http://terminology.hl7.org/ValueSet/v2-0933: {} + http://terminology.hl7.org/ValueSet/v2-0935: {} + http://terminology.hl7.org/ValueSet/v2-2.1-0006: {} + http://terminology.hl7.org/ValueSet/v2-2.3.1-0360: {} + http://terminology.hl7.org/ValueSet/v2-2.4-0006: {} + http://terminology.hl7.org/ValueSet/v2-2.4-0391: {} + http://terminology.hl7.org/ValueSet/v2-2.6-0391: {} + http://terminology.hl7.org/ValueSet/v2-2.7-0360: {} + http://terminology.hl7.org/ValueSet/v2-4000: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementCondition: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailCode: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailType: {} + http://terminology.hl7.org/ValueSet/v3-AcknowledgementType: {} + http://terminology.hl7.org/ValueSet/v3-ActClass: {} + http://terminology.hl7.org/ValueSet/v3-ActClassClinicalDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassDocument: {} + http://terminology.hl7.org/ValueSet/v3-ActClassInvestigation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassObservation: {} + http://terminology.hl7.org/ValueSet/v3-ActClassProcedure: {} + http://terminology.hl7.org/ValueSet/v3-ActClassROI: {} + http://terminology.hl7.org/ValueSet/v3-ActClassSupply: {} + http://terminology.hl7.org/ValueSet/v3-ActCode: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentDirective: {} + http://terminology.hl7.org/ValueSet/v3-ActConsentType: {} + http://terminology.hl7.org/ValueSet/v3-ActCoverageTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-ActEncounterCode: {} + http://terminology.hl7.org/ValueSet/v3-ActExposureLevelCode: {} + http://terminology.hl7.org/ValueSet/v3-ActIncidentCode: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementModifier: {} + http://terminology.hl7.org/ValueSet/v3-ActInvoiceGroupCode: {} + http://terminology.hl7.org/ValueSet/v3-ActMood: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodIntent: {} + http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate: {} + http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType: {} + http://terminology.hl7.org/ValueSet/v3-ActPriority: {} + http://terminology.hl7.org/ValueSet/v3-ActReason: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpoint: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipConditional: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipFulfills: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasComponent: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoin: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplit: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipSubset: {} + http://terminology.hl7.org/ValueSet/v3-ActRelationshipType: {} + http://terminology.hl7.org/ValueSet/v3-ActSite: {} + http://terminology.hl7.org/ValueSet/v3-ActStatus: {} + http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode: {} + http://terminology.hl7.org/ValueSet/v3-ActTaskCode: {} + http://terminology.hl7.org/ValueSet/v3-ActUncertainty: {} + http://terminology.hl7.org/ValueSet/v3-ActUSPrivacyLaw: {} + http://terminology.hl7.org/ValueSet/v3-AddressPartType: {} + http://terminology.hl7.org/ValueSet/v3-AddressUse: {} + http://terminology.hl7.org/ValueSet/v3-AdministrativeGender: {} + http://terminology.hl7.org/ValueSet/v3-AmericanIndianAlaskaNativeLanguages: {} + http://terminology.hl7.org/ValueSet/v3-Calendar: {} + http://terminology.hl7.org/ValueSet/v3-CalendarCycle: {} + http://terminology.hl7.org/ValueSet/v3-CalendarType: {} + http://terminology.hl7.org/ValueSet/v3-Charset: {} + http://terminology.hl7.org/ValueSet/v3-CodingRationale: {} + http://terminology.hl7.org/ValueSet/v3-CommunicationFunctionType: {} + http://terminology.hl7.org/ValueSet/v3-Compartment: {} + http://terminology.hl7.org/ValueSet/v3-CompressionAlgorithm: {} + http://terminology.hl7.org/ValueSet/v3-Confidentiality: {} + http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification: {} + http://terminology.hl7.org/ValueSet/v3-ContainerCap: {} + http://terminology.hl7.org/ValueSet/v3-ContainerSeparator: {} + http://terminology.hl7.org/ValueSet/v3-ContentProcessingMode: {} + http://terminology.hl7.org/ValueSet/v3-ContextControl: {} + http://terminology.hl7.org/ValueSet/v3-DataOperation: {} + http://terminology.hl7.org/ValueSet/v3-Dentition: {} + http://terminology.hl7.org/ValueSet/v3-DeviceAlertLevel: {} + http://terminology.hl7.org/ValueSet/v3-DocumentCompletion: {} + http://terminology.hl7.org/ValueSet/v3-DocumentSectionType: {} + http://terminology.hl7.org/ValueSet/v3-DocumentStorage: {} + http://terminology.hl7.org/ValueSet/v3-EducationLevel: {} + http://terminology.hl7.org/ValueSet/v3-EmployeeJobClass: {} + http://terminology.hl7.org/ValueSet/v3-employmentStatusODH: {} + http://terminology.hl7.org/ValueSet/v3-EncounterAdmissionSource: {} + http://terminology.hl7.org/ValueSet/v3-EncounterSpecialCourtesy: {} + http://terminology.hl7.org/ValueSet/v3-EntityClass: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassDevice: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassManufacturedMaterial: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassPlace: {} + http://terminology.hl7.org/ValueSet/v3-EntityClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-EntityCode: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminer: {} + http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDetermined: {} + http://terminology.hl7.org/ValueSet/v3-EntityHandling: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifier: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifierR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartType: {} + http://terminology.hl7.org/ValueSet/v3-EntityNamePartTypeR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityNameUse: {} + http://terminology.hl7.org/ValueSet/v3-EntityNameUseR2: {} + http://terminology.hl7.org/ValueSet/v3-EntityRisk: {} + http://terminology.hl7.org/ValueSet/v3-EntityStatus: {} + http://terminology.hl7.org/ValueSet/v3-EquipmentAlertLevel: {} + http://terminology.hl7.org/ValueSet/v3-Ethnicity: {} + http://terminology.hl7.org/ValueSet/v3-ExposureMode: {} + http://terminology.hl7.org/ValueSet/v3-FamilyMember: {} + http://terminology.hl7.org/ValueSet/v3-GenderStatus: {} + http://terminology.hl7.org/ValueSet/v3-GeneralPurposeOfUse: {} + http://terminology.hl7.org/ValueSet/v3-GTSAbbreviation: {} + http://terminology.hl7.org/ValueSet/v3-hl7ApprovalStatus: {} + http://terminology.hl7.org/ValueSet/v3-hl7CMETAttribution: {} + http://terminology.hl7.org/ValueSet/v3-HL7ContextConductionStyle: {} + http://terminology.hl7.org/ValueSet/v3-hl7ITSType: {} + http://terminology.hl7.org/ValueSet/v3-hl7ITSVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-hl7PublishingDomain: {} + http://terminology.hl7.org/ValueSet/v3-hl7PublishingSection: {} + http://terminology.hl7.org/ValueSet/v3-hl7PublishingSubSection: {} + http://terminology.hl7.org/ValueSet/v3-hl7Realm: {} + http://terminology.hl7.org/ValueSet/v3-HL7StandardVersionCode: {} + http://terminology.hl7.org/ValueSet/v3-HL7UpdateMode: {} + http://terminology.hl7.org/ValueSet/v3-hl7V3Conformance: {} + http://terminology.hl7.org/ValueSet/v3-hl7VoteResolution: {} + http://terminology.hl7.org/ValueSet/v3-HtmlLinkType: {} + http://terminology.hl7.org/ValueSet/v3-HumanLanguage: {} + http://terminology.hl7.org/ValueSet/v3-IdentifierReliability: {} + http://terminology.hl7.org/ValueSet/v3-IdentifierScope: {} + http://terminology.hl7.org/ValueSet/v3-InformationSensitivityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm: {} + http://terminology.hl7.org/ValueSet/v3-LanguageAbilityMode: {} + http://terminology.hl7.org/ValueSet/v3-LanguageAbilityProficiency: {} + http://terminology.hl7.org/ValueSet/v3-LivingArrangement: {} + http://terminology.hl7.org/ValueSet/v3-LocalMarkupIgnore: {} + http://terminology.hl7.org/ValueSet/v3-LocalRemoteControlState: {} + http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatus: {} + http://terminology.hl7.org/ValueSet/v3-MapRelationship: {} + http://terminology.hl7.org/ValueSet/v3-MaritalStatus: {} + http://terminology.hl7.org/ValueSet/v3-MessageWaitingPriority: {} + http://terminology.hl7.org/ValueSet/v3-MilitaryRoleType: {} + http://terminology.hl7.org/ValueSet/v3-ModifyIndicator: {} + http://terminology.hl7.org/ValueSet/v3-NullFlavor: {} + http://terminology.hl7.org/ValueSet/v3-ObligationPolicy: {} + http://terminology.hl7.org/ValueSet/v3-ObservationCategory: {} + http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation: {} + http://terminology.hl7.org/ValueSet/v3-ObservationMethod: {} + http://terminology.hl7.org/ValueSet/v3-ObservationType: {} + http://terminology.hl7.org/ValueSet/v3-ObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-orderableDrugForm: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationFunction: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationIndirectTarget: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationInformationTranscriber: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationMode: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationSignature: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationType: {} + http://terminology.hl7.org/ValueSet/v3-ParticipationVerifier: {} + http://terminology.hl7.org/ValueSet/v3-PatientImportance: {} + http://terminology.hl7.org/ValueSet/v3-PaymentTerms: {} + http://terminology.hl7.org/ValueSet/v3-PersonalRelationshipRoleType: {} + http://terminology.hl7.org/ValueSet/v3-PersonDisabilityType: {} + http://terminology.hl7.org/ValueSet/v3-policyHolderRole: {} + http://terminology.hl7.org/ValueSet/v3-ProbabilityDistributionType: {} + http://terminology.hl7.org/ValueSet/v3-ProcessingID: {} + http://terminology.hl7.org/ValueSet/v3-ProcessingMode: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-AS: {} + http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-DC: {} + http://terminology.hl7.org/ValueSet/v3-PurposeOfUse: {} + http://terminology.hl7.org/ValueSet/v3-QueryParameterValue: {} + http://terminology.hl7.org/ValueSet/v3-QueryPriority: {} + http://terminology.hl7.org/ValueSet/v3-QueryRequestLimit: {} + http://terminology.hl7.org/ValueSet/v3-QueryResponse: {} + http://terminology.hl7.org/ValueSet/v3-QueryStatusCode: {} + http://terminology.hl7.org/ValueSet/v3-Race: {} + http://terminology.hl7.org/ValueSet/v3-RefrainPolicy: {} + http://terminology.hl7.org/ValueSet/v3-RelationalOperator: {} + http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction: {} + http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation: {} + http://terminology.hl7.org/ValueSet/v3-ResponseLevel: {} + http://terminology.hl7.org/ValueSet/v3-ResponseModality: {} + http://terminology.hl7.org/ValueSet/v3-ResponseMode: {} + http://terminology.hl7.org/ValueSet/v3-RoleClass: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAgent: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassManufacturedProduct: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassMutualRelationship: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPartitive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassPassive: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRelationshipFormal: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassRoot: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassServiceDeliveryLocation: {} + http://terminology.hl7.org/ValueSet/v3-RoleClassSpecimen: {} + http://terminology.hl7.org/ValueSet/v3-RoleCode: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkStatus: {} + http://terminology.hl7.org/ValueSet/v3-RoleLinkType: {} + http://terminology.hl7.org/ValueSet/v3-RoleStatus: {} + http://terminology.hl7.org/ValueSet/v3-RouteOfAdministration: {} + http://terminology.hl7.org/ValueSet/v3-SecurityControlObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityObservationValue: {} + http://terminology.hl7.org/ValueSet/v3-SecurityPolicy: {} + http://terminology.hl7.org/ValueSet/v3-Sequencing: {} + http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType: {} + http://terminology.hl7.org/ValueSet/v3-SetOperator: {} + http://terminology.hl7.org/ValueSet/v3-SeverityObservation: {} + http://terminology.hl7.org/ValueSet/v3-SpecimenType: {} + http://terminology.hl7.org/ValueSet/v3-styleType: {} + http://terminology.hl7.org/ValueSet/v3-substanceAdminSubstitution: {} + http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason: {} + http://terminology.hl7.org/ValueSet/v3-SubstitutionCondition: {} + http://terminology.hl7.org/ValueSet/v3-TableCellHorizontalAlign: {} + http://terminology.hl7.org/ValueSet/v3-TableCellScope: {} + http://terminology.hl7.org/ValueSet/v3-TableCellVerticalAlign: {} + http://terminology.hl7.org/ValueSet/v3-TableFrame: {} + http://terminology.hl7.org/ValueSet/v3-TableRules: {} + http://terminology.hl7.org/ValueSet/v3-TargetAwareness: {} + http://terminology.hl7.org/ValueSet/v3-TelecommunicationCapabilities: {} + http://terminology.hl7.org/ValueSet/v3-TimingEvent: {} + http://terminology.hl7.org/ValueSet/v3-TransmissionRelationshipTypeCode: {} + http://terminology.hl7.org/ValueSet/v3-TribalEntityUS: {} + http://terminology.hl7.org/ValueSet/v3-triggerEventID: {} + http://terminology.hl7.org/ValueSet/v3-VaccineManufacturer: {} + http://terminology.hl7.org/ValueSet/v3-VerificationMethod: {} + http://terminology.hl7.org/ValueSet/v3-WorkClassificationODH: {} + http://terminology.hl7.org/ValueSet/v3-WorkScheduleODH: {} + http://terminology.hl7.org/ValueSet/v3-xBasicConfidentialityKind: {} + http://hl7.org/fhir/ValueSet/vaccine-code: {} + http://hl7.org/fhir/ValueSet/variable-type: {} + http://hl7.org/fhir/ValueSet/variants: {} + http://hl7.org/fhir/ValueSet/variant-state: {} + http://hl7.org/fhir/ValueSet/verificationresult-can-push-updates: {} + http://hl7.org/fhir/ValueSet/verificationresult-communication-method: {} + http://hl7.org/fhir/ValueSet/verificationresult-failure-action: {} + http://hl7.org/fhir/ValueSet/verificationresult-need: {} + http://hl7.org/fhir/ValueSet/verificationresult-primary-source-type: {} + http://hl7.org/fhir/ValueSet/verificationresult-push-type-available: {} + http://hl7.org/fhir/ValueSet/verificationresult-status: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-process: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-status: {} + http://hl7.org/fhir/ValueSet/verificationresult-validation-type: {} + http://hl7.org/fhir/ValueSet/versioning-policy: {} + http://hl7.org/fhir/ValueSet/vision-base-codes: {} + http://hl7.org/fhir/ValueSet/vision-eye-codes: {} + http://hl7.org/fhir/ValueSet/vision-product: {} + http://hl7.org/fhir/ValueSet/written-language: {} + http://hl7.org/fhir/ValueSet/yesnodontknow: {} + nested: {} + binding: {} + profile: + http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement: {} + http://hl7.org/fhir/StructureDefinition/goal-acceptance: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Accession: {} + http://hl7.org/fhir/StructureDefinition/careplan-activity-title: {} + http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate: {} + http://hl7.org/fhir/StructureDefinition/actualgroup: {} + http://hl7.org/fhir/StructureDefinition/iso21090-AD-use: {} + http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf: {} + http://hl7.org/fhir/StructureDefinition/openEHR-administration: {} + http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID: {} + http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele: {} + http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database: {} + http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits: {} + http://hl7.org/fhir/StructureDefinition/codesystem-alternate: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry: {} + http://hl7.org/fhir/StructureDefinition/patient-animal: {} + http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version: {} + http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure: {} + http://hl7.org/fhir/StructureDefinition/resource-approvalDate: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-area: {} + http://hl7.org/fhir/StructureDefinition/humanname-assembly-order: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate: {} + http://hl7.org/fhir/StructureDefinition/condition-assertedDate: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition: {} + http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter: {} + http://hl7.org/fhir/StructureDefinition/codesystem-author: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author: {} + http://hl7.org/fhir/StructureDefinition/valueset-author: {} + http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-authority: {} + http://hl7.org/fhir/StructureDefinition/event-basedOn: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-baseType: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation: {} + http://hl7.org/fhir/StructureDefinition/concept-bidirectional: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName: {} + http://hl7.org/fhir/StructureDefinition/patient-birthPlace: {} + http://hl7.org/fhir/StructureDefinition/patient-birthTime: {} + http://hl7.org/fhir/StructureDefinition/observation-bodyPosition: {} + http://hl7.org/fhir/StructureDefinition/bodySite: {} + http://hl7.org/fhir/StructureDefinition/location-boundary-geojson: {} + http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor: {} + http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue: {} + http://hl7.org/fhir/StructureDefinition/task-candidateList: {} + http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities: {} + http://hl7.org/fhir/StructureDefinition/openEHR-careplan: {} + http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-category: {} + http://hl7.org/fhir/StructureDefinition/procedure-causedBy: {} + http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse: {} + http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup: {} + http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition: {} + http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty: {} + http://hl7.org/fhir/StructureDefinition/list-changeBase: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation: {} + http://hl7.org/fhir/StructureDefinition/cqf-citation: {} + http://hl7.org/fhir/StructureDefinition/patient-citizenship: {} + http://hl7.org/fhir/StructureDefinition/clinicaldocument: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super: {} + http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode: {} + http://hl7.org/fhir/StructureDefinition/computableplandefinition: {} + http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments: {} + http://hl7.org/fhir/StructureDefinition/valueset-concept-comments: {} + http://hl7.org/fhir/StructureDefinition/valueset-concept-definition: {} + http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder: {} + http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder: {} + http://hl7.org/fhir/StructureDefinition/patient-congregation: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-constraint: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-country: {} + http://hl7.org/fhir/StructureDefinition/cqf-questionnaire: {} + http://hl7.org/fhir/StructureDefinition/cqllibrary: {} + http://hl7.org/fhir/StructureDefinition/data-absent-reason: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-de: {} + http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth: {} + http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle: {} + http://hl7.org/fhir/StructureDefinition/observation-delta: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies: {} + http://hl7.org/fhir/StructureDefinition/valueset-deprecated: {} + http://hl7.org/fhir/StructureDefinition/designNote: {} + http://hl7.org/fhir/StructureDefinition/flag-detail: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue: {} + http://hl7.org/fhir/StructureDefinition/devicemetricobservation: {} + http://hl7.org/fhir/StructureDefinition/observation-deviceCode: {} + http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics: {} + http://hl7.org/fhir/StructureDefinition/procedure-directedBy: {} + http://hl7.org/fhir/StructureDefinition/patient-disability: {} + http://hl7.org/fhir/StructureDefinition/display: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName: {} + http://hl7.org/fhir/StructureDefinition/example-section-library: {} + http://hl7.org/fhir/StructureDefinition/example-composition: {} + http://hl7.org/fhir/StructureDefinition/request-doNotPerform: {} + http://hl7.org/fhir/StructureDefinition/condition-dueTo: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration: {} + http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate: {} + http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate: {} + http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod: {} + http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent: {} + http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation: {} + http://hl7.org/fhir/StructureDefinition/iso21090-EN-use: {} + http://hl7.org/fhir/StructureDefinition/cqf-encounterClass: {} + http://hl7.org/fhir/StructureDefinition/cqf-encounterType: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted: {} + http://hl7.org/fhir/StructureDefinition/entryFormat: {} + http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence: {} + http://hl7.org/fhir/StructureDefinition/event-eventHistory: {} + http://hl7.org/fhir/StructureDefinition/synthesis: {} + http://hl7.org/fhir/StructureDefinition/timing-exact: {} + http://hl7.org/fhir/StructureDefinition/triglyceride: {} + http://hl7.org/fhir/StructureDefinition/lipidprofile: {} + http://hl7.org/fhir/StructureDefinition/hdlcholesterol: {} + http://hl7.org/fhir/StructureDefinition/cholesterol: {} + http://hl7.org/fhir/StructureDefinition/ldlcholesterol: {} + http://hl7.org/fhir/StructureDefinition/valueset-expand-group: {} + http://hl7.org/fhir/StructureDefinition/valueset-expand-rules: {} + http://hl7.org/fhir/StructureDefinition/valueset-expansionSource: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation: {} + http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate: {} + http://hl7.org/fhir/StructureDefinition/valueset-expirationDate: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription: {} + http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration: {} + http://hl7.org/fhir/StructureDefinition/cqf-expression: {} + http://hl7.org/fhir/StructureDefinition/valueset-expression: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends: {} + http://hl7.org/fhir/StructureDefinition/valueset-extensible: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-extension: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory: {} + http://hl7.org/fhir/StructureDefinition/humanname-fathers-family: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings: {} + http://hl7.org/fhir/StructureDefinition/observation-focusCode: {} + http://hl7.org/fhir/StructureDefinition/parameters-fullUrl: {} + http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice: {} + http://hl7.org/fhir/StructureDefinition/patient-genderIdentity: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsGene: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass: {} + http://hl7.org/fhir/StructureDefinition/geolocation: {} + http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring: {} + http://hl7.org/fhir/StructureDefinition/usagecontext-group: {} + http://hl7.org/fhir/StructureDefinition/groupdefinition: {} + http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-hidden: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy: {} + http://hl7.org/fhir/StructureDefinition/codesystem-history: {} + http://hl7.org/fhir/StructureDefinition/http-response-header: {} + http://hl7.org/fhir/StructureDefinition/language: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier: {} + http://hl7.org/fhir/StructureDefinition/device-implantStatus: {} + http://hl7.org/fhir/StructureDefinition/patient-importance: {} + http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet: {} + http://hl7.org/fhir/StructureDefinition/cqf-initialValue: {} + http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation: {} + http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization: {} + http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson: {} + http://hl7.org/fhir/StructureDefinition/auditevent-Instance: {} + http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical: {} + http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri: {} + http://hl7.org/fhir/StructureDefinition/request-insurance: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation: {} + http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding: {} + http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight: {} + http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl: {} + http://hl7.org/fhir/StructureDefinition/codesystem-keyWord: {} + http://hl7.org/fhir/StructureDefinition/valueset-keyWord: {} + http://hl7.org/fhir/StructureDefinition/codesystem-label: {} + http://hl7.org/fhir/StructureDefinition/valueset-label: {} + http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate: {} + http://hl7.org/fhir/StructureDefinition/cqf-library: {} + http://hl7.org/fhir/StructureDefinition/contactpoint-local: {} + http://hl7.org/fhir/StructureDefinition/consent-location: {} + http://hl7.org/fhir/StructureDefinition/event-location: {} + http://hl7.org/fhir/StructureDefinition/openEHR-location: {} + http://hl7.org/fhir/StructureDefinition/location-distance: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed: {} + http://hl7.org/fhir/StructureDefinition/openEHR-management: {} + http://hl7.org/fhir/StructureDefinition/codesystem-map: {} + http://hl7.org/fhir/StructureDefinition/valueset-map: {} + http://hl7.org/fhir/StructureDefinition/rendering-markdown: {} + http://hl7.org/fhir/StructureDefinition/match-grade: {} + http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs: {} + http://hl7.org/fhir/StructureDefinition/maxSize: {} + http://hl7.org/fhir/StructureDefinition/maxValue: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet: {} + http://hl7.org/fhir/StructureDefinition/cqf-measureInfo: {} + http://hl7.org/fhir/StructureDefinition/communication-media: {} + http://hl7.org/fhir/StructureDefinition/messageheader-response-request: {} + http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method: {} + http://hl7.org/fhir/StructureDefinition/procedure-method: {} + http://hl7.org/fhir/StructureDefinition/mimeType: {} + http://hl7.org/fhir/StructureDefinition/minLength: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs: {} + http://hl7.org/fhir/StructureDefinition/minValue: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet: {} + http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival: {} + http://hl7.org/fhir/StructureDefinition/MoneyQuantity: {} + http://hl7.org/fhir/StructureDefinition/humanname-mothers-family: {} + http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName: {} + http://hl7.org/fhir/StructureDefinition/auditevent-MPPS: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace: {} + http://hl7.org/fhir/StructureDefinition/narrativeLink: {} + http://hl7.org/fhir/StructureDefinition/patient-nationality: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version: {} + http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint: {} + http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor: {} + http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances: {} + http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris: {} + http://hl7.org/fhir/StructureDefinition/11179-objectClass: {} + http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation: {} + http://hl7.org/fhir/StructureDefinition/bmi: {} + http://hl7.org/fhir/StructureDefinition/bodyheight: {} + http://hl7.org/fhir/StructureDefinition/bodytemp: {} + http://hl7.org/fhir/StructureDefinition/bodyweight: {} + http://hl7.org/fhir/StructureDefinition/bp: {} + http://hl7.org/fhir/StructureDefinition/observation-genetics: {} + http://hl7.org/fhir/StructureDefinition/headcircum: {} + http://hl7.org/fhir/StructureDefinition/heartrate: {} + http://hl7.org/fhir/StructureDefinition/oxygensat: {} + http://hl7.org/fhir/StructureDefinition/resprate: {} + http://hl7.org/fhir/StructureDefinition/vitalsigns: {} + http://hl7.org/fhir/StructureDefinition/vitalspanel: {} + http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix: {} + http://hl7.org/fhir/StructureDefinition/ordinalValue: {} + http://hl7.org/fhir/StructureDefinition/originalText: {} + http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality: {} + http://hl7.org/fhir/StructureDefinition/codesystem-otherName: {} + http://hl7.org/fhir/StructureDefinition/valueset-otherName: {} + http://hl7.org/fhir/StructureDefinition/condition-outcome: {} + http://hl7.org/fhir/StructureDefinition/humanname-own-name: {} + http://hl7.org/fhir/StructureDefinition/humanname-own-prefix: {} + http://hl7.org/fhir/StructureDefinition/valueset-parameterSource: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent: {} + http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy: {} + http://hl7.org/fhir/StructureDefinition/humanname-partner-name: {} + http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix: {} + http://hl7.org/fhir/StructureDefinition/event-partOf: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record: {} + http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction: {} + http://hl7.org/fhir/StructureDefinition/event-performerFunction: {} + http://hl7.org/fhir/StructureDefinition/request-performerOrder: {} + http://hl7.org/fhir/StructureDefinition/organization-period: {} + http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap: {} + http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset: {} + http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet: {} + http://hl7.org/fhir/StructureDefinition/picoelement: {} + http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation: {} + http://hl7.org/fhir/StructureDefinition/quantity-precision: {} + http://hl7.org/fhir/StructureDefinition/observation-precondition: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-precondition: {} + http://hl7.org/fhir/StructureDefinition/patient-preferenceType: {} + http://hl7.org/fhir/StructureDefinition/iso21090-preferred: {} + http://hl7.org/fhir/StructureDefinition/organization-preferredContact: {} + http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd: {} + http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd: {} + http://hl7.org/fhir/StructureDefinition/flag-priority: {} + http://hl7.org/fhir/StructureDefinition/specimen-processingTime: {} + http://hl7.org/fhir/StructureDefinition/patient-proficiency: {} + http://hl7.org/fhir/StructureDefinition/operationdefinition-profile: {} + http://hl7.org/fhir/StructureDefinition/catalog: {} + http://hl7.org/fhir/StructureDefinition/hlaresult: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element: {} + http://hl7.org/fhir/StructureDefinition/procedure-progressStatus: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited: {} + http://hl7.org/fhir/StructureDefinition/provenance-relevant-history: {} + http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-question: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest: {} + http://hl7.org/fhir/StructureDefinition/observation-reagent: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason: {} + http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled: {} + http://hl7.org/fhir/StructureDefinition/workflow-reasonCode: {} + http://hl7.org/fhir/StructureDefinition/workflow-reasonReference: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted: {} + http://hl7.org/fhir/StructureDefinition/goal-reasonRejected: {} + http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization: {} + http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson: {} + http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage: {} + http://hl7.org/fhir/StructureDefinition/cqf-recipientType: {} + http://hl7.org/fhir/StructureDefinition/valueset-reference: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource: {} + http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences: {} + http://hl7.org/fhir/StructureDefinition/regex: {} + http://hl7.org/fhir/StructureDefinition/condition-related: {} + http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact: {} + http://hl7.org/fhir/StructureDefinition/patient-relatedPerson: {} + http://hl7.org/fhir/StructureDefinition/goal-relationship: {} + http://hl7.org/fhir/StructureDefinition/relative-date: {} + http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime: {} + http://hl7.org/fhir/StructureDefinition/request-relevantHistory: {} + http://hl7.org/fhir/StructureDefinition/patient-religion: {} + http://hl7.org/fhir/StructureDefinition/rendered-value: {} + http://hl7.org/fhir/StructureDefinition/codesystem-replacedby: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces: {} + http://hl7.org/fhir/StructureDefinition/observation-replaces: {} + http://hl7.org/fhir/StructureDefinition/replaces: {} + http://hl7.org/fhir/StructureDefinition/request-replaces: {} + http://hl7.org/fhir/StructureDefinition/task-replaces: {} + http://hl7.org/fhir/StructureDefinition/workflow-researchStudy: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk: {} + http://hl7.org/fhir/StructureDefinition/condition-ruledOut: {} + http://hl7.org/fhir/StructureDefinition/valueset-rules-text: {} + http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding: {} + http://hl7.org/fhir/StructureDefinition/procedure-schedule: {} + http://hl7.org/fhir/StructureDefinition/coding-sctdescid: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination: {} + http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding: {} + http://hl7.org/fhir/StructureDefinition/composition-section-subject: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-selector: {} + http://hl7.org/fhir/StructureDefinition/observation-sequelTo: {} + http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber: {} + http://hl7.org/fhir/StructureDefinition/servicerequest-genetics: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity: {} + http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition: {} + http://hl7.org/fhir/StructureDefinition/shareablecodesystem: {} + http://hl7.org/fhir/StructureDefinition/shareablelibrary: {} + http://hl7.org/fhir/StructureDefinition/shareablemeasure: {} + http://hl7.org/fhir/StructureDefinition/shareableplandefinition: {} + http://hl7.org/fhir/StructureDefinition/shareablevalueset: {} + http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling: {} + http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired: {} + http://hl7.org/fhir/StructureDefinition/SimpleQuantity: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue: {} + http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass: {} + http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference: {} + http://hl7.org/fhir/StructureDefinition/valueset-sourceReference: {} + http://hl7.org/fhir/StructureDefinition/valueset-special-status: {} + http://hl7.org/fhir/StructureDefinition/specimen-specialHandling: {} + http://hl7.org/fhir/StructureDefinition/observation-specimenCode: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status: {} + http://hl7.org/fhir/StructureDefinition/event-statusReason: {} + http://hl7.org/fhir/StructureDefinition/request-statusReason: {} + http://hl7.org/fhir/StructureDefinition/valueset-steward: {} + http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation: {} + http://hl7.org/fhir/StructureDefinition/rendering-style: {} + http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive: {} + http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-summary: {} + http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf: {} + http://hl7.org/fhir/StructureDefinition/valueset-supplement: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system: {} + http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink: {} + http://hl7.org/fhir/StructureDefinition/valueset-system: {} + http://hl7.org/fhir/StructureDefinition/valueset-systemName: {} + http://hl7.org/fhir/StructureDefinition/valueset-systemRef: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext: {} + http://hl7.org/fhir/StructureDefinition/cqf-systemUserType: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name: {} + http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure: {} + http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status: {} + http://hl7.org/fhir/StructureDefinition/openEHR-test: {} + http://hl7.org/fhir/StructureDefinition/observation-timeOffset: {} + http://hl7.org/fhir/StructureDefinition/tz-code: {} + http://hl7.org/fhir/StructureDefinition/tz-offset: {} + http://hl7.org/fhir/StructureDefinition/valueset-toocostly: {} + http://hl7.org/fhir/StructureDefinition/consent-Transcriber: {} + http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable: {} + http://hl7.org/fhir/StructureDefinition/translation: {} + http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion: {} + http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion: {} + http://hl7.org/fhir/StructureDefinition/familymemberhistory-type: {} + http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty: {} + http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType: {} + http://hl7.org/fhir/StructureDefinition/valueset-unclosed: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unit: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet: {} + http://hl7.org/fhir/StructureDefinition/codesystem-usage: {} + http://hl7.org/fhir/StructureDefinition/valueset-usage: {} + http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode: {} + http://hl7.org/fhir/StructureDefinition/identifier-validDate: {} + http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod: {} + http://hl7.org/fhir/StructureDefinition/variable: {} + http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant: {} + http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber: {} + http://hl7.org/fhir/StructureDefinition/codesystem-warning: {} + http://hl7.org/fhir/StructureDefinition/valueset-warning: {} + http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-wg: {} + http://hl7.org/fhir/StructureDefinition/consent-Witness: {} + http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus: {} + http://hl7.org/fhir/StructureDefinition/rendering-xhtml: {} + http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order: {} + logical: + http://hl7.org/fhir/StructureDefinition/Definition: {} + http://hl7.org/fhir/StructureDefinition/Event: {} + http://hl7.org/fhir/StructureDefinition/FiveWs: {} + http://hl7.org/fhir/StructureDefinition/MetadataResource: {} + http://hl7.org/fhir/StructureDefinition/Request: {} +hl7.fhir.uv.sdc: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://hl7.org/fhir/uv/sdc/ValueSet/assemble-expectation: {} + http://hl7.org/fhir/uv/sdc/ValueSet/collapsible: {} + http://hl7.org/fhir/uv/sdc/ValueSet/dex-mimetype: {} + http://hl7.org/fhir/uv/sdc/ValueSet/entryMode: {} + http://hl7.org/fhir/uv/sdc/ValueSet/launchContext: {} + http://hl7.org/fhir/uv/sdc/ValueSet/performerType: {} + http://hl7.org/fhir/uv/sdc/ValueSet/questionnaire-answer-constraint: {} + http://hl7.org/fhir/uv/sdc/ValueSet/species: {} + http://hl7.org/fhir/uv/sdc/ValueSet/task-code: {} + nested: {} + binding: + http://hl7.org/fhir/uv/sdc/StructureDefinition/structuredefinition-sdc-profile-example#gender_binding: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-question-library#address.state_binding: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-question-library#sex_binding: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task#code_binding: {} + profile: + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-contextExpression: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-isSubject: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-referencesContained: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-assemble-out: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-out: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-process-response-in: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaireresponse-extract-in: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-smap: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-smap: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-search: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-usagecontext: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width: {} + logical: + http://hl7.org/fhir/uv/sdc/StructureDefinition/structuredefinition-sdc-profile-example: {} + http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-question-library: {} +hl7.fhir.us.core: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-result-observation-category: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code-current: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-goal-description: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-laboratory-test-codes: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-problem-or-health-concern: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-screening-assessment-condition-category: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-screening-assessment-observation-category: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-screening-assessment-observation-maximum-category: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-servicerequest-category: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-simple-observation-category: {} + http://hl7.org/fhir/us/core/ValueSet/us-core-specimen-condition: {} + nested: {} + binding: + http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference#content.format_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference#type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance#clinicalStatus_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance#reaction.manifestation_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance#verificationStatus_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height#valueQuantity.code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature#valueQuantity.code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight#valueQuantity.code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference#category_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan#intent_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan#text.status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam#participant.role_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns#clinicalStatus_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns#verificationStatus_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage#relationship_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage#type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference#content.format_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference#type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter#hospitalization.dischargeDisposition_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter#type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal#description_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal#lifecycleStatus_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference#valueQuantity.code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization#statusReason_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization#vaccineCode_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device#type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab#interpretation_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-location#address.state_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-location#type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense#dosageInstruction.route_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense#quantity_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense#type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest#dosageInstruction.route_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest#intent_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest#reasonCode_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation#category_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation#valueCodeableConcept_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent#valueCodeableConcept_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus#valueCodeableConcept_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization#address.state_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient#address.state_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient#communication.language_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient#telecom.system_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient#telecom.use_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner#address.state_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole#specialty_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure#reasonCode_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance#agent.type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson#relationship_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest#reasonCode_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation#category_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus#status_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen#collection.bodySite_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen#condition_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen#type_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference#category_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs#component.code_binding: {} + profile: + http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-individual-sex: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-jurisdiction: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-location: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient: {} + http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age: {} + http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile: {} + http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-race: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs: {} + logical: {} +us.nlm.vsac: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.1280649: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.15972546: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.16432390: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.16929355: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.18316962: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.19613338: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.23618223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.24927846: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.26050446: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.26878039: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.29996863: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.13925.17760.4352590: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.2.91.8867.26816.649902: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.12009.10.2.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.13.13.1.15.1.999.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.13.13.1.16.1.1.999.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.13.13.1.16.1.11.1.999.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.13.13.1.16.1.12.1.999.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.13.13.1.17.1.1.999.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.13.13.1.17.1.11.1.999.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.13.18.1.1.11.1.999.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.15.2.1.1.999.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.15.7.1.1.11.1.999.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.999.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.999.3.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.999.3.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.999.4.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.999.4.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.999.4.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.234.999.4.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31172.1.1.999.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31172.1.1.999.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31172.1.1.999.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.12.1.999.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.12.1.999.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.12.1.999.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.13.1.999.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.13.1.999.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.13.1.999.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.14.1.999.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.15.1.999.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.16.1.999.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.16.1.999.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31182.1.16.1.999.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31441.1.2.999.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31471.1.11.1.999.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31471.1.11.1.999.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.13.31471.1.11.1.999.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31212.1.1.999.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31212.1.1.999.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31305.1.11.1.999.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31305.1.11.1.999.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31305.1.11.1.999.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31305.1.11.2.999.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31305.1.11.2.999.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31305.1.11.2.999.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31317.1.1.999.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31317.1.1.999.195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31317.1.1.999.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31329.1.1.999.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31329.1.1.999.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31329.1.1.999.199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31341.1.1.999.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31341.1.1.999.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31341.1.1.999.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31481.1.11.1.999.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31481.1.11.1.999.250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31481.1.12.1.999.251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31481.1.12.1.999.252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31481.1.12.1.999.253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31593.1.12.1.999.288: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.15.31663.1.1.999.291: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.8.31102.1.1.999.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31104.1.1.999.275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31108.1.1.999.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31112.1.11.1.999.221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31112.1.11.1.999.222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31112.1.12.1.999.223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31112.1.12.1.999.224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31112.1.13.1.999.225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31112.1.13.1.999.229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31112.1.14.1.999.227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.265.9.31112.1.14.1.999.228: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.12.31833.1.1.999.334: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.12.31833.1.1.999.335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.12.31833.1.1.999.336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.34853.1.1.999.237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.34853.1.1.999.238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.34853.1.1.999.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.34951.1.11.1.999.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.34951.1.11.1.999.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.34951.1.11.1.999.265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.11.1.999.300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.11.1.999.301: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.11.1.999.302: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.12.1.999.303: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.12.1.999.304: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.12.1.999.305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.13.1.999.306: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.13.1.999.307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.13.1.999.308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.14.1.999.309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35031.1.14.1.999.310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35211.1.11.1.999.319: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35211.1.12.1.999.320: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35211.1.13.1.999.321: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35282.1.11.1.999.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35282.1.11.1.999.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35282.1.12.1.999.217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.13.35282.1.12.1.999.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.34907.1.11.1.999.272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.34907.1.12.1.999.273: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.34907.1.13.1.999.274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.34920.1.1.999.290: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35043.1.1.999.279: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35221.1.11.1.999.315: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35221.1.13.1.999.316: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35221.1.13.1.999.317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35221.1.13.1.999.318: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35292.1.1.999.287: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35464.1.1.999.266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35607.1.11.1.999.267: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.268.15.35607.1.14.1.999.268: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.12.37641.1.1.999.653: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.12.37696.1.1.999.654: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.37752.1.1.999.655: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.37752.1.1.999.656: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.37752.1.1.999.657: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38167.1.1.999.594: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38256.1.1.999.662: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38266.1.1.999.663: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38343.1.1.999.665: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.11.1.999.722: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.11.1.999.723: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.11.1.999.724: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.12.1.999.725: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.12.1.999.726: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.12.1.999.727: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.13.1.999.728: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.13.1.999.729: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.13.1.999.730: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.14.1.999.731: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38398.1.14.1.999.732: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38493.1.1.999.688: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38493.1.1.999.689: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.13.38493.1.1.999.690: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.37872.1.1.999.658: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.37872.1.1.999.734: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.37937.1.11.1.999.659: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.37937.1.13.2.999.660: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.38112.1.1.999.661: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.38827.1.1.999.691: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.38839.1.1.999.692: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.38904.1.1.999.693: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.15.39406.1.1.999.694: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.4.37623.1.1.999.645: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.8.37627.1.1.999.697: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.8.37627.1.1.999.698: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.8.37631.1.11.1.999.646: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.8.37631.1.11.1.999.647: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.8.37631.1.12.1.999.648: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.8.37631.1.12.1.999.649: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.8.37631.1.12.1.999.650: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.8.37631.1.13.1.999.651: {} + http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.6997.4.1.2.271.9.37637.1.1.999.652: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1018.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1018.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.228: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.254: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.267: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.269: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.271: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.277: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.278: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.279: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.282: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.284: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.286: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.287: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.289: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.290: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.291: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.295: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.296: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.297: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.302: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.303: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.306: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.311: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.312: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.314: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.315: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.318: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.320: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.321: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.323: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.324: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.326: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.327: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.329: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.330: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.332: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.338: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.339: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.341: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.344: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.357: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.358: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.359: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.360: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.361: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.363: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.364: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.366: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.368: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.370: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.371: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.372: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.373: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.374: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.375: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.376: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.377: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.378: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.379: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.387: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.388: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.267: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.268: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.296: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.298: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.302: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.303: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.306: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.311: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.312: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.313: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.319: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.320: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.322: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.460: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.461: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.464: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.467: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.558: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.559: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.561: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.569: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.601: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.605: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.606: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.640: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.641: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.642: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.643: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.644: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.645: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.646: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.648: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.649: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.650: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.651: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.652: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.653: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.654: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.655: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.656: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.657: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.658: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.659: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.660: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.661: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.662: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.663: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1034.664: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.269: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.277: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.278: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.279: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.283: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.284: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.285: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.286: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.501: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.502: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.512: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.513: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.514: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.515: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.517: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.518: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.521: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.526: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.527: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.528: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.529: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.536: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.539: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.541: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.543: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.544: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.545: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.552: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.553: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.554: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.556: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.557: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.560: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.561: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.571: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.576: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.580: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.581: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.582: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.583: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.584: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.585: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.586: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.587: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.588: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.610: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.611: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.612: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.615: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.616: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.617: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.619: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.629: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1056.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1056.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1056.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1056.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1056.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1000: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1018: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1021: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1032: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1033: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1034: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1037: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1038: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1041: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1042: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1043: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1044: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1045: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1046: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1047: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1049: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1051: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1052: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1054: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1055: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1056: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1057: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1058: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1059: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1061: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1063: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1064: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1065: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1066: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1067: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1069: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1070: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1071: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1073: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1074: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1075: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1076: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1077: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1078: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1079: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1081: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1082: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1083: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1084: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1085: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1086: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1087: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1088: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1089: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1090: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1091: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1092: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1093: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1094: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1095: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1096: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1097: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1098: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1099: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.1117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.282: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.314: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.322: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.325: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.337: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.350: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.367: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.377: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.397: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.409: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.412: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.415: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.434: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.437: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.438: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.439: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.440: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.442: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.455: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.459: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.473: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.474: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.475: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.476: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.478: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.481: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.492: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.498: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.508: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.516: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.517: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.518: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.520: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.521: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.527: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.528: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.529: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.531: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.533: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.534: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.535: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.536: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.537: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.538: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.539: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.540: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.541: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.544: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.545: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.548: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.549: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.551: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.552: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.553: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.554: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.556: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.557: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.558: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.559: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.560: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.561: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.562: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.563: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.564: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.565: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.566: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.567: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.568: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.569: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.570: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.571: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.572: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.573: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.574: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.575: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.578: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.580: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.581: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.582: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.583: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.585: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.587: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.588: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.590: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.592: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.594: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.595: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.596: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.597: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.598: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.599: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.600: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.601: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.604: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.605: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.606: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.607: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.609: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.610: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.611: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.612: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.613: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.614: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.615: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.617: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.618: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.619: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.620: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.621: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.622: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.623: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.624: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.625: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.626: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.627: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.628: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.629: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.630: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.631: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.632: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.633: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.635: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.636: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.637: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.638: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.639: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.642: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.643: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.646: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.647: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.649: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.650: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.652: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.653: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.654: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.656: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.657: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.658: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.659: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.660: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.661: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.665: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.666: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.667: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.670: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.671: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.672: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.674: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.675: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.676: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.677: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.678: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.679: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.680: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.683: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.684: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.685: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.686: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.687: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.689: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.690: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.691: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.692: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.693: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.694: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.695: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.696: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.697: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.698: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.699: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.700: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.701: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.702: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.703: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.704: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.705: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.706: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.707: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.708: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.709: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.710: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.711: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.712: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.713: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.714: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.715: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.716: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.717: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.719: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.720: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.721: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.722: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.723: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.724: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.725: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.727: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.728: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.729: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.730: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.731: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.732: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.733: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.734: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.735: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.736: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.737: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.738: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.739: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.742: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.743: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.744: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.745: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.746: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.747: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.748: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.749: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.750: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.752: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.753: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.754: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.755: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.756: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.757: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.758: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.759: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.760: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.761: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.762: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.763: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.764: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.765: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.766: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.767: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.768: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.769: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.770: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.771: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.772: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.775: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.776: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.777: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.779: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.780: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.781: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.782: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.783: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.784: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.785: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.786: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.787: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.788: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.789: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.790: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.791: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.792: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.793: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.794: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.795: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.796: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.797: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.798: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.799: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.800: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.801: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.802: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.803: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.804: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.805: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.806: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.807: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.808: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.809: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.810: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.811: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.812: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.813: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.814: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.815: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.816: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.817: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.818: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.819: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.820: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.821: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.822: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.823: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.824: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.826: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.827: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.828: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.829: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.830: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.831: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.832: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.833: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.834: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.835: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.836: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.837: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.838: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.839: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.840: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.841: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.842: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.843: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.844: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.845: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.846: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.847: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.849: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.850: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.852: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.853: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.854: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.855: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.858: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.860: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.862: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.863: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.864: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.865: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.866: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.867: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.868: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.869: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.870: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.871: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.873: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.874: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.875: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.876: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.877: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.878: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.879: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.880: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.881: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.882: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.883: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.884: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.885: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.886: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.887: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.888: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.889: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.890: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.891: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.892: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.893: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.894: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.895: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.896: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.897: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.898: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.899: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.900: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.901: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.902: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.903: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.904: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.905: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.906: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.907: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.908: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.909: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.910: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.911: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.912: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.914: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.915: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.916: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.918: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.919: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.920: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.921: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.922: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.923: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.924: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.925: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.926: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.927: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.928: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.929: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.930: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.931: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.932: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.933: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.934: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.935: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.936: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.938: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.939: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.940: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.941: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.942: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.943: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.944: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.945: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.946: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.947: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.950: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.951: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.952: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.953: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.954: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.955: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.956: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.957: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.958: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.959: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.960: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.961: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.962: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.963: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.964: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.965: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.966: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.967: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.968: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.969: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.970: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.971: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.972: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.973: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.974: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.975: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.976: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.977: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.978: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.979: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.980: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.981: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.982: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.983: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.984: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.985: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.987: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.988: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.989: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.990: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.991: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.992: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.993: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.995: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.996: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.997: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.998: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1080.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1080.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1080.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1095.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.236: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.83: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1102.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1102.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1102.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1104.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1104.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1114.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.280: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.286: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.291: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.332: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.341: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.349: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.365: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.439: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.440: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.441: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.442: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.449: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.492: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.535: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.536: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.537: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.539: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.541: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.547: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.556: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.557: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.558: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.560: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.599: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.600: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.602: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.604: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1121.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1121.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1130.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1136.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1138.564: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1138.565: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1138.566: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1142.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1021: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1029: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1032: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1033: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1035: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1037: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1040: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1041: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1044: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1045: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1047: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1049: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1053: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1065: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1071: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1072: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1076: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1077: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1078: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1083: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1084: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1090: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1091: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1092: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1093: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1095: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1096: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1099: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1269: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1294: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1295: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1298: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1304: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1306: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1314: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1325: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1330: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1337: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1340: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1341: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1349: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1350: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1351: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1352: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1355: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1359: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1360: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1363: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1364: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1378: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1379: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1388: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1389: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1390: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1391: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1393: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1400: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1402: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1403: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1404: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1405: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1407: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1409: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1418: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1420: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1422: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1423: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1424: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1426: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1430: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1446: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1447: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1449: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1450: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1452: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1453: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1454: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1458: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1459: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1460: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1461: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1462: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1463: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1464: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1465: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1466: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1468: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1470: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1471: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1473: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1476: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1485: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1487: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1491: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1492: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1505: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1507: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1509: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1513: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1514: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1515: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1516: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1520: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1528: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1533: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1534: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1538: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1540: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1541: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1543: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1544: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1545: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1546: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1551: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1552: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1553: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1554: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1559: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1562: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1563: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1564: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1565: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1566: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1567: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1574: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1577: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1578: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1580: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1581: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1582: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1584: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1585: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1586: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1587: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1588: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1594: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1595: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1597: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1598: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1600: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1604: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1605: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1606: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1612: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1613: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1614: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1618: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1620: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1626: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1634: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1640: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1641: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1642: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1643: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1651: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1654: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1661: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1662: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1663: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1667: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1676: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1677: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1678: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1679: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1687: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1688: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1700: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1702: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1712: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1714: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1715: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1716: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1717: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1718: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1719: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1720: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1721: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1722: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1723: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1725: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1726: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1735: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1739: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1740: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1742: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1745: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1746: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1748: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1749: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1753: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1755: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1758: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1763: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1769: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1772: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1773: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1775: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1778: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1779: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1781: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1785: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1786: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1788: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1789: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1791: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1792: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1797: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1800: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1803: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1819: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1820: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1823: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1824: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1829: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1835: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1842: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1844: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1846: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1847: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1848: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1864: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1866: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1875: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1878: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1880: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1881: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1882: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1892: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1893: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1895: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1897: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1898: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1901: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1902: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1908: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1912: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1913: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1919: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1923: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1924: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1925: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1926: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1927: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1928: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1929: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1930: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1931: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1932: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1933: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1934: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1935: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1936: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1937: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1938: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1939: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1940: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1941: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1942: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1943: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1944: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1945: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1946: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1947: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1948: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1949: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1950: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1951: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1952: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1953: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1954: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1955: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1956: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1957: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1958: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1959: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1960: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1961: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1962: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1963: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1964: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1965: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1966: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1967: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1968: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1969: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1970: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1971: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1972: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1973: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1974: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1975: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1976: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1978: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1979: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1980: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1981: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1982: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1983: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1984: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1985: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1986: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1987: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1988: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1989: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1990: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1991: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1992: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1993: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1994: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1995: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1996: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1997: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1998: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1999: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2000: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2013: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2018: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2020: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2029: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2032: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2033: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2034: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2037: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2038: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2039: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2040: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2041: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2042: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2043: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2044: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2045: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2046: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2047: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2049: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2051: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2052: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2053: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2054: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2055: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2056: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2057: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2058: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2059: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2060: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2061: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2062: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2063: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2064: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2065: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2066: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2067: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2069: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2070: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2071: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2072: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2073: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2074: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2075: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2076: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2077: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2078: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2079: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2081: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2082: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2083: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2084: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2085: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2087: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2088: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2089: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2090: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2091: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2092: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2093: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2094: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2095: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2096: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2098: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2228: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2236: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2254: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2258: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2259: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2261: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2262: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2267: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2268: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2269: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2270: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2271: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2273: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2276: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2277: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2278: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2279: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2280: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2282: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2283: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2284: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2285: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2286: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2287: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2288: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2289: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2290: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2291: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2293: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2294: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2295: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2296: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2297: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2298: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2301: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2302: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2303: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2304: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2306: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2311: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2312: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2313: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2314: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2315: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2316: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2318: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2319: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2320: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2321: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2322: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2323: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2324: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2325: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2326: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2327: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2328: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2329: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2330: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2331: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2332: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2334: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2337: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2338: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2339: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2340: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2341: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2342: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2343: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2344: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2345: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2346: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2347: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2348: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2349: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2350: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2351: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2352: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2354: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2355: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2356: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2357: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2358: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2359: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2360: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2361: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2362: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2363: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2364: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2365: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2366: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2367: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2368: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2370: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2371: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2372: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2373: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2374: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2375: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2376: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2377: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2378: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2379: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2380: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2381: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2382: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2383: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2384: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2385: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2386: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2387: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2388: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2403: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2404: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2405: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2406: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2407: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2408: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2409: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2410: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2411: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2412: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2413: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2414: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2415: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2416: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2417: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2418: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2419: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2420: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2421: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2423: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2424: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2425: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2426: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2427: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2428: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2429: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2430: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2431: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2432: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2433: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2434: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2435: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2436: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2437: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2438: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2439: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2440: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2441: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2442: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2443: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2444: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2445: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2446: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2447: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2448: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2449: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2450: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2451: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2452: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2453: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2454: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2455: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2456: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2457: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2458: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2459: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2460: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2461: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2462: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2463: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2464: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2465: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2466: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2467: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2468: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2470: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2471: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2473: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2474: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2475: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2476: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2477: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2478: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2479: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2480: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2483: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2484: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2485: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2486: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2487: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2488: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2489: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2490: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2491: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2492: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2493: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2494: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2495: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2496: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2497: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2498: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2499: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2500: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2501: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2502: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2503: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2504: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2505: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2506: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2507: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2508: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2509: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2510: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2511: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2512: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2513: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2514: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2515: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2516: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2517: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2518: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2520: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2521: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2522: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2526: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2527: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2528: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2529: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2531: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.2533: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.268: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.282: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.283: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.285: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.287: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.289: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.293: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.297: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.301: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.304: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.311: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.316: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.319: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.322: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.326: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.329: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.330: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.340: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.341: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.342: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.343: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.344: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.349: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.356: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.359: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.362: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.365: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.366: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.371: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.372: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.375: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.376: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.379: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.384: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.386: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.388: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.390: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.395: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.396: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.398: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.399: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.400: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.401: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.403: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.405: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.407: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.408: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.422: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.427: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.436: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.437: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.438: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.445: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.446: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.451: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.460: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.464: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.468: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.471: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.472: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.476: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.478: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.479: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.480: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.481: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.494: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.496: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.500: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.505: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.507: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.512: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.515: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.516: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.527: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.531: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.534: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.548: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.550: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.553: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.557: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.560: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.569: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.575: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.576: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.577: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.578: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.579: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.580: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.581: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.584: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.586: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.595: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.598: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.605: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.606: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.614: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.621: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.632: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.645: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.648: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.650: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.652: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.660: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.662: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.663: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.664: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.665: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.666: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.668: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.671: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.672: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.673: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.674: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.675: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.676: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.677: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.678: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.679: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.680: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.681: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.686: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.687: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.689: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.691: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.692: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.702: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.705: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.709: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.711: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.712: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.713: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.714: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.715: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.717: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.718: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.719: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.720: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.721: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.722: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.723: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.724: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.727: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.728: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.730: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.733: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.741: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.744: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.746: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.747: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.750: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.755: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.756: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.757: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.758: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.762: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.763: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.764: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.765: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.766: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.767: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.770: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.773: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.777: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.779: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.780: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.782: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.785: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.789: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.792: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.793: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.794: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.795: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.796: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.797: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.798: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.799: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.802: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.803: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.808: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.809: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.810: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.811: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.815: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.816: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.818: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.820: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.822: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.823: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.824: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.830: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.835: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.836: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.839: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.841: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.842: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.844: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.846: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.847: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.864: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.865: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.867: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.869: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.875: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.878: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.881: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.884: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.889: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.892: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.895: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.896: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.897: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.900: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.902: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.907: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.910: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.911: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.914: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.915: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.918: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.919: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.927: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.928: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.930: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.931: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.932: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.934: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.935: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.937: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.942: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.952: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.956: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.957: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.958: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.963: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.965: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.969: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.970: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.971: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.976: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.978: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.979: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.989: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.991: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.994: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.998: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.999: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1151.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1160.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1164.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1164.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1164.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1164.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1164.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1164.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1164.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1164.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.83: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1176.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.83: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1181.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1291: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1293: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1294: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1295: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1297: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1298: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1325: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1326: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1344: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1352: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1354: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1358: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.1370: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.3483: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.3484: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.3485: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.3486: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.3487: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.3488: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.3519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.3520: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.393: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.394: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4436: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4437: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4448: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4466: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4467: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4470: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4474: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.4502: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.491: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.495: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.788: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.789: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.790: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1213.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1217.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.83: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1221.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1015: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1020: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1029: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1042: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1053: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1057: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1058: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1060: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1064: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1065: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1069: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1075: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1076: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1082: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1083: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1375: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1377: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1378: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1379: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1380: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1381: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1382: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1383: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1384: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1385: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1386: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1387: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1388: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1392: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1393: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1394: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1395: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1396: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1398: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1399: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1400: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1401: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1403: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1405: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1406: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1409: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1413: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1414: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1415: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1419: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1422: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1424: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1425: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1426: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1427: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1428: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1429: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1430: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1431: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1432: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1433: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1434: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1435: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1436: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1437: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1438: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1439: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1440: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1441: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1442: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1443: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1444: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1445: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1446: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1447: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1448: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1449: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1450: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1451: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1453: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1455: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1456: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1457: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1458: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1459: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1460: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1461: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1462: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1463: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1464: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1465: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1466: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1467: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1468: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1470: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1471: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1472: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1473: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1474: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1475: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1476: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1477: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1478: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1479: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1480: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1481: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1483: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1484: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1485: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1486: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1487: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1488: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1489: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1490: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1491: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1492: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1496: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1497: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1498: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1500: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1501: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1502: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1503: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1504: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1505: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1506: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1507: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1508: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1509: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1510: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1514: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1515: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1516: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1517: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1518: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1520: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1521: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1522: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1526: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1527: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1529: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1531: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1533: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1534: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1535: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1536: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1537: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1538: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1539: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1540: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1541: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1543: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1547: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1548: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1549: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1550: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1551: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1552: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1553: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1554: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1556: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1557: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1558: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1559: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1560: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1561: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1562: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1563: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1564: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1565: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1566: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1568: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1569: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1571: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1572: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1573: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1574: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1575: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1576: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1577: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1578: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1579: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1580: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1581: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1582: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1583: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1584: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1585: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1586: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1587: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1588: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1589: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1590: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1591: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1592: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1593: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1594: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1595: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1597: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1598: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1599: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1600: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1601: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1602: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1603: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1605: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1606: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1607: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1608: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1609: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.1610: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.417: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.418: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.419: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.420: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.450: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.480: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.481: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.490: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.491: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.492: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.496: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.497: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.498: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.499: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.500: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.501: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.502: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.506: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.507: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.508: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.510: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.512: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.513: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.514: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.515: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.516: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.517: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.518: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.520: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.521: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.522: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.526: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.529: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.531: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.533: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.535: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.538: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.539: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.540: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.541: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.543: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.544: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.545: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.546: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.547: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.548: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.549: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.554: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.556: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.557: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.558: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.559: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.560: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.561: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.562: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.563: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.564: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.565: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.567: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.568: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.571: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.579: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.580: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.581: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.582: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.583: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.584: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.586: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.587: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.588: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.590: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.591: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.592: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.606: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.607: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.608: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.609: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.610: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.611: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.613: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.614: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.615: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.616: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.618: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.619: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.620: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.621: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.625: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.626: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.627: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.634: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.635: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.636: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.637: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.638: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.639: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.640: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.641: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.642: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.643: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.644: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.645: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.646: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.647: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.648: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.649: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.650: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.651: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.652: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.653: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.654: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.656: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.658: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.659: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.660: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.661: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.662: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.663: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.664: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.665: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.666: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.667: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.668: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.669: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.670: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.671: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.672: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.673: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.674: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.675: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.676: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.677: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.678: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.679: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.680: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.681: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.682: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.683: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.684: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.685: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.686: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.687: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.688: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.689: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.690: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.691: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.692: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.693: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.694: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.695: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.696: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.697: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.699: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.701: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.702: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.703: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.704: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.705: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.706: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.707: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.708: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.709: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.711: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.713: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.714: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.715: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.716: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.717: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.718: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.719: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.720: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.721: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.722: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.723: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.724: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.725: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.726: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.727: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.728: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.729: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.730: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.731: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.732: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.733: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.734: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.735: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.736: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.737: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.738: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.739: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.740: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.741: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.742: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.743: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.744: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.745: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.746: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.747: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.748: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.749: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.750: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.751: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.752: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.753: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.754: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.755: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.756: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.757: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.759: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.760: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.761: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.762: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.763: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.764: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.768: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.769: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.770: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.771: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.772: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.773: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.790: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.791: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.792: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.793: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.794: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.795: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.797: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.799: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.800: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.801: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.804: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.805: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.806: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.807: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.808: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.809: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.810: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.811: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.812: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.813: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.814: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.815: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.816: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.817: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.818: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.819: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.822: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.823: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.826: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.828: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.83: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.836: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.840: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.841: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.842: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.843: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.844: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.845: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.864: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.867: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.868: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.869: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.870: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.873: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.880: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.881: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.882: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.883: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.884: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.885: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.886: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.888: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.889: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.891: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.892: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.893: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.894: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.895: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.896: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.897: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.898: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.899: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.900: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.901: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.902: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.903: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.904: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.905: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.906: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.907: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.908: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.909: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.910: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.911: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.912: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.913: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.915: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.916: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.917: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.918: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.920: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.921: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.922: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.923: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.924: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.925: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.927: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.928: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.930: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.933: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.934: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.935: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.936: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.937: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.938: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.939: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.940: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.942: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.943: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.944: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.945: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.947: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.948: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.949: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.951: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.954: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.955: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.956: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.957: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.958: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.960: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.961: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.962: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.963: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.964: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.967: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.968: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.969: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.976: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.977: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.978: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.979: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.987: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.991: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.994: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.996: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1222.997: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1225.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1225.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1226.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1226.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1226.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1228.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1228.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1228.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1228.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1228.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1228.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1234.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.228: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.236: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.254: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.258: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.259: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.261: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.262: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.270: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.276: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.280: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.284: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.285: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.286: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.288: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.290: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.291: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.294: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.295: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.296: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.297: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.298: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.302: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.303: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.304: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.306: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.311: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.312: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.313: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.314: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.315: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.316: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.318: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.319: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.320: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.321: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.322: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.323: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.324: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.325: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.326: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.327: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.328: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.329: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.330: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.331: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.332: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.334: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.337: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.338: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.339: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.340: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.341: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.342: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.343: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.344: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.345: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.346: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.348: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.349: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.350: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.351: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.352: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.354: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.355: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.356: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.357: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.358: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.359: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.360: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.361: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.362: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.363: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.364: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.365: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.366: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.367: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.368: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.370: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.371: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.372: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.373: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.374: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.375: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.376: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.377: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.378: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.379: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.382: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.384: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.385: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.386: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.387: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.388: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.393: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.400: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.401: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.402: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.403: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.404: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.405: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.406: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.408: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.409: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.413: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.414: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.415: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.416: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.417: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.418: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.419: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.420: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.424: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.427: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.428: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.429: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.430: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.431: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.432: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.433: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.434: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.435: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.436: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.437: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.438: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.439: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.440: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.441: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.442: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.443: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.444: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.445: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.446: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.447: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.448: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.449: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.450: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.451: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.452: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.453: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.454: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.455: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.456: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.457: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.458: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.459: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.460: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.461: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.462: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.463: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.464: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.465: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.466: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.467: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.468: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.470: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.472: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.473: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.475: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.476: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.477: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.479: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.484: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.486: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.487: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.488: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.490: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.494: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.495: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.496: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.497: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.498: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.499: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.500: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.501: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.502: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.503: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.504: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.505: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.506: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.508: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.509: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.510: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.511: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.512: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.513: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.514: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.515: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.516: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.517: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.520: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.526: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.527: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.528: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.529: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.531: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.533: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.534: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.535: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.536: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.537: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.538: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.539: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.540: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.541: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.543: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.544: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.545: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.546: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.547: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.548: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.549: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.550: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.551: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.552: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.553: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.554: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.555: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.556: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.557: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.558: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.559: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.560: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.561: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.562: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.563: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.564: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.565: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.566: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.567: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.568: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.569: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.570: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.571: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.572: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.573: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.574: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.575: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.576: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.577: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.578: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.579: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.580: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.581: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.582: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.583: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.584: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.585: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.586: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.587: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.588: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.589: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.590: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.591: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.592: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.593: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.595: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.596: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.597: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.598: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.599: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.600: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.601: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.602: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.603: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.604: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.605: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.606: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.607: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.608: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.609: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.610: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.611: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.612: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.613: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.614: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.615: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.616: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.617: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.618: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.619: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.620: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.621: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.622: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.623: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.624: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.625: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.626: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.627: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.628: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.629: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.630: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.631: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.633: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.634: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.635: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.636: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.637: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.638: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.639: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.640: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.641: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.642: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.643: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.644: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.645: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.646: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.647: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.648: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1235.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1237.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1237.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1237.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1237.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1237.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1242.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1242.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.236: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.254: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.258: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.259: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.261: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.262: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.267: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.268: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.269: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.270: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.271: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.273: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.83: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1247.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.262: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.268: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.271: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.276: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.277: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.301: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.349: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.350: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.351: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.352: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.354: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.355: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.356: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.357: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.358: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.359: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.360: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.361: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.362: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.363: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.364: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.365: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.366: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.367: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.368: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.370: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.371: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.372: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.374: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.375: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.376: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.377: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.389: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1250.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1250.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1251.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1254.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1254.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1258.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1258.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1259.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1259.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1259.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1259.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1259.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1259.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1259.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.236: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.254: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.258: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.259: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.261: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.262: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.267: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.268: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.269: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.270: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.271: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.273: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.276: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.277: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.278: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.279: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.280: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.282: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.283: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.284: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.285: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.286: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.288: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.289: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.293: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.294: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.295: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.296: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.297: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.298: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.302: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.303: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.304: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.311: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.313: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.314: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.315: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.316: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.318: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.319: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.320: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.321: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.322: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.323: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.324: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.325: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.326: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.327: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.328: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.329: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.330: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.331: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.332: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.334: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.337: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.338: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.339: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.340: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.341: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.342: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.343: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.344: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.345: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.346: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.347: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.348: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.349: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.350: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.351: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.352: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.354: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.355: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.356: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.357: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.358: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.359: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.360: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.361: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.362: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.363: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.364: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.365: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.366: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.367: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.368: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.370: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.371: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.372: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.374: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.375: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.376: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.377: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.378: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.379: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.380: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.381: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.382: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.383: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.384: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.385: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.386: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.387: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.388: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.389: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.390: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.391: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.392: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.393: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.394: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.395: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.396: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.397: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.398: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.399: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.400: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.401: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.402: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.403: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.404: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.405: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.406: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.407: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.408: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.409: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.410: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.411: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.412: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.413: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.414: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.415: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.416: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.417: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.418: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.419: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.420: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.421: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.423: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.425: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.426: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.428: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.429: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.431: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.432: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.433: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.436: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.437: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.441: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.442: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.444: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.447: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.449: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.451: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.453: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.455: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.456: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.458: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.459: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.460: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.461: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.462: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.463: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.464: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.465: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.466: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.467: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.468: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.470: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.471: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.472: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.473: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.474: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.475: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.476: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.477: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.478: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.479: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.48: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.480: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.481: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.483: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.484: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.485: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.486: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.487: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.488: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.489: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.490: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.491: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.492: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.493: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.494: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.495: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.496: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.497: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.498: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.499: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.500: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.501: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.502: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.503: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.504: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.505: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.506: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.507: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.508: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.510: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.53: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.63: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.67: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.69: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.83: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.85: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.94: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.95: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.96: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.97: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.98: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1260.99: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1262.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.42: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1264.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1272.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1282.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1282.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1282.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1282.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1289.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1289.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1290.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1290.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1290.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10267: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10416: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10612: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10637: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10901: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.11610: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.14914: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15913: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.16926: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.18877: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19563: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19579: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19601: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19717: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20549: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.304: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.306: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.1.5.9.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.1.5.9.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.1.5.9.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.1.5.9.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.1.9.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.40: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.5.9.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.1.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.4.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.6.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.7.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.8.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.23: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.24: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.29: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.31: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.32: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.34: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.36: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.39: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.41: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.46: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.47: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.49: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.50: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.51: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.52: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.54: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.55: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.65: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.66: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.69.1.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.69.1.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.69.1.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.69.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.69.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.69.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.69.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.69.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.81: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.84: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.86: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.88: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.89: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.90: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.10: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.19: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.20: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.6: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.13.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.17.4077.2.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.17.4077.2.1018: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.25: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.26: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.27: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.270: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.271: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.282: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.286: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.288: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.294: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.295: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.296: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.298: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.30: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.313: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.315: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.319: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.321: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.323: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.325: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.328: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.33: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.330: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.331: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.337: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.338: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.340: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.344: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.346: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.348: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.35: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.361: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.365: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.367: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.37: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.38: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.384: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.393: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.395: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.401: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.418: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.419: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.421: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.422: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.423: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.78: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.79: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1434.1047: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.101: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.103: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.114: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.122: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.126: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.127: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.131: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.136: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.137: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.138: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.142: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.146: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.147: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.191: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.254: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.258: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.261: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.3.266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.228: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.236: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.2074.1.1.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.70: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.71: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.72: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.75: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1002.77: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1004.12: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1004.13: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1004.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1004.15: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1004.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1004.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1004.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1020: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1021: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1301: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1302: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1303: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1304: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1305: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.13064: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1311: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1312: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.13133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1314: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1315: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1316: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1317: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1318: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.13193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.13202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.13213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.13222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1323: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1329: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1330: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1331: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1332: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1802: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1803: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1804: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1805: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1809: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1810: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1811: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1812: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1813: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.18143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1832: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1833: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1834: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1835: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1836: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1837: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1838: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1839: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1840: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1841: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1842: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1843: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1844: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1845: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1846: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1847: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.190123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.1902: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.190412: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.5: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.21: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4015: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4029: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4032: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4033: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4034: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4035: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4043: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4044: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4045: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4046: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4047: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4049: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4052: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4053: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4054: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4055: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4056: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4057: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4066: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3566.2.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3566.2.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3566.3.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1020: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1035: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1040: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1060: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1065: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1125: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1130: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1228: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1261: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1262: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1264: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1276: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1277: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1278: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1279: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1282: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1284: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1285: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1286: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1287: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1013: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1046: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1054: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1055: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1059: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1066: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1073: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1089: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1013: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1014: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1015: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.11.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.11.1033: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.11.1034: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.11.1036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.11.1058: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.11.1059: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.11.1066: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.11.1067: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1021: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1029: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1020: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1032: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1034: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1035: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1038: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1039: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.11.1029: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.11.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1040: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1042: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1043: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1046: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1049: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1060: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1062: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1161: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1162: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.11.1221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1051: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1053: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1054: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1055: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1057: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1058: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1059: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.106.11.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.106.11.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.106.11.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.106.11.1036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.106.12.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.106.12.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1060: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1062: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1063: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1065: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1066: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1067: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1044: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1047: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1051: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1052: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1053: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1018: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1029: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1052: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1060: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.11.1067: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.12.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.12.1013: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.12.1014: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.109.12.1029: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1065: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1066: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1070: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1078: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1085: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1086: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1087: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1089: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1098: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1104: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1110: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1112: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1115: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1116: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1121: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1123: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1124: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1153: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1154: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1158: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.11.1159: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1032: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1037: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1039: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1040: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1041: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1042: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1044: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1045: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1046: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1047: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1049: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1051: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1052: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1053: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1059: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1083: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1084: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1085: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1086: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1087: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1088: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1013: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1032: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.11.1033: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1018: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.112.11.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.112.11.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.112.11.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1073: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1074: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1078: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1081: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1083: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1085: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1087: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1088: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1090: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1091: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1093: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1094: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1096: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1097: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1099: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1308: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1309: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1310: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.11.1311: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1038: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1040: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1044: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1045: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1046: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1047: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1048: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1049: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1051: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.11.1021: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.11.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.11.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.11.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.11.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.12.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.12.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1149: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.115.11.1248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.115.12.1088: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1150: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1152: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1156: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1157: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1163: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1164: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1166: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.11.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.11.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.11.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.11.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.11.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.11.1033: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.11.1034: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.11.1036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.12.1009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.12.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.12.1015: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.117.12.1016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1171: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1172: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1173: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1179: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.11.1042: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.11.1077: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.11.1097: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.11.1220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1035: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1188: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1197: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1198: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1199: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.11.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.12.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.12.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.12.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.12.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1200: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1201: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1202: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1203: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1204: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1206: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1207: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1208: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1209: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.121.11.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.121.11.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.121.11.1030: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.121.11.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.121.12.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.121.12.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.121.12.1014: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.121.12.1015: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1210: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1217: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.122.11.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.122.12.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1225: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1226: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1227: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1228: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1229: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1230: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1231: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1236: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1245: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.11.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.11.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.11.1009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.11.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.11.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.12.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.12.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.125.12.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1253: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1254: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1258: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1259: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1260: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1273: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.195.11.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.195.11.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.195.12.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1078: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1109: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1129: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1167: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1220: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1222: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1228: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1235: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1252: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1255: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1267: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1481: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1517: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1531: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.11.1532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1205: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1213: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1216: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1218: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1219: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1221: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1223: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1224: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1265: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1266: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1480: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1481: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1522: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1015: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1020: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1035: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1055: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1061: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1062: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1084: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1085: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1086: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1087: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1089: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1090: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1091: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1092: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1096: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1097: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1132: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1143: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1144: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1145: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1148: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1013: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1014: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1034: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1069: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1070: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1071: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1075: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1064: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1065: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1067: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1070: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1100: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1102: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1105: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1106: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1107: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.11.1108: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.12.1031: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.12.1035: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.12.1036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.12.1050: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.199.12.1056: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1004.2446: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1004.2447: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1004.2448: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1004.2449: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1004.2450: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1004.2451: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1004.2452: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1004.2616: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1036: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1037: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1049: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1058: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1062: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1063: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1064: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1067: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1069: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1071: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1072: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1073: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1078: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1079: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1080: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1081: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.111: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.113: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.118: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.119: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.120: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1243: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1244: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.133: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1334: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1341: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1342: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1344: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1363: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1364: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1372: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1374: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1377: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1381: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1401: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1402: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1403: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1509: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1521: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1526: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1527: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1528: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1529: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1534: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1535: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1537: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1538: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1540: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1542: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1543: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1544: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1546: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1548: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1549: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1550: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1552: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1561: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1562: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1564: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1566: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1571: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1572: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1574: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1575: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1577: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1578: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1582: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1583: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1587: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1588: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1590: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1591: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1601: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1603: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1612: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1613: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1615: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1617: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1618: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1620: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1621: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1623: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1626: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1628: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1632: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1634: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1635: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1637: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1638: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1640: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1641: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1643: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1644: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1646: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1647: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1649: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1653: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1655: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1656: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1658: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1659: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1661: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1662: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1664: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1665: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1667: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1668: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1670: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1671: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1673: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1677: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1679: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.168: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1680: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1682: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1683: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1685: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1686: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1688: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1689: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.169: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1691: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1695: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1697: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1701: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1703: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1707: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1709: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1713: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1715: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1716: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1718: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1719: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1721: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1722: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1724: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1728: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1730: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1731: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.175: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1752: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1766: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1767: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1769: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1770: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1771: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1772: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1773: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1774: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1775: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1776: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1777: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1778: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1779: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1780: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1781: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1782: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.186: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1912: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1918: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1921: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1923: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1924: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.408: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.410: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.411: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.422: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.423: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.424: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.425: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.450: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.470: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.483: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.484: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.511: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.532: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.56: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.57: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.58: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.589: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.59: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.590: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.61: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.73: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.74: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.76: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.80: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.859: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.860: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.861: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.91: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.92: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1018: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1027: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1028: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1090: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1091: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1092: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1134: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1139: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1140: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1141: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1151: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1170: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1174: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1176: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1177: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1178: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1187: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1189: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1190: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1193: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1211: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1212: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1251: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1259: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1332: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1333: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1334: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1409: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1410: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1411: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1412: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1413: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1414: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1415: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1416: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1417: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1418: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1419: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1423: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1424: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1426: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1427: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1428: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1430: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1432: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1433: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1438: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1443: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1444: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1445: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1446: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1448: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1450: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1451: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1452: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1453: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1454: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1455: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1457: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1458: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1459: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1460: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1461: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1462: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1463: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1465: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1466: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1467: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1468: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1471: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1473: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1475: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1477: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1478: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1479: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1480: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1483: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1489: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1491: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1492: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1493: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1496: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1530: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1558: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1559: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1560: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1561: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1562: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1563: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1566: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1567: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1568: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1569: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1570: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1571: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1572: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1573: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1574: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1575: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1576: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1582: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.3000: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.319: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.320: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.326: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.327: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.362: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.366: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.367: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.368: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.369: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.370: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.371: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.376: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.378: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.398: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.399: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.401: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.403: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.412: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.451: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.471: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.485: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.509: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1498: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1499: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1519: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1523: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1524: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1525: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1526: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1527: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1528: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1549: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1550: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1551: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1578: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1579: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1608: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1609: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1610: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1751: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1834: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1917: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.695: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.885: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.886: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1475: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1476: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1497: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1508: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1509: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1511: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1512: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1514: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1516: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1537: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1538: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1914: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1915: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1916: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1918: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.192: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.2387: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.2388: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.2395: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.2462: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.2466: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.259: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.261: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.467: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.468: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.469: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.470: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.537: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.538: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.791: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.805: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.810: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.823: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.6366.117: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1250: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1668: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1940: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.2262: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.2328: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.2343: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.2363: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.3011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.3024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.335: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.336: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.404: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.623: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.694: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.737: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.747: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.2433: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.2435: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.246: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.254: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.256: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.257: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.262: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.269: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.271: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.272: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.273: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.274: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.275: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.277: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.278: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.279: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.43: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.44: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.45: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.82: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.11.721: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.11.723: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.6929.2.1000: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.6929.2.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.6929.3.1000: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.6929.3.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1000: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1013: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1014: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1015: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1016: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1017: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1018: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1019: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1020: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1021: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1022: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1023: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1024: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1025: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.2.1026: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1000: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1001: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1002: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1003: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1004: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1005: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1006: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1009: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1010: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1011: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1012: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1013: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.8420.3.1014: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.6.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.6.8: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.7.2: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.7.4: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.11: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.16: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.17: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.18: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.22: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.28: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.60: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.62: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.64: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.68: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.2.575: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.3.155: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.40.2.48.1: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.40.2.48.3: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.24.7.14: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.24.7.280: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.24.7.281: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3180: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3181: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3182: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3183: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3184: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3185: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3194: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3195: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3196: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3234: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3247: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3248: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3249: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3283: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3360: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3361: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3595: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6007: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6008: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6042: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6051: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6074: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7160: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7214: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7215: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7232: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7233: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7237: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7238: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7239: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7240: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7241: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7242: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7338: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7353: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.877: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.13883.3.3157.4067: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.13883.3.3157.4068: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.13883.3.3157.4069: {} + http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.113883.3.67.1.101.3.2444: {} + http://hl7.org/fhir/ValueSet/event-timing: {} + nested: {} + binding: {} + profile: {} + logical: {} +us.cdc.phinvads: + primitive-type: {} + complex-type: {} + resource: {} + value-set: + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.1: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.10: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.100: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.101: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.102: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.103: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.104: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.105: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.106: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.107: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.108: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.109: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.11: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.110: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.111: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.112: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.113: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.114: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.115: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.116: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.117: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.118: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.119: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.12: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.120: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.121: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.122: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.123: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.124: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.125: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.127: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.128: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.129: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.13: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.130: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.131: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.132: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.133: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.135: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.136: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.137: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.138: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.139: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.14: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.140: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.141: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.142: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.143: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.144: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.145: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.146: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.147: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.148: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.149: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.15: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.150: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.151: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.153: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.154: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.155: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.156: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.157: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.158: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.159: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.16: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.160: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.161: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.164: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.166: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.167: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.168: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.169: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.17: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.170: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.171: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.172: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.176: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.177: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.178: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.179: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.18: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.180: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.184: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.185: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.187: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.188: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.189: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.19: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.190: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.191: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.192: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.193: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.194: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.195: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.196: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.197: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.198: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.20: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.22: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.23: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.24: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.25: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.26: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.27: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.28: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.29: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.3: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.30: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.31: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.32: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.33: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.34: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.35: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.36: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.37: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.38: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.39: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.4: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.40: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.41: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.42: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.43: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.5: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.53: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.54: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.55: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.56: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.57: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.58: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.59: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.6: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.60: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.61: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.62: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.63: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.65: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.66: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.67: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.68: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.69: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.70: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.71: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.72: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.73: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.74: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.75: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.76: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.77: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.81: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.9: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.93: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.95: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.96: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.97: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.98: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.13.8.99: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.11: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.12: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.13: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.14: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.15: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.16: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.17: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.20: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.7: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.8: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.15.2.9: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.1: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.13: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.14: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.17: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.19: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.4: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.6: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.7: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.8: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.19376.1.7.3.1.1.23.8.9: {} + http://phinvads.cdc.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.75: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.11222.4.11.5025: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.9: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1018.98: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.1: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10267: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10416: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10637: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12199: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12212: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12249: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.14914: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15913: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.159331: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.16866: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.16926: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.18877: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19185: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19563: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19579: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19601: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19717: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.1.11.78: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.1: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.10: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.11: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.12: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.13: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.14: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.3: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.4: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.5: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.6: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.7: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.1.1.13.9: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.91: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.14.93: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.10: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.11: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.3: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.4: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.5: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.6: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.7: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.10.20.15.2.5.8: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.19465: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.18: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.21: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.22: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.23: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.24: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.25: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.26: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.33: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.34: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.41: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.49: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.60: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.13.19: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.13.277: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.2074.1.1.1: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.2074.1.1.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.2074.1.1.3: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.2074.1.1.4: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.5.20.1: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.5.20.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.1: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.10: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.11: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.12: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.13: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.14: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.15: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.16: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.21: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.22: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.25: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.26: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.27: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.29: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.3: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.4: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.520.4.5: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.3.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.4.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.6.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.6.8: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.7.2: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.7.4: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.11: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.19: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.16: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.18: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.21: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.39: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.46: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.47: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.60: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.62: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.64: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.65: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.66: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.68: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.2.11.7101: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1000: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1002: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1003: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1004: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1006: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1007: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1009: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1010: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1011: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1012: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1013: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1014: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1015: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1016: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1017: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1018: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1019: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1021: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1022: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1023: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1024: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1025: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1026: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1027: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1028: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1029: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1031: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1032: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1033: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1035: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1036: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1037: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1038: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1039: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1040: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1041: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1042: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1043: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1044: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1045: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1046: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1047: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1048: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1049: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1050: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1051: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1052: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1053: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1054: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1055: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1056: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1057: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1058: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1059: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1060: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1061: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1062: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1063: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1064: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1065: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1067: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1068: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1069: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1071: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1073: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1074: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1075: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1076: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1089: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1090: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1091: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1092: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1093: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1094: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1095: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1096: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1097: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1098: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1099: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1100: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1102: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1103: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1104: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1105: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1106: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1107: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1108: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1109: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3000: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3014: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3015: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3016: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3017: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3018: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3019: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3020: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3021: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3022: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3023: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3024: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3025: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3026: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3027: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3028: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3029: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3030: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3031: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3032: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3033: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3034: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3035: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3036: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3037: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3038: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3039: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3040: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3041: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3042: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3043: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3044: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3045: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3046: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3047: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3048: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3049: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3050: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3051: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3052: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3053: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3054: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3055: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3056: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3057: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3058: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3059: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3060: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3061: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3062: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3063: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3064: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3065: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3066: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3067: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3068: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3069: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3070: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3071: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3072: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3073: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3074: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3075: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3076: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3077: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3078: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3079: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3080: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3081: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3082: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3083: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3084: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3085: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3086: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3087: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3088: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3089: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3090: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3091: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3092: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3093: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3094: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3095: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3096: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3097: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3098: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3099: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3100: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3101: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3102: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3103: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3104: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3105: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3106: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3107: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3108: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3109: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3110: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3111: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3112: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3113: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3114: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3115: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3116: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3117: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3118: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3119: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3120: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3121: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3122: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3123: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3124: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3125: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3126: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3127: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3128: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3129: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3130: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3131: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3132: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3133: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3134: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3135: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3136: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3137: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3138: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3139: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3140: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3141: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3142: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3143: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3144: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3145: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3146: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3147: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3148: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3149: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3150: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3151: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3152: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3153: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3154: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3155: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3156: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3157: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3158: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3159: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3160: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3161: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3162: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3163: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3164: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3166: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3167: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3168: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3169: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3200: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3201: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3203: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3204: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3205: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3206: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3207: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3208: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3209: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3210: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3211: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3212: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3213: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3214: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3215: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3216: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3217: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3218: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3219: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3220: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3221: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3222: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3223: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3224: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3225: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3226: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3227: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3228: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3230: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3231: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3232: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3236: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3237: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3238: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3239: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3240: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3241: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3242: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3243: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3244: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3245: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3246: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3250: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3251: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3252: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3253: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3254: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3255: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3256: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3257: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3258: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3259: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3260: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3261: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3262: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3263: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3264: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3265: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3266: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3267: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3268: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3269: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3270: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3271: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3272: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3273: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3274: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3275: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3276: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3277: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3278: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3279: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3282: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3285: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3286: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3287: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3288: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3289: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3290: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3291: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3292: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3293: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3294: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3295: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3298: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3299: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3300: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3301: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3302: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3303: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3304: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3305: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3306: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3307: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3308: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3309: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3310: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3311: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3312: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3313: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3314: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3315: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3316: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3317: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3318: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3319: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3320: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3321: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3322: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3323: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3336: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3337: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3338: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3339: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3340: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3341: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3342: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3343: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3344: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3345: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3346: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3347: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3348: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3349: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3350: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3351: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3352: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3353: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3354: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3355: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3356: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3357: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3358: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3359: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3362: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3363: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3364: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3365: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3366: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3367: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3368: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3369: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3370: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3371: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3372: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3373: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3374: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3375: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3376: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3377: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3378: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3379: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3380: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3381: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3382: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3383: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3384: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3392: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3401: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3402: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3403: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3404: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3405: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3406: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3407: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3408: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3409: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3410: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3411: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3412: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3413: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3414: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3415: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3416: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3417: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3418: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3419: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3420: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3421: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3422: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3423: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3424: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3425: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3428: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3432: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3434: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3435: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3501: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3502: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3503: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3587: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3588: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3589: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3590: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3593: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3594: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3597: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3598: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3599: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3600: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4000: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4001: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4002: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4003: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4004: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4005: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4006: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4007: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4008: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4009: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4010: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4011: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4012: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4013: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4014: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4015: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4016: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4017: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4018: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4019: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4020: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4021: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4022: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4023: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4024: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4025: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4026: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4027: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4028: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4029: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4030: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4031: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4032: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4033: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4034: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4035: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4036: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4037: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4038: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4039: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4040: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4041: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4042: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4043: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4044: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4045: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4046: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4047: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4048: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4049: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4050: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4051: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4052: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4053: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4054: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4055: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4056: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4057: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4058: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4059: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4060: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4061: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4062: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4063: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4064: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4065: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4066: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4067: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4068: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4069: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4070: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4071: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4072: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4073: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4074: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4075: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4076: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4077: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4078: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4079: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4080: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4081: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4082: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4083: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4084: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4085: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4086: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4087: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4088: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4089: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4090: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4091: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4092: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4093: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4094: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4095: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4096: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4097: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4098: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4099: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4100: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4101: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4102: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4103: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4104: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4105: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4106: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4107: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4108: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4109: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4110: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4111: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4112: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4113: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4114: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4115: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4116: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4117: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4118: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4119: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4120: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4122: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4123: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4124: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4125: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4126: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4127: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4128: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4129: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4130: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4131: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4132: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4133: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4134: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4135: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4137: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4138: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4139: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4140: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4141: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4142: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4143: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4145: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4146: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4147: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4148: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4149: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4150: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4151: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4152: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4153: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4155: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4157: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4158: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4159: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4160: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4161: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4162: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4163: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4164: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4165: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4166: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4167: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4168: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4169: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4170: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4171: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4172: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4174: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4175: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4176: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4177: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4178: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4179: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4181: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4182: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4183: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4184: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4185: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4186: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4187: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4188: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4189: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4190: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4191: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4192: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4193: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4194: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4195: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4196: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4197: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4198: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4199: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4200: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4201: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4202: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4203: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4204: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4205: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4206: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4207: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4208: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4210: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4211: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4212: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4213: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4214: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4215: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4216: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4217: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4218: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4219: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4220: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4221: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4222: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4223: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4224: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4225: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4228: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4229: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4230: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4231: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4239: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4240: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4241: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4242: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4243: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4244: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4245: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4246: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4247: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4248: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4249: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4250: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4251: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4252: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4253: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4254: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4255: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4256: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4257: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4258: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4275: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.4276: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5000: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5001: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5002: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5004: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5005: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5006: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5007: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5013: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5014: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5015: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5016: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5017: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5020: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5021: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5022: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5023: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5024: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5026: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5027: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.5028: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6000: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6001: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6002: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6003: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6004: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6005: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6006: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6013: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6014: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6027: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6036: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6037: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6038: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6039: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6040: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6041: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6046: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6047: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6048: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6049: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6050: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6053: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6054: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6055: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6056: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6057: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6062: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6063: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6064: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6065: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6066: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6067: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6069: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6070: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6071: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.6072: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7055: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7102: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7103: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7104: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7105: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7106: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7107: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7108: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7109: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7110: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7111: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7112: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7113: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7115: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7116: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7117: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7118: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7119: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7121: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7122: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7123: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7124: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7126: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7129: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7130: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7135: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7136: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7137: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7138: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7140: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7142: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7143: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7144: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7145: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7153: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7154: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7155: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7156: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7157: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7158: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7159: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7162: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7163: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7164: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7165: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7166: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7167: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7168: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7169: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7170: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7171: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7172: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7173: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7174: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7175: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7176: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7177: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7178: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7179: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7180: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7181: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7182: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7183: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7184: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7185: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7186: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7187: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7188: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7189: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7190: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7191: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7192: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7193: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7194: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7195: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7196: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7197: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7198: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7199: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7200: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7201: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7202: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7203: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7204: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7205: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7206: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7208: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7209: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7210: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7211: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7212: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7213: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7216: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7217: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7218: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7219: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7220: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7221: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7222: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7223: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7224: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7225: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7226: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7227: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7228: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7229: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7231: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7234: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7235: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7236: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7243: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7244: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7245: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7246: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7247: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7248: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7249: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7250: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7256: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7257: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7258: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7259: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7260: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7261: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7262: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7263: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7264: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7265: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7267: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7268: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7269: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7270: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7271: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7272: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7273: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7274: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7275: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7276: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7277: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7278: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7279: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7282: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7283: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7284: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7285: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7328: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7329: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7330: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7331: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7332: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7333: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7334: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7335: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7336: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7337: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7339: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7340: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7341: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7342: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7343: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7344: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7345: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7346: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7347: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7348: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7349: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7350: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7351: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7352: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7354: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7356: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7357: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7358: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7359: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7360: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7361: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7362: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7363: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7364: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7365: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7366: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7367: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7369: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7370: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7371: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7372: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7373: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7374: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7375: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7376: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7377: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7378: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7379: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7380: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7382: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7383: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7385: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7386: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7387: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7388: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7389: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7390: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7391: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7392: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7393: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7395: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7396: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7397: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7398: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7401: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7402: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7403: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7404: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7405: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7419: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7421: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7422: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7423: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7426: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7430: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7431: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7432: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7433: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7436: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7437: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7438: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7439: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7440: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7441: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7442: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7443: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7444: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7446: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7447: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7448: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7449: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7450: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7451: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7452: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7453: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7454: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7456: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7457: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7458: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7459: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7460: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7462: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7463: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7464: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7465: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7466: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7467: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7468: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7469: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7470: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7472: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7473: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7474: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7475: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7476: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7477: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7478: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7479: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7480: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7481: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7482: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7483: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7484: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7485: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7486: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7487: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7488: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7489: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7490: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7491: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7492: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7493: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7494: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7495: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7496: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7497: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7512: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7513: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7515: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7516: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7517: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7518: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7519: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7520: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7521: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7522: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7523: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7524: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7525: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7526: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7527: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7528: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7529: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7530: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7531: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7532: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7536: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7537: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7538: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7539: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7540: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7541: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7542: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7543: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7544: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7545: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7546: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7547: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7548: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7549: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7550: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7551: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7552: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7553: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7554: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7555: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7556: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7557: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7558: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7559: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.756: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7563: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7564: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7565: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7566: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7567: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7568: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7569: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7570: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7571: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7572: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7573: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7574: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7575: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7576: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7577: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7578: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7579: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7580: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7581: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7582: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7583: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7584: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7585: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7586: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7587: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7588: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7589: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7590: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7591: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7592: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7593: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7594: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7596: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7597: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7598: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7599: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7600: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7601: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7603: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7604: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7605: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7606: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7607: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7608: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7609: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7610: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7611: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7612: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7613: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7614: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7615: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7616: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7617: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7618: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7619: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7620: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7621: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7622: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7623: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7624: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7625: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7626: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7627: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7628: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7629: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7630: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7631: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7632: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7633: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7634: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7635: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7636: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7637: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7638: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7639: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7640: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7641: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7642: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7643: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7644: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7645: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7646: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7647: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7648: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7649: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7650: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7651: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7652: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7653: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7655: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7656: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7657: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7658: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7659: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7660: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7661: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7662: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7663: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7664: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7665: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7666: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7667: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7668: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7669: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7670: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7671: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7672: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7673: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7674: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7675: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7676: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7677: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7678: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7679: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7680: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7681: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7682: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7683: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7684: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7685: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7686: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7687: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7688: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7689: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7690: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7691: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7692: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7693: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7694: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7695: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7696: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7697: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7698: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7699: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7700: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7701: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7702: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7703: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7704: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7705: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7706: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7707: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7708: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7709: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7710: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7711: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7712: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7713: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7714: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7715: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7716: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7717: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7718: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7719: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7720: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7721: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7722: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7723: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7724: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7725: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7726: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7727: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7728: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7729: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7730: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7731: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7732: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7733: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7734: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7735: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7736: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7737: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7738: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7739: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7740: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7741: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7743: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7744: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7745: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7746: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7747: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7748: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7749: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7750: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7751: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7752: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7753: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7754: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7755: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7756: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7757: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7758: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7759: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7760: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7761: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7762: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7763: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7764: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7765: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7766: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7767: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7768: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7769: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7770: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7771: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7772: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7773: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7774: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7775: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7776: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7777: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7778: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7779: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7780: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7781: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7782: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7783: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7784: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7785: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7786: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7787: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7788: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7789: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7790: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7791: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7792: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7793: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7794: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7795: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7796: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7797: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7798: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7799: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7800: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7801: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7802: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7803: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7804: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7805: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7806: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7807: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7808: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7809: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7810: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7811: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7812: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7813: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7814: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7815: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7816: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7817: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7818: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7819: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7820: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7821: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7822: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7823: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7824: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7825: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7826: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7827: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7828: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7829: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7830: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7831: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7832: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7833: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7834: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7835: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7836: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7837: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7838: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7839: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7840: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7841: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7843: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7844: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7845: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7846: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7847: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7848: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7849: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7850: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7851: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7852: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7853: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7854: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7855: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7856: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7857: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7858: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7859: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7860: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7861: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7862: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7863: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7864: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7866: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7867: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7868: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7869: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7870: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7871: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7874: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7875: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7876: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7877: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7878: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7879: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7880: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7881: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7882: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7883: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7884: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7885: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7886: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7887: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7888: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7889: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7890: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7891: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7892: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7893: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7894: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7895: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7896: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7897: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7899: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7900: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7901: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7902: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7903: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7904: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7905: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7906: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7907: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7908: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7909: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7910: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7911: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7912: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7913: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7914: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7915: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7916: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7917: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7918: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7919: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7920: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7921: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7922: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7923: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7924: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7925: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7926: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7927: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7928: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7929: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7930: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7931: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7932: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7933: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7934: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7936: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7937: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7938: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7939: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7940: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7941: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7942: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7943: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7944: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7945: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7946: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7947: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7948: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7949: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7950: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7951: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7952: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7953: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7954: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7955: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7956: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7957: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7958: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7959: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7960: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7961: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7962: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7963: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7964: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7965: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7966: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7967: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7968: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7969: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7970: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7971: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7972: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7973: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7974: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7975: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7976: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7977: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7978: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7979: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7980: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7981: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7982: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7983: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7984: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7985: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7986: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7987: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7988: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7989: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7990: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7991: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7992: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7994: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7995: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7996: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7997: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7998: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.7999: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.800: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8000: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8001: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8002: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8003: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8004: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8005: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8006: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8007: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8008: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8009: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.801: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8010: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8011: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8012: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8013: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8014: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8015: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8016: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8017: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8018: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8019: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.802: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8020: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8021: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8022: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8024: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8025: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8026: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8027: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8028: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8029: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.803: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8030: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8031: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8032: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8033: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8034: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8035: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8036: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8037: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8038: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8039: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8040: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8041: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8042: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8043: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8044: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8045: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8046: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8047: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8048: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8049: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8050: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8051: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8052: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8053: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8054: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8055: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8056: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8057: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8058: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8059: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.806: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8060: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8061: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8062: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8063: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8064: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8065: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8066: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8067: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.8068: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.807: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.808: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.809: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.810: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.811: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.812: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.813: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.814: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.815: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.816: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.817: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.818: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.819: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.820: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.821: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.822: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.823: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.825: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.826: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.827: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.828: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.829: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.830: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.831: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.834: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.838: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.856: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.875: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.876: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.877: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.878: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.879: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.883: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.887: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.888: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.891: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.909: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.912: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.913: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.914: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.915: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.916: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.917: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.918: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.919: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.920: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.921: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.922: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.923: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.925: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.927: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.928: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.929: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.930: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.931: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.934: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.941: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.945: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.946: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.950: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.954: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.957: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.958: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.959: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.960: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.961: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.962: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.963: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.964: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.965: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.967: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.968: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.969: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.970: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.972: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.973: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.974: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.975: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.976: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.977: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.979: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.980: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.981: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.982: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.983: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.984: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.985: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.986: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.988: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.989: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.990: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.991: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.992: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.993: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.994: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.995: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.996: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.997: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.998: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.999: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.3.20: {} + http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.5.301: {} + http://phinvads.cdc.gov/fhir/ValueSet/6.1.4.1.19376.1.7.3.1.1.13.8.64: {} + nested: {} + binding: {} + profile: {} + logical: {} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Account.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Account.ts index 3824e0139..229f70406 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Account.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Account.ts @@ -27,7 +27,7 @@ export interface AccountGuarantor extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account (pkg: hl7.fhir.r4.core#4.0.1) export interface Account extends DomainResource { resourceType: "Account"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ActivityDefinition.ts index 1d0d83e2e..81f0fb288 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ActivityDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ActivityDefinition.ts @@ -46,7 +46,7 @@ export interface ActivityDefinitionParticipant extends BackboneElement { type: ("patient" | "practitioner" | "related-person" | "device"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface ActivityDefinition extends DomainResource { resourceType: "ActivityDefinition"; @@ -80,7 +80,7 @@ export interface ActivityDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; location?: Reference<"Location">; name?: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Address.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Address.ts index 778577f6f..5cb3312c2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Address.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Address.ts @@ -8,7 +8,7 @@ import type { Period } from "../hl7-fhir-r4-core/Period"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Period } from "../hl7-fhir-r4-core/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Address +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Address (pkg: hl7.fhir.r4.core#4.0.1) export interface Address extends Element { city?: string; _city?: Element; @@ -17,7 +17,7 @@ export interface Address extends Element { district?: string; _district?: Element; line?: string[]; - _line?: Element; + _line?: (Element | null)[]; period?: Period; postalCode?: string; _postalCode?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AdverseEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AdverseEvent.ts index 7dcbf8923..ff94fb2dd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AdverseEvent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AdverseEvent.ts @@ -26,13 +26,13 @@ export interface AdverseEventSuspectEntityCausality extends BackboneElement { productRelatedness?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdverseEvent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdverseEvent (pkg: hl7.fhir.r4.core#4.0.1) export interface AdverseEvent extends DomainResource { resourceType: "AdverseEvent"; actuality: ("actual" | "potential"); _actuality?: Element; - category?: CodeableConcept[]; + category?: CodeableConcept<("product-problem" | "product-quality" | "product-use-error" | "wrong-dose" | "incorrect-prescribing-information" | "wrong-technique" | "wrong-route-of-administration" | "wrong-rate" | "wrong-duration" | "wrong-time" | "expired-drug" | "medical-device-use-error" | "problem-different-manufacturer" | "unsafe-physical-environment" | string)>[]; contributor?: Reference<"Device" | "Practitioner" | "PractitionerRole">[]; date?: string; _date?: Element; @@ -42,14 +42,14 @@ export interface AdverseEvent extends DomainResource { event?: CodeableConcept; identifier?: Identifier; location?: Reference<"Location">; - outcome?: CodeableConcept; + outcome?: CodeableConcept<("resolved" | "recovering" | "ongoing" | "resolvedWithSequelae" | "fatal" | "unknown")>; recordedDate?: string; _recordedDate?: Element; recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; referenceDocument?: Reference<"DocumentReference">[]; resultingCondition?: Reference<"Condition">[]; seriousness?: CodeableConcept; - severity?: CodeableConcept; + severity?: CodeableConcept<("mild" | "moderate" | "severe")>; study?: Reference<"ResearchStudy">[]; subject: Reference<"Group" | "Patient" | "Practitioner" | "RelatedPerson">; subjectMedicalHistory?: Reference<"AllergyIntolerance" | "Condition" | "DocumentReference" | "FamilyMemberHistory" | "Immunization" | "Media" | "Observation" | "Procedure">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Age.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Age.ts index 9786dd743..be492a327 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Age.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Age.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Age +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Age (pkg: hl7.fhir.r4.core#4.0.1) export interface Age extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AllergyIntolerance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AllergyIntolerance.ts index 2a6338a30..7cb17fff1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AllergyIntolerance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AllergyIntolerance.ts @@ -32,14 +32,14 @@ export interface AllergyIntoleranceReaction extends BackboneElement { substance?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance (pkg: hl7.fhir.r4.core#4.0.1) export interface AllergyIntolerance extends DomainResource { resourceType: "AllergyIntolerance"; asserter?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; category?: ("food" | "medication" | "environment" | "biologic")[]; - _category?: Element; - clinicalStatus?: CodeableConcept; + _category?: (Element | null)[]; + clinicalStatus?: CodeableConcept<("active" | "inactive" | "resolved")>; code?: CodeableConcept; criticality?: ("low" | "high" | "unable-to-assess"); _criticality?: Element; @@ -62,7 +62,7 @@ export interface AllergyIntolerance extends DomainResource { recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; type?: ("allergy" | "intolerance"); _type?: Element; - verificationStatus?: CodeableConcept; + verificationStatus?: CodeableConcept<("unconfirmed" | "confirmed" | "refuted" | "entered-in-error")>; } export const isAllergyIntolerance = (resource: unknown): resource is AllergyIntolerance => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AllergyIntolerance"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Annotation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Annotation.ts index 019af6e36..25bd87429 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Annotation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Annotation.ts @@ -8,7 +8,7 @@ import type { Reference } from "../hl7-fhir-r4-core/Reference"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Annotation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Annotation (pkg: hl7.fhir.r4.core#4.0.1) export interface Annotation extends Element { authorReference?: Reference<"Organization" | "Patient" | "Practitioner" | "RelatedPerson">; authorString?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Appointment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Appointment.ts index 8bcd84077..18d9d8c48 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Appointment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Appointment.ts @@ -21,14 +21,14 @@ export interface AppointmentParticipant extends BackboneElement { period?: Period; required?: ("required" | "optional" | "information-only"); status: ("accepted" | "declined" | "tentative" | "needs-action"); - type?: CodeableConcept[]; + type?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Appointment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Appointment (pkg: hl7.fhir.r4.core#4.0.1) export interface Appointment extends DomainResource { resourceType: "Appointment"; - appointmentType?: CodeableConcept; + appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; basedOn?: Reference<"ServiceRequest">[]; cancelationReason?: CodeableConcept; comment?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AppointmentResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AppointmentResponse.ts index d093bc8d7..5fb72e33d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AppointmentResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AppointmentResponse.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AppointmentResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AppointmentResponse (pkg: hl7.fhir.r4.core#4.0.1) export interface AppointmentResponse extends DomainResource { resourceType: "AppointmentResponse"; @@ -25,7 +25,7 @@ export interface AppointmentResponse extends DomainResource { identifier?: Identifier[]; participantStatus: ("accepted" | "declined" | "tentative" | "needs-action"); _participantStatus?: Element; - participantType?: CodeableConcept[]; + participantType?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; start?: string; _start?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Attachment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Attachment.ts index 615bca53f..137a342ac 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Attachment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Attachment.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Attachment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Attachment (pkg: hl7.fhir.r4.core#4.0.1) export interface Attachment extends Element { contentType?: string; _contentType?: Element; @@ -16,7 +16,7 @@ export interface Attachment extends Element { _data?: Element; hash?: string; _hash?: Element; - language?: string; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); _language?: Element; size?: number; _size?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AuditEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AuditEvent.ts index b72805532..8497791cd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AuditEvent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AuditEvent.ts @@ -19,14 +19,14 @@ export type { Reference } from "../hl7-fhir-r4-core/Reference"; export interface AuditEventAgent extends BackboneElement { altId?: string; location?: Reference<"Location">; - media?: Coding; + media?: Coding<("110030" | "110031" | "110032" | "110033" | "110034" | "110035" | "110036" | "110037" | "110010" | "110038" | string)>; name?: string; network?: AuditEventAgentNetwork; policy?: string[]; purposeOfUse?: CodeableConcept[]; requestor: boolean; role?: CodeableConcept[]; - type?: CodeableConcept; + type?: CodeableConcept<("AMENDER" | "COAUTH" | "CONT" | "EVTWIT" | "PRIMAUTH" | "REVIEWER" | "SOURCE" | "TRANS" | "VALID" | "VERF" | "AFFL" | "AGNT" | "ASSIGNED" | "CLAIM" | "COVPTY" | "DEPEN" | "ECON" | "EMP" | "GUARD" | "INVSBJ" | "NAMED" | "NOK" | "PAT" | "PROV" | "NOT" | "CLASSIFIER" | "CONSENTER" | "CONSWIT" | "COPART" | "DECLASSIFIER" | "DELEGATEE" | "DELEGATOR" | "DOWNGRDER" | "DPOWATT" | "EXCEST" | "GRANTEE" | "GRANTOR" | "GT" | "GUADLTM" | "HPOWATT" | "INTPRTER" | "POWATT" | "RESPRSN" | "SPOWATT" | "AUCG" | "AULR" | "AUTM" | "AUWA" | "PROMSK" | "AUT" | "CST" | "INF" | "IRCP" | "LA" | "IRCP" | "TRC" | "WIT" | "authserver" | "datacollector" | "dataprocessor" | "datasubject" | "humanuser" | "110150" | "110151" | "110152" | "110153" | "110154" | "110155" | string)>; who?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; } @@ -38,10 +38,10 @@ export interface AuditEventAgentNetwork extends BackboneElement { export interface AuditEventEntity extends BackboneElement { description?: string; detail?: AuditEventEntityDetail[]; - lifecycle?: Coding; + lifecycle?: Coding<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)>; name?: string; query?: string; - role?: Coding; + role?: Coding<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | string)>; securityLabel?: Coding[]; type?: Coding; what?: Reference<"Resource">; @@ -56,10 +56,10 @@ export interface AuditEventEntityDetail extends BackboneElement { export interface AuditEventSource extends BackboneElement { observer: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; site?: string; - type?: Coding[]; + type?: Coding<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | string)>[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent (pkg: hl7.fhir.r4.core#4.0.1) export interface AuditEvent extends DomainResource { resourceType: "AuditEvent"; @@ -76,8 +76,8 @@ export interface AuditEvent extends DomainResource { recorded: string; _recorded?: Element; source: AuditEventSource; - subtype?: Coding[]; - type: Coding; + subtype?: Coding<("110120" | "110121" | "110122" | "110123" | "110124" | "110125" | "110126" | "110127" | "110128" | "110129" | "110130" | "110131" | "110132" | "110133" | "110134" | "110135" | "110136" | "110137" | "110138" | "110139" | "110140" | "110141" | "110142" | "read" | "vread" | "update" | "patch" | "delete" | "history" | "history-instance" | "history-type" | "history-system" | "create" | "search" | "search-type" | "search-system" | "capabilities" | "transaction" | "batch" | "operation" | string)>[]; + type: Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)>; } export const isAuditEvent = (resource: unknown): resource is AuditEvent => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AuditEvent"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BackboneElement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BackboneElement.ts index 50b9334f2..b2b70e677 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BackboneElement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BackboneElement.ts @@ -8,7 +8,7 @@ import type { Extension } from "../hl7-fhir-r4-core/Extension"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Extension } from "../hl7-fhir-r4-core/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneElement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneElement (pkg: hl7.fhir.r4.core#4.0.1) export interface BackboneElement extends Element { modifierExtension?: Extension[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Basic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Basic.ts index f8052e2db..bf30f9c28 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Basic.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Basic.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Basic +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Basic (pkg: hl7.fhir.r4.core#4.0.1) export interface Basic extends DomainResource { resourceType: "Basic"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Binary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Binary.ts index 0865b5313..9166a409e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Binary.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Binary.ts @@ -8,7 +8,7 @@ import type { Resource } from "../hl7-fhir-r4-core/Resource"; import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Binary +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Binary (pkg: hl7.fhir.r4.core#4.0.1) export interface Binary extends Resource { resourceType: "Binary"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BiologicallyDerivedProduct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BiologicallyDerivedProduct.ts index d3e1c652a..5cf8358af 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BiologicallyDerivedProduct.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BiologicallyDerivedProduct.ts @@ -44,7 +44,7 @@ export interface BiologicallyDerivedProductStorage extends BackboneElement { temperature?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct (pkg: hl7.fhir.r4.core#4.0.1) export interface BiologicallyDerivedProduct extends DomainResource { resourceType: "BiologicallyDerivedProduct"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BodyStructure.ts index cb27ca691..00f457991 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BodyStructure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BodyStructure.ts @@ -14,7 +14,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BodyStructure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BodyStructure (pkg: hl7.fhir.r4.core#4.0.1) export interface BodyStructure extends DomainResource { resourceType: "BodyStructure"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Bundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Bundle.ts index fbaaf7231..cce9315fb 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Bundle.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Bundle.ts @@ -48,7 +48,7 @@ export interface BundleLink extends BackboneElement { url: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle (pkg: hl7.fhir.r4.core#4.0.1) export interface Bundle extends Resource { resourceType: "Bundle"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CapabilityStatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CapabilityStatement.ts index 3d5533c7d..a2a24ba9d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CapabilityStatement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CapabilityStatement.ts @@ -39,7 +39,7 @@ export interface CapabilityStatementMessaging extends BackboneElement { export interface CapabilityStatementMessagingEndpoint extends BackboneElement { address: string; - protocol: Coding; + protocol: Coding<("http" | "ftp" | "mllp" | string)>; } export interface CapabilityStatementMessagingSupportedMessage extends BackboneElement { @@ -104,7 +104,7 @@ export interface CapabilityStatementRestResourceSearchParam extends BackboneElem export interface CapabilityStatementRestSecurity extends BackboneElement { cors?: boolean; description?: string; - service?: CodeableConcept[]; + service?: CodeableConcept<("OAuth" | "SMART-on-FHIR" | "NTLM" | "Basic" | "Kerberos" | "Certificates" | string)>[]; } export interface CapabilityStatementSoftware extends BackboneElement { @@ -113,7 +113,7 @@ export interface CapabilityStatementSoftware extends BackboneElement { version?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CapabilityStatement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CapabilityStatement (pkg: hl7.fhir.r4.core#4.0.1) export interface CapabilityStatement extends DomainResource { resourceType: "CapabilityStatement"; @@ -130,14 +130,14 @@ export interface CapabilityStatement extends DomainResource { fhirVersion: ("0.01" | "0.05" | "0.06" | "0.11" | "0.0.80" | "0.0.81" | "0.0.82" | "0.4.0" | "0.5.0" | "1.0.0" | "1.0.1" | "1.0.2" | "1.1.0" | "1.4.0" | "1.6.0" | "1.8.0" | "3.0.0" | "3.0.1" | "3.3.0" | "3.5.0" | "4.0.0" | "4.0.1"); _fhirVersion?: Element; format: string[]; - _format?: Element; + _format?: (Element | null)[]; implementation?: CapabilityStatementImplementation; implementationGuide?: string[]; - _implementationGuide?: Element; + _implementationGuide?: (Element | null)[]; imports?: string[]; - _imports?: Element; + _imports?: (Element | null)[]; instantiates?: string[]; - _instantiates?: Element; + _instantiates?: (Element | null)[]; jurisdiction?: CodeableConcept[]; kind: ("instance" | "capability" | "requirements"); _kind?: Element; @@ -145,7 +145,7 @@ export interface CapabilityStatement extends DomainResource { name?: string; _name?: Element; patchFormat?: string[]; - _patchFormat?: Element; + _patchFormat?: (Element | null)[]; publisher?: string; _publisher?: Element; purpose?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CarePlan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CarePlan.ts index 139b649ef..c80ee60b8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CarePlan.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CarePlan.ts @@ -53,7 +53,7 @@ export interface CarePlanActivityDetail extends BackboneElement { statusReason?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan (pkg: hl7.fhir.r4.core#4.0.1) export interface CarePlan extends DomainResource { resourceType: "CarePlan"; @@ -72,9 +72,9 @@ export interface CarePlan extends DomainResource { goal?: Reference<"Goal">[]; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "order" | "option"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CareTeam.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CareTeam.ts index 9fd73c650..3320dad27 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CareTeam.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CareTeam.ts @@ -27,7 +27,7 @@ export interface CareTeamParticipant extends BackboneElement { role?: CodeableConcept[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam (pkg: hl7.fhir.r4.core#4.0.1) export interface CareTeam extends DomainResource { resourceType: "CareTeam"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CatalogEntry.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CatalogEntry.ts index 0237d3f9d..20f98db1a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CatalogEntry.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CatalogEntry.ts @@ -21,7 +21,7 @@ export interface CatalogEntryRelatedEntry extends BackboneElement { relationtype: ("triggers" | "is-replaced-by"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CatalogEntry +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CatalogEntry (pkg: hl7.fhir.r4.core#4.0.1) export interface CatalogEntry extends DomainResource { resourceType: "CatalogEntry"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItem.ts index 5c3b4bdab..12565c0f0 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItem.ts @@ -29,7 +29,7 @@ export interface ChargeItemPerformer extends BackboneElement { "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem (pkg: hl7.fhir.r4.core#4.0.1) export interface ChargeItem extends DomainResource { resourceType: "ChargeItem"; @@ -39,9 +39,9 @@ export interface ChargeItem extends DomainResource { context?: Reference<"Encounter" | "EpisodeOfCare">; costCenter?: Reference<"Organization">; definitionCanonical?: string[]; - _definitionCanonical?: Element; + _definitionCanonical?: (Element | null)[]; definitionUri?: string[]; - _definitionUri?: Element; + _definitionUri?: (Element | null)[]; enteredDate?: string; _enteredDate?: Element; enterer?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItemDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItemDefinition.ts index a1cf7c892..544d3a7bf 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItemDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItemDefinition.ts @@ -40,7 +40,7 @@ export interface ChargeItemDefinitionPropertyGroupPriceComponent extends Backbon type: ("base" | "surcharge" | "deduction" | "discount" | "tax" | "informational"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface ChargeItemDefinition extends DomainResource { resourceType: "ChargeItemDefinition"; @@ -54,7 +54,7 @@ export interface ChargeItemDefinition extends DomainResource { date?: string; _date?: Element; derivedFromUri?: string[]; - _derivedFromUri?: Element; + _derivedFromUri?: (Element | null)[]; description?: string; _description?: Element; effectivePeriod?: Period; @@ -66,12 +66,12 @@ export interface ChargeItemDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; partOf?: string[]; - _partOf?: Element; + _partOf?: (Element | null)[]; propertyGroup?: ChargeItemDefinitionPropertyGroup[]; publisher?: string; _publisher?: Element; replaces?: string[]; - _replaces?: Element; + _replaces?: (Element | null)[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; title?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Claim.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Claim.ts index 48121ec5d..226bd9d4b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Claim.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Claim.ts @@ -148,7 +148,7 @@ export interface ClaimSupportingInfo extends BackboneElement { valueString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim (pkg: hl7.fhir.r4.core#4.0.1) export interface Claim extends DomainResource { resourceType: "Claim"; @@ -179,7 +179,7 @@ export interface Claim extends DomainResource { subType?: CodeableConcept; supportingInfo?: ClaimSupportingInfo[]; total?: Money; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClaimResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClaimResponse.ts index 1ac10e81e..7866fe11e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClaimResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClaimResponse.ts @@ -123,7 +123,7 @@ export interface ClaimResponsePayment extends BackboneElement { } export interface ClaimResponseProcessNote extends BackboneElement { - language?: CodeableConcept; + language?: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; number?: number; text: string; type?: ("display" | "print" | "printoper"); @@ -134,7 +134,7 @@ export interface ClaimResponseTotal extends BackboneElement { category: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse (pkg: hl7.fhir.r4.core#4.0.1) export interface ClaimResponse extends DomainResource { resourceType: "ClaimResponse"; @@ -168,7 +168,7 @@ export interface ClaimResponse extends DomainResource { _status?: Element; subType?: CodeableConcept; total?: ClaimResponseTotal[]; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClinicalImpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClinicalImpression.ts index 39e36ae57..de8b75169 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClinicalImpression.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClinicalImpression.ts @@ -29,7 +29,7 @@ export interface ClinicalImpressionInvestigation extends BackboneElement { item?: Reference<"DiagnosticReport" | "FamilyMemberHistory" | "ImagingStudy" | "Media" | "Observation" | "QuestionnaireResponse" | "RiskAssessment">[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression (pkg: hl7.fhir.r4.core#4.0.1) export interface ClinicalImpression extends DomainResource { resourceType: "ClinicalImpression"; @@ -52,7 +52,7 @@ export interface ClinicalImpression extends DomainResource { prognosisCodeableConcept?: CodeableConcept[]; prognosisReference?: Reference<"RiskAssessment">[]; protocol?: string[]; - _protocol?: Element; + _protocol?: (Element | null)[]; status: ("in-progress" | "completed" | "entered-in-error"); _status?: Element; statusReason?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeSystem.ts index 334313a3b..82f9e68d1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeSystem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeSystem.ts @@ -28,8 +28,8 @@ export interface CodeSystemConcept extends BackboneElement { } export interface CodeSystemConceptDesignation extends BackboneElement { - language?: string; - use?: Coding; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); + use?: Coding<("900000000000003001" | "900000000000013009" | string)>; value: string; } @@ -58,7 +58,7 @@ export interface CodeSystemProperty extends BackboneElement { uri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem (pkg: hl7.fhir.r4.core#4.0.1) export interface CodeSystem extends DomainResource { resourceType: "CodeSystem"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeableConcept.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeableConcept.ts index 233a7a6aa..94f47f6fb 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeableConcept.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeableConcept.ts @@ -8,9 +8,9 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Coding } from "../hl7-fhir-r4-core/Coding"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableConcept -export interface CodeableConcept extends Element { - coding?: Coding[]; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableConcept (pkg: hl7.fhir.r4.core#4.0.1) +export interface CodeableConcept extends Element { + coding?: Coding[]; text?: string; _text?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coding.ts index f02997eef..84ad129e7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coding.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coding.ts @@ -6,9 +6,9 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coding -export interface Coding extends Element { - code?: string; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coding (pkg: hl7.fhir.r4.core#4.0.1) +export interface Coding extends Element { + code?: T; _code?: Element; display?: string; _display?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Communication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Communication.ts index 90bc0321d..96f4cf67b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Communication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Communication.ts @@ -24,7 +24,7 @@ export interface CommunicationPayload extends BackboneElement { contentString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication (pkg: hl7.fhir.r4.core#4.0.1) export interface Communication extends DomainResource { resourceType: "Communication"; @@ -35,9 +35,9 @@ export interface Communication extends DomainResource { identifier?: Identifier[]; inResponseTo?: Reference<"Communication">[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; medium?: CodeableConcept[]; note?: Annotation[]; partOf?: Reference<"Resource">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CommunicationRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CommunicationRequest.ts index 2d9c2a7eb..dff1a56c8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CommunicationRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CommunicationRequest.ts @@ -26,7 +26,7 @@ export interface CommunicationRequestPayload extends BackboneElement { contentString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest (pkg: hl7.fhir.r4.core#4.0.1) export interface CommunicationRequest extends DomainResource { resourceType: "CommunicationRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CompartmentDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CompartmentDefinition.ts index 02c5b47ec..e71262863 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CompartmentDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CompartmentDefinition.ts @@ -18,7 +18,7 @@ export interface CompartmentDefinitionResource extends BackboneElement { param?: string[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface CompartmentDefinition extends DomainResource { resourceType: "CompartmentDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Composition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Composition.ts index a5dc9dcbe..b23b40a97 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Composition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Composition.ts @@ -39,17 +39,17 @@ export interface CompositionRelatesTo extends BackboneElement { export interface CompositionSection extends BackboneElement { author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; code?: CodeableConcept; - emptyReason?: CodeableConcept; + emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; entry?: Reference<"Resource">[]; focus?: Reference<"Resource">; mode?: ("working" | "snapshot" | "changes"); - orderedBy?: CodeableConcept; + orderedBy?: CodeableConcept<("user" | "system" | "event-date" | "entry-date" | "priority" | "alphabetic" | "category" | "patient" | string)>; section?: CompositionSection[]; text?: Narrative; title?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Composition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Composition (pkg: hl7.fhir.r4.core#4.0.1) export interface Composition extends DomainResource { resourceType: "Composition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ConceptMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ConceptMap.ts index 35f315090..0dc53c674 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ConceptMap.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ConceptMap.ts @@ -54,7 +54,7 @@ export interface ConceptMapGroupUnmapped extends BackboneElement { url?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap (pkg: hl7.fhir.r4.core#4.0.1) export interface ConceptMap extends DomainResource { resourceType: "ConceptMap"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Condition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Condition.ts index 95007f1d4..396467b19 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Condition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Condition.ts @@ -33,7 +33,7 @@ export interface ConditionStage extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition (pkg: hl7.fhir.r4.core#4.0.1) export interface Condition extends DomainResource { resourceType: "Condition"; @@ -46,8 +46,8 @@ export interface Condition extends DomainResource { _abatementString?: Element; asserter?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; - clinicalStatus?: CodeableConcept; + category?: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; + clinicalStatus?: CodeableConcept<("active" | "recurrence" | "relapse" | "inactive" | "remission" | "resolved")>; code?: CodeableConcept; encounter?: Reference<"Encounter">; evidence?: ConditionEvidence[]; @@ -63,10 +63,10 @@ export interface Condition extends DomainResource { recordedDate?: string; _recordedDate?: Element; recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - severity?: CodeableConcept; + severity?: CodeableConcept<("24484000" | "6736007" | "255604002" | string)>; stage?: ConditionStage[]; subject: Reference<"Group" | "Patient">; - verificationStatus?: CodeableConcept; + verificationStatus?: CodeableConcept<("unconfirmed" | "provisional" | "differential" | "confirmed" | "refuted" | "entered-in-error")>; } export const isCondition = (resource: unknown): resource is Condition => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Condition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Consent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Consent.ts index 8a7d78aeb..baa4a3ab7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Consent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Consent.ts @@ -41,7 +41,7 @@ export interface ConsentProvision extends BackboneElement { export interface ConsentProvisionActor extends BackboneElement { reference: Reference<"CareTeam" | "Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - role: CodeableConcept; + role: CodeableConcept<("AMENDER" | "COAUTH" | "CONT" | "EVTWIT" | "PRIMAUTH" | "REVIEWER" | "SOURCE" | "TRANS" | "VALID" | "VERF" | "AFFL" | "AGNT" | "ASSIGNED" | "CLAIM" | "COVPTY" | "DEPEN" | "ECON" | "EMP" | "GUARD" | "INVSBJ" | "NAMED" | "NOK" | "PAT" | "PROV" | "NOT" | "CLASSIFIER" | "CONSENTER" | "CONSWIT" | "COPART" | "DECLASSIFIER" | "DELEGATEE" | "DELEGATOR" | "DOWNGRDER" | "DPOWATT" | "EXCEST" | "GRANTEE" | "GRANTOR" | "GT" | "GUADLTM" | "HPOWATT" | "INTPRTER" | "POWATT" | "RESPRSN" | "SPOWATT" | "AUCG" | "AULR" | "AUTM" | "AUWA" | "PROMSK" | "AUT" | "CST" | "INF" | "IRCP" | "LA" | "IRCP" | "TRC" | "WIT" | "authserver" | "datacollector" | "dataprocessor" | "datasubject" | "humanuser" | "110150" | "110151" | "110152" | "110153" | "110154" | "110155" | string)>; } export interface ConsentProvisionData extends BackboneElement { @@ -55,11 +55,11 @@ export interface ConsentVerification extends BackboneElement { verifiedWith?: Reference<"Patient" | "RelatedPerson">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent (pkg: hl7.fhir.r4.core#4.0.1) export interface Consent extends DomainResource { resourceType: "Consent"; - category: CodeableConcept[]; + category: CodeableConcept<("acd" | "dnr" | "emrgonly" | "hcd" | "npp" | "polst" | "research" | "rsdid" | "rsreid" | "59284-0" | "57016-8" | "57017-6" | "64292-6" | string)>[]; dateTime?: string; _dateTime?: Element; identifier?: Identifier[]; @@ -67,9 +67,9 @@ export interface Consent extends DomainResource { patient?: Reference<"Patient">; performer?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; policy?: ConsentPolicy[]; - policyRule?: CodeableConcept; + policyRule?: CodeableConcept<("cric" | "illinois-minor-procedure" | "hipaa-auth" | "hipaa-npp" | "hipaa-restrictions" | "hipaa-research" | "hipaa-self-pay" | "mdhhs-5515" | "nyssipp" | "va-10-0484" | "va-10-0485" | "va-10-5345" | "va-10-5345a" | "va-10-5345a-mhv" | "va-10-10116" | "va-21-4142" | "ssa-827" | "dch-3927" | "squaxin" | "nl-lsp" | "at-elga" | "nih-hipaa" | "nci" | "nih-grdr" | "nih-527" | "ga4gh" | string)>; provision?: ConsentProvision; - scope: CodeableConcept; + scope: CodeableConcept<("adr" | "research" | "patient-privacy" | "treatment" | string)>; sourceAttachment?: Attachment; sourceReference?: Reference<"Consent" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; status: ("draft" | "proposed" | "active" | "rejected" | "inactive" | "entered-in-error"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ContactDetail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ContactDetail.ts index aba8da84f..61b94d21e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ContactDetail.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ContactDetail.ts @@ -8,7 +8,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactDetail +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactDetail (pkg: hl7.fhir.r4.core#4.0.1) export interface ContactDetail extends Element { name?: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ContactPoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ContactPoint.ts index 6696f3bfe..a8507dc78 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ContactPoint.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ContactPoint.ts @@ -8,7 +8,7 @@ import type { Period } from "../hl7-fhir-r4-core/Period"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Period } from "../hl7-fhir-r4-core/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactPoint +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactPoint (pkg: hl7.fhir.r4.core#4.0.1) export interface ContactPoint extends Element { period?: Period; rank?: number; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contract.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contract.ts index dc53b8a90..a1dd89112 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contract.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contract.ts @@ -57,7 +57,7 @@ export interface ContractRule extends BackboneElement { export interface ContractSigner extends BackboneElement { party: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; signature: Signature[]; - type: Coding; + type: Coding<("AMENDER" | "AUTHN" | "AUT" | "AFFL" | "AGNT" | "ASSIGNED" | "CIT" | "CLAIMANT" | "COAUTH" | "CONSENTER" | "CONSWIT" | "CONT" | "COPART" | "COVPTY" | "DELEGATEE" | "delegator" | "DEPEND" | "DPOWATT" | "EMGCON" | "EVTWIT" | "EXCEST" | "GRANTEE" | "GRANTOR" | "GUAR" | "GUARD" | "GUADLTM" | "INF" | "INTPRT" | "INSBJ" | "HPOWATT" | "HPROV" | "LEGAUTHN" | "NMDINS" | "NOK" | "NOTARY" | "PAT" | "POWATT" | "PRIMAUTH" | "PRIRECIP" | "RECIP" | "RESPRSN" | "REVIEWER" | "TRANS" | "SOURCE" | "SPOWATT" | "VALID" | "VERF" | "WIT" | string)>; } export interface ContractTerm extends BackboneElement { @@ -189,12 +189,12 @@ export interface ContractTermSecurityLabel extends BackboneElement { number?: number[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contract +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contract (pkg: hl7.fhir.r4.core#4.0.1) export interface Contract extends DomainResource { resourceType: "Contract"; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; applies?: Period; author?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole">; authority?: Reference<"Organization">[]; @@ -212,7 +212,7 @@ export interface Contract extends DomainResource { legal?: ContractLegal[]; legallyBindingAttachment?: Attachment; legallyBindingReference?: Reference<"Composition" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; - legalState?: CodeableConcept; + legalState?: CodeableConcept<("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated" | string)>; name?: string; _name?: Element; relevantHistory?: Reference<"Provenance">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contributor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contributor.ts index b6aca50c4..c0c56d265 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contributor.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contributor.ts @@ -8,7 +8,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contributor +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contributor (pkg: hl7.fhir.r4.core#4.0.1) export interface Contributor extends Element { contact?: ContactDetail[]; name: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Count.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Count.ts index c287bf6ce..e8db9c55b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Count.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Count.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Count +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Count (pkg: hl7.fhir.r4.core#4.0.1) export interface Count extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coverage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coverage.ts index 33df89d09..b59b34ba2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coverage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coverage.ts @@ -22,13 +22,13 @@ export type { Reference } from "../hl7-fhir-r4-core/Reference"; export interface CoverageClass extends BackboneElement { name?: string; - type: CodeableConcept; + type: CodeableConcept<("group" | "subgroup" | "plan" | "subplan" | "class" | "subclass" | "sequence" | "rxbin" | "rxpcn" | "rxid" | "rxgroup" | string)>; value: string; } export interface CoverageCostToBeneficiary extends BackboneElement { exception?: CoverageCostToBeneficiaryException[]; - type?: CodeableConcept; + type?: CodeableConcept<("gpvisit" | "spvisit" | "emergency" | "inpthosp" | "televisit" | "urgentcare" | "copaypct" | "copay" | "deductible" | "maxoutofpocket" | string)>; valueMoney?: Money; valueQuantity?: Quantity; } @@ -38,7 +38,7 @@ export interface CoverageCostToBeneficiaryException extends BackboneElement { type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage (pkg: hl7.fhir.r4.core#4.0.1) export interface Coverage extends DomainResource { resourceType: "Coverage"; @@ -56,7 +56,7 @@ export interface Coverage extends DomainResource { payor: Reference<"Organization" | "Patient" | "RelatedPerson">[]; period?: Period; policyHolder?: Reference<"Organization" | "Patient" | "RelatedPerson">; - relationship?: CodeableConcept; + relationship?: CodeableConcept<("child" | "parent" | "spouse" | "common" | "other" | "self" | "injured" | string)>; status: ("active" | "cancelled" | "draft" | "entered-in-error"); _status?: Element; subrogation?: boolean; @@ -64,7 +64,7 @@ export interface Coverage extends DomainResource { subscriber?: Reference<"Patient" | "RelatedPerson">; subscriberId?: string; _subscriberId?: Element; - type?: CodeableConcept; + type?: CodeableConcept<("pay" | string)>; } export const isCoverage = (resource: unknown): resource is Coverage => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Coverage"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityRequest.ts index 12fd46047..52532070e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityRequest.ts @@ -50,7 +50,7 @@ export interface CoverageEligibilityRequestSupportingInfo extends BackboneElemen sequence: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest (pkg: hl7.fhir.r4.core#4.0.1) export interface CoverageEligibilityRequest extends DomainResource { resourceType: "CoverageEligibilityRequest"; @@ -66,7 +66,7 @@ export interface CoverageEligibilityRequest extends DomainResource { priority?: CodeableConcept; provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: Element; + _purpose?: (Element | null)[]; servicedDate?: string; _servicedDate?: Element; servicedPeriod?: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityResponse.ts index 13fa7a876..7a02434ab 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityResponse.ts @@ -56,7 +56,7 @@ export interface CoverageEligibilityResponseInsuranceItemBenefit extends Backbon usedUnsignedInt?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse (pkg: hl7.fhir.r4.core#4.0.1) export interface CoverageEligibilityResponse extends DomainResource { resourceType: "CoverageEligibilityResponse"; @@ -75,7 +75,7 @@ export interface CoverageEligibilityResponse extends DomainResource { preAuthRef?: string; _preAuthRef?: Element; purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: Element; + _purpose?: (Element | null)[]; request: Reference<"CoverageEligibilityRequest">; requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; servicedDate?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DataRequirement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DataRequirement.ts index 91359d482..5a010ea4b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DataRequirement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DataRequirement.ts @@ -36,17 +36,17 @@ export interface DataRequirementSort extends Element { path: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement (pkg: hl7.fhir.r4.core#4.0.1) export interface DataRequirement extends Element { - codeFilter?: Element[]; - dateFilter?: Element[]; + codeFilter?: DataRequirementCodeFilter[]; + dateFilter?: DataRequirementDateFilter[]; limit?: number; _limit?: Element; mustSupport?: string[]; - _mustSupport?: Element; + _mustSupport?: (Element | null)[]; profile?: string[]; - _profile?: Element; - sort?: Element[]; + _profile?: (Element | null)[]; + sort?: DataRequirementSort[]; subjectCodeableConcept?: CodeableConcept; subjectReference?: Reference<"Group">; type: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Definition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Definition.ts index 805f8aef1..fb6da5a32 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Definition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Definition.ts @@ -2,8 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition (pkg: hl7.fhir.r4.core#4.0.1) export type Definition = object; -export const isDefinition = (resource: unknown): resource is Definition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Definition"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DetectedIssue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DetectedIssue.ts index ca4aa0580..bfa8b1819 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DetectedIssue.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DetectedIssue.ts @@ -27,7 +27,7 @@ export interface DetectedIssueMitigation extends BackboneElement { date?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue (pkg: hl7.fhir.r4.core#4.0.1) export interface DetectedIssue extends DomainResource { resourceType: "DetectedIssue"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Device.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Device.ts index 454b635a9..69f2be791 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Device.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Device.ts @@ -51,7 +51,7 @@ export interface DeviceVersion extends BackboneElement { value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device (pkg: hl7.fhir.r4.core#4.0.1) export interface Device extends DomainResource { resourceType: "Device"; @@ -85,7 +85,7 @@ export interface Device extends DomainResource { specialization?: DeviceSpecialization[]; status?: ("active" | "inactive" | "entered-in-error" | "unknown"); _status?: Element; - statusReason?: CodeableConcept[]; + statusReason?: CodeableConcept<("online" | "paused" | "standby" | "offline" | "not-ready" | "transduc-discon" | "hw-discon" | "off" | string)>[]; type?: CodeableConcept; udiCarrier?: DeviceUdiCarrier[]; url?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceDefinition.ts index d1146800c..b19c42d80 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceDefinition.ts @@ -57,7 +57,7 @@ export interface DeviceDefinitionUdiDeviceIdentifier extends BackboneElement { jurisdiction: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface DeviceDefinition extends DomainResource { resourceType: "DeviceDefinition"; @@ -88,7 +88,7 @@ export interface DeviceDefinition extends DomainResource { url?: string; _url?: Element; version?: string[]; - _version?: Element; + _version?: (Element | null)[]; } export const isDeviceDefinition = (resource: unknown): resource is DeviceDefinition => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DeviceDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceMetric.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceMetric.ts index ac8c62f68..c0d4076fa 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceMetric.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceMetric.ts @@ -22,7 +22,7 @@ export interface DeviceMetricCalibration extends BackboneElement { type?: ("unspecified" | "offset" | "gain" | "two-point"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric (pkg: hl7.fhir.r4.core#4.0.1) export interface DeviceMetric extends DomainResource { resourceType: "DeviceMetric"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceRequest.ts index 44215af8b..a61b6baf5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceRequest.ts @@ -32,7 +32,7 @@ export interface DeviceRequestParameter extends BackboneElement { valueRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest (pkg: hl7.fhir.r4.core#4.0.1) export interface DeviceRequest extends DomainResource { resourceType: "DeviceRequest"; @@ -45,9 +45,9 @@ export interface DeviceRequest extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; insurance?: Reference<"ClaimResponse" | "Coverage">[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceUseStatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceUseStatement.ts index 0f20c60a1..155387074 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceUseStatement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceUseStatement.ts @@ -18,7 +18,7 @@ export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; export type { Timing } from "../hl7-fhir-r4-core/Timing"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement (pkg: hl7.fhir.r4.core#4.0.1) export interface DeviceUseStatement extends DomainResource { resourceType: "DeviceUseStatement"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DiagnosticReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DiagnosticReport.ts index 6fbc5c918..4d747425b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DiagnosticReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DiagnosticReport.ts @@ -23,7 +23,7 @@ export interface DiagnosticReportMedia extends BackboneElement { link: Reference<"Media">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport (pkg: hl7.fhir.r4.core#4.0.1) export interface DiagnosticReport extends DomainResource { resourceType: "DiagnosticReport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Distance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Distance.ts index ecceebfb6..0dcb5beb7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Distance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Distance.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Distance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Distance (pkg: hl7.fhir.r4.core#4.0.1) export interface Distance extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentManifest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentManifest.ts index 3db901e92..db406d81d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentManifest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentManifest.ts @@ -19,7 +19,7 @@ export interface DocumentManifestRelated extends BackboneElement { ref?: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentManifest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentManifest (pkg: hl7.fhir.r4.core#4.0.1) export interface DocumentManifest extends DomainResource { resourceType: "DocumentManifest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentReference.ts index f93ea9cfa..8d21a5ca1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentReference.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentReference.ts @@ -40,7 +40,7 @@ export interface DocumentReferenceRelatesTo extends BackboneElement { target: Reference<"DocumentReference">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference (pkg: hl7.fhir.r4.core#4.0.1) export interface DocumentReference extends DomainResource { resourceType: "DocumentReference"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DomainResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DomainResource.ts index 252d68575..2237e28a2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DomainResource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DomainResource.ts @@ -9,9 +9,9 @@ import type { Resource } from "../hl7-fhir-r4-core/Resource"; export type { Extension } from "../hl7-fhir-r4-core/Extension"; export type { Narrative } from "../hl7-fhir-r4-core/Narrative"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DomainResource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DomainResource (pkg: hl7.fhir.r4.core#4.0.1) export interface DomainResource extends Resource { - resourceType: "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; + resourceType: "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; contained?: Resource[]; extension?: Extension[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Dosage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Dosage.ts index e283cbfaf..71bd52ac7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Dosage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Dosage.ts @@ -27,13 +27,13 @@ export interface DosageDoseAndRate extends Element { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Dosage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Dosage (pkg: hl7.fhir.r4.core#4.0.1) export interface Dosage extends BackboneElement { additionalInstruction?: CodeableConcept[]; asNeededBoolean?: boolean; _asNeededBoolean?: Element; asNeededCodeableConcept?: CodeableConcept; - doseAndRate?: Element[]; + doseAndRate?: DosageDoseAndRate[]; maxDosePerAdministration?: Quantity; maxDosePerLifetime?: Quantity; maxDosePerPeriod?: Ratio; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Duration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Duration.ts index 355a18e9c..001982315 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Duration.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Duration.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Duration +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Duration (pkg: hl7.fhir.r4.core#4.0.1) export interface Duration extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EffectEvidenceSynthesis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EffectEvidenceSynthesis.ts index fc685d344..68473ab58 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EffectEvidenceSynthesis.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EffectEvidenceSynthesis.ts @@ -27,36 +27,36 @@ export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; export interface EffectEvidenceSynthesisCertainty extends BackboneElement { certaintySubcomponent?: EffectEvidenceSynthesisCertaintyCertaintySubcomponent[]; note?: Annotation[]; - rating?: CodeableConcept[]; + rating?: CodeableConcept<("high" | "moderate" | "low" | "very-low" | string)>[]; } export interface EffectEvidenceSynthesisCertaintyCertaintySubcomponent extends BackboneElement { note?: Annotation[]; - rating?: CodeableConcept[]; - type?: CodeableConcept; + rating?: CodeableConcept<("no-change" | "downcode1" | "downcode2" | "downcode3" | "upcode1" | "upcode2" | "no-concern" | "serious-concern" | "critical-concern" | "present" | "absent" | string)>[]; + type?: CodeableConcept<("RiskOfBias" | "Inconsistency" | "Indirectness" | "Imprecision" | "PublicationBias" | "DoseResponseGradient" | "PlausibleConfounding" | "LargeEffect" | string)>; } export interface EffectEvidenceSynthesisEffectEstimate extends BackboneElement { description?: string; precisionEstimate?: EffectEvidenceSynthesisEffectEstimatePrecisionEstimate[]; - type?: CodeableConcept; + type?: CodeableConcept<("relative-RR" | "relative-OR" | "relative-HR" | "absolute-ARD" | "absolute-MeanDiff" | "absolute-SMD" | "absolute-MedianDiff" | string)>; unitOfMeasure?: CodeableConcept; value?: number; - variantState?: CodeableConcept; + variantState?: CodeableConcept<("low-risk" | "medium-risk" | "high-risk" | string)>; } export interface EffectEvidenceSynthesisEffectEstimatePrecisionEstimate extends BackboneElement { from?: number; level?: number; to?: number; - type?: CodeableConcept; + type?: CodeableConcept<("CI" | "IQR" | "SD" | "SE" | string)>; } export interface EffectEvidenceSynthesisResultsByExposure extends BackboneElement { description?: string; exposureState?: ("exposure" | "exposure-alternative"); riskEvidenceSynthesis: Reference<"RiskEvidenceSynthesis">; - variantState?: CodeableConcept; + variantState?: CodeableConcept<("low-risk" | "medium-risk" | "high-risk" | string)>; } export interface EffectEvidenceSynthesisSampleSize extends BackboneElement { @@ -65,7 +65,7 @@ export interface EffectEvidenceSynthesisSampleSize extends BackboneElement { numberOfStudies?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis (pkg: hl7.fhir.r4.core#4.0.1) export interface EffectEvidenceSynthesis extends DomainResource { resourceType: "EffectEvidenceSynthesis"; @@ -103,8 +103,8 @@ export interface EffectEvidenceSynthesis extends DomainResource { sampleSize?: EffectEvidenceSynthesisSampleSize; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; - studyType?: CodeableConcept; - synthesisType?: CodeableConcept; + studyType?: CodeableConcept<("RCT" | "CCT" | "cohort" | "case-control" | "series" | "case-report" | "mixed" | string)>; + synthesisType?: CodeableConcept<("std-MA" | "IPD-MA" | "indirect-NMA" | "combined-NMA" | "range" | "classification" | string)>; title?: string; _title?: Element; topic?: CodeableConcept[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Element.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Element.ts index 88ad287e0..eac8191f3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Element.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Element.ts @@ -6,7 +6,7 @@ import type { Extension } from "../hl7-fhir-r4-core/Extension"; export type { Extension } from "../hl7-fhir-r4-core/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element (pkg: hl7.fhir.r4.core#4.0.1) export interface Element { extension?: Extension[]; id?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ElementDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ElementDefinition.ts index cb5b78212..1591113c8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ElementDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ElementDefinition.ts @@ -155,7 +155,7 @@ export interface ElementDefinitionMapping extends Element { export interface ElementDefinitionSlicing extends Element { description?: string; - discriminator?: Element[]; + discriminator?: ElementDefinitionSlicingDiscriminator[]; ordered?: boolean; rules: ("closed" | "open" | "openAtEnd"); } @@ -173,18 +173,18 @@ export interface ElementDefinitionType extends Element { versioning?: ("either" | "independent" | "specific"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface ElementDefinition extends BackboneElement { alias?: string[]; - _alias?: Element; - base?: Element; - binding?: Element; + _alias?: (Element | null)[]; + base?: ElementDefinitionBase; + binding?: ElementDefinitionBinding; code?: Coding[]; comment?: string; _comment?: Element; condition?: string[]; - _condition?: Element; - constraint?: Element[]; + _condition?: (Element | null)[]; + constraint?: ElementDefinitionConstraint[]; contentReference?: string; _contentReference?: Element; defaultValueAddress?: Address; @@ -258,7 +258,7 @@ export interface ElementDefinition extends BackboneElement { _defaultValueUuid?: Element; definition?: string; _definition?: Element; - example?: Element[]; + example?: ElementDefinitionExample[]; fixedAddress?: Address; fixedAge?: Age; fixedAnnotation?: Annotation; @@ -336,7 +336,7 @@ export interface ElementDefinition extends BackboneElement { _isSummary?: Element; label?: string; _label?: Element; - mapping?: Element[]; + mapping?: ElementDefinitionMapping[]; max?: string; _max?: Element; maxLength?: number; @@ -455,7 +455,7 @@ export interface ElementDefinition extends BackboneElement { patternUuid?: string; _patternUuid?: Element; representation?: ("xmlAttr" | "xmlText" | "typeAttr" | "cdaText" | "xhtml")[]; - _representation?: Element; + _representation?: (Element | null)[]; requirements?: string; _requirements?: Element; short?: string; @@ -464,6 +464,6 @@ export interface ElementDefinition extends BackboneElement { _sliceIsConstraining?: Element; sliceName?: string; _sliceName?: Element; - slicing?: Element; - type?: Element[]; + slicing?: ElementDefinitionSlicing; + type?: ElementDefinitionType[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Encounter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Encounter.ts index 985b077fb..8c657da55 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Encounter.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Encounter.ts @@ -28,19 +28,19 @@ export interface EncounterClassHistory extends BackboneElement { export interface EncounterDiagnosis extends BackboneElement { condition: Reference<"Condition" | "Procedure">; rank?: number; - use?: CodeableConcept; + use?: CodeableConcept<("AD" | "DD" | "CC" | "CM" | "pre-op" | "post-op" | "billing" | string)>; } export interface EncounterHospitalization extends BackboneElement { - admitSource?: CodeableConcept; + admitSource?: CodeableConcept<("hosp-trans" | "emd" | "outp" | "born" | "gp" | "mp" | "nursing" | "psych" | "rehab" | "other" | string)>; destination?: Reference<"Location" | "Organization">; dietPreference?: CodeableConcept[]; dischargeDisposition?: CodeableConcept; origin?: Reference<"Location" | "Organization">; preAdmissionIdentifier?: Identifier; reAdmission?: CodeableConcept; - specialArrangement?: CodeableConcept[]; - specialCourtesy?: CodeableConcept[]; + specialArrangement?: CodeableConcept<("wheel" | "add-bed" | "int" | "att" | "dog" | string)>[]; + specialCourtesy?: CodeableConcept<("EXT" | "NRM" | "PRF" | "STF" | "VIP" | "UNK" | string)>[]; } export interface EncounterLocation extends BackboneElement { @@ -53,7 +53,7 @@ export interface EncounterLocation extends BackboneElement { export interface EncounterParticipant extends BackboneElement { individual?: Reference<"Practitioner" | "PractitionerRole" | "RelatedPerson">; period?: Period; - type?: CodeableConcept[]; + type?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; } export interface EncounterStatusHistory extends BackboneElement { @@ -61,7 +61,7 @@ export interface EncounterStatusHistory extends BackboneElement { status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter (pkg: hl7.fhir.r4.core#4.0.1) export interface Encounter extends DomainResource { resourceType: "Encounter"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Endpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Endpoint.ts index 9e1660278..da6c3eaaf 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Endpoint.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Endpoint.ts @@ -18,22 +18,22 @@ export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Endpoint +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Endpoint (pkg: hl7.fhir.r4.core#4.0.1) export interface Endpoint extends DomainResource { resourceType: "Endpoint"; address: string; _address?: Element; - connectionType: Coding; + connectionType: Coding<("ihe-xcpd" | "ihe-xca" | "ihe-xdr" | "ihe-xds" | "ihe-iid" | "dicom-wado-rs" | "dicom-qido-rs" | "dicom-stow-rs" | "dicom-wado-uri" | "hl7-fhir-rest" | "hl7-fhir-msg" | "hl7v2-mllp" | "secure-email" | "direct-project" | string)>; contact?: ContactPoint[]; header?: string[]; - _header?: Element; + _header?: (Element | null)[]; identifier?: Identifier[]; managingOrganization?: Reference<"Organization">; name?: string; _name?: Element; payloadMimeType?: string[]; - _payloadMimeType?: Element; + _payloadMimeType?: (Element | null)[]; payloadType: CodeableConcept[]; period?: Period; status: ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentRequest.ts index f11c13f11..2d9436397 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentRequest.ts @@ -10,7 +10,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentRequest (pkg: hl7.fhir.r4.core#4.0.1) export interface EnrollmentRequest extends DomainResource { resourceType: "EnrollmentRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentResponse.ts index f683b00f5..c4dced8d3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentResponse.ts @@ -10,7 +10,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentResponse (pkg: hl7.fhir.r4.core#4.0.1) export interface EnrollmentResponse extends DomainResource { resourceType: "EnrollmentResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EpisodeOfCare.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EpisodeOfCare.ts index 86db84558..d547e6a79 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EpisodeOfCare.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EpisodeOfCare.ts @@ -19,7 +19,7 @@ export type { Reference } from "../hl7-fhir-r4-core/Reference"; export interface EpisodeOfCareDiagnosis extends BackboneElement { condition: Reference<"Condition">; rank?: number; - role?: CodeableConcept; + role?: CodeableConcept<("AD" | "DD" | "CC" | "CM" | "pre-op" | "post-op" | "billing" | string)>; } export interface EpisodeOfCareStatusHistory extends BackboneElement { @@ -27,7 +27,7 @@ export interface EpisodeOfCareStatusHistory extends BackboneElement { status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare (pkg: hl7.fhir.r4.core#4.0.1) export interface EpisodeOfCare extends DomainResource { resourceType: "EpisodeOfCare"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Event.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Event.ts index b79dd1b1a..c71021768 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Event.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Event.ts @@ -2,8 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event (pkg: hl7.fhir.r4.core#4.0.1) export type Event = object; -export const isEvent = (resource: unknown): resource is Event => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Event"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EventDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EventDefinition.ts index f41d02d36..edb5f85a8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EventDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EventDefinition.ts @@ -22,7 +22,7 @@ export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; export type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EventDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EventDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface EventDefinition extends DomainResource { resourceType: "EventDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Evidence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Evidence.ts index e2d2064c6..bee7decf9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Evidence.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Evidence.ts @@ -22,7 +22,7 @@ export type { Reference } from "../hl7-fhir-r4-core/Reference"; export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Evidence +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Evidence (pkg: hl7.fhir.r4.core#4.0.1) export interface Evidence extends DomainResource { resourceType: "Evidence"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EvidenceVariable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EvidenceVariable.ts index e65cc1ea8..15efd5cf3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EvidenceVariable.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EvidenceVariable.ts @@ -52,7 +52,7 @@ export interface EvidenceVariableCharacteristic extends BackboneElement { usageContext?: UsageContext[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable (pkg: hl7.fhir.r4.core#4.0.1) export interface EvidenceVariable extends DomainResource { resourceType: "EvidenceVariable"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExampleScenario.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExampleScenario.ts index bfac35234..455edee94 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExampleScenario.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExampleScenario.ts @@ -76,7 +76,7 @@ export interface ExampleScenarioProcessStepOperation extends BackboneElement { type?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExampleScenario +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExampleScenario (pkg: hl7.fhir.r4.core#4.0.1) export interface ExampleScenario extends DomainResource { resourceType: "ExampleScenario"; @@ -106,7 +106,7 @@ export interface ExampleScenario extends DomainResource { version?: string; _version?: Element; workflow?: string[]; - _workflow?: Element; + _workflow?: (Element | null)[]; } export const isExampleScenario = (resource: unknown): resource is ExampleScenario => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ExampleScenario"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExplanationOfBenefit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExplanationOfBenefit.ts index a11820a57..e96361636 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExplanationOfBenefit.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExplanationOfBenefit.ts @@ -216,7 +216,7 @@ export interface ExplanationOfBenefitProcedure extends BackboneElement { } export interface ExplanationOfBenefitProcessNote extends BackboneElement { - language?: CodeableConcept; + language?: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; number?: number; text?: string; type?: ("display" | "print" | "printoper"); @@ -247,7 +247,7 @@ export interface ExplanationOfBenefitTotal extends BackboneElement { category: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit (pkg: hl7.fhir.r4.core#4.0.1) export interface ExplanationOfBenefit extends DomainResource { resourceType: "ExplanationOfBenefit"; @@ -282,7 +282,7 @@ export interface ExplanationOfBenefit extends DomainResource { payee?: ExplanationOfBenefitPayee; payment?: ExplanationOfBenefitPayment; preAuthRef?: string[]; - _preAuthRef?: Element; + _preAuthRef?: (Element | null)[]; preAuthRefPeriod?: Period[]; precedence?: number; _precedence?: Element; @@ -298,7 +298,7 @@ export interface ExplanationOfBenefit extends DomainResource { subType?: CodeableConcept; supportingInfo?: ExplanationOfBenefitSupportingInfo[]; total?: ExplanationOfBenefitTotal[]; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Expression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Expression.ts index 2f3077669..9033b39f7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Expression.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Expression.ts @@ -6,13 +6,13 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Expression +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Expression (pkg: hl7.fhir.r4.core#4.0.1) export interface Expression extends Element { description?: string; _description?: Element; expression?: string; _expression?: Element; - language: string; + language: ("text/cql" | "text/fhirpath" | "application/x-fhir-query" | string); _language?: Element; name?: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Extension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Extension.ts index c3a60f5c3..34dcb313a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Extension.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Extension.ts @@ -68,7 +68,7 @@ export type { Timing } from "../hl7-fhir-r4-core/Timing"; export type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Extension +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Extension (pkg: hl7.fhir.r4.core#4.0.1) export interface Extension extends Element { url: string; _url?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FamilyMemberHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FamilyMemberHistory.ts index 4df18a919..244298071 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FamilyMemberHistory.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FamilyMemberHistory.ts @@ -33,7 +33,7 @@ export interface FamilyMemberHistoryCondition extends BackboneElement { outcome?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory (pkg: hl7.fhir.r4.core#4.0.1) export interface FamilyMemberHistory extends DomainResource { resourceType: "FamilyMemberHistory"; @@ -62,9 +62,9 @@ export interface FamilyMemberHistory extends DomainResource { _estimatedAge?: Element; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; name?: string; _name?: Element; note?: Annotation[]; @@ -72,7 +72,7 @@ export interface FamilyMemberHistory extends DomainResource { reasonCode?: CodeableConcept[]; reasonReference?: Reference<"AllergyIntolerance" | "Condition" | "DiagnosticReport" | "DocumentReference" | "Observation" | "QuestionnaireResponse">[]; relationship: CodeableConcept; - sex?: CodeableConcept; + sex?: CodeableConcept<("male" | "female" | "other" | "unknown" | string)>; status: ("partial" | "completed" | "entered-in-error" | "health-unknown"); _status?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FiveWs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FiveWs.ts index 9d43ece1e..27f0442d1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FiveWs.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FiveWs.ts @@ -2,8 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs (pkg: hl7.fhir.r4.core#4.0.1) export type FiveWs = object; -export const isFiveWs = (resource: unknown): resource is FiveWs => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "FiveWs"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Flag.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Flag.ts index c5d63f370..f3ddbcabb 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Flag.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Flag.ts @@ -14,7 +14,7 @@ export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Flag +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Flag (pkg: hl7.fhir.r4.core#4.0.1) export interface Flag extends DomainResource { resourceType: "Flag"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Goal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Goal.ts index 167ad2836..e3a454ccf 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Goal.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Goal.ts @@ -37,11 +37,11 @@ export interface GoalTarget extends BackboneElement { measure?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal (pkg: hl7.fhir.r4.core#4.0.1) export interface Goal extends DomainResource { resourceType: "Goal"; - achievementStatus?: CodeableConcept; + achievementStatus?: CodeableConcept<("in-progress" | "improving" | "worsening" | "no-change" | "achieved" | "sustaining" | "not-achieved" | "no-progress" | "not-attainable" | string)>; addresses?: Reference<"Condition" | "MedicationStatement" | "NutritionOrder" | "Observation" | "RiskAssessment" | "ServiceRequest">[]; category?: CodeableConcept[]; description: CodeableConcept; @@ -52,7 +52,7 @@ export interface Goal extends DomainResource { note?: Annotation[]; outcomeCode?: CodeableConcept[]; outcomeReference?: Reference<"Observation">[]; - priority?: CodeableConcept; + priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; startCodeableConcept?: CodeableConcept; startDate?: string; _startDate?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GraphDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GraphDefinition.ts index 83f23c2de..77a60308e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GraphDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GraphDefinition.ts @@ -39,7 +39,7 @@ export interface GraphDefinitionLinkTargetCompartment extends BackboneElement { use: ("condition" | "requirement"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface GraphDefinition extends DomainResource { resourceType: "GraphDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Group.ts index 210b53e7e..4b90c4e5a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Group.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Group.ts @@ -37,7 +37,7 @@ export interface GroupMember extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group (pkg: hl7.fhir.r4.core#4.0.1) export interface Group extends DomainResource { resourceType: "Group"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GuidanceResponse.ts index 87f4f7baf..a9c305cfd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GuidanceResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GuidanceResponse.ts @@ -16,7 +16,7 @@ export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GuidanceResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GuidanceResponse (pkg: hl7.fhir.r4.core#4.0.1) export interface GuidanceResponse extends DomainResource { resourceType: "GuidanceResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HealthcareService.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HealthcareService.ts index e421f83c9..7679124b4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HealthcareService.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HealthcareService.ts @@ -37,7 +37,7 @@ export interface HealthcareServiceNotAvailable extends BackboneElement { during?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService (pkg: hl7.fhir.r4.core#4.0.1) export interface HealthcareService extends DomainResource { resourceType: "HealthcareService"; @@ -52,7 +52,7 @@ export interface HealthcareService extends DomainResource { characteristic?: CodeableConcept[]; comment?: string; _comment?: Element; - communication?: CodeableConcept[]; + communication?: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>[]; coverageArea?: Reference<"Location">[]; eligibility?: HealthcareServiceEligibility[]; endpoint?: Reference<"Endpoint">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HumanName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HumanName.ts index 8751c577a..457f899c3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HumanName.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HumanName.ts @@ -8,17 +8,17 @@ import type { Period } from "../hl7-fhir-r4-core/Period"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Period } from "../hl7-fhir-r4-core/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HumanName +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HumanName (pkg: hl7.fhir.r4.core#4.0.1) export interface HumanName extends Element { family?: string; _family?: Element; given?: string[]; - _given?: Element; + _given?: (Element | null)[]; period?: Period; prefix?: string[]; - _prefix?: Element; + _prefix?: (Element | null)[]; suffix?: string[]; - _suffix?: Element; + _suffix?: (Element | null)[]; text?: string; _text?: Element; use?: ("usual" | "official" | "temp" | "nickname" | "anonymous" | "old" | "maiden"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Identifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Identifier.ts index 5b41c664f..2171bdbcc 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Identifier.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Identifier.ts @@ -12,13 +12,13 @@ export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Identifier +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Identifier (pkg: hl7.fhir.r4.core#4.0.1) export interface Identifier extends Element { assigner?: Reference<"Organization">; period?: Period; system?: string; _system?: Element; - type?: CodeableConcept; + type?: CodeableConcept<("DL" | "PPN" | "BRN" | "MR" | "MCN" | "EN" | "TAX" | "NIIP" | "PRN" | "MD" | "DR" | "ACSN" | "UDI" | "SNO" | "SB" | "PLAC" | "FILL" | "JHN" | string)>; use?: ("usual" | "official" | "temp" | "secondary" | "old"); _use?: Element; value?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImagingStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImagingStudy.ts index 3c820958d..ba5318104 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImagingStudy.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImagingStudy.ts @@ -42,10 +42,10 @@ export interface ImagingStudySeriesInstance extends BackboneElement { export interface ImagingStudySeriesPerformer extends BackboneElement { actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; + "function"?: CodeableConcept<("CON" | "VRF" | "PRF" | "SPRF" | "REF" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy (pkg: hl7.fhir.r4.core#4.0.1) export interface ImagingStudy extends DomainResource { resourceType: "ImagingStudy"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Immunization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Immunization.ts index f9bc29e87..419e4b4d1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Immunization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Immunization.ts @@ -27,7 +27,7 @@ export interface ImmunizationEducation extends BackboneElement { export interface ImmunizationPerformer extends BackboneElement { actor: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - "function"?: CodeableConcept; + "function"?: CodeableConcept<("OP" | "AP" | string)>; } export interface ImmunizationProtocolApplied extends BackboneElement { @@ -46,7 +46,7 @@ export interface ImmunizationReaction extends BackboneElement { reported?: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization (pkg: hl7.fhir.r4.core#4.0.1) export interface Immunization extends DomainResource { resourceType: "Immunization"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationEvaluation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationEvaluation.ts index 13429a6f6..fc8babb07 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationEvaluation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationEvaluation.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation (pkg: hl7.fhir.r4.core#4.0.1) export interface ImmunizationEvaluation extends DomainResource { resourceType: "ImmunizationEvaluation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationRecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationRecommendation.ts index a031f99a6..82ab35b74 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationRecommendation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationRecommendation.ts @@ -36,7 +36,7 @@ export interface ImmunizationRecommendationRecommendationDateCriterion extends B value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation (pkg: hl7.fhir.r4.core#4.0.1) export interface ImmunizationRecommendation extends DomainResource { resourceType: "ImmunizationRecommendation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImplementationGuide.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImplementationGuide.ts index ae6bcfdf2..58651a092 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImplementationGuide.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImplementationGuide.ts @@ -90,7 +90,7 @@ export interface ImplementationGuideManifestResource extends BackboneElement { relativePath?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide (pkg: hl7.fhir.r4.core#4.0.1) export interface ImplementationGuide extends DomainResource { resourceType: "ImplementationGuide"; @@ -106,7 +106,7 @@ export interface ImplementationGuide extends DomainResource { experimental?: boolean; _experimental?: Element; fhirVersion: ("0.01" | "0.05" | "0.06" | "0.11" | "0.0.80" | "0.0.81" | "0.0.82" | "0.4.0" | "0.5.0" | "1.0.0" | "1.0.1" | "1.0.2" | "1.1.0" | "1.4.0" | "1.6.0" | "1.8.0" | "3.0.0" | "3.0.1" | "3.3.0" | "3.5.0" | "4.0.0" | "4.0.1")[]; - _fhirVersion?: Element; + _fhirVersion?: (Element | null)[]; global?: ImplementationGuideGlobal[]; jurisdiction?: CodeableConcept[]; license?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/InsurancePlan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/InsurancePlan.ts index 1b4dad541..2282121ae 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/InsurancePlan.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/InsurancePlan.ts @@ -29,7 +29,7 @@ export type { Reference } from "../hl7-fhir-r4-core/Reference"; export interface InsurancePlanContact extends BackboneElement { address?: Address; name?: HumanName; - purpose?: CodeableConcept; + purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; telecom?: ContactPoint[]; } @@ -77,19 +77,19 @@ export interface InsurancePlanPlanSpecificCostBenefit extends BackboneElement { } export interface InsurancePlanPlanSpecificCostBenefitCost extends BackboneElement { - applicability?: CodeableConcept; + applicability?: CodeableConcept<("in-network" | "out-of-network" | "other")>; qualifiers?: CodeableConcept[]; type: CodeableConcept; value?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InsurancePlan +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InsurancePlan (pkg: hl7.fhir.r4.core#4.0.1) export interface InsurancePlan extends DomainResource { resourceType: "InsurancePlan"; administeredBy?: Reference<"Organization">; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; contact?: InsurancePlanContact[]; coverage?: InsurancePlanCoverage[]; coverageArea?: Reference<"Location">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Invoice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Invoice.ts index 6b95f7e32..c65701a14 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Invoice.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Invoice.ts @@ -37,7 +37,7 @@ export interface InvoiceParticipant extends BackboneElement { role?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice (pkg: hl7.fhir.r4.core#4.0.1) export interface Invoice extends DomainResource { resourceType: "Invoice"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Library.ts index 6fff8ac0a..e5e21cd48 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Library.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Library.ts @@ -26,7 +26,7 @@ export type { Reference } from "../hl7-fhir-r4-core/Reference"; export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Library +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Library (pkg: hl7.fhir.r4.core#4.0.1) export interface Library extends DomainResource { resourceType: "Library"; @@ -69,7 +69,7 @@ export interface Library extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type: CodeableConcept; + type: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Linkage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Linkage.ts index c3123bf3a..b8abb2e4b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Linkage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Linkage.ts @@ -15,7 +15,7 @@ export interface LinkageItem extends BackboneElement { type: ("source" | "alternate" | "historical"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage (pkg: hl7.fhir.r4.core#4.0.1) export interface Linkage extends DomainResource { resourceType: "Linkage"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/List.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/List.ts index c6abbf339..bf3bbf034 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/List.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/List.ts @@ -23,21 +23,21 @@ export interface ListEntry extends BackboneElement { item: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/List +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/List (pkg: hl7.fhir.r4.core#4.0.1) export interface List extends DomainResource { resourceType: "List"; code?: CodeableConcept; date?: string; _date?: Element; - emptyReason?: CodeableConcept; + emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; encounter?: Reference<"Encounter">; entry?: ListEntry[]; identifier?: Identifier[]; mode: ("working" | "snapshot" | "changes"); _mode?: Element; note?: Annotation[]; - orderedBy?: CodeableConcept; + orderedBy?: CodeableConcept<("user" | "system" | "event-date" | "entry-date" | "priority" | "alphabetic" | "category" | "patient" | string)>; source?: Reference<"Device" | "Patient" | "Practitioner" | "PractitionerRole">; status: ("current" | "retired" | "entered-in-error"); _status?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Location.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Location.ts index cdf32e08c..6613795bd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Location.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Location.ts @@ -33,13 +33,13 @@ export interface LocationPosition extends BackboneElement { longitude: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Location +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Location (pkg: hl7.fhir.r4.core#4.0.1) export interface Location extends DomainResource { resourceType: "Location"; address?: Address; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; availabilityExceptions?: string; _availabilityExceptions?: Element; description?: string; @@ -52,7 +52,7 @@ export interface Location extends DomainResource { _mode?: Element; name?: string; _name?: Element; - operationalStatus?: Coding; + operationalStatus?: Coding<("C" | "H" | "I" | "K" | "O" | "U" | string)>; partOf?: Reference<"Location">; physicalType?: CodeableConcept; position?: LocationPosition; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MarketingStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MarketingStatus.ts index 267914307..745c86574 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MarketingStatus.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MarketingStatus.ts @@ -11,7 +11,7 @@ export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Period } from "../hl7-fhir-r4-core/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MarketingStatus +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MarketingStatus (pkg: hl7.fhir.r4.core#4.0.1) export interface MarketingStatus extends BackboneElement { country: CodeableConcept; dateRange: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Measure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Measure.ts index ca53317f0..5d92a7349 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Measure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Measure.ts @@ -32,7 +32,7 @@ export interface MeasureGroup extends BackboneElement { } export interface MeasureGroupPopulation extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; criteria: Expression; description?: string; } @@ -54,10 +54,10 @@ export interface MeasureSupplementalData extends BackboneElement { code?: CodeableConcept; criteria: Expression; description?: string; - usage?: CodeableConcept[]; + usage?: CodeableConcept<("supplemental-data" | "risk-adjustment-factor" | string)>[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure (pkg: hl7.fhir.r4.core#4.0.1) export interface Measure extends DomainResource { resourceType: "Measure"; @@ -66,14 +66,14 @@ export interface Measure extends DomainResource { author?: ContactDetail[]; clinicalRecommendationStatement?: string; _clinicalRecommendationStatement?: Element; - compositeScoring?: CodeableConcept; + compositeScoring?: CodeableConcept<("opportunity" | "all-or-nothing" | "linear" | "weighted" | string)>; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; date?: string; _date?: Element; definition?: string[]; - _definition?: Element; + _definition?: (Element | null)[]; description?: string; _description?: Element; disclaimer?: string; @@ -87,12 +87,12 @@ export interface Measure extends DomainResource { guidance?: string; _guidance?: Element; identifier?: Identifier[]; - improvementNotation?: CodeableConcept; + improvementNotation?: CodeableConcept<("increase" | "decrease")>; jurisdiction?: CodeableConcept[]; lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; publisher?: string; @@ -107,7 +107,7 @@ export interface Measure extends DomainResource { reviewer?: ContactDetail[]; riskAdjustment?: string; _riskAdjustment?: Element; - scoring?: CodeableConcept; + scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; subjectCodeableConcept?: CodeableConcept; @@ -118,7 +118,7 @@ export interface Measure extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type?: CodeableConcept[]; + type?: CodeableConcept<("process" | "outcome" | "structure" | "patient-reported-outcome" | "composite" | string)>[]; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MeasureReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MeasureReport.ts index 2a67c7e29..74bf6c0e4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MeasureReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MeasureReport.ts @@ -26,7 +26,7 @@ export interface MeasureReportGroup extends BackboneElement { } export interface MeasureReportGroupPopulation extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; count?: number; subjectResults?: Reference<"List">; } @@ -49,12 +49,12 @@ export interface MeasureReportGroupStratifierStratumComponent extends BackboneEl } export interface MeasureReportGroupStratifierStratumPopulation extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; count?: number; subjectResults?: Reference<"List">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MeasureReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MeasureReport (pkg: hl7.fhir.r4.core#4.0.1) export interface MeasureReport extends DomainResource { resourceType: "MeasureReport"; @@ -63,7 +63,7 @@ export interface MeasureReport extends DomainResource { evaluatedResource?: Reference<"Resource">[]; group?: MeasureReportGroup[]; identifier?: Identifier[]; - improvementNotation?: CodeableConcept; + improvementNotation?: CodeableConcept<("increase" | "decrease")>; measure: string; _measure?: Element; period: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Media.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Media.ts index b4145fd3f..e7954aef7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Media.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Media.ts @@ -18,7 +18,7 @@ export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Media +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Media (pkg: hl7.fhir.r4.core#4.0.1) export interface Media extends DomainResource { resourceType: "Media"; @@ -49,7 +49,7 @@ export interface Media extends DomainResource { status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); _status?: Element; subject?: Reference<"Device" | "Group" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "Specimen">; - type?: CodeableConcept; + type?: CodeableConcept<("image" | "video" | "audio" | string)>; view?: CodeableConcept; width?: number; _width?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Medication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Medication.ts index 711e06cf9..6e3516b30 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Medication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Medication.ts @@ -28,7 +28,7 @@ export interface MedicationIngredient extends BackboneElement { strength?: Ratio; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication (pkg: hl7.fhir.r4.core#4.0.1) export interface Medication extends DomainResource { resourceType: "Medication"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationAdministration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationAdministration.ts index c9c630f19..6b118508a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationAdministration.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationAdministration.ts @@ -37,11 +37,11 @@ export interface MedicationAdministrationPerformer extends BackboneElement { "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicationAdministration extends DomainResource { resourceType: "MedicationAdministration"; - category?: CodeableConcept; + category?: CodeableConcept<("inpatient" | "outpatient" | "community" | string)>; context?: Reference<"Encounter" | "EpisodeOfCare">; device?: Reference<"Device">[]; dosage?: MedicationAdministrationDosage; @@ -51,7 +51,7 @@ export interface MedicationAdministration extends DomainResource { eventHistory?: Reference<"Provenance">[]; identifier?: Identifier[]; instantiates?: string[]; - _instantiates?: Element; + _instantiates?: (Element | null)[]; medicationCodeableConcept?: CodeableConcept; medicationReference?: Reference<"Medication">; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationDispense.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationDispense.ts index 65468e38a..00eae8181 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationDispense.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationDispense.ts @@ -32,12 +32,12 @@ export interface MedicationDispenseSubstitution extends BackboneElement { wasSubstituted: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationDispense +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationDispense (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicationDispense extends DomainResource { resourceType: "MedicationDispense"; authorizingPrescription?: Reference<"MedicationRequest">[]; - category?: CodeableConcept; + category?: CodeableConcept<("inpatient" | "outpatient" | "community" | "discharge" | string)>; context?: Reference<"Encounter" | "EpisodeOfCare">; daysSupply?: Quantity; destination?: Reference<"Location">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationKnowledge.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationKnowledge.ts index aa9b6aadd..645efaf9c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationKnowledge.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationKnowledge.ts @@ -113,7 +113,7 @@ export interface MedicationKnowledgeRelatedMedicationKnowledge extends BackboneE type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicationKnowledge extends DomainResource { resourceType: "MedicationKnowledge"; @@ -141,7 +141,7 @@ export interface MedicationKnowledge extends DomainResource { status?: ("active" | "inactive" | "entered-in-error"); _status?: Element; synonym?: string[]; - _synonym?: Element; + _synonym?: (Element | null)[]; } export const isMedicationKnowledge = (resource: unknown): resource is MedicationKnowledge => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationKnowledge"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationRequest.ts index b75e5a59e..dfc7f29f1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationRequest.ts @@ -45,7 +45,7 @@ export interface MedicationRequestSubstitution extends BackboneElement { reason?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicationRequest extends DomainResource { resourceType: "MedicationRequest"; @@ -64,9 +64,9 @@ export interface MedicationRequest extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; insurance?: Reference<"ClaimResponse" | "Coverage">[]; intent: ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationStatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationStatement.ts index f7de182d8..3659f9f72 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationStatement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationStatement.ts @@ -18,12 +18,12 @@ export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationStatement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationStatement (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicationStatement extends DomainResource { resourceType: "MedicationStatement"; basedOn?: Reference<"CarePlan" | "MedicationRequest" | "ServiceRequest">[]; - category?: CodeableConcept; + category?: CodeableConcept<("inpatient" | "outpatient" | "community" | "patientspecified" | string)>; context?: Reference<"Encounter" | "EpisodeOfCare">; dateAsserted?: string; _dateAsserted?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProduct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProduct.ts index 4a85588ef..e4519586c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProduct.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProduct.ts @@ -55,7 +55,7 @@ export interface MedicinalProductSpecialDesignation extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProduct +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProduct (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProduct extends DomainResource { resourceType: "MedicinalProduct"; @@ -78,7 +78,7 @@ export interface MedicinalProduct extends DomainResource { productClassification?: CodeableConcept[]; specialDesignation?: MedicinalProductSpecialDesignation[]; specialMeasures?: string[]; - _specialMeasures?: Element; + _specialMeasures?: (Element | null)[]; type?: CodeableConcept; } export const isMedicinalProduct = (resource: unknown): resource is MedicinalProduct => { diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductAuthorization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductAuthorization.ts index 507bfd71e..c8a86191e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductAuthorization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductAuthorization.ts @@ -32,7 +32,7 @@ export interface MedicinalProductAuthorizationProcedure extends BackboneElement type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductAuthorization extends DomainResource { resourceType: "MedicinalProductAuthorization"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductContraindication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductContraindication.ts index 5cc918629..2e2c6e2fb 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductContraindication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductContraindication.ts @@ -19,7 +19,7 @@ export interface MedicinalProductContraindicationOtherTherapy extends BackboneEl therapyRelationshipType: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductContraindication extends DomainResource { resourceType: "MedicinalProductContraindication"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIndication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIndication.ts index 2e2a32ba0..8424bfb17 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIndication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIndication.ts @@ -21,7 +21,7 @@ export interface MedicinalProductIndicationOtherTherapy extends BackboneElement therapyRelationshipType: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductIndication extends DomainResource { resourceType: "MedicinalProductIndication"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIngredient.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIngredient.ts index 7663d93a8..d7dc7b16a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIngredient.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIngredient.ts @@ -46,7 +46,7 @@ export interface MedicinalProductIngredientSubstance extends BackboneElement { strength?: MedicinalProductIngredientSpecifiedSubstanceStrength[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductIngredient extends DomainResource { resourceType: "MedicinalProductIngredient"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductInteraction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductInteraction.ts index b17987375..9901447eb 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductInteraction.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductInteraction.ts @@ -17,7 +17,7 @@ export interface MedicinalProductInteractionInteractant extends BackboneElement itemReference?: Reference<"Medication" | "MedicinalProduct" | "ObservationDefinition" | "Substance">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductInteraction extends DomainResource { resourceType: "MedicinalProductInteraction"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductManufactured.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductManufactured.ts index 2e80cca4e..9dcca09d4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductManufactured.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductManufactured.ts @@ -13,7 +13,7 @@ export type { ProdCharacteristic } from "../hl7-fhir-r4-core/ProdCharacteristic" export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductManufactured extends DomainResource { resourceType: "MedicinalProductManufactured"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPackaged.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPackaged.ts index bbaf77992..f2efad8cd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPackaged.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPackaged.ts @@ -42,7 +42,7 @@ export interface MedicinalProductPackagedPackageItem extends BackboneElement { type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductPackaged extends DomainResource { resourceType: "MedicinalProductPackaged"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPharmaceutical.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPharmaceutical.ts index 532cb52cb..b8a57f073 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPharmaceutical.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPharmaceutical.ts @@ -45,7 +45,7 @@ export interface MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecie value: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductPharmaceutical extends DomainResource { resourceType: "MedicinalProductPharmaceutical"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.ts index 40e7bb675..c99185334 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.ts @@ -11,7 +11,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Population } from "../hl7-fhir-r4-core/Population"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect (pkg: hl7.fhir.r4.core#4.0.1) export interface MedicinalProductUndesirableEffect extends DomainResource { resourceType: "MedicinalProductUndesirableEffect"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageDefinition.ts index fa10694a6..ab6bf9c88 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageDefinition.ts @@ -30,7 +30,7 @@ export interface MessageDefinitionFocus extends BackboneElement { profile?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface MessageDefinition extends DomainResource { resourceType: "MessageDefinition"; @@ -53,19 +53,19 @@ export interface MessageDefinition extends DomainResource { _experimental?: Element; focus?: MessageDefinitionFocus[]; graph?: string[]; - _graph?: Element; + _graph?: (Element | null)[]; identifier?: Identifier[]; jurisdiction?: CodeableConcept[]; name?: string; _name?: Element; parent?: string[]; - _parent?: Element; + _parent?: (Element | null)[]; publisher?: string; _publisher?: Element; purpose?: string; _purpose?: Element; replaces?: string[]; - _replaces?: Element; + _replaces?: (Element | null)[]; responseRequired?: ("always" | "on-error" | "never" | "on-success"); _responseRequired?: Element; status: ("draft" | "active" | "retired" | "unknown"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageHeader.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageHeader.ts index f046a5ecb..530692b91 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageHeader.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageHeader.ts @@ -37,7 +37,7 @@ export interface MessageHeaderSource extends BackboneElement { version?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader (pkg: hl7.fhir.r4.core#4.0.1) export interface MessageHeader extends DomainResource { resourceType: "MessageHeader"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Meta.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Meta.ts index 3733ed449..0f90be813 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Meta.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Meta.ts @@ -8,12 +8,12 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Coding } from "../hl7-fhir-r4-core/Coding"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Meta +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Meta (pkg: hl7.fhir.r4.core#4.0.1) export interface Meta extends Element { lastUpdated?: string; _lastUpdated?: Element; profile?: string[]; - _profile?: Element; + _profile?: (Element | null)[]; security?: Coding[]; source?: string; _source?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MetadataResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MetadataResource.ts index b6558ee76..304fa6075 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MetadataResource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MetadataResource.ts @@ -12,10 +12,8 @@ export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MetadataResource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MetadataResource (pkg: hl7.fhir.r4.core#4.0.1) export interface MetadataResource extends DomainResource { - resourceType: "MetadataResource"; - contact?: ContactDetail[]; date?: string; _date?: Element; @@ -38,6 +36,3 @@ export interface MetadataResource extends DomainResource { version?: string; _version?: Element; } -export const isMetadataResource = (resource: unknown): resource is MetadataResource => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MetadataResource"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MolecularSequence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MolecularSequence.ts index 8ac14dafa..00869b72a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MolecularSequence.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MolecularSequence.ts @@ -92,7 +92,7 @@ export interface MolecularSequenceVariant extends BackboneElement { variantPointer?: Reference<"Observation">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence (pkg: hl7.fhir.r4.core#4.0.1) export interface MolecularSequence extends DomainResource { resourceType: "MolecularSequence"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Money.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Money.ts index c63a83383..4a63765f8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Money.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Money.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Money +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Money (pkg: hl7.fhir.r4.core#4.0.1) export interface Money extends Element { currency?: string; _currency?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NamingSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NamingSystem.ts index b771450df..e89d7207d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NamingSystem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NamingSystem.ts @@ -24,7 +24,7 @@ export interface NamingSystemUniqueId extends BackboneElement { value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem (pkg: hl7.fhir.r4.core#4.0.1) export interface NamingSystem extends DomainResource { resourceType: "NamingSystem"; @@ -44,7 +44,7 @@ export interface NamingSystem extends DomainResource { _responsible?: Element; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; - type?: CodeableConcept; + type?: CodeableConcept<("DL" | "PPN" | "BRN" | "MR" | "MCN" | "EN" | "TAX" | "NIIP" | "PRN" | "MD" | "DR" | "ACSN" | "UDI" | "SNO" | "SB" | "PLAC" | "FILL" | "JHN" | string)>; uniqueId: NamingSystemUniqueId[]; usage?: string; _usage?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Narrative.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Narrative.ts index db6d19133..572f02163 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Narrative.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Narrative.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Narrative +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Narrative (pkg: hl7.fhir.r4.core#4.0.1) export interface Narrative extends Element { div: string; _div?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NutritionOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NutritionOrder.ts index 5c1d9e569..6b8d67b24 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NutritionOrder.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NutritionOrder.ts @@ -31,7 +31,7 @@ export interface NutritionOrderEnteralFormula extends BackboneElement { baseFormulaType?: CodeableConcept; caloricDensity?: Quantity; maxVolumeToDeliver?: Quantity; - routeofAdministration?: CodeableConcept; + routeofAdministration?: CodeableConcept<("PO" | "EFT" | "ENTINSTL" | "GT" | "NGT" | "OGT" | "GJT" | "JJTINSTL" | "OJJ" | string)>; } export interface NutritionOrderEnteralFormulaAdministration extends BackboneElement { @@ -68,7 +68,7 @@ export interface NutritionOrderSupplement extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder (pkg: hl7.fhir.r4.core#4.0.1) export interface NutritionOrder extends DomainResource { resourceType: "NutritionOrder"; @@ -81,11 +81,11 @@ export interface NutritionOrder extends DomainResource { foodPreferenceModifier?: CodeableConcept[]; identifier?: Identifier[]; instantiates?: string[]; - _instantiates?: Element; + _instantiates?: (Element | null)[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Observation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Observation.ts index 0daa0f90a..fc2a98775 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Observation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Observation.ts @@ -30,8 +30,8 @@ export type { Timing } from "../hl7-fhir-r4-core/Timing"; export interface ObservationComponent extends BackboneElement { code: CodeableConcept; - dataAbsentReason?: CodeableConcept; - interpretation?: CodeableConcept[]; + dataAbsentReason?: CodeableConcept<("unknown" | "asked-unknown" | "temp-unknown" | "not-asked" | "asked-declined" | "masked" | "not-applicable" | "unsupported" | "as-text" | "error" | "not-a-number" | "negative-infinity" | "positive-infinity" | "not-performed" | "not-permitted" | string)>; + interpretation?: CodeableConcept<("_GeneticObservationInterpretation" | "CAR" | "Carrier" | "_ObservationInterpretationChange" | "B" | "D" | "U" | "W" | "_ObservationInterpretationExceptions" | "<" | ">" | "AC" | "IE" | "QCF" | "TOX" | "_ObservationInterpretationNormality" | "A" | "AA" | "HH" | "LL" | "H" | "H>" | "HU" | "L" | "L<" | "LU" | "N" | "_ObservationInterpretationSusceptibility" | "I" | "MS" | "NCL" | "NS" | "R" | "SYN-R" | "S" | "SDD" | "SYN-S" | "VS" | "EX" | "HX" | "LX" | "HM" | "ObservationInterpretationDetection" | "IND" | "E" | "NEG" | "ND" | "POS" | "DET" | "ObservationInterpretationExpectation" | "EXP" | "UNE" | "OBX" | "ReactivityObservationInterpretation" | "NR" | "RR" | "WR" | string)>[]; referenceRange?: ObservationReferenceRange[]; valueBoolean?: boolean; valueCodeableConcept?: CodeableConcept; @@ -52,19 +52,19 @@ export interface ObservationReferenceRange extends BackboneElement { high?: Quantity; low?: Quantity; text?: string; - type?: CodeableConcept; + type?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Observation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Observation (pkg: hl7.fhir.r4.core#4.0.1) export interface Observation extends DomainResource { resourceType: "Observation"; basedOn?: Reference<"CarePlan" | "DeviceRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest">[]; bodySite?: CodeableConcept; - category?: CodeableConcept[]; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; code: CodeableConcept; component?: ObservationComponent[]; - dataAbsentReason?: CodeableConcept; + dataAbsentReason?: CodeableConcept<("unknown" | "asked-unknown" | "temp-unknown" | "not-asked" | "asked-declined" | "masked" | "not-applicable" | "unsupported" | "as-text" | "error" | "not-a-number" | "negative-infinity" | "positive-infinity" | "not-performed" | "not-permitted" | string)>; derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "Media" | "MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; device?: Reference<"Device" | "DeviceMetric">; effectiveDateTime?: string; @@ -77,7 +77,7 @@ export interface Observation extends DomainResource { focus?: Reference<"Resource">[]; hasMember?: Reference<"MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; identifier?: Identifier[]; - interpretation?: CodeableConcept[]; + interpretation?: CodeableConcept<("_GeneticObservationInterpretation" | "CAR" | "Carrier" | "_ObservationInterpretationChange" | "B" | "D" | "U" | "W" | "_ObservationInterpretationExceptions" | "<" | ">" | "AC" | "IE" | "QCF" | "TOX" | "_ObservationInterpretationNormality" | "A" | "AA" | "HH" | "LL" | "H" | "H>" | "HU" | "L" | "L<" | "LU" | "N" | "_ObservationInterpretationSusceptibility" | "I" | "MS" | "NCL" | "NS" | "R" | "SYN-R" | "S" | "SDD" | "SYN-S" | "VS" | "EX" | "HX" | "LX" | "HM" | "ObservationInterpretationDetection" | "IND" | "E" | "NEG" | "ND" | "POS" | "DET" | "ObservationInterpretationExpectation" | "EXP" | "UNE" | "OBX" | "ReactivityObservationInterpretation" | "NR" | "RR" | "WR" | string)>[]; issued?: string; _issued?: Element; method?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ObservationDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ObservationDefinition.ts index 6afacbf9b..311a40dc2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ObservationDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ObservationDefinition.ts @@ -21,7 +21,7 @@ export interface ObservationDefinitionQualifiedInterval extends BackboneElement appliesTo?: CodeableConcept[]; category?: ("reference" | "critical" | "absolute"); condition?: string; - context?: CodeableConcept; + context?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; gender?: ("male" | "female" | "other" | "unknown"); gestationalAge?: Range; range?: Range; @@ -34,7 +34,7 @@ export interface ObservationDefinitionQuantitativeDetails extends BackboneElemen unit?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface ObservationDefinition extends DomainResource { resourceType: "ObservationDefinition"; @@ -48,7 +48,7 @@ export interface ObservationDefinition extends DomainResource { _multipleResultsAllowed?: Element; normalCodedValueSet?: Reference<"ValueSet">; permittedDataType?: ("Quantity" | "CodeableConcept" | "string" | "boolean" | "integer" | "Range" | "Ratio" | "SampledData" | "time" | "dateTime" | "Period")[]; - _permittedDataType?: Element; + _permittedDataType?: (Element | null)[]; preferredReportName?: string; _preferredReportName?: Element; qualifiedInterval?: ObservationDefinitionQualifiedInterval[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationDefinition.ts index 1788b4530..d6c4ba11a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationDefinition.ts @@ -43,7 +43,7 @@ export interface OperationDefinitionParameterReferencedFrom extends BackboneElem sourceId?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface OperationDefinition extends DomainResource { resourceType: "OperationDefinition"; @@ -80,7 +80,7 @@ export interface OperationDefinition extends DomainResource { purpose?: string; _purpose?: Element; resource?: string[]; - _resource?: Element; + _resource?: (Element | null)[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; system: boolean; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationOutcome.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationOutcome.ts index 86524f8d8..4d1f622d7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationOutcome.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationOutcome.ts @@ -18,7 +18,7 @@ export interface OperationOutcomeIssue extends BackboneElement { severity: ("fatal" | "error" | "warning" | "information"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome (pkg: hl7.fhir.r4.core#4.0.1) export interface OperationOutcome extends DomainResource { resourceType: "OperationOutcome"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Organization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Organization.ts index ae38a6793..b29884b85 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Organization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Organization.ts @@ -23,11 +23,11 @@ export type { Reference } from "../hl7-fhir-r4-core/Reference"; export interface OrganizationContact extends BackboneElement { address?: Address; name?: HumanName; - purpose?: CodeableConcept; + purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; telecom?: ContactPoint[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Organization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Organization (pkg: hl7.fhir.r4.core#4.0.1) export interface Organization extends DomainResource { resourceType: "Organization"; @@ -35,7 +35,7 @@ export interface Organization extends DomainResource { _active?: Element; address?: Address[]; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; contact?: OrganizationContact[]; endpoint?: Reference<"Endpoint">[]; identifier?: Identifier[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OrganizationAffiliation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OrganizationAffiliation.ts index 887e3875f..c59d89aa3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OrganizationAffiliation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OrganizationAffiliation.ts @@ -16,7 +16,7 @@ export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation (pkg: hl7.fhir.r4.core#4.0.1) export interface OrganizationAffiliation extends DomainResource { resourceType: "OrganizationAffiliation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ParameterDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ParameterDefinition.ts index 3025c9603..7b2b263f7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ParameterDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ParameterDefinition.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParameterDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParameterDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface ParameterDefinition extends Element { documentation?: string; _documentation?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Parameters.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Parameters.ts index e4e979d9c..1db060ece 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Parameters.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Parameters.ts @@ -125,7 +125,7 @@ export interface ParametersParameter extends BackboneElement { valueUuid?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters (pkg: hl7.fhir.r4.core#4.0.1) export interface Parameters extends Resource { resourceType: "Parameters"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Patient.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Patient.ts index 1283a52cd..05802a8ff 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Patient.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Patient.ts @@ -25,7 +25,7 @@ export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; export interface PatientCommunication extends BackboneElement { - language: CodeableConcept; + language: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; preferred?: boolean; } @@ -44,7 +44,7 @@ export interface PatientLink extends BackboneElement { type: ("replaced-by" | "replaces" | "refer" | "seealso"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient (pkg: hl7.fhir.r4.core#4.0.1) export interface Patient extends DomainResource { resourceType: "Patient"; @@ -65,7 +65,7 @@ export interface Patient extends DomainResource { identifier?: Identifier[]; link?: PatientLink[]; managingOrganization?: Reference<"Organization">; - maritalStatus?: CodeableConcept; + maritalStatus?: CodeableConcept<("A" | "D" | "I" | "L" | "M" | "P" | "S" | "T" | "U" | "W" | "UNK" | string)>; multipleBirthBoolean?: boolean; _multipleBirthBoolean?: Element; multipleBirthInteger?: number; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentNotice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentNotice.ts index 64197d2b7..a18cbc55f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentNotice.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentNotice.ts @@ -14,7 +14,7 @@ export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Money } from "../hl7-fhir-r4-core/Money"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentNotice +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentNotice (pkg: hl7.fhir.r4.core#4.0.1) export interface PaymentNotice extends DomainResource { resourceType: "PaymentNotice"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentReconciliation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentReconciliation.ts index 7ab1ac543..b272f874a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentReconciliation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentReconciliation.ts @@ -36,7 +36,7 @@ export interface PaymentReconciliationProcessNote extends BackboneElement { type?: ("display" | "print" | "printoper"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation (pkg: hl7.fhir.r4.core#4.0.1) export interface PaymentReconciliation extends DomainResource { resourceType: "PaymentReconciliation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Period.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Period.ts index 2b903bdf3..5a87c3fcf 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Period.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Period.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Period +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Period (pkg: hl7.fhir.r4.core#4.0.1) export interface Period extends Element { end?: string; _end?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Person.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Person.ts index 368320179..74c1d4bac 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Person.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Person.ts @@ -25,7 +25,7 @@ export interface PersonLink extends BackboneElement { target: Reference<"Patient" | "Person" | "Practitioner" | "RelatedPerson">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person (pkg: hl7.fhir.r4.core#4.0.1) export interface Person extends DomainResource { resourceType: "Person"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PlanDefinition.ts index 6d7510607..f4163b149 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PlanDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PlanDefinition.ts @@ -72,7 +72,7 @@ export interface PlanDefinitionAction extends BackboneElement { title?: string; transform?: string; trigger?: TriggerDefinition[]; - type?: CodeableConcept; + type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; } export interface PlanDefinitionActionCondition extends BackboneElement { @@ -102,7 +102,7 @@ export interface PlanDefinitionGoal extends BackboneElement { category?: CodeableConcept; description: CodeableConcept; documentation?: RelatedArtifact[]; - priority?: CodeableConcept; + priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; start?: CodeableConcept; target?: PlanDefinitionGoalTarget[]; } @@ -115,7 +115,7 @@ export interface PlanDefinitionGoalTarget extends BackboneElement { measure?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface PlanDefinition extends DomainResource { resourceType: "PlanDefinition"; @@ -141,7 +141,7 @@ export interface PlanDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; publisher?: string; @@ -159,7 +159,7 @@ export interface PlanDefinition extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type?: CodeableConcept; + type?: CodeableConcept<("order-set" | "clinical-protocol" | "eca-rule" | "workflow-definition" | string)>; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Population.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Population.ts index 185b5e6f6..c870bf6a2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Population.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Population.ts @@ -10,7 +10,7 @@ export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Range } from "../hl7-fhir-r4-core/Range"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Population +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Population (pkg: hl7.fhir.r4.core#4.0.1) export interface Population extends BackboneElement { ageCodeableConcept?: CodeableConcept; ageRange?: Range; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Practitioner.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Practitioner.ts index 382da73b3..f24eab799 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Practitioner.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Practitioner.ts @@ -31,7 +31,7 @@ export interface PractitionerQualification extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner (pkg: hl7.fhir.r4.core#4.0.1) export interface Practitioner extends DomainResource { resourceType: "Practitioner"; @@ -40,7 +40,7 @@ export interface Practitioner extends DomainResource { address?: Address[]; birthDate?: string; _birthDate?: Element; - communication?: CodeableConcept[]; + communication?: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>[]; gender?: ("male" | "female" | "other" | "unknown"); _gender?: Element; identifier?: Identifier[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PractitionerRole.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PractitionerRole.ts index d5285434b..f6c97d782 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PractitionerRole.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PractitionerRole.ts @@ -30,7 +30,7 @@ export interface PractitionerRoleNotAvailable extends BackboneElement { during?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PractitionerRole +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PractitionerRole (pkg: hl7.fhir.r4.core#4.0.1) export interface PractitionerRole extends DomainResource { resourceType: "PractitionerRole"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Procedure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Procedure.ts index 67ab1f312..14b06f903 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Procedure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Procedure.ts @@ -33,7 +33,7 @@ export interface ProcedurePerformer extends BackboneElement { onBehalfOf?: Reference<"Organization">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure (pkg: hl7.fhir.r4.core#4.0.1) export interface Procedure extends DomainResource { resourceType: "Procedure"; @@ -49,9 +49,9 @@ export interface Procedure extends DomainResource { followUp?: CodeableConcept[]; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; location?: Reference<"Location">; note?: Annotation[]; outcome?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProdCharacteristic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProdCharacteristic.ts index baa3aff06..cf5258e50 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProdCharacteristic.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProdCharacteristic.ts @@ -13,16 +13,16 @@ export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProdCharacteristic +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProdCharacteristic (pkg: hl7.fhir.r4.core#4.0.1) export interface ProdCharacteristic extends BackboneElement { color?: string[]; - _color?: Element; + _color?: (Element | null)[]; depth?: Quantity; externalDiameter?: Quantity; height?: Quantity; image?: Attachment[]; imprint?: string[]; - _imprint?: Element; + _imprint?: (Element | null)[]; nominalVolume?: Quantity; scoring?: CodeableConcept; shape?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProductShelfLife.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProductShelfLife.ts index 9eade0033..b089d7c39 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProductShelfLife.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProductShelfLife.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProductShelfLife +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProductShelfLife (pkg: hl7.fhir.r4.core#4.0.1) export interface ProductShelfLife extends BackboneElement { identifier?: Identifier; period: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Provenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Provenance.ts index e06688302..2607e8bc4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Provenance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Provenance.ts @@ -19,7 +19,7 @@ export type { Signature } from "../hl7-fhir-r4-core/Signature"; export interface ProvenanceAgent extends BackboneElement { onBehalfOf?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; role?: CodeableConcept[]; - type?: CodeableConcept; + type?: CodeableConcept<("enterer" | "performer" | "author" | "verifier" | "legal" | "attester" | "informant" | "custodian" | "assembler" | "composer" | string)>; who: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; } @@ -29,11 +29,11 @@ export interface ProvenanceEntity extends BackboneElement { what: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance (pkg: hl7.fhir.r4.core#4.0.1) export interface Provenance extends DomainResource { resourceType: "Provenance"; - activity?: CodeableConcept; + activity?: CodeableConcept<("LA" | "ANONY" | "DEID" | "MASK" | "LABEL" | "PSEUD" | "CREATE" | "DELETE" | "UPDATE" | "APPEND" | "NULLIFY" | "PART" | "_ParticipationAncillary" | "ADM" | "ATND" | "CALLBCK" | "CON" | "DIS" | "ESC" | "REF" | "_ParticipationInformationGenerator" | "AUT" | "INF" | "TRANS" | "ENT" | "WIT" | "CST" | "DIR" | "ALY" | "BBY" | "CAT" | "CSM" | "TPA" | "DEV" | "NRD" | "RDV" | "DON" | "EXPAGNT" | "EXPART" | "EXPTRGT" | "EXSRC" | "PRD" | "SBJ" | "SPC" | "IND" | "BEN" | "CAGNT" | "COV" | "GUAR" | "HLD" | "RCT" | "RCV" | "IRCP" | "NOT" | "PRCP" | "REFB" | "REFT" | "TRC" | "LOC" | "DST" | "ELOC" | "ORG" | "RML" | "VIA" | "PRF" | "DIST" | "PPRF" | "SPRF" | "RESP" | "VRF" | "AUTHEN" | "LA" | string)>; agent: ProvenanceAgent[]; entity?: ProvenanceEntity[]; location?: Reference<"Location">; @@ -41,7 +41,7 @@ export interface Provenance extends DomainResource { _occurredDateTime?: Element; occurredPeriod?: Period; policy?: string[]; - _policy?: Element; + _policy?: (Element | null)[]; reason?: CodeableConcept[]; recorded: string; _recorded?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Quantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Quantity.ts index 3c6e86b53..d7724c44e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Quantity.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Quantity.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Quantity +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Quantity (pkg: hl7.fhir.r4.core#4.0.1) export interface Quantity extends Element { code?: string; _code?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Questionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Questionnaire.ts index f00921a3c..b197e2031 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Questionnaire.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Questionnaire.ts @@ -85,7 +85,7 @@ export interface QuestionnaireItemInitial extends BackboneElement { valueUri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire (pkg: hl7.fhir.r4.core#4.0.1) export interface Questionnaire extends DomainResource { resourceType: "Questionnaire"; @@ -98,7 +98,7 @@ export interface Questionnaire extends DomainResource { date?: string; _date?: Element; derivedFrom?: string[]; - _derivedFrom?: Element; + _derivedFrom?: (Element | null)[]; description?: string; _description?: Element; effectivePeriod?: Period; @@ -118,7 +118,7 @@ export interface Questionnaire extends DomainResource { status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; subjectType?: string[]; - _subjectType?: Element; + _subjectType?: (Element | null)[]; title?: string; _title?: Element; url?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/QuestionnaireResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/QuestionnaireResponse.ts index ad4d9da53..a3921e4bf 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/QuestionnaireResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/QuestionnaireResponse.ts @@ -42,7 +42,7 @@ export interface QuestionnaireResponseItemAnswer extends BackboneElement { valueUri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse (pkg: hl7.fhir.r4.core#4.0.1) export interface QuestionnaireResponse extends DomainResource { resourceType: "QuestionnaireResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Range.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Range.ts index c4f4e3580..770d61118 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Range.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Range.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Range +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Range (pkg: hl7.fhir.r4.core#4.0.1) export interface Range extends Element { high?: Quantity; low?: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Ratio.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Ratio.ts index b6b97eaf5..a7b6611db 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Ratio.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Ratio.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ratio +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ratio (pkg: hl7.fhir.r4.core#4.0.1) export interface Ratio extends Element { denominator?: Quantity; numerator?: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Reference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Reference.ts index c4d7e86bd..f59d6fed4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Reference.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Reference.ts @@ -8,7 +8,7 @@ import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Reference +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Reference (pkg: hl7.fhir.r4.core#4.0.1) export interface Reference extends Element { display?: string; _display?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedArtifact.ts index d8260bbb6..d3fa21503 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedArtifact.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedArtifact.ts @@ -8,7 +8,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedArtifact +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedArtifact (pkg: hl7.fhir.r4.core#4.0.1) export interface RelatedArtifact extends Element { citation?: string; _citation?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedPerson.ts index e122495b7..887797f6d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedPerson.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedPerson.ts @@ -25,11 +25,11 @@ export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; export interface RelatedPersonCommunication extends BackboneElement { - language: CodeableConcept; + language: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; preferred?: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedPerson +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedPerson (pkg: hl7.fhir.r4.core#4.0.1) export interface RelatedPerson extends DomainResource { resourceType: "RelatedPerson"; @@ -46,7 +46,7 @@ export interface RelatedPerson extends DomainResource { patient: Reference<"Patient">; period?: Period; photo?: Attachment[]; - relationship?: CodeableConcept[]; + relationship?: CodeableConcept<("BP" | "C" | "CP" | "E" | "EP" | "F" | "I" | "N" | "O" | "PR" | "S" | "U" | string)>[]; telecom?: ContactPoint[]; } export const isRelatedPerson = (resource: unknown): resource is RelatedPerson => { diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Request.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Request.ts index f4fc00d80..b4c89b7e0 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Request.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Request.ts @@ -2,8 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request (pkg: hl7.fhir.r4.core#4.0.1) export type Request = object; -export const isRequest = (resource: unknown): resource is Request => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Request"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RequestGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RequestGroup.ts index 2d6eaac72..c7693da76 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RequestGroup.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RequestGroup.ts @@ -54,7 +54,7 @@ export interface RequestGroupAction extends BackboneElement { timingRange?: Range; timingTiming?: Timing; title?: string; - type?: CodeableConcept; + type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; } export interface RequestGroupActionCondition extends BackboneElement { @@ -69,7 +69,7 @@ export interface RequestGroupActionRelatedAction extends BackboneElement { relationship: ("before-start" | "before" | "before-end" | "concurrent-with-start" | "concurrent" | "concurrent-with-end" | "after-start" | "after" | "after-end"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RequestGroup +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RequestGroup (pkg: hl7.fhir.r4.core#4.0.1) export interface RequestGroup extends DomainResource { resourceType: "RequestGroup"; @@ -83,9 +83,9 @@ export interface RequestGroup extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchDefinition.ts index 58df31e26..09cfe1279 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchDefinition.ts @@ -20,7 +20,7 @@ export type { Reference } from "../hl7-fhir-r4-core/Reference"; export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface ResearchDefinition extends DomainResource { resourceType: "ResearchDefinition"; @@ -28,7 +28,7 @@ export interface ResearchDefinition extends DomainResource { _approvalDate?: Element; author?: ContactDetail[]; comment?: string[]; - _comment?: Element; + _comment?: (Element | null)[]; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; @@ -48,7 +48,7 @@ export interface ResearchDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; outcome?: Reference<"ResearchElementDefinition">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchElementDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchElementDefinition.ts index e9ef18868..c06768f5b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchElementDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchElementDefinition.ts @@ -54,7 +54,7 @@ export interface ResearchElementDefinitionCharacteristic extends BackboneElement usageContext?: UsageContext[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface ResearchElementDefinition extends DomainResource { resourceType: "ResearchElementDefinition"; @@ -63,7 +63,7 @@ export interface ResearchElementDefinition extends DomainResource { author?: ContactDetail[]; characteristic: ResearchElementDefinitionCharacteristic[]; comment?: string[]; - _comment?: Element; + _comment?: (Element | null)[]; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; @@ -81,7 +81,7 @@ export interface ResearchElementDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; publisher?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchStudy.ts index f80dcefd8..4b252fb80 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchStudy.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchStudy.ts @@ -30,10 +30,10 @@ export interface ResearchStudyArm extends BackboneElement { export interface ResearchStudyObjective extends BackboneElement { name?: string; - type?: CodeableConcept; + type?: CodeableConcept<("primary" | "secondary" | "exploratory" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy (pkg: hl7.fhir.r4.core#4.0.1) export interface ResearchStudy extends DomainResource { resourceType: "ResearchStudy"; @@ -53,7 +53,7 @@ export interface ResearchStudy extends DomainResource { partOf?: Reference<"ResearchStudy">[]; period?: Period; phase?: CodeableConcept; - primaryPurposeType?: CodeableConcept; + primaryPurposeType?: CodeableConcept<("treatment" | "prevention" | "diagnostic" | "supportive-care" | "screening" | "health-services-research" | "basic-science" | "device-feasibility" | string)>; principalInvestigator?: Reference<"Practitioner" | "PractitionerRole">; protocol?: Reference<"PlanDefinition">[]; reasonStopped?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchSubject.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchSubject.ts index 7432f0f6d..0a02f66b2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchSubject.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchSubject.ts @@ -12,7 +12,7 @@ export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchSubject +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchSubject (pkg: hl7.fhir.r4.core#4.0.1) export interface ResearchSubject extends DomainResource { resourceType: "ResearchSubject"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Resource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Resource.ts index 2e1a2593d..acc7af03c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Resource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Resource.ts @@ -7,15 +7,15 @@ import type { Meta } from "../hl7-fhir-r4-core/Meta"; import type { Element } from "../hl7-fhir-r4-core/Element"; export type { Meta } from "../hl7-fhir-r4-core/Meta"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Resource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Resource (pkg: hl7.fhir.r4.core#4.0.1) export interface Resource { - resourceType: "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "Resource" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "SDCQuestionLibrary" | "SDCQuestionLibrary" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; + resourceType: "Account" | "ActivityDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "ArtifactAssessment" | "AuditEvent" | "Basic" | "Binary" | "Binary" | "Binary" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "Bundle" | "Bundle" | "Bundle" | "CanonicalResource" | "CapabilityStatement" | "CarePlan" | "CareTeam" | "CatalogEntry" | "ChargeItem" | "ChargeItemDefinition" | "Citation" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "ClinicalUseDefinition" | "CodeSystem" | "Communication" | "CommunicationRequest" | "CompartmentDefinition" | "Composition" | "ConceptMap" | "Condition" | "ConditionDefinition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDispense" | "DeviceMetric" | "DeviceRequest" | "DeviceUsage" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "DomainResource" | "DomainResource" | "DomainResource" | "EffectEvidenceSynthesis" | "Encounter" | "EncounterHistory" | "Endpoint" | "EnrollmentRequest" | "EnrollmentResponse" | "EpisodeOfCare" | "EventDefinition" | "Evidence" | "EvidenceReport" | "EvidenceVariable" | "ExampleScenario" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "FormularyItem" | "GenomicStudy" | "Goal" | "GraphDefinition" | "Group" | "GuidanceResponse" | "HealthcareService" | "ImagingSelection" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImplementationGuide" | "Ingredient" | "InsurancePlan" | "InventoryItem" | "InventoryReport" | "Invoice" | "Library" | "Linkage" | "List" | "Location" | "ManufacturedItemDefinition" | "Measure" | "MeasureReport" | "Media" | "Medication" | "MedicationAdministration" | "MedicationDispense" | "MedicationKnowledge" | "MedicationRequest" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageHeader" | "MetadataResource" | "MolecularSequence" | "NamingSystem" | "NutritionIntake" | "NutritionOrder" | "NutritionProduct" | "Observation" | "ObservationDefinition" | "OperationDefinition" | "OperationOutcome" | "Organization" | "OrganizationAffiliation" | "PackagedProductDefinition" | "Parameters" | "Parameters" | "Parameters" | "Patient" | "PaymentNotice" | "PaymentReconciliation" | "Permission" | "Person" | "PlanDefinition" | "Practitioner" | "PractitionerRole" | "Procedure" | "Provenance" | "Questionnaire" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RelatedPerson" | "RequestGroup" | "RequestOrchestration" | "Requirements" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchSubject" | "Resource" | "RiskAssessment" | "RiskEvidenceSynthesis" | "Schedule" | "SDCQuestionLibrary" | "SearchParameter" | "ServiceRequest" | "Slot" | "Specimen" | "SpecimenDefinition" | "StructureDefinition" | "StructureMap" | "Subscription" | "SubscriptionStatus" | "SubscriptionTopic" | "Substance" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyRequest" | "Task" | "TerminologyCapabilities" | "TestPlan" | "TestReport" | "TestScript" | "Transport" | "ValueSet" | "VerificationResult" | "VisionPrescription"; id?: string; _id?: Element; implicitRules?: string; _implicitRules?: Element; - language?: string; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); _language?: Element; meta?: Meta; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskAssessment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskAssessment.ts index bd34c7a45..f34a856ea 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskAssessment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskAssessment.ts @@ -31,7 +31,7 @@ export interface RiskAssessmentPrediction extends BackboneElement { whenRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment (pkg: hl7.fhir.r4.core#4.0.1) export interface RiskAssessment extends DomainResource { resourceType: "RiskAssessment"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskEvidenceSynthesis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskEvidenceSynthesis.ts index 4dd85b780..722d3ed65 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskEvidenceSynthesis.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskEvidenceSynthesis.ts @@ -27,13 +27,13 @@ export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; export interface RiskEvidenceSynthesisCertainty extends BackboneElement { certaintySubcomponent?: RiskEvidenceSynthesisCertaintyCertaintySubcomponent[]; note?: Annotation[]; - rating?: CodeableConcept[]; + rating?: CodeableConcept<("high" | "moderate" | "low" | "very-low" | string)>[]; } export interface RiskEvidenceSynthesisCertaintyCertaintySubcomponent extends BackboneElement { note?: Annotation[]; - rating?: CodeableConcept[]; - type?: CodeableConcept; + rating?: CodeableConcept<("no-change" | "downcode1" | "downcode2" | "downcode3" | "upcode1" | "upcode2" | "no-concern" | "serious-concern" | "critical-concern" | "present" | "absent" | string)>[]; + type?: CodeableConcept<("RiskOfBias" | "Inconsistency" | "Indirectness" | "Imprecision" | "PublicationBias" | "DoseResponseGradient" | "PlausibleConfounding" | "LargeEffect" | string)>; } export interface RiskEvidenceSynthesisRiskEstimate extends BackboneElement { @@ -41,7 +41,7 @@ export interface RiskEvidenceSynthesisRiskEstimate extends BackboneElement { description?: string; numeratorCount?: number; precisionEstimate?: RiskEvidenceSynthesisRiskEstimatePrecisionEstimate[]; - type?: CodeableConcept; + type?: CodeableConcept<("proportion" | "derivedProportion" | "mean" | "median" | "count" | "descriptive" | string)>; unitOfMeasure?: CodeableConcept; value?: number; } @@ -50,7 +50,7 @@ export interface RiskEvidenceSynthesisRiskEstimatePrecisionEstimate extends Back from?: number; level?: number; to?: number; - type?: CodeableConcept; + type?: CodeableConcept<("CI" | "IQR" | "SD" | "SE" | string)>; } export interface RiskEvidenceSynthesisSampleSize extends BackboneElement { @@ -59,7 +59,7 @@ export interface RiskEvidenceSynthesisSampleSize extends BackboneElement { numberOfStudies?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis (pkg: hl7.fhir.r4.core#4.0.1) export interface RiskEvidenceSynthesis extends DomainResource { resourceType: "RiskEvidenceSynthesis"; @@ -95,8 +95,8 @@ export interface RiskEvidenceSynthesis extends DomainResource { sampleSize?: RiskEvidenceSynthesisSampleSize; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; - studyType?: CodeableConcept; - synthesisType?: CodeableConcept; + studyType?: CodeableConcept<("RCT" | "CCT" | "cohort" | "case-control" | "series" | "case-report" | "mixed" | string)>; + synthesisType?: CodeableConcept<("std-MA" | "IPD-MA" | "indirect-NMA" | "combined-NMA" | "range" | "classification" | string)>; title?: string; _title?: Element; topic?: CodeableConcept[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SampledData.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SampledData.ts index 8bca23545..fdde08b20 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SampledData.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SampledData.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SampledData +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SampledData (pkg: hl7.fhir.r4.core#4.0.1) export interface SampledData extends Element { data?: string; _data?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Schedule.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Schedule.ts index 40e555b60..2183a73b1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Schedule.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Schedule.ts @@ -14,7 +14,7 @@ export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Period } from "../hl7-fhir-r4-core/Period"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Schedule +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Schedule (pkg: hl7.fhir.r4.core#4.0.1) export interface Schedule extends DomainResource { resourceType: "Schedule"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SearchParameter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SearchParameter.ts index ca65dd6d7..178fe0bc3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SearchParameter.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SearchParameter.ts @@ -19,18 +19,18 @@ export interface SearchParameterComponent extends BackboneElement { expression: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SearchParameter +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SearchParameter (pkg: hl7.fhir.r4.core#4.0.1) export interface SearchParameter extends DomainResource { resourceType: "SearchParameter"; base: string[]; - _base?: Element; + _base?: (Element | null)[]; chain?: string[]; - _chain?: Element; + _chain?: (Element | null)[]; code: string; _code?: Element; comparator?: ("eq" | "ne" | "gt" | "lt" | "ge" | "le" | "sa" | "eb" | "ap")[]; - _comparator?: Element; + _comparator?: (Element | null)[]; component?: SearchParameterComponent[]; contact?: ContactDetail[]; date?: string; @@ -45,7 +45,7 @@ export interface SearchParameter extends DomainResource { _expression?: Element; jurisdiction?: CodeableConcept[]; modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType")[]; - _modifier?: Element; + _modifier?: (Element | null)[]; multipleAnd?: boolean; _multipleAnd?: Element; multipleOr?: boolean; @@ -59,7 +59,7 @@ export interface SearchParameter extends DomainResource { status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; target?: string[]; - _target?: Element; + _target?: (Element | null)[]; type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); _type?: Element; url: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ServiceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ServiceRequest.ts index bbf18695d..b848e25b9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ServiceRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ServiceRequest.ts @@ -24,7 +24,7 @@ export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; export type { Timing } from "../hl7-fhir-r4-core/Timing"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ServiceRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ServiceRequest (pkg: hl7.fhir.r4.core#4.0.1) export interface ServiceRequest extends DomainResource { resourceType: "ServiceRequest"; @@ -42,9 +42,9 @@ export interface ServiceRequest extends DomainResource { encounter?: Reference<"Encounter">; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; insurance?: Reference<"ClaimResponse" | "Coverage">[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Signature.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Signature.ts index 343cf7745..5a46421f4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Signature.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Signature.ts @@ -10,7 +10,7 @@ export type { Coding } from "../hl7-fhir-r4-core/Coding"; export type { Element } from "../hl7-fhir-r4-core/Element"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Signature +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Signature (pkg: hl7.fhir.r4.core#4.0.1) export interface Signature extends Element { data?: string; _data?: Element; @@ -19,7 +19,7 @@ export interface Signature extends Element { _sigFormat?: Element; targetFormat?: string; _targetFormat?: Element; - type: Coding[]; + type: Coding<("1.2.840.10065.1.12.1.1" | "1.2.840.10065.1.12.1.2" | "1.2.840.10065.1.12.1.3" | "1.2.840.10065.1.12.1.4" | "1.2.840.10065.1.12.1.5" | "1.2.840.10065.1.12.1.6" | "1.2.840.10065.1.12.1.7" | "1.2.840.10065.1.12.1.8" | "1.2.840.10065.1.12.1.9" | "1.2.840.10065.1.12.1.10" | "1.2.840.10065.1.12.1.11" | "1.2.840.10065.1.12.1.12" | "1.2.840.10065.1.12.1.13" | "1.2.840.10065.1.12.1.14" | "1.2.840.10065.1.12.1.15" | "1.2.840.10065.1.12.1.16" | "1.2.840.10065.1.12.1.17" | "1.2.840.10065.1.12.1.18" | string)>[]; when: string; _when?: Element; who: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Slot.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Slot.ts index be97e67bb..359400e27 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Slot.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Slot.ts @@ -12,11 +12,11 @@ export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Slot +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Slot (pkg: hl7.fhir.r4.core#4.0.1) export interface Slot extends DomainResource { resourceType: "Slot"; - appointmentType?: CodeableConcept; + appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; comment?: string; _comment?: Element; end: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Specimen.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Specimen.ts index 740a11d71..d8fadca8f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Specimen.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Specimen.ts @@ -52,13 +52,13 @@ export interface SpecimenProcessing extends BackboneElement { timePeriod?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Specimen +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Specimen (pkg: hl7.fhir.r4.core#4.0.1) export interface Specimen extends DomainResource { resourceType: "Specimen"; accessionIdentifier?: Identifier; collection?: SpecimenCollection; - condition?: CodeableConcept[]; + condition?: CodeableConcept<("AUT" | "CFU" | "CLOT" | "CON" | "COOL" | "FROZ" | "HEM" | "LIVE" | "ROOM" | "SNR" | string)>[]; container?: SpecimenContainer[]; identifier?: Identifier[]; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SpecimenDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SpecimenDefinition.ts index 462126024..98baeb5c4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SpecimenDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SpecimenDefinition.ts @@ -55,7 +55,7 @@ export interface SpecimenDefinitionTypeTestedHandling extends BackboneElement { temperatureRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface SpecimenDefinition extends DomainResource { resourceType: "SpecimenDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureDefinition.ts index a525c3f94..e5399670a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureDefinition.ts @@ -40,7 +40,7 @@ export interface StructureDefinitionSnapshot extends BackboneElement { element: ElementDefinition[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface StructureDefinition extends DomainResource { resourceType: "StructureDefinition"; @@ -51,7 +51,7 @@ export interface StructureDefinition extends DomainResource { contact?: ContactDetail[]; context?: StructureDefinitionContext[]; contextInvariant?: string[]; - _contextInvariant?: Element; + _contextInvariant?: (Element | null)[]; copyright?: string; _copyright?: Element; date?: string; @@ -67,7 +67,7 @@ export interface StructureDefinition extends DomainResource { _fhirVersion?: Element; identifier?: Identifier[]; jurisdiction?: CodeableConcept[]; - keyword?: Coding[]; + keyword?: Coding<("fhir-structure" | "custom-resource" | "dam" | "wire-format" | "archetype" | "template" | string)>[]; kind: ("primitive-type" | "complex-type" | "resource" | "logical"); _kind?: Element; mapping?: StructureDefinitionMapping[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureMap.ts index de79134af..7e1aeeae1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureMap.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureMap.ts @@ -189,7 +189,7 @@ export interface StructureMapStructure extends BackboneElement { url: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap (pkg: hl7.fhir.r4.core#4.0.1) export interface StructureMap extends DomainResource { resourceType: "StructureMap"; @@ -205,7 +205,7 @@ export interface StructureMap extends DomainResource { group: StructureMapGroup[]; identifier?: Identifier[]; "import"?: string[]; - _import?: Element; + _import?: (Element | null)[]; jurisdiction?: CodeableConcept[]; name: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Subscription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Subscription.ts index f336cbf0e..e2bab54d0 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Subscription.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Subscription.ts @@ -17,7 +17,7 @@ export interface SubscriptionChannel extends BackboneElement { type: ("rest-hook" | "websocket" | "email" | "sms" | "message"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription (pkg: hl7.fhir.r4.core#4.0.1) export interface Subscription extends DomainResource { resourceType: "Subscription"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Substance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Substance.ts index eaee198e1..6eb9a28f2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Substance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Substance.ts @@ -30,11 +30,11 @@ export interface SubstanceInstance extends BackboneElement { quantity?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Substance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Substance (pkg: hl7.fhir.r4.core#4.0.1) export interface Substance extends DomainResource { resourceType: "Substance"; - category?: CodeableConcept[]; + category?: CodeableConcept<("allergen" | "biological" | "body" | "chemical" | "food" | "drug" | "material" | string)>[]; code: CodeableConcept; description?: string; _description?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceAmount.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceAmount.ts index 060e21b00..a8af10401 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceAmount.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceAmount.ts @@ -19,7 +19,7 @@ export interface SubstanceAmountReferenceRange extends Element { lowLimit?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceAmount +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceAmount (pkg: hl7.fhir.r4.core#4.0.1) export interface SubstanceAmount extends BackboneElement { amountQuantity?: Quantity; amountRange?: Range; @@ -28,5 +28,5 @@ export interface SubstanceAmount extends BackboneElement { amountText?: string; _amountText?: Element; amountType?: CodeableConcept; - referenceRange?: Element; + referenceRange?: SubstanceAmountReferenceRange; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceNucleicAcid.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceNucleicAcid.ts index 6d2959ca8..048167bac 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceNucleicAcid.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceNucleicAcid.ts @@ -38,7 +38,7 @@ export interface SubstanceNucleicAcidSubunitSugar extends BackboneElement { residueSite?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid (pkg: hl7.fhir.r4.core#4.0.1) export interface SubstanceNucleicAcid extends DomainResource { resourceType: "SubstanceNucleicAcid"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstancePolymer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstancePolymer.ts index 50a2807ef..e7f5ec785 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstancePolymer.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstancePolymer.ts @@ -52,7 +52,7 @@ export interface SubstancePolymerRepeatRepeatUnitStructuralRepresentation extend type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer (pkg: hl7.fhir.r4.core#4.0.1) export interface SubstancePolymer extends DomainResource { resourceType: "SubstancePolymer"; @@ -60,7 +60,7 @@ export interface SubstancePolymer extends DomainResource { copolymerConnectivity?: CodeableConcept[]; geometry?: CodeableConcept; modification?: string[]; - _modification?: Element; + _modification?: (Element | null)[]; monomerSet?: SubstancePolymerMonomerSet[]; repeat?: SubstancePolymerRepeat[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceProtein.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceProtein.ts index 5f30b3d9b..3edb00f94 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceProtein.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceProtein.ts @@ -25,12 +25,12 @@ export interface SubstanceProteinSubunit extends BackboneElement { subunit?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceProtein +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceProtein (pkg: hl7.fhir.r4.core#4.0.1) export interface SubstanceProtein extends DomainResource { resourceType: "SubstanceProtein"; disulfideLinkage?: string[]; - _disulfideLinkage?: Element; + _disulfideLinkage?: (Element | null)[]; numberOfSubunits?: number; _numberOfSubunits?: Element; sequenceType?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceReferenceInformation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceReferenceInformation.ts index 677a65afc..f3f61d475 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceReferenceInformation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceReferenceInformation.ts @@ -50,7 +50,7 @@ export interface SubstanceReferenceInformationTarget extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation (pkg: hl7.fhir.r4.core#4.0.1) export interface SubstanceReferenceInformation extends DomainResource { resourceType: "SubstanceReferenceInformation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSourceMaterial.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSourceMaterial.ts index 19d434ba1..a87a73064 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSourceMaterial.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSourceMaterial.ts @@ -53,7 +53,7 @@ export interface SubstanceSourceMaterialPartDescription extends BackboneElement partLocation?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial (pkg: hl7.fhir.r4.core#4.0.1) export interface SubstanceSourceMaterial extends DomainResource { resourceType: "SubstanceSourceMaterial"; @@ -61,14 +61,14 @@ export interface SubstanceSourceMaterial extends DomainResource { developmentStage?: CodeableConcept; fractionDescription?: SubstanceSourceMaterialFractionDescription[]; geographicalLocation?: string[]; - _geographicalLocation?: Element; + _geographicalLocation?: (Element | null)[]; organism?: SubstanceSourceMaterialOrganism; organismId?: Identifier; organismName?: string; _organismName?: Element; parentSubstanceId?: Identifier[]; parentSubstanceName?: string[]; - _parentSubstanceName?: Element; + _parentSubstanceName?: (Element | null)[]; partDescription?: SubstanceSourceMaterialPartDescription[]; sourceMaterialClass?: CodeableConcept; sourceMaterialState?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSpecification.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSpecification.ts index c8e3db028..17bb0afb7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSpecification.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSpecification.ts @@ -116,7 +116,7 @@ export interface SubstanceSpecificationStructureRepresentation extends BackboneE type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification (pkg: hl7.fhir.r4.core#4.0.1) export interface SubstanceSpecification extends DomainResource { resourceType: "SubstanceSpecification"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyDelivery.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyDelivery.ts index cab2bead3..dd757cf1d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyDelivery.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyDelivery.ts @@ -26,7 +26,7 @@ export interface SupplyDeliverySuppliedItem extends BackboneElement { quantity?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery (pkg: hl7.fhir.r4.core#4.0.1) export interface SupplyDelivery extends DomainResource { resourceType: "SupplyDelivery"; @@ -44,7 +44,7 @@ export interface SupplyDelivery extends DomainResource { _status?: Element; suppliedItem?: SupplyDeliverySuppliedItem; supplier?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - type?: CodeableConcept; + type?: CodeableConcept<("medication" | "device")>; } export const isSupplyDelivery = (resource: unknown): resource is SupplyDelivery => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SupplyDelivery"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyRequest.ts index 59828c477..121a3101a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyRequest.ts @@ -30,7 +30,7 @@ export interface SupplyRequestParameter extends BackboneElement { valueRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest (pkg: hl7.fhir.r4.core#4.0.1) export interface SupplyRequest extends DomainResource { resourceType: "SupplyRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Task.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Task.ts index 426d4ac76..abaa69114 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Task.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Task.ts @@ -184,7 +184,7 @@ export interface TaskRestriction extends BackboneElement { repetitions?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task (pkg: hl7.fhir.r4.core#4.0.1) export interface Task extends DomainResource { resourceType: "Task"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TerminologyCapabilities.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TerminologyCapabilities.ts index 0ce90ae30..c229c57b1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TerminologyCapabilities.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TerminologyCapabilities.ts @@ -69,7 +69,7 @@ export interface TerminologyCapabilitiesValidateCode extends BackboneElement { translations: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities (pkg: hl7.fhir.r4.core#4.0.1) export interface TerminologyCapabilities extends DomainResource { resourceType: "TerminologyCapabilities"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestReport.ts index afc165770..56748a2aa 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestReport.ts @@ -58,7 +58,7 @@ export interface TestReportTestAction extends BackboneElement { operation?: TestReportSetupActionOperation; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport (pkg: hl7.fhir.r4.core#4.0.1) export interface TestReport extends DomainResource { resourceType: "TestReport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestScript.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestScript.ts index 740adfeeb..4269e20a5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestScript.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestScript.ts @@ -22,7 +22,7 @@ export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; export interface TestScriptDestination extends BackboneElement { index: number; - profile: Coding; + profile: Coding<("FHIR-Server" | "FHIR-SDC-FormManager" | "FHIR-SDC-FormProcessor" | "FHIR-SDC-FormReceiver" | string)>; } export interface TestScriptFixture extends BackboneElement { @@ -53,7 +53,7 @@ export interface TestScriptMetadataLink extends BackboneElement { export interface TestScriptOrigin extends BackboneElement { index: number; - profile: Coding; + profile: Coding<("FHIR-Client" | "FHIR-SDC-FormFiller" | string)>; } export interface TestScriptSetup extends BackboneElement { @@ -106,7 +106,7 @@ export interface TestScriptSetupActionOperation extends BackboneElement { responseId?: string; sourceId?: string; targetId?: string; - type?: Coding; + type?: Coding<("read" | "vread" | "update" | "updateCreate" | "patch" | "delete" | "deleteCondSingle" | "deleteCondMultiple" | "history" | "create" | "search" | "batch" | "transaction" | "capabilities" | "apply" | "closure" | "find-matches" | "conforms" | "data-requirements" | "document" | "evaluate" | "evaluate-measure" | "everything" | "expand" | "find" | "graphql" | "implements" | "lastn" | "lookup" | "match" | "meta" | "meta-add" | "meta-delete" | "populate" | "populatehtml" | "populatelink" | "process-message" | "questionnaire" | "stats" | "subset" | "subsumes" | "transform" | "translate" | "validate" | "validate-code" | string)>; url?: string; } @@ -145,7 +145,7 @@ export interface TestScriptVariable extends BackboneElement { sourceId?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript (pkg: hl7.fhir.r4.core#4.0.1) export interface TestScript extends DomainResource { resourceType: "TestScript"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Timing.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Timing.ts index 1ede90bb6..9564241e1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Timing.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Timing.ts @@ -36,10 +36,10 @@ export interface TimingRepeat extends Element { when?: ("MORN" | "MORN.early" | "MORN.late" | "NOON" | "AFT" | "AFT.early" | "AFT.late" | "EVE" | "EVE.early" | "EVE.late" | "NIGHT" | "PHS" | "HS" | "WAKE" | "C" | "CM" | "CD" | "CV" | "AC" | "ACM" | "ACD" | "ACV" | "PC" | "PCM" | "PCD" | "PCV")[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Timing +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Timing (pkg: hl7.fhir.r4.core#4.0.1) export interface Timing extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("BID" | "TID" | "QID" | "AM" | "PM" | "QD" | "QOD" | "Q1H" | "Q2H" | "Q3H" | "Q4H" | "Q6H" | "Q8H" | "BED" | "WK" | "MO" | string)>; event?: string[]; - _event?: Element; - repeat?: Element; + _event?: (Element | null)[]; + repeat?: TimingRepeat; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TriggerDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TriggerDefinition.ts index a1cc3b9bf..293b3b458 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TriggerDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TriggerDefinition.ts @@ -14,7 +14,7 @@ export type { Expression } from "../hl7-fhir-r4-core/Expression"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; export type { Timing } from "../hl7-fhir-r4-core/Timing"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TriggerDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TriggerDefinition (pkg: hl7.fhir.r4.core#4.0.1) export interface TriggerDefinition extends Element { condition?: Expression; data?: DataRequirement[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/UsageContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/UsageContext.ts index aff8892a3..1969171ea 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/UsageContext.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/UsageContext.ts @@ -16,9 +16,9 @@ export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; export type { Range } from "../hl7-fhir-r4-core/Range"; export type { Reference } from "../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/UsageContext +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/UsageContext (pkg: hl7.fhir.r4.core#4.0.1) export interface UsageContext extends Element { - code: Coding; + code: Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)>; valueCodeableConcept?: CodeableConcept; valueQuantity?: Quantity; valueRange?: Range; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ValueSet.ts index d7e6b0da3..38ce995b4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ValueSet.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ValueSet.ts @@ -40,8 +40,8 @@ export interface ValueSetComposeIncludeConcept extends BackboneElement { } export interface ValueSetComposeIncludeConceptDesignation extends BackboneElement { - language?: string; - use?: Coding; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); + use?: Coding<("900000000000003001" | "900000000000013009" | string)>; value: string; } @@ -82,7 +82,7 @@ export interface ValueSetExpansionParameter extends BackboneElement { valueUri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet (pkg: hl7.fhir.r4.core#4.0.1) export interface ValueSet extends DomainResource { resourceType: "ValueSet"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VerificationResult.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VerificationResult.ts index 7d89fe825..4f6ed13fe 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VerificationResult.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VerificationResult.ts @@ -28,12 +28,12 @@ export interface VerificationResultAttestation extends BackboneElement { } export interface VerificationResultPrimarySource extends BackboneElement { - canPushUpdates?: CodeableConcept; + canPushUpdates?: CodeableConcept<("yes" | "no" | "undetermined" | string)>; communicationMethod?: CodeableConcept[]; - pushTypeAvailable?: CodeableConcept[]; + pushTypeAvailable?: CodeableConcept<("specific" | "any" | "source" | string)>[]; type?: CodeableConcept[]; validationDate?: string; - validationStatus?: CodeableConcept; + validationStatus?: CodeableConcept<("successful" | "failed" | "unknown" | string)>; who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; } @@ -43,16 +43,16 @@ export interface VerificationResultValidator extends BackboneElement { organization: Reference<"Organization">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VerificationResult +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VerificationResult (pkg: hl7.fhir.r4.core#4.0.1) export interface VerificationResult extends DomainResource { resourceType: "VerificationResult"; attestation?: VerificationResultAttestation; - failureAction?: CodeableConcept; + failureAction?: CodeableConcept<("fatal" | "warn" | "rec-only" | "none" | string)>; frequency?: Timing; lastPerformed?: string; _lastPerformed?: Element; - need?: CodeableConcept; + need?: CodeableConcept<("none" | "initial" | "periodic" | string)>; nextScheduled?: string; _nextScheduled?: Element; primarySource?: VerificationResultPrimarySource[]; @@ -62,9 +62,9 @@ export interface VerificationResult extends DomainResource { _statusDate?: Element; target?: Reference<"Resource">[]; targetLocation?: string[]; - _targetLocation?: Element; + _targetLocation?: (Element | null)[]; validationProcess?: CodeableConcept[]; - validationType?: CodeableConcept; + validationType?: CodeableConcept<("nothing" | "primary" | "multiple" | string)>; validator?: VerificationResultValidator[]; } export const isVerificationResult = (resource: unknown): resource is VerificationResult => { diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VisionPrescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VisionPrescription.ts index 6d7d33aec..e95b927fa 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VisionPrescription.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VisionPrescription.ts @@ -40,7 +40,7 @@ export interface VisionPrescriptionLensSpecificationPrism extends BackboneElemen base: ("up" | "down" | "in" | "out"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription (pkg: hl7.fhir.r4.core#4.0.1) export interface VisionPrescription extends DomainResource { resourceType: "VisionPrescription"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/index.ts index cb2347dfe..a6c7bacad 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/index.ts @@ -78,7 +78,6 @@ export type { CoverageEligibilityResponse, CoverageEligibilityResponseError, Cov export { isCoverageEligibilityResponse } from "./CoverageEligibilityResponse"; export type { DataRequirement } from "./DataRequirement"; export type { Definition } from "./Definition"; -export { isDefinition } from "./Definition"; export type { DetectedIssue, DetectedIssueEvidence, DetectedIssueMitigation } from "./DetectedIssue"; export { isDetectedIssue } from "./DetectedIssue"; export type { Device, DeviceDeviceName, DeviceProperty, DeviceSpecialization, DeviceUdiCarrier, DeviceVersion } from "./Device"; @@ -117,7 +116,6 @@ export { isEnrollmentResponse } from "./EnrollmentResponse"; export type { EpisodeOfCare, EpisodeOfCareDiagnosis, EpisodeOfCareStatusHistory } from "./EpisodeOfCare"; export { isEpisodeOfCare } from "./EpisodeOfCare"; export type { Event } from "./Event"; -export { isEvent } from "./Event"; export type { EventDefinition } from "./EventDefinition"; export { isEventDefinition } from "./EventDefinition"; export type { Evidence } from "./Evidence"; @@ -130,10 +128,7 @@ export type { ExplanationOfBenefit, ExplanationOfBenefitAccident, ExplanationOfB export { isExplanationOfBenefit } from "./ExplanationOfBenefit"; export type { Expression } from "./Expression"; export type { Extension } from "./Extension"; -export type { FamilyMemberHistory, FamilyMemberHistoryCondition } from "./FamilyMemberHistory"; -export { isFamilyMemberHistory } from "./FamilyMemberHistory"; export type { FiveWs } from "./FiveWs"; -export { isFiveWs } from "./FiveWs"; export type { Flag } from "./Flag"; export { isFlag } from "./Flag"; export type { Goal, GoalTarget } from "./Goal"; @@ -215,7 +210,6 @@ export type { MessageHeader, MessageHeaderDestination, MessageHeaderResponse, Me export { isMessageHeader } from "./MessageHeader"; export type { Meta } from "./Meta"; export type { MetadataResource } from "./MetadataResource"; -export { isMetadataResource } from "./MetadataResource"; export type { MolecularSequence, MolecularSequenceQuality, MolecularSequenceQualityRoc, MolecularSequenceReferenceSeq, MolecularSequenceRepository, MolecularSequenceStructureVariant, MolecularSequenceStructureVariantInner, MolecularSequenceStructureVariantOuter, MolecularSequenceVariant } from "./MolecularSequence"; export { isMolecularSequence } from "./MolecularSequence"; export type { Money } from "./Money"; @@ -273,7 +267,6 @@ export type { RelatedArtifact } from "./RelatedArtifact"; export type { RelatedPerson, RelatedPersonCommunication } from "./RelatedPerson"; export { isRelatedPerson } from "./RelatedPerson"; export type { Request } from "./Request"; -export { isRequest } from "./Request"; export type { RequestGroup, RequestGroupAction, RequestGroupActionCondition, RequestGroupActionRelatedAction } from "./RequestGroup"; export { isRequestGroup } from "./RequestGroup"; export type { ResearchDefinition } from "./ResearchDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts new file mode 100644 index 000000000..ed779359f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ActivityDefinition } from "../../hl7-fhir-r4-core/ActivityDefinition"; + +export interface Shareable_ActivityDefinition extends ActivityDefinition { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_ActivityDefinitionProfileParams = { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition (pkg: hl7.fhir.r4.core#4.0.1) +export class Shareable_ActivityDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition" + + private resource: ActivityDefinition + + constructor (resource: ActivityDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition") + } + + static from (resource: ActivityDefinition) : Shareable_ActivityDefinitionProfile { + return new Shareable_ActivityDefinitionProfile(resource) + } + + static createResource (args: Shareable_ActivityDefinitionProfileParams) : ActivityDefinition { + const resource: ActivityDefinition = { + resourceType: "ActivityDefinition", + url: args.url, + version: args.version, + name: args.name, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition"] }, + } as unknown as ActivityDefinition + return resource + } + + static create (args: Shareable_ActivityDefinitionProfileParams) : Shareable_ActivityDefinitionProfile { + return Shareable_ActivityDefinitionProfile.from(Shareable_ActivityDefinitionProfile.createResource(args)) + } + + toResource () : ActivityDefinition { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_ActivityDefinition { + return this.resource as Shareable_ActivityDefinition + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable ActivityDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActualGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActualGroup.ts deleted file mode 100644 index b507a4a25..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActualGroup.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Group } from "../../hl7-fhir-r4-core/Group"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/actualgroup -export class Actual_GroupProfile { - private resource: Group - - constructor (resource: Group) { - this.resource = resource - } - - toResource () : Group { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts new file mode 100644 index 000000000..415fc54a8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { AuditEvent } from "../../hl7-fhir-r4-core/AuditEvent"; +import type { AuditEventAgent } from "../../hl7-fhir-r4-core/AuditEvent"; +import type { AuditEventSource } from "../../hl7-fhir-r4-core/AuditEvent"; +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EHRS_FM_Record_Lifecycle_Event___Audit_EventProfileParams = { + type: Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)>; + recorded: string; + agent: AuditEventAgent[]; + source: AuditEventSource; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent (pkg: hl7.fhir.r4.core#4.0.1) +export class EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent" + + private resource: AuditEvent + + constructor (resource: AuditEvent) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent")) profiles.push("http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent") + } + + static from (resource: AuditEvent) : EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile { + return new EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile(resource) + } + + static createResource (args: EHRS_FM_Record_Lifecycle_Event___Audit_EventProfileParams) : AuditEvent { + const resource: AuditEvent = { + resourceType: "AuditEvent", + type: args.type, + recorded: args.recorded, + agent: args.agent, + source: args.source, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent"] }, + } as unknown as AuditEvent + return resource + } + + static create (args: EHRS_FM_Record_Lifecycle_Event___Audit_EventProfileParams) : EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile { + return EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile.from(EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile.createResource(args)) + } + + toResource () : AuditEvent { + return this.resource + } + + getType () : Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)> | undefined { + return this.resource.type as Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)> | undefined + } + + setType (value: Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getRecorded () : string | undefined { + return this.resource.recorded as string | undefined + } + + setRecorded (value: string) : this { + Object.assign(this.resource, { recorded: value }) + return this + } + + getAgent () : AuditEventAgent[] | undefined { + return this.resource.agent as AuditEventAgent[] | undefined + } + + setAgent (value: AuditEventAgent[]) : this { + Object.assign(this.resource, { agent: value }) + return this + } + + getSource () : AuditEventSource | undefined { + return this.resource.source as AuditEventSource | undefined + } + + setSource (value: AuditEventSource) : this { + Object.assign(this.resource, { source: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + { const e = validateEnum(r["action"], ["C","R","U","D","E"], "action", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + { const e = validateRequired(r, "recorded", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + { const e = validateRequired(r, "agent", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + { const e = validateRequired(r, "source", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksGuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksGuidanceResponse.ts deleted file mode 100644 index ab6968b90..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksGuidanceResponse.ts +++ /dev/null @@ -1,48 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { GuidanceResponse } from "../../hl7-fhir-r4-core/GuidanceResponse"; -import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse -export interface CDS_Hooks_GuidanceResponse extends GuidanceResponse { - requestIdentifier: Identifier; - identifier: Identifier[]; - moduleUri: string; -} - -export class CDS_Hooks_GuidanceResponseProfile { - private resource: GuidanceResponse - - constructor (resource: GuidanceResponse) { - this.resource = resource - } - - toResource () : GuidanceResponse { - return this.resource - } - - toProfile () : CDS_Hooks_GuidanceResponse { - return this.resource as CDS_Hooks_GuidanceResponse - } - - public setCdsHooksEndpoint (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value }) - return this - } - - public getCdsHooksEndpoint (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - return ext?.valueUri - } - - public getCdsHooksEndpointExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksRequestGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksRequestGroup.ts deleted file mode 100644 index fb2bb841e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksRequestGroup.ts +++ /dev/null @@ -1,30 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; -import type { RequestGroup } from "../../hl7-fhir-r4-core/RequestGroup"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup -export interface CDS_Hooks_RequestGroup extends RequestGroup { - identifier: Identifier[]; - instantiatesUri: string[]; -} - -export class CDS_Hooks_RequestGroupProfile { - private resource: RequestGroup - - constructor (resource: RequestGroup) { - this.resource = resource - } - - toResource () : RequestGroup { - return this.resource - } - - toProfile () : CDS_Hooks_RequestGroup { - return this.resource as CDS_Hooks_RequestGroup - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksServicePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksServicePlanDefinition.ts deleted file mode 100644 index 87f7b14ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CdsHooksServicePlanDefinition.ts +++ /dev/null @@ -1,37 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { PlanDefinition } from "../../hl7-fhir-r4-core/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition -export class CDS_Hooks_Service_PlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - public setCdsHooksEndpoint (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value }) - return this - } - - public getCdsHooksEndpoint (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - return ext?.valueUri - } - - public getCdsHooksEndpointExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ClinicalDocument.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ClinicalDocument.ts deleted file mode 100644 index 63ceea142..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ClinicalDocument.ts +++ /dev/null @@ -1,37 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Composition } from "../../hl7-fhir-r4-core/Composition"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/clinicaldocument -export class Clinical_DocumentProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - - public setVersionNumber (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", valueString: value }) - return this - } - - public getVersionNumber (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber") - return ext?.valueString - } - - public getVersionNumberExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CodeSystem_Shareable_CodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CodeSystem_Shareable_CodeSystem.ts new file mode 100644 index 000000000..d85873b39 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CodeSystem_Shareable_CodeSystem.ts @@ -0,0 +1,165 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeSystem } from "../../hl7-fhir-r4-core/CodeSystem"; +import type { CodeSystemConcept } from "../../hl7-fhir-r4-core/CodeSystem"; + +export interface Shareable_CodeSystem extends CodeSystem { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; + concept: CodeSystemConcept[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_CodeSystemProfileParams = { + url: string; + version: string; + name: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + publisher: string; + description: string; + concept: CodeSystemConcept[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablecodesystem (pkg: hl7.fhir.r4.core#4.0.1) +export class Shareable_CodeSystemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" + + private resource: CodeSystem + + constructor (resource: CodeSystem) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablecodesystem")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablecodesystem") + } + + static from (resource: CodeSystem) : Shareable_CodeSystemProfile { + return new Shareable_CodeSystemProfile(resource) + } + + static createResource (args: Shareable_CodeSystemProfileParams) : CodeSystem { + const resource: CodeSystem = { + resourceType: "CodeSystem", + url: args.url, + version: args.version, + name: args.name, + status: args.status, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + concept: args.concept, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"] }, + } as unknown as CodeSystem + return resource + } + + static create (args: Shareable_CodeSystemProfileParams) : Shareable_CodeSystemProfile { + return Shareable_CodeSystemProfile.from(Shareable_CodeSystemProfile.createResource(args)) + } + + toResource () : CodeSystem { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getConcept () : CodeSystemConcept[] | undefined { + return this.resource.concept as CodeSystemConcept[] | undefined + } + + setConcept (value: CodeSystemConcept[]) : this { + Object.assign(this.resource, { concept: value }) + return this + } + + toProfile () : Shareable_CodeSystem { + return this.resource as Shareable_CodeSystem + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "concept", "Shareable CodeSystem"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Clinical_Document.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Clinical_Document.ts new file mode 100644 index 000000000..9ea73fd37 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Clinical_Document.ts @@ -0,0 +1,68 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Composition } from "../../hl7-fhir-r4-core/Composition"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/clinicaldocument (pkg: hl7.fhir.r4.core#4.0.1) +export class Clinical_DocumentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/clinicaldocument" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/clinicaldocument")) profiles.push("http://hl7.org/fhir/StructureDefinition/clinicaldocument") + } + + static from (resource: Composition) : Clinical_DocumentProfile { + return new Clinical_DocumentProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/clinicaldocument"] }, + } as unknown as Composition + return resource + } + + static create () : Clinical_DocumentProfile { + return Clinical_DocumentProfile.from(Clinical_DocumentProfile.createResource()) + } + + toResource () : Composition { + return this.resource + } + + public setVersionNumber (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", valueString: value } as Extension) + return this + } + + public getVersionNumber (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getVersionNumberExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateReference(r["subject"], ["Device","Group","Location","Patient","Practitioner"], "subject", "Clinical Document"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DocumentSectionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentSectionLibrary.ts similarity index 79% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DocumentSectionLibrary.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentSectionLibrary.ts index 34baa99f5..22b75932d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DocumentSectionLibrary.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentSectionLibrary.ts @@ -5,18 +5,40 @@ import type { Composition } from "../../hl7-fhir-r4-core/Composition"; import type { CompositionSection } from "../../hl7-fhir-r4-core/Composition"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-section-library export type DocumentSectionLibrary_Section_ProcedureSliceInput = Omit & Required>; export type DocumentSectionLibrary_Section_MedicationsSliceInput = Omit & Required>; export type DocumentSectionLibrary_Section_PlanSliceInput = Omit & Required>; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-section-library (pkg: hl7.fhir.r4.core#4.0.1) export class DocumentSectionLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/example-section-library" + private resource: Composition constructor (resource: Composition) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/example-section-library")) profiles.push("http://hl7.org/fhir/StructureDefinition/example-section-library") + } + + static from (resource: Composition) : DocumentSectionLibraryProfile { + return new DocumentSectionLibraryProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/example-section-library"] }, + } as unknown as Composition + return resource + } + + static create () : DocumentSectionLibraryProfile { + return DocumentSectionLibraryProfile.from(DocumentSectionLibraryProfile.createResource()) } toResource () : Composition { @@ -113,5 +135,11 @@ export class DocumentSectionLibraryProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentStructure.ts new file mode 100644 index 000000000..d67236662 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentStructure.ts @@ -0,0 +1,50 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Composition } from "../../hl7-fhir-r4-core/Composition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-composition (pkg: hl7.fhir.r4.core#4.0.1) +export class DocumentStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/example-composition" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/example-composition")) profiles.push("http://hl7.org/fhir/StructureDefinition/example-composition") + } + + static from (resource: Composition) : DocumentStructureProfile { + return new DocumentStructureProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/example-composition"] }, + } as unknown as Composition + return resource + } + + static create () : DocumentStructureProfile { + return DocumentStructureProfile.from(DocumentStructureProfile.createResource()) + } + + toResource () : Composition { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Profile_for_Catalog.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Profile_for_Catalog.ts new file mode 100644 index 000000000..f7007d212 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Profile_for_Catalog.ts @@ -0,0 +1,116 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Composition } from "../../hl7-fhir-r4-core/Composition"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export interface Profile_for_Catalog extends Composition { + category: CodeableConcept[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Profile_for_CatalogProfileParams = { + category: CodeableConcept[]; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/catalog (pkg: hl7.fhir.r4.core#4.0.1) +export class Profile_for_CatalogProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/catalog" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/catalog")) profiles.push("http://hl7.org/fhir/StructureDefinition/catalog") + } + + static from (resource: Composition) : Profile_for_CatalogProfile { + return new Profile_for_CatalogProfile(resource) + } + + static createResource (args: Profile_for_CatalogProfileParams) : Composition { + const resource: Composition = { + resourceType: "Composition", + type: {"text":"Catalog"}, + category: args.category, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/catalog"] }, + } as unknown as Composition + return resource + } + + static create (args: Profile_for_CatalogProfileParams) : Profile_for_CatalogProfile { + return Profile_for_CatalogProfile.from(Profile_for_CatalogProfile.createResource(args)) + } + + toResource () : Composition { + return this.resource + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category as CodeableConcept[] | undefined + } + + setCategory (value: CodeableConcept[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + getType () : CodeableConcept | undefined { + return this.resource.type as CodeableConcept | undefined + } + + setType (value: CodeableConcept) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : Profile_for_Catalog { + return this.resource as Profile_for_Catalog + } + + public setValidityPeriod (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", valueDateTime: value } as Extension) + return this + } + + public getValidityPeriod (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getValidityPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "Profile for Catalog"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"text":"Catalog"}, "Profile for Catalog"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Profile for Catalog"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Resource"], "subject", "Profile for Catalog"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "Profile for Catalog"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ComputablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ComputablePlanDefinition.ts deleted file mode 100644 index 09cd4cb28..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ComputablePlanDefinition.ts +++ /dev/null @@ -1,28 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { PlanDefinition } from "../../hl7-fhir-r4-core/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/computableplandefinition -export interface Computable_PlanDefinition extends PlanDefinition { - library: string[]; -} - -export class Computable_PlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - toProfile () : Computable_PlanDefinition { - return this.resource as Computable_PlanDefinition - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CqfQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CqfQuestionnaire.ts deleted file mode 100644 index 44440f601..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CqfQuestionnaire.ts +++ /dev/null @@ -1,37 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-questionnaire -export class CQF_QuestionnaireProfile { - private resource: Questionnaire - - constructor (resource: Questionnaire) { - this.resource = resource - } - - toResource () : Questionnaire { - return this.resource - } - - public setLibrary (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value }) - return this - } - - public getLibrary (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") - return ext?.valueCanonical - } - - public getLibraryExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CqlLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CqlLibrary.ts deleted file mode 100644 index 2612aa219..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CqlLibrary.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Library } from "../../hl7-fhir-r4-core/Library"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqllibrary -export class CQL_LibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DeviceMetricObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DeviceMetricObservationProfile.ts deleted file mode 100644 index 4dc2bc6d0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DeviceMetricObservationProfile.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicemetricobservation -export interface Device_Metric_Observation_Profile extends Observation { - subject: Reference<"Device" | "Patient">; - effectiveDateTime: string; - device: Reference<"DeviceMetric">; - hasMember?: Reference<"Observation">[]; - derivedFrom?: Reference<"Observation">[]; -} - -export class Device_Metric_Observation_ProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Device_Metric_Observation_Profile { - return this.resource as Device_Metric_Observation_Profile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReportGenetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts similarity index 76% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReportGenetics.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts index b6e4f42ae..e7866f651 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReportGenetics.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts @@ -7,7 +7,6 @@ import type { DiagnosticReport } from "../../hl7-fhir-r4-core/DiagnosticReport"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics export type DiagnosticReport_Genetics_AnalysisInput = { type: CodeableConcept; interpretation?: CodeableConcept; @@ -19,13 +18,36 @@ export type DiagnosticReport_Genetics_ReferencesInput = { type?: CodeableConcept; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics (pkg: hl7.fhir.r4.core#4.0.1) export class DiagnosticReport_GeneticsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics" + private resource: DiagnosticReport constructor (resource: DiagnosticReport) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics")) profiles.push("http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics") + } + + static from (resource: DiagnosticReport) : DiagnosticReport_GeneticsProfile { + return new DiagnosticReport_GeneticsProfile(resource) + } + + static createResource () : DiagnosticReport { + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics"] }, + } as unknown as DiagnosticReport + return resource + } + + static create () : DiagnosticReport_GeneticsProfile { + return DiagnosticReport_GeneticsProfile.from(DiagnosticReport_GeneticsProfile.createResource()) } toResource () : DiagnosticReport { @@ -34,13 +56,13 @@ export class DiagnosticReport_GeneticsProfile { public setAssessedCondition (value: Reference): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition", valueReference: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition", valueReference: value } as Extension) return this } public setFamilyMemberHistory (value: Reference): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory", valueReference: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory", valueReference: value } as Extension) return this } @@ -77,7 +99,7 @@ export class DiagnosticReport_GeneticsProfile { public getAssessedCondition (): Reference | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition") - return ext?.valueReference + return (ext as Record | undefined)?.valueReference as Reference | undefined } public getAssessedConditionExtension (): Extension | undefined { @@ -87,7 +109,7 @@ export class DiagnosticReport_GeneticsProfile { public getFamilyMemberHistory (): Reference | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory") - return ext?.valueReference + return (ext as Record | undefined)?.valueReference as Reference | undefined } public getFamilyMemberHistoryExtension (): Extension | undefined { @@ -119,5 +141,11 @@ export class DiagnosticReport_GeneticsProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Example_Lipid_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Example_Lipid_Profile.ts new file mode 100644 index 000000000..e62710bb7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Example_Lipid_Profile.ts @@ -0,0 +1,64 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { DiagnosticReport } from "../../hl7-fhir-r4-core/DiagnosticReport"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/lipidprofile (pkg: hl7.fhir.r4.core#4.0.1) +export class Example_Lipid_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/lipidprofile" + + private resource: DiagnosticReport + + constructor (resource: DiagnosticReport) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/lipidprofile")) profiles.push("http://hl7.org/fhir/StructureDefinition/lipidprofile") + } + + static from (resource: DiagnosticReport) : Example_Lipid_ProfileProfile { + return new Example_Lipid_ProfileProfile(resource) + } + + static createResource () : DiagnosticReport { + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + code: {"coding":[{"system":"http://loinc.org","code":"57698-3","display":"Lipid panel with direct LDL - Serum or Plasma"}]}, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/lipidprofile"] }, + } as unknown as DiagnosticReport + return resource + } + + static create () : Example_Lipid_ProfileProfile { + return Example_Lipid_ProfileProfile.from(Example_Lipid_ProfileProfile.createResource()) + } + + toResource () : DiagnosticReport { + return this.resource + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"57698-3","display":"Lipid panel with direct LDL - Serum or Plasma"}]}, "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateReference(r["result"], ["Observation"], "result", "Example Lipid Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProfileForHlaGenotypingResults.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts similarity index 75% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProfileForHlaGenotypingResults.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts index 1a3cdec19..186de2c64 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProfileForHlaGenotypingResults.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts @@ -6,7 +6,6 @@ import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; import type { DiagnosticReport } from "../../hl7-fhir-r4-core/DiagnosticReport"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hlaresult export type Profile_for_HLA_Genotyping_Results_GlstringInput = { url?: string; text?: string; @@ -18,13 +17,36 @@ export type Profile_for_HLA_Genotyping_Results_HaploidInput = { method?: CodeableConcept; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hlaresult (pkg: hl7.fhir.r4.core#4.0.1) export class Profile_for_HLA_Genotyping_ResultsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/hlaresult" + private resource: DiagnosticReport constructor (resource: DiagnosticReport) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/hlaresult")) profiles.push("http://hl7.org/fhir/StructureDefinition/hlaresult") + } + + static from (resource: DiagnosticReport) : Profile_for_HLA_Genotyping_ResultsProfile { + return new Profile_for_HLA_Genotyping_ResultsProfile(resource) + } + + static createResource () : DiagnosticReport { + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/hlaresult"] }, + } as unknown as DiagnosticReport + return resource + } + + static create () : Profile_for_HLA_Genotyping_ResultsProfile { + return Profile_for_HLA_Genotyping_ResultsProfile.from(Profile_for_HLA_Genotyping_ResultsProfile.createResource()) } toResource () : DiagnosticReport { @@ -33,7 +55,7 @@ export class Profile_for_HLA_Genotyping_ResultsProfile { public setAlleleDatabase (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database", valueCodeableConcept: value } as Extension) return this } @@ -68,13 +90,13 @@ export class Profile_for_HLA_Genotyping_ResultsProfile { public setMethod (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method", valueCodeableConcept: value } as Extension) return this } public getAlleleDatabase (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getAlleleDatabaseExtension (): Extension | undefined { @@ -108,7 +130,7 @@ export class Profile_for_HLA_Genotyping_ResultsProfile { public getMethod (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getMethodExtension (): Extension | undefined { @@ -116,5 +138,11 @@ export class Profile_for_HLA_Genotyping_ResultsProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DocumentStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DocumentStructure.ts deleted file mode 100644 index 4c8056fd9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DocumentStructure.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Composition } from "../../hl7-fhir-r4-core/Composition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-composition -export class DocumentStructureProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EhrsFmRecordLifecycleEventAuditEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EhrsFmRecordLifecycleEventAuditEvent.ts deleted file mode 100644 index 5c7466ed8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EhrsFmRecordLifecycleEventAuditEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { AuditEvent } from "../../hl7-fhir-r4-core/AuditEvent"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent -export class EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile { - private resource: AuditEvent - - constructor (resource: AuditEvent) { - this.resource = resource - } - - toResource () : AuditEvent { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EhrsFmRecordLifecycleEventProvenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EhrsFmRecordLifecycleEventProvenance.ts deleted file mode 100644 index c412a1fc8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EhrsFmRecordLifecycleEventProvenance.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Provenance } from "../../hl7-fhir-r4-core/Provenance"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance -export class EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile { - private resource: Provenance - - constructor (resource: Provenance) { - this.resource = resource - } - - toResource () : Provenance { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts new file mode 100644 index 000000000..5fd05375b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts @@ -0,0 +1,72 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ElementDefinition } from "../../hl7-fhir-r4-core/ElementDefinition"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-de (pkg: hl7.fhir.r4.core#4.0.1) +export class DataElement_constraint_on_ElementDefinition_data_typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-de" + + private resource: ElementDefinition + + constructor (resource: ElementDefinition) { + this.resource = resource + } + + static from (resource: ElementDefinition) : DataElement_constraint_on_ElementDefinition_data_typeProfile { + return new DataElement_constraint_on_ElementDefinition_data_typeProfile(resource) + } + + static createResource () : ElementDefinition { + const resource: ElementDefinition = { + } as unknown as ElementDefinition + return resource + } + + static create () : DataElement_constraint_on_ElementDefinition_data_typeProfile { + return DataElement_constraint_on_ElementDefinition_data_typeProfile.from(DataElement_constraint_on_ElementDefinition_data_typeProfile.createResource()) + } + + toResource () : ElementDefinition { + return this.resource + } + + public setQuestion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", valueString: value } as Extension) + return this + } + + public setAllowedUnits (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", ...value }) + return this + } + + public getQuestion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-question") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getQuestionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-question") + return ext + } + + public getAllowedUnits (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["representation"], ["xmlAttr","xmlText","typeAttr","cdaText","xhtml"], "representation", "DataElement constraint on ElementDefinition data type"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceSynthesisProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceSynthesisProfile.ts deleted file mode 100644 index 18160965c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceSynthesisProfile.ts +++ /dev/null @@ -1,30 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Evidence } from "../../hl7-fhir-r4-core/Evidence"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/synthesis -export interface Evidence_Synthesis_Profile extends Evidence { - exposureVariant: Reference<'EvidenceVariable'>[]; - outcome: Reference<'EvidenceVariable'>[]; -} - -export class Evidence_Synthesis_ProfileProfile { - private resource: Evidence - - constructor (resource: Evidence) { - this.resource = resource - } - - toResource () : Evidence { - return this.resource - } - - toProfile () : Evidence_Synthesis_Profile { - return this.resource as Evidence_Synthesis_Profile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceVariable_PICO_Element_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceVariable_PICO_Element_Profile.ts new file mode 100644 index 000000000..809738997 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceVariable_PICO_Element_Profile.ts @@ -0,0 +1,67 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { EvidenceVariable } from "../../hl7-fhir-r4-core/EvidenceVariable"; +import type { EvidenceVariableCharacteristic } from "../../hl7-fhir-r4-core/EvidenceVariable"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PICO_Element_ProfileProfileParams = { + characteristic: EvidenceVariableCharacteristic[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/picoelement (pkg: hl7.fhir.r4.core#4.0.1) +export class PICO_Element_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/picoelement" + + private resource: EvidenceVariable + + constructor (resource: EvidenceVariable) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/picoelement")) profiles.push("http://hl7.org/fhir/StructureDefinition/picoelement") + } + + static from (resource: EvidenceVariable) : PICO_Element_ProfileProfile { + return new PICO_Element_ProfileProfile(resource) + } + + static createResource (args: PICO_Element_ProfileProfileParams) : EvidenceVariable { + const resource: EvidenceVariable = { + resourceType: "EvidenceVariable", + characteristic: args.characteristic, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/picoelement"] }, + } as unknown as EvidenceVariable + return resource + } + + static create (args: PICO_Element_ProfileProfileParams) : PICO_Element_ProfileProfile { + return PICO_Element_ProfileProfile.from(PICO_Element_ProfileProfile.createResource(args)) + } + + toResource () : EvidenceVariable { + return this.resource + } + + getCharacteristic () : EvidenceVariableCharacteristic[] | undefined { + return this.resource.characteristic as EvidenceVariableCharacteristic[] | undefined + } + + setCharacteristic (value: EvidenceVariableCharacteristic[]) : this { + Object.assign(this.resource, { characteristic: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["type"], ["dichotomous","continuous","descriptive"], "type", "PICO Element Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "characteristic", "PICO Element Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Evidence_Evidence_Synthesis_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Evidence_Evidence_Synthesis_Profile.ts new file mode 100644 index 000000000..92bdd93bd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Evidence_Evidence_Synthesis_Profile.ts @@ -0,0 +1,115 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Evidence } from "../../hl7-fhir-r4-core/Evidence"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface Evidence_Synthesis_Profile extends Evidence { + exposureVariant: Reference<'EvidenceVariable'>[]; + outcome: Reference<'EvidenceVariable'>[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Evidence_Synthesis_ProfileProfileParams = { + status: ("draft" | "active" | "retired" | "unknown"); + exposureBackground: Reference<"EvidenceVariable">; + exposureVariant: Reference<"EvidenceVariable">[]; + outcome: Reference<"EvidenceVariable">[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/synthesis (pkg: hl7.fhir.r4.core#4.0.1) +export class Evidence_Synthesis_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/synthesis" + + private resource: Evidence + + constructor (resource: Evidence) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/synthesis")) profiles.push("http://hl7.org/fhir/StructureDefinition/synthesis") + } + + static from (resource: Evidence) : Evidence_Synthesis_ProfileProfile { + return new Evidence_Synthesis_ProfileProfile(resource) + } + + static createResource (args: Evidence_Synthesis_ProfileProfileParams) : Evidence { + const resource: Evidence = { + resourceType: "Evidence", + status: args.status, + exposureBackground: args.exposureBackground, + exposureVariant: args.exposureVariant, + outcome: args.outcome, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/synthesis"] }, + } as unknown as Evidence + return resource + } + + static create (args: Evidence_Synthesis_ProfileProfileParams) : Evidence_Synthesis_ProfileProfile { + return Evidence_Synthesis_ProfileProfile.from(Evidence_Synthesis_ProfileProfile.createResource(args)) + } + + toResource () : Evidence { + return this.resource + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExposureBackground () : Reference<"EvidenceVariable"> | undefined { + return this.resource.exposureBackground as Reference<"EvidenceVariable"> | undefined + } + + setExposureBackground (value: Reference<"EvidenceVariable">) : this { + Object.assign(this.resource, { exposureBackground: value }) + return this + } + + getExposureVariant () : Reference<"EvidenceVariable">[] | undefined { + return this.resource.exposureVariant as Reference<"EvidenceVariable">[] | undefined + } + + setExposureVariant (value: Reference<"EvidenceVariable">[]) : this { + Object.assign(this.resource, { exposureVariant: value }) + return this + } + + getOutcome () : Reference<"EvidenceVariable">[] | undefined { + return this.resource.outcome as Reference<"EvidenceVariable">[] | undefined + } + + setOutcome (value: Reference<"EvidenceVariable">[]) : this { + Object.assign(this.resource, { outcome: value }) + return this + } + + toProfile () : Evidence_Synthesis_Profile { + return this.resource as Evidence_Synthesis_Profile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "exposureBackground", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateReference(r["exposureBackground"], ["EvidenceVariable"], "exposureBackground", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "exposureVariant", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateReference(r["exposureVariant"], ["EvidenceVariable"], "exposureVariant", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "outcome", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateReference(r["outcome"], ["EvidenceVariable"], "outcome", "Evidence Synthesis Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ExampleLipidProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ExampleLipidProfile.ts deleted file mode 100644 index 6a98fffc0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ExampleLipidProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { ObservationReferenceRange } from "../../hl7-fhir-r4-core/Observation"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ldlcholesterol -export interface Example_Lipid_Profile extends Observation { - referenceRange: ObservationReferenceRange[]; -} - -export class Example_Lipid_ProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Example_Lipid_Profile { - return this.resource as Example_Lipid_Profile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_additionalLocator.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_additionalLocator.ts new file mode 100644 index 000000000..89c7971b9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_additionalLocator.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_additionalLocatorProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_additionalLocatorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_additionalLocatorProfile { + return new ADXP_additionalLocatorProfile(resource) + } + + static createResource (args: ADXP_additionalLocatorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_additionalLocatorProfileParams) : ADXP_additionalLocatorProfile { + return ADXP_additionalLocatorProfile.from(ADXP_additionalLocatorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-additionalLocator"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator", "ADXP-additionalLocator"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_buildingNumberSuffix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_buildingNumberSuffix.ts new file mode 100644 index 000000000..f4b05a123 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_buildingNumberSuffix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_buildingNumberSuffixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_buildingNumberSuffixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_buildingNumberSuffixProfile { + return new ADXP_buildingNumberSuffixProfile(resource) + } + + static createResource (args: ADXP_buildingNumberSuffixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_buildingNumberSuffixProfileParams) : ADXP_buildingNumberSuffixProfile { + return ADXP_buildingNumberSuffixProfile.from(ADXP_buildingNumberSuffixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-buildingNumberSuffix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix", "ADXP-buildingNumberSuffix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_careOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_careOf.ts new file mode 100644 index 000000000..d2b45398f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_careOf.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_careOfProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_careOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_careOfProfile { + return new ADXP_careOfProfile(resource) + } + + static createResource (args: ADXP_careOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_careOfProfileParams) : ADXP_careOfProfile { + return ADXP_careOfProfile.from(ADXP_careOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-careOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf", "ADXP-careOf"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_censusTract.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_censusTract.ts new file mode 100644 index 000000000..4ba641a2d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_censusTract.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_censusTractProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_censusTractProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_censusTractProfile { + return new ADXP_censusTractProfile(resource) + } + + static createResource (args: ADXP_censusTractProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_censusTractProfileParams) : ADXP_censusTractProfile { + return ADXP_censusTractProfile.from(ADXP_censusTractProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-censusTract"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", "ADXP-censusTract"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_delimiter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_delimiter.ts new file mode 100644 index 000000000..5a2b129d9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_delimiter.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_delimiterProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_delimiterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_delimiterProfile { + return new ADXP_delimiterProfile(resource) + } + + static createResource (args: ADXP_delimiterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_delimiterProfileParams) : ADXP_delimiterProfile { + return ADXP_delimiterProfile.from(ADXP_delimiterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-delimiter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter", "ADXP-delimiter"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryAddressLine.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryAddressLine.ts new file mode 100644 index 000000000..5eb405775 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryAddressLine.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryAddressLineProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_deliveryAddressLineProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryAddressLineProfile { + return new ADXP_deliveryAddressLineProfile(resource) + } + + static createResource (args: ADXP_deliveryAddressLineProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryAddressLineProfileParams) : ADXP_deliveryAddressLineProfile { + return ADXP_deliveryAddressLineProfile.from(ADXP_deliveryAddressLineProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryAddressLine"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine", "ADXP-deliveryAddressLine"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationArea.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationArea.ts new file mode 100644 index 000000000..b68421f78 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationArea.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryInstallationAreaProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_deliveryInstallationAreaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryInstallationAreaProfile { + return new ADXP_deliveryInstallationAreaProfile(resource) + } + + static createResource (args: ADXP_deliveryInstallationAreaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryInstallationAreaProfileParams) : ADXP_deliveryInstallationAreaProfile { + return ADXP_deliveryInstallationAreaProfile.from(ADXP_deliveryInstallationAreaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryInstallationArea"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea", "ADXP-deliveryInstallationArea"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationQualifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationQualifier.ts new file mode 100644 index 000000000..acf518bea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationQualifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryInstallationQualifierProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_deliveryInstallationQualifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryInstallationQualifierProfile { + return new ADXP_deliveryInstallationQualifierProfile(resource) + } + + static createResource (args: ADXP_deliveryInstallationQualifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryInstallationQualifierProfileParams) : ADXP_deliveryInstallationQualifierProfile { + return ADXP_deliveryInstallationQualifierProfile.from(ADXP_deliveryInstallationQualifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryInstallationQualifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier", "ADXP-deliveryInstallationQualifier"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationType.ts new file mode 100644 index 000000000..38fcc89a6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryInstallationTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_deliveryInstallationTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryInstallationTypeProfile { + return new ADXP_deliveryInstallationTypeProfile(resource) + } + + static createResource (args: ADXP_deliveryInstallationTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryInstallationTypeProfileParams) : ADXP_deliveryInstallationTypeProfile { + return ADXP_deliveryInstallationTypeProfile.from(ADXP_deliveryInstallationTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryInstallationType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType", "ADXP-deliveryInstallationType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryMode.ts new file mode 100644 index 000000000..1ea5676c2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryModeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_deliveryModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryModeProfile { + return new ADXP_deliveryModeProfile(resource) + } + + static createResource (args: ADXP_deliveryModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryModeProfileParams) : ADXP_deliveryModeProfile { + return ADXP_deliveryModeProfile.from(ADXP_deliveryModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode", "ADXP-deliveryMode"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryModeIdentifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryModeIdentifier.ts new file mode 100644 index 000000000..b8233643f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryModeIdentifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryModeIdentifierProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_deliveryModeIdentifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryModeIdentifierProfile { + return new ADXP_deliveryModeIdentifierProfile(resource) + } + + static createResource (args: ADXP_deliveryModeIdentifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryModeIdentifierProfileParams) : ADXP_deliveryModeIdentifierProfile { + return ADXP_deliveryModeIdentifierProfile.from(ADXP_deliveryModeIdentifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryModeIdentifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier", "ADXP-deliveryModeIdentifier"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_direction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_direction.ts new file mode 100644 index 000000000..8be1bd3d8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_direction.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_directionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_directionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_directionProfile { + return new ADXP_directionProfile(resource) + } + + static createResource (args: ADXP_directionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_directionProfileParams) : ADXP_directionProfile { + return ADXP_directionProfile.from(ADXP_directionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-direction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction", "ADXP-direction"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumber.ts new file mode 100644 index 000000000..be9c2bafb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_houseNumberProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_houseNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_houseNumberProfile { + return new ADXP_houseNumberProfile(resource) + } + + static createResource (args: ADXP_houseNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_houseNumberProfileParams) : ADXP_houseNumberProfile { + return ADXP_houseNumberProfile.from(ADXP_houseNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-houseNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", "ADXP-houseNumber"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumberNumeric.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumberNumeric.ts new file mode 100644 index 000000000..44759e03a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumberNumeric.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_houseNumberNumericProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_houseNumberNumericProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_houseNumberNumericProfile { + return new ADXP_houseNumberNumericProfile(resource) + } + + static createResource (args: ADXP_houseNumberNumericProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_houseNumberNumericProfileParams) : ADXP_houseNumberNumericProfile { + return ADXP_houseNumberNumericProfile.from(ADXP_houseNumberNumericProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-houseNumberNumeric"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric", "ADXP-houseNumberNumeric"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_postBox.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_postBox.ts new file mode 100644 index 000000000..9b235045b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_postBox.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_postBoxProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_postBoxProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_postBoxProfile { + return new ADXP_postBoxProfile(resource) + } + + static createResource (args: ADXP_postBoxProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_postBoxProfileParams) : ADXP_postBoxProfile { + return ADXP_postBoxProfile.from(ADXP_postBoxProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-postBox"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox", "ADXP-postBox"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_precinct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_precinct.ts new file mode 100644 index 000000000..29d243e74 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_precinct.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_precinctProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_precinctProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_precinctProfile { + return new ADXP_precinctProfile(resource) + } + + static createResource (args: ADXP_precinctProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_precinctProfileParams) : ADXP_precinctProfile { + return ADXP_precinctProfile.from(ADXP_precinctProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-precinct"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct", "ADXP-precinct"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetAddressLine.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetAddressLine.ts new file mode 100644 index 000000000..0c6271dd8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetAddressLine.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_streetAddressLineProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_streetAddressLineProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_streetAddressLineProfile { + return new ADXP_streetAddressLineProfile(resource) + } + + static createResource (args: ADXP_streetAddressLineProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_streetAddressLineProfileParams) : ADXP_streetAddressLineProfile { + return ADXP_streetAddressLineProfile.from(ADXP_streetAddressLineProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-streetAddressLine"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine", "ADXP-streetAddressLine"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetName.ts new file mode 100644 index 000000000..2b1b5a4fb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_streetNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_streetNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_streetNameProfile { + return new ADXP_streetNameProfile(resource) + } + + static createResource (args: ADXP_streetNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_streetNameProfileParams) : ADXP_streetNameProfile { + return ADXP_streetNameProfile.from(ADXP_streetNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-streetName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", "ADXP-streetName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameBase.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameBase.ts new file mode 100644 index 000000000..0ff04c6c3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameBase.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_streetNameBaseProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_streetNameBaseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_streetNameBaseProfile { + return new ADXP_streetNameBaseProfile(resource) + } + + static createResource (args: ADXP_streetNameBaseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_streetNameBaseProfileParams) : ADXP_streetNameBaseProfile { + return ADXP_streetNameBaseProfile.from(ADXP_streetNameBaseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-streetNameBase"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase", "ADXP-streetNameBase"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameType.ts new file mode 100644 index 000000000..f61b29aea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_streetNameTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_streetNameTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_streetNameTypeProfile { + return new ADXP_streetNameTypeProfile(resource) + } + + static createResource (args: ADXP_streetNameTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_streetNameTypeProfileParams) : ADXP_streetNameTypeProfile { + return ADXP_streetNameTypeProfile.from(ADXP_streetNameTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-streetNameType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType", "ADXP-streetNameType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitID.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitID.ts new file mode 100644 index 000000000..077f2fcbe --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitID.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_unitIDProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_unitIDProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_unitIDProfile { + return new ADXP_unitIDProfile(resource) + } + + static createResource (args: ADXP_unitIDProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_unitIDProfileParams) : ADXP_unitIDProfile { + return ADXP_unitIDProfile.from(ADXP_unitIDProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-unitID"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID", "ADXP-unitID"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitType.ts new file mode 100644 index 000000000..49c240649 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_unitTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType (pkg: hl7.fhir.r4.core#4.0.1) +export class ADXP_unitTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_unitTypeProfile { + return new ADXP_unitTypeProfile(resource) + } + + static createResource (args: ADXP_unitTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_unitTypeProfileParams) : ADXP_unitTypeProfile { + return ADXP_unitTypeProfile.from(ADXP_unitTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-unitType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType", "ADXP-unitType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AD_use.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AD_use.ts new file mode 100644 index 000000000..ce8a79bd9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AD_use.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AD_useProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-AD-use (pkg: hl7.fhir.r4.core#4.0.1) +export class AD_useProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AD_useProfile { + return new AD_useProfile(resource) + } + + static createResource (args: AD_useProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: AD_useProfileParams) : AD_useProfile { + return AD_useProfile.from(AD_useProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AD-use"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use", "AD-use"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Accession.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Accession.ts new file mode 100644 index 000000000..e257375af --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Accession.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AccessionProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Accession (pkg: hl7.fhir.r4.core#4.0.1) +export class AccessionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Accession" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AccessionProfile { + return new AccessionProfile(resource) + } + + static createResource (args: AccessionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Accession", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AccessionProfileParams) : AccessionProfile { + return AccessionProfile.from(AccessionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Accession"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Accession", "Accession"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Allele.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Allele.ts new file mode 100644 index 000000000..c17e41e58 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Allele.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele (pkg: hl7.fhir.r4.core#4.0.1) +export class AlleleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlleleProfile { + return new AlleleProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele", + } as unknown as Extension + return resource + } + + static create () : AlleleProfile { + return AlleleProfile.from(AlleleProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Name", valueCodeableConcept: value } as Extension) + return this + } + + public setState (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "State", valueCodeableConcept: value } as Extension) + return this + } + + public setFrequency (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Frequency", valueDecimal: value } as Extension) + return this + } + + public getName (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return ext + } + + public getState (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "State") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getStateExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "State") + return ext + } + + public getFrequency (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "Frequency") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getFrequencyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Frequency") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Allele"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele", "Allele"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AminoAcidChange.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AminoAcidChange.ts new file mode 100644 index 000000000..f5688e83c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AminoAcidChange.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange (pkg: hl7.fhir.r4.core#4.0.1) +export class AminoAcidChangeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AminoAcidChangeProfile { + return new AminoAcidChangeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange", + } as unknown as Extension + return resource + } + + static create () : AminoAcidChangeProfile { + return AminoAcidChangeProfile.from(AminoAcidChangeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Name", valueCodeableConcept: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Type", valueCodeableConcept: value } as Extension) + return this + } + + public getName (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AminoAcidChange"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange", "AminoAcidChange"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Analysis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Analysis.ts new file mode 100644 index 000000000..9b54de260 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Analysis.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AnalysisProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis (pkg: hl7.fhir.r4.core#4.0.1) +export class AnalysisProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AnalysisProfile { + return new AnalysisProfile(resource) + } + + static createResource (args: AnalysisProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: AnalysisProfileParams) : AnalysisProfile { + return AnalysisProfile.from(AnalysisProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setInterpretation (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "interpretation", valueCodeableConcept: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getInterpretation (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "interpretation") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getInterpretationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "interpretation") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Analysis"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Analysis"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis", "Analysis"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ancestry.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ancestry.ts new file mode 100644 index 000000000..4a029f967 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ancestry.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AncestryProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry (pkg: hl7.fhir.r4.core#4.0.1) +export class AncestryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AncestryProfile { + return new AncestryProfile(resource) + } + + static createResource (args: AncestryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: AncestryProfileParams) : AncestryProfile { + return AncestryProfile.from(AncestryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Name", valueCodeableConcept: value } as Extension) + return this + } + + public setPercentage (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Percentage", valueDecimal: value } as Extension) + return this + } + + public setSource (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Source", valueCodeableConcept: value } as Extension) + return this + } + + public getName (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return ext + } + + public getPercentage (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "Percentage") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getPercentageExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Percentage") + return ext + } + + public getSource (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Source") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Source") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Ancestry"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Ancestry"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry", "Ancestry"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Anonymized.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Anonymized.ts new file mode 100644 index 000000000..827d5664f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Anonymized.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AnonymizedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized (pkg: hl7.fhir.r4.core#4.0.1) +export class AnonymizedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AnonymizedProfile { + return new AnonymizedProfile(resource) + } + + static createResource (args: AnonymizedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: AnonymizedProfileParams) : AnonymizedProfile { + return AnonymizedProfile.from(AnonymizedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Anonymized"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized", "Anonymized"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AssessedCondition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AssessedCondition.ts new file mode 100644 index 000000000..31355ef36 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AssessedCondition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AssessedConditionProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition (pkg: hl7.fhir.r4.core#4.0.1) +export class AssessedConditionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssessedConditionProfile { + return new AssessedConditionProfile(resource) + } + + static createResource (args: AssessedConditionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AssessedConditionProfileParams) : AssessedConditionProfile { + return AssessedConditionProfile.from(AssessedConditionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssessedCondition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition", "AssessedCondition"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_BodyStructure_Reference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_BodyStructure_Reference.ts new file mode 100644 index 000000000..ead0789f2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_BodyStructure_Reference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BodyStructure_ReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodySite (pkg: hl7.fhir.r4.core#4.0.1) +export class BodyStructure_ReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodySite" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BodyStructure_ReferenceProfile { + return new BodyStructure_ReferenceProfile(resource) + } + + static createResource (args: BodyStructure_ReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/bodySite", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: BodyStructure_ReferenceProfileParams) : BodyStructure_ReferenceProfile { + return BodyStructure_ReferenceProfile.from(BodyStructure_ReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BodyStructure Reference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/bodySite", "BodyStructure Reference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_CopyNumberEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_CopyNumberEvent.ts new file mode 100644 index 000000000..0be4d13d0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_CopyNumberEvent.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CopyNumberEventProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent (pkg: hl7.fhir.r4.core#4.0.1) +export class CopyNumberEventProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CopyNumberEventProfile { + return new CopyNumberEventProfile(resource) + } + + static createResource (args: CopyNumberEventProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: CopyNumberEventProfileParams) : CopyNumberEventProfile { + return CopyNumberEventProfile.from(CopyNumberEventProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CopyNumberEvent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent", "CopyNumberEvent"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_DNARegionName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_DNARegionName.ts new file mode 100644 index 000000000..057c5c6d1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_DNARegionName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DNARegionNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName (pkg: hl7.fhir.r4.core#4.0.1) +export class DNARegionNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DNARegionNameProfile { + return new DNARegionNameProfile(resource) + } + + static createResource (args: DNARegionNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: DNARegionNameProfileParams) : DNARegionNameProfile { + return DNARegionNameProfile.from(DNARegionNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DNARegionName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName", "DNARegionName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Data_Absent_Reason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Data_Absent_Reason.ts new file mode 100644 index 000000000..f87a3a41a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Data_Absent_Reason.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Data_Absent_ReasonProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/data-absent-reason (pkg: hl7.fhir.r4.core#4.0.1) +export class Data_Absent_ReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Data_Absent_ReasonProfile { + return new Data_Absent_ReasonProfile(resource) + } + + static createResource (args: Data_Absent_ReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: Data_Absent_ReasonProfileParams) : Data_Absent_ReasonProfile { + return Data_Absent_ReasonProfile.from(Data_Absent_ReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Data Absent Reason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "Data Absent Reason"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Design_Note.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Design_Note.ts new file mode 100644 index 000000000..ee7cc7245 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Design_Note.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Design_NoteProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/designNote (pkg: hl7.fhir.r4.core#4.0.1) +export class Design_NoteProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/designNote" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Design_NoteProfile { + return new Design_NoteProfile(resource) + } + + static createResource (args: Design_NoteProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/designNote", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: Design_NoteProfileParams) : Design_NoteProfile { + return Design_NoteProfile.from(Design_NoteProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Design Note"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/designNote", "Design Note"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Display_Name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Display_Name.ts new file mode 100644 index 000000000..0393f0374 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Display_Name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Display_NameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/display (pkg: hl7.fhir.r4.core#4.0.1) +export class Display_NameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/display" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Display_NameProfile { + return new Display_NameProfile(resource) + } + + static createResource (args: Display_NameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/display", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: Display_NameProfileParams) : Display_NameProfile { + return Display_NameProfile.from(Display_NameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Display Name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/display", "Display Name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_qualifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_qualifier.ts new file mode 100644 index 000000000..e4449a1bd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_qualifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EN_qualifierProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier (pkg: hl7.fhir.r4.core#4.0.1) +export class EN_qualifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EN_qualifierProfile { + return new EN_qualifierProfile(resource) + } + + static createResource (args: EN_qualifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: EN_qualifierProfileParams) : EN_qualifierProfile { + return EN_qualifierProfile.from(EN_qualifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EN-qualifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", "EN-qualifier"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_representation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_representation.ts new file mode 100644 index 000000000..dd4900826 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_representation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EN_representationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation (pkg: hl7.fhir.r4.core#4.0.1) +export class EN_representationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EN_representationProfile { + return new EN_representationProfile(resource) + } + + static createResource (args: EN_representationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: EN_representationProfileParams) : EN_representationProfile { + return EN_representationProfile.from(EN_representationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EN-representation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation", "EN-representation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_use.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_use.ts new file mode 100644 index 000000000..7296eb1dc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_use.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EN_useProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-use (pkg: hl7.fhir.r4.core#4.0.1) +export class EN_useProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EN_useProfile { + return new EN_useProfile(resource) + } + + static createResource (args: EN_useProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: EN_useProfileParams) : EN_useProfile { + return EN_useProfile.from(EN_useProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EN-use"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use", "EN-use"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Encrypted.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Encrypted.ts new file mode 100644 index 000000000..a64022775 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Encrypted.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EncryptedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted (pkg: hl7.fhir.r4.core#4.0.1) +export class EncryptedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EncryptedProfile { + return new EncryptedProfile(resource) + } + + static createResource (args: EncryptedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: EncryptedProfileParams) : EncryptedProfile { + return EncryptedProfile.from(EncryptedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Encrypted"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted", "Encrypted"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_FamilyMemberHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_FamilyMemberHistory.ts new file mode 100644 index 000000000..8d96cb3c8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_FamilyMemberHistory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FamilyMemberHistoryProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory (pkg: hl7.fhir.r4.core#4.0.1) +export class FamilyMemberHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FamilyMemberHistoryProfile { + return new FamilyMemberHistoryProfile(resource) + } + + static createResource (args: FamilyMemberHistoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: FamilyMemberHistoryProfileParams) : FamilyMemberHistoryProfile { + return FamilyMemberHistoryProfile.from(FamilyMemberHistoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FamilyMemberHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory", "FamilyMemberHistory"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Gene.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Gene.ts new file mode 100644 index 000000000..f7382f337 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Gene.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GeneProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsGene (pkg: hl7.fhir.r4.core#4.0.1) +export class GeneProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GeneProfile { + return new GeneProfile(resource) + } + + static createResource (args: GeneProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: GeneProfileParams) : GeneProfile { + return GeneProfile.from(GeneProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Gene"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", "Gene"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_GenomicSourceClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_GenomicSourceClass.ts new file mode 100644 index 000000000..b0888da49 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_GenomicSourceClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GenomicSourceClassProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass (pkg: hl7.fhir.r4.core#4.0.1) +export class GenomicSourceClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GenomicSourceClassProfile { + return new GenomicSourceClassProfile(resource) + } + + static createResource (args: GenomicSourceClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: GenomicSourceClassProfileParams) : GenomicSourceClassProfile { + return GenomicSourceClassProfile.from(GenomicSourceClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "GenomicSourceClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass", "GenomicSourceClass"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Geolocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Geolocation.ts new file mode 100644 index 000000000..c66742362 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Geolocation.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GeolocationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/geolocation (pkg: hl7.fhir.r4.core#4.0.1) +export class GeolocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/geolocation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GeolocationProfile { + return new GeolocationProfile(resource) + } + + static createResource (args: GeolocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/geolocation", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: GeolocationProfileParams) : GeolocationProfile { + return GeolocationProfile.from(GeolocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLatitude (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "latitude", valueDecimal: value } as Extension) + return this + } + + public setLongitude (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "longitude", valueDecimal: value } as Extension) + return this + } + + public getLatitude (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "latitude") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getLatitudeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "latitude") + return ext + } + + public getLongitude (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "longitude") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getLongitudeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "longitude") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Geolocation"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Geolocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/geolocation", "Geolocation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Human_Language.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Human_Language.ts new file mode 100644 index 000000000..8c924ea1f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Human_Language.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Human_LanguageProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/language (pkg: hl7.fhir.r4.core#4.0.1) +export class Human_LanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/language" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Human_LanguageProfile { + return new Human_LanguageProfile(resource) + } + + static createResource (args: Human_LanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/language", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: Human_LanguageProfileParams) : Human_LanguageProfile { + return Human_LanguageProfile.from(Human_LanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Human Language"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/language", "Human Language"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Instance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Instance.ts new file mode 100644 index 000000000..c9e87f40d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Instance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InstanceProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Instance (pkg: hl7.fhir.r4.core#4.0.1) +export class InstanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Instance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InstanceProfile { + return new InstanceProfile(resource) + } + + static createResource (args: InstanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Instance", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: InstanceProfileParams) : InstanceProfile { + return InstanceProfile.from(InstanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Instance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Instance", "Instance"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Interpretation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Interpretation.ts new file mode 100644 index 000000000..62c75a94e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Interpretation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InterpretationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation (pkg: hl7.fhir.r4.core#4.0.1) +export class InterpretationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InterpretationProfile { + return new InterpretationProfile(resource) + } + + static createResource (args: InterpretationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: InterpretationProfileParams) : InterpretationProfile { + return InterpretationProfile.from(InterpretationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Interpretation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation", "Interpretation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Item.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Item.ts new file mode 100644 index 000000000..df54942bb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Item.ts @@ -0,0 +1,137 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ItemProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem (pkg: hl7.fhir.r4.core#4.0.1) +export class ItemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ItemProfile { + return new ItemProfile(resource) + } + + static createResource (args: ItemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ItemProfileParams) : ItemProfile { + return ItemProfile.from(ItemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value } as Extension) + return this + } + + public setGeneticsObservation (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "geneticsObservation", valueReference: value } as Extension) + return this + } + + public setSpecimen (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "specimen", valueReference: value } as Extension) + return this + } + + public setStatus (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "status", valueCode: value } as Extension) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getGeneticsObservation (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "geneticsObservation") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getGeneticsObservationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "geneticsObservation") + return ext + } + + public getSpecimen (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "specimen") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getSpecimenExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "specimen") + return ext + } + + public getStatus (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStatusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Item"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Item"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem", "Item"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_MPPS.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_MPPS.ts new file mode 100644 index 000000000..bb81ea48d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_MPPS.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MPPSProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-MPPS (pkg: hl7.fhir.r4.core#4.0.1) +export class MPPSProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MPPSProfile { + return new MPPSProfile(resource) + } + + static createResource (args: MPPSProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: MPPSProfileParams) : MPPSProfile { + return MPPSProfile.from(MPPSProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MPPS"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS", "MPPS"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Narrative_Link.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Narrative_Link.ts new file mode 100644 index 000000000..8f7b1d191 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Narrative_Link.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Narrative_LinkProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/narrativeLink (pkg: hl7.fhir.r4.core#4.0.1) +export class Narrative_LinkProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/narrativeLink" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Narrative_LinkProfile { + return new Narrative_LinkProfile(resource) + } + + static createResource (args: Narrative_LinkProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/narrativeLink", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: Narrative_LinkProfileParams) : Narrative_LinkProfile { + return Narrative_LinkProfile.from(Narrative_LinkProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Narrative Link"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/narrativeLink", "Narrative Link"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NotificationEndpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NotificationEndpoint.ts new file mode 100644 index 000000000..e7a4a50a7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NotificationEndpoint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NotificationEndpointProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint (pkg: hl7.fhir.r4.core#4.0.1) +export class NotificationEndpointProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NotificationEndpointProfile { + return new NotificationEndpointProfile(resource) + } + + static createResource (args: NotificationEndpointProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: NotificationEndpointProfileParams) : NotificationEndpointProfile { + return NotificationEndpointProfile.from(NotificationEndpointProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NotificationEndpoint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint", "NotificationEndpoint"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NumberOfInstances.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NumberOfInstances.ts new file mode 100644 index 000000000..95b071c88 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NumberOfInstances.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NumberOfInstancesProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances (pkg: hl7.fhir.r4.core#4.0.1) +export class NumberOfInstancesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NumberOfInstancesProfile { + return new NumberOfInstancesProfile(resource) + } + + static createResource (args: NumberOfInstancesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: NumberOfInstancesProfileParams) : NumberOfInstancesProfile { + return NumberOfInstancesProfile.from(NumberOfInstancesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NumberOfInstances"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances", "NumberOfInstances"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ordinal_Value.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ordinal_Value.ts new file mode 100644 index 000000000..2a80b6619 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ordinal_Value.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Ordinal_ValueProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ordinalValue (pkg: hl7.fhir.r4.core#4.0.1) +export class Ordinal_ValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ordinalValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Ordinal_ValueProfile { + return new Ordinal_ValueProfile(resource) + } + + static createResource (args: Ordinal_ValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/ordinalValue", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: Ordinal_ValueProfileParams) : Ordinal_ValueProfile { + return Ordinal_ValueProfile.from(Ordinal_ValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Ordinal Value"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/ordinalValue", "Ordinal Value"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Original_Text.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Original_Text.ts new file mode 100644 index 000000000..2d606f1fb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Original_Text.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Original_TextProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/originalText (pkg: hl7.fhir.r4.core#4.0.1) +export class Original_TextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/originalText" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Original_TextProfile { + return new Original_TextProfile(resource) + } + + static createResource (args: Original_TextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/originalText", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: Original_TextProfileParams) : Original_TextProfile { + return Original_TextProfile.from(Original_TextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Original Text"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/originalText", "Original Text"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PQ_translation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PQ_translation.ts new file mode 100644 index 000000000..e31af2c4a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PQ_translation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PQ_translationProfileParams = { + valueQuantity: Quantity; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation (pkg: hl7.fhir.r4.core#4.0.1) +export class PQ_translationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PQ_translationProfile { + return new PQ_translationProfile(resource) + } + + static createResource (args: PQ_translationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation", + valueQuantity: args.valueQuantity, + } as unknown as Extension + return resource + } + + static create (args: PQ_translationProfileParams) : PQ_translationProfile { + return PQ_translationProfile.from(PQ_translationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PQ-translation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation", "PQ-translation"); if (e) errors.push(e) } + if (!(r["valueQuantity"] !== undefined)) { + errors.push("value: at least one of valueQuantity is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ParticipantObjectContainsStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ParticipantObjectContainsStudy.ts new file mode 100644 index 000000000..d4f23040e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ParticipantObjectContainsStudy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ParticipantObjectContainsStudyProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy (pkg: hl7.fhir.r4.core#4.0.1) +export class ParticipantObjectContainsStudyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ParticipantObjectContainsStudyProfile { + return new ParticipantObjectContainsStudyProfile(resource) + } + + static createResource (args: ParticipantObjectContainsStudyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: ParticipantObjectContainsStudyProfileParams) : ParticipantObjectContainsStudyProfile { + return ParticipantObjectContainsStudyProfile.from(ParticipantObjectContainsStudyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ParticipantObjectContainsStudy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy", "ParticipantObjectContainsStudy"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PhaseSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PhaseSet.ts new file mode 100644 index 000000000..3b88b6580 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PhaseSet.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet (pkg: hl7.fhir.r4.core#4.0.1) +export class PhaseSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PhaseSetProfile { + return new PhaseSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet", + } as unknown as Extension + return resource + } + + static create () : PhaseSetProfile { + return PhaseSetProfile.from(PhaseSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Id", valueUri: value } as Extension) + return this + } + + public setMolecularSequence (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "MolecularSequence", valueReference: value } as Extension) + return this + } + + public getId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "Id") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Id") + return ext + } + + public getMolecularSequence (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "MolecularSequence") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getMolecularSequenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "MolecularSequence") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PhaseSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet", "PhaseSet"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_References.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_References.ts new file mode 100644 index 000000000..d8303cf3e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_References.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences (pkg: hl7.fhir.r4.core#4.0.1) +export class ReferencesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReferencesProfile { + return new ReferencesProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences", + } as unknown as Extension + return resource + } + + static create () : ReferencesProfile { + return ReferencesProfile.from(ReferencesProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public setReference (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueUri: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + public getReference (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "References"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences", "References"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Relative_Date_Criteria.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Relative_Date_Criteria.ts new file mode 100644 index 000000000..bbcad7822 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Relative_Date_Criteria.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-core/Duration"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Relative_Date_CriteriaProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/relative-date (pkg: hl7.fhir.r4.core#4.0.1) +export class Relative_Date_CriteriaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/relative-date" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Relative_Date_CriteriaProfile { + return new Relative_Date_CriteriaProfile(resource) + } + + static createResource (args: Relative_Date_CriteriaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/relative-date", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: Relative_Date_CriteriaProfileParams) : Relative_Date_CriteriaProfile { + return Relative_Date_CriteriaProfile.from(Relative_Date_CriteriaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setEvent (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "event", valueReference: value } as Extension) + return this + } + + public setRelationship (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "relationship", valueCode: value } as Extension) + return this + } + + public setOffset (value: Duration): this { + const list = (this.resource.extension ??= []) + list.push({ url: "offset", valueDuration: value } as Extension) + return this + } + + public getEvent (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "event") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getEventExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "event") + return ext + } + + public getRelationship (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getRelationshipExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return ext + } + + public getOffset (): Duration | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return (ext as Record | undefined)?.valueDuration as Duration | undefined + } + + public getOffsetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Relative Date Criteria"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Relative Date Criteria"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/relative-date", "Relative Date Criteria"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Rendered_Value.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Rendered_Value.ts new file mode 100644 index 000000000..3913df725 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Rendered_Value.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Rendered_ValueProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendered-value (pkg: hl7.fhir.r4.core#4.0.1) +export class Rendered_ValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendered-value" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Rendered_ValueProfile { + return new Rendered_ValueProfile(resource) + } + + static createResource (args: Rendered_ValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendered-value", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: Rendered_ValueProfileParams) : Rendered_ValueProfile { + return Rendered_ValueProfile.from(Rendered_ValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Rendered Value"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendered-value", "Rendered Value"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SC_coding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SC_coding.ts new file mode 100644 index 000000000..dc4382a3e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SC_coding.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SC_codingProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding (pkg: hl7.fhir.r4.core#4.0.1) +export class SC_codingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SC_codingProfile { + return new SC_codingProfile(resource) + } + + static createResource (args: SC_codingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: SC_codingProfileParams) : SC_codingProfile { + return SC_codingProfile.from(SC_codingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SC-coding"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding", "SC-coding"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SOPClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SOPClass.ts new file mode 100644 index 000000000..af60b77ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SOPClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SOPClassProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass (pkg: hl7.fhir.r4.core#4.0.1) +export class SOPClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SOPClassProfile { + return new SOPClassProfile(resource) + } + + static createResource (args: SOPClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: SOPClassProfileParams) : SOPClassProfile { + return SOPClassProfile.from(SOPClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SOPClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass", "SOPClass"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_TEL_address.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_TEL_address.ts new file mode 100644 index 000000000..ec0db4aeb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_TEL_address.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TEL_addressProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address (pkg: hl7.fhir.r4.core#4.0.1) +export class TEL_addressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TEL_addressProfile { + return new TEL_addressProfile(resource) + } + + static createResource (args: TEL_addressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: TEL_addressProfileParams) : TEL_addressProfile { + return TEL_addressProfile.from(TEL_addressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TEL-address"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address", "TEL-address"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Code.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Code.ts new file mode 100644 index 000000000..833b8fd3f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Code.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Timezone_CodeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/tz-code (pkg: hl7.fhir.r4.core#4.0.1) +export class Timezone_CodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/tz-code" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Timezone_CodeProfile { + return new Timezone_CodeProfile(resource) + } + + static createResource (args: Timezone_CodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/tz-code", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: Timezone_CodeProfileParams) : Timezone_CodeProfile { + return Timezone_CodeProfile.from(Timezone_CodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Timezone Code"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/tz-code", "Timezone Code"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Offset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Offset.ts new file mode 100644 index 000000000..0a11946d2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Offset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Timezone_OffsetProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/tz-offset (pkg: hl7.fhir.r4.core#4.0.1) +export class Timezone_OffsetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/tz-offset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Timezone_OffsetProfile { + return new Timezone_OffsetProfile(resource) + } + + static createResource (args: Timezone_OffsetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/tz-offset", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: Timezone_OffsetProfileParams) : Timezone_OffsetProfile { + return Timezone_OffsetProfile.from(Timezone_OffsetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Timezone Offset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/tz-offset", "Timezone Offset"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Transcriber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Transcriber.ts new file mode 100644 index 000000000..506fe01bf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Transcriber.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TranscriberProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-Transcriber (pkg: hl7.fhir.r4.core#4.0.1) +export class TranscriberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-Transcriber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TranscriberProfile { + return new TranscriberProfile(resource) + } + + static createResource (args: TranscriberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-Transcriber", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: TranscriberProfileParams) : TranscriberProfile { + return TranscriberProfile.from(TranscriberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Transcriber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-Transcriber", "Transcriber"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Translation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Translation.ts new file mode 100644 index 000000000..513155040 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Translation.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TranslationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/translation (pkg: hl7.fhir.r4.core#4.0.1) +export class TranslationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/translation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TranslationProfile { + return new TranslationProfile(resource) + } + + static createResource (args: TranslationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/translation", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: TranslationProfileParams) : TranslationProfile { + return TranslationProfile.from(TranslationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLang (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "lang", valueCode: value } as Extension) + return this + } + + public setContent (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "content", valueString: value } as Extension) + return this + } + + public getLang (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getLangExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return ext + } + + public getContent (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getContentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Translation"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Translation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/translation", "Translation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ValidityPeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ValidityPeriod.ts new file mode 100644 index 000000000..3026e0b37 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ValidityPeriod.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ValidityPeriodProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod (pkg: hl7.fhir.r4.core#4.0.1) +export class ValidityPeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ValidityPeriodProfile { + return new ValidityPeriodProfile(resource) + } + + static createResource (args: ValidityPeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ValidityPeriodProfileParams) : ValidityPeriodProfile { + return ValidityPeriodProfile.from(ValidityPeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ValidityPeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", "ValidityPeriod"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variable.ts new file mode 100644 index 000000000..4d4b012a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variable.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VariableProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/variable (pkg: hl7.fhir.r4.core#4.0.1) +export class VariableProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/variable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VariableProfile { + return new VariableProfile(resource) + } + + static createResource (args: VariableProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/variable", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: VariableProfileParams) : VariableProfile { + return VariableProfile.from(VariableProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Variable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/variable", "Variable"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variant.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variant.ts new file mode 100644 index 000000000..b34d6d6d3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variant.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant (pkg: hl7.fhir.r4.core#4.0.1) +export class VariantProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VariantProfile { + return new VariantProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant", + } as unknown as Extension + return resource + } + + static create () : VariantProfile { + return VariantProfile.from(VariantProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Name", valueCodeableConcept: value } as Extension) + return this + } + + public setId (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Id", valueCodeableConcept: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Type", valueCodeableConcept: value } as Extension) + return this + } + + public getName (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return ext + } + + public getId (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Id") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Id") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Variant"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant", "Variant"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Witness.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Witness.ts new file mode 100644 index 000000000..214a50984 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Witness.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type WitnessProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-Witness (pkg: hl7.fhir.r4.core#4.0.1) +export class WitnessProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-Witness" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : WitnessProfile { + return new WitnessProfile(resource) + } + + static createResource (args: WitnessProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-Witness", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: WitnessProfileParams) : WitnessProfile { + return WitnessProfile.from(WitnessProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Witness"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-Witness", "Witness"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_abatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_abatement.ts new file mode 100644 index 000000000..b262638b4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_abatement.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-core/Age"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement (pkg: hl7.fhir.r4.core#4.0.1) +export class abatementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : abatementProfile { + return new abatementProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", + } as unknown as Extension + return resource + } + + static create () : abatementProfile { + return abatementProfile.from(abatementProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueAge () : Age | undefined { + return this.resource.valueAge as Age | undefined + } + + setValueAge (value: Age) : this { + Object.assign(this.resource, { valueAge: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "abatement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", "abatement"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueAge"] !== undefined || r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueDate, valueAge, valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_acceptance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_acceptance.ts new file mode 100644 index 000000000..82a637c79 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_acceptance.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type acceptanceProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-acceptance (pkg: hl7.fhir.r4.core#4.0.1) +export class acceptanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-acceptance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : acceptanceProfile { + return new acceptanceProfile(resource) + } + + static createResource (args: acceptanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-acceptance", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: acceptanceProfileParams) : acceptanceProfile { + return acceptanceProfile.from(acceptanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setIndividual (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "individual", valueReference: value } as Extension) + return this + } + + public setStatus (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "status", valueCode: value } as Extension) + return this + } + + public setPriority (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "priority", valueCodeableConcept: value } as Extension) + return this + } + + public getIndividual (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "individual") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getIndividualExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "individual") + return ext + } + + public getStatus (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStatusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return ext + } + + public getPriority (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "priority") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getPriorityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "priority") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "acceptance"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "acceptance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-acceptance", "acceptance"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activityStatusDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activityStatusDate.ts new file mode 100644 index 000000000..6beb2d930 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activityStatusDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type activityStatusDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate (pkg: hl7.fhir.r4.core#4.0.1) +export class activityStatusDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : activityStatusDateProfile { + return new activityStatusDateProfile(resource) + } + + static createResource (args: activityStatusDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: activityStatusDateProfileParams) : activityStatusDateProfile { + return activityStatusDateProfile.from(activityStatusDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "activityStatusDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate", "activityStatusDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activity_title.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activity_title.ts new file mode 100644 index 000000000..a4b251924 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activity_title.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type activity_titleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/careplan-activity-title (pkg: hl7.fhir.r4.core#4.0.1) +export class activity_titleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/careplan-activity-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : activity_titleProfile { + return new activity_titleProfile(resource) + } + + static createResource (args: activity_titleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/careplan-activity-title", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: activity_titleProfileParams) : activity_titleProfile { + return activity_titleProfile.from(activity_titleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "activity-title"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/careplan-activity-title", "activity-title"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adaptiveFeedingDevice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adaptiveFeedingDevice.ts new file mode 100644 index 000000000..8d815f757 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adaptiveFeedingDevice.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type adaptiveFeedingDeviceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice (pkg: hl7.fhir.r4.core#4.0.1) +export class adaptiveFeedingDeviceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : adaptiveFeedingDeviceProfile { + return new adaptiveFeedingDeviceProfile(resource) + } + + static createResource (args: adaptiveFeedingDeviceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: adaptiveFeedingDeviceProfileParams) : adaptiveFeedingDeviceProfile { + return adaptiveFeedingDeviceProfile.from(adaptiveFeedingDeviceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "adaptiveFeedingDevice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice", "adaptiveFeedingDevice"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_addendumOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_addendumOf.ts new file mode 100644 index 000000000..4a778eecd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_addendumOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type addendumOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf (pkg: hl7.fhir.r4.core#4.0.1) +export class addendumOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : addendumOfProfile { + return new addendumOfProfile(resource) + } + + static createResource (args: addendumOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: addendumOfProfileParams) : addendumOfProfile { + return addendumOfProfile.from(addendumOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "addendumOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf", "addendumOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_administration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_administration.ts new file mode 100644 index 000000000..578d59011 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_administration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type administrationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-administration (pkg: hl7.fhir.r4.core#4.0.1) +export class administrationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-administration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : administrationProfile { + return new administrationProfile(resource) + } + + static createResource (args: administrationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-administration", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: administrationProfileParams) : administrationProfile { + return administrationProfile.from(administrationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "administration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-administration", "administration"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adoptionInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adoptionInfo.ts new file mode 100644 index 000000000..6e889db07 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adoptionInfo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type adoptionInfoProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo (pkg: hl7.fhir.r4.core#4.0.1) +export class adoptionInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : adoptionInfoProfile { + return new adoptionInfoProfile(resource) + } + + static createResource (args: adoptionInfoProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: adoptionInfoProfileParams) : adoptionInfoProfile { + return adoptionInfoProfile.from(adoptionInfoProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "adoptionInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo", "adoptionInfo"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allele_database.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allele_database.ts new file mode 100644 index 000000000..7874c5b03 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allele_database.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type allele_databaseProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database (pkg: hl7.fhir.r4.core#4.0.1) +export class allele_databaseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : allele_databaseProfile { + return new allele_databaseProfile(resource) + } + + static createResource (args: allele_databaseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: allele_databaseProfileParams) : allele_databaseProfile { + return allele_databaseProfile.from(allele_databaseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "allele-database"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database", "allele-database"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowedUnits.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowedUnits.ts new file mode 100644 index 000000000..e5794c9d1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowedUnits.ts @@ -0,0 +1,78 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits (pkg: hl7.fhir.r4.core#4.0.1) +export class allowedUnitsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : allowedUnitsProfile { + return new allowedUnitsProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", + } as unknown as Extension + return resource + } + + static create () : allowedUnitsProfile { + return allowedUnitsProfile.from(allowedUnitsProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "allowedUnits"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", "allowedUnits"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowed_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowed_type.ts new file mode 100644 index 000000000..68d99f939 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowed_type.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type allowed_typeProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type (pkg: hl7.fhir.r4.core#4.0.1) +export class allowed_typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : allowed_typeProfile { + return new allowed_typeProfile(resource) + } + + static createResource (args: allowed_typeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: allowed_typeProfileParams) : allowed_typeProfile { + return allowed_typeProfile.from(allowed_typeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "allowed-type"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type", "allowed-type"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_alternate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_alternate.ts new file mode 100644 index 000000000..d2713f9e1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_alternate.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type alternateProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-alternate (pkg: hl7.fhir.r4.core#4.0.1) +export class alternateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-alternate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : alternateProfile { + return new alternateProfile(resource) + } + + static createResource (args: alternateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-alternate", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: alternateProfileParams) : alternateProfile { + return alternateProfile.from(alternateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCode: value } as Extension) + return this + } + + public setUse (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "use", valueCoding: value } as Extension) + return this + } + + public getCode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getUse (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getUseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "alternate"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "alternate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-alternate", "alternate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ancestor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ancestor.ts new file mode 100644 index 000000000..a6b806fdf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ancestor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ancestorProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor (pkg: hl7.fhir.r4.core#4.0.1) +export class ancestorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ancestorProfile { + return new ancestorProfile(resource) + } + + static createResource (args: ancestorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: ancestorProfileParams) : ancestorProfile { + return ancestorProfile.from(ancestorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ancestor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor", "ancestor"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animal.ts new file mode 100644 index 000000000..477d7f1cd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animal.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type animalProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-animal (pkg: hl7.fhir.r4.core#4.0.1) +export class animalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-animal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : animalProfile { + return new animalProfile(resource) + } + + static createResource (args: animalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-animal", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: animalProfileParams) : animalProfile { + return animalProfile.from(animalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setSpecies (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "species", valueCodeableConcept: value } as Extension) + return this + } + + public setBreed (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "breed", valueCodeableConcept: value } as Extension) + return this + } + + public setGenderStatus (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "genderStatus", valueCodeableConcept: value } as Extension) + return this + } + + public getSpecies (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "species") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSpeciesExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "species") + return ext + } + + public getBreed (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "breed") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getBreedExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "breed") + return ext + } + + public getGenderStatus (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderStatus") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getGenderStatusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderStatus") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "animal"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "animal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-animal", "animal"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animalSpecies.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animalSpecies.ts new file mode 100644 index 000000000..c607c9875 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animalSpecies.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type animalSpeciesProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies (pkg: hl7.fhir.r4.core#4.0.1) +export class animalSpeciesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : animalSpeciesProfile { + return new animalSpeciesProfile(resource) + } + + static createResource (args: animalSpeciesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: animalSpeciesProfileParams) : animalSpeciesProfile { + return animalSpeciesProfile.from(animalSpeciesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "animalSpecies"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies", "animalSpecies"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_applicable_version.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_applicable_version.ts new file mode 100644 index 000000000..f4e532580 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_applicable_version.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type applicable_versionProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version (pkg: hl7.fhir.r4.core#4.0.1) +export class applicable_versionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : applicable_versionProfile { + return new applicable_versionProfile(resource) + } + + static createResource (args: applicable_versionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: applicable_versionProfileParams) : applicable_versionProfile { + return applicable_versionProfile.from(applicable_versionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "applicable-version"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version", "applicable-version"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approachBodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approachBodyStructure.ts new file mode 100644 index 000000000..b746cb6b2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approachBodyStructure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type approachBodyStructureProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure (pkg: hl7.fhir.r4.core#4.0.1) +export class approachBodyStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : approachBodyStructureProfile { + return new approachBodyStructureProfile(resource) + } + + static createResource (args: approachBodyStructureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: approachBodyStructureProfileParams) : approachBodyStructureProfile { + return approachBodyStructureProfile.from(approachBodyStructureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "approachBodyStructure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure", "approachBodyStructure"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approvalDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approvalDate.ts new file mode 100644 index 000000000..612613046 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approvalDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type approvalDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-approvalDate (pkg: hl7.fhir.r4.core#4.0.1) +export class approvalDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-approvalDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : approvalDateProfile { + return new approvalDateProfile(resource) + } + + static createResource (args: approvalDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-approvalDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: approvalDateProfileParams) : approvalDateProfile { + return approvalDateProfile.from(approvalDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "approvalDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-approvalDate", "approvalDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_area.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_area.ts new file mode 100644 index 000000000..8bfa54759 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_area.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type areaProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-area (pkg: hl7.fhir.r4.core#4.0.1) +export class areaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-area" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : areaProfile { + return new areaProfile(resource) + } + + static createResource (args: areaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-area", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: areaProfileParams) : areaProfile { + return areaProfile.from(areaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "area"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-area", "area"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assembly_order.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assembly_order.ts new file mode 100644 index 000000000..ae2864738 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assembly_order.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type assembly_orderProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-assembly-order (pkg: hl7.fhir.r4.core#4.0.1) +export class assembly_orderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : assembly_orderProfile { + return new assembly_orderProfile(resource) + } + + static createResource (args: assembly_orderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: assembly_orderProfileParams) : assembly_orderProfile { + return assembly_orderProfile.from(assembly_orderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "assembly-order"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order", "assembly-order"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assertedDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assertedDate.ts new file mode 100644 index 000000000..b72fe886e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assertedDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type assertedDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate (pkg: hl7.fhir.r4.core#4.0.1) +export class assertedDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : assertedDateProfile { + return new assertedDateProfile(resource) + } + + static createResource (args: assertedDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: assertedDateProfileParams) : assertedDateProfile { + return assertedDateProfile.from(assertedDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "assertedDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", "assertedDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_associatedEncounter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_associatedEncounter.ts new file mode 100644 index 000000000..d15214f98 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_associatedEncounter.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type associatedEncounterProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter (pkg: hl7.fhir.r4.core#4.0.1) +export class associatedEncounterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : associatedEncounterProfile { + return new associatedEncounterProfile(resource) + } + + static createResource (args: associatedEncounterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: associatedEncounterProfileParams) : associatedEncounterProfile { + return associatedEncounterProfile.from(associatedEncounterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "associatedEncounter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter", "associatedEncounter"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_author.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_author.ts new file mode 100644 index 000000000..7efc82cb4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_author.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type authorProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-author (pkg: hl7.fhir.r4.core#4.0.1) +export class authorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-author" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : authorProfile { + return new authorProfile(resource) + } + + static createResource (args: authorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-author", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: authorProfileParams) : authorProfile { + return authorProfile.from(authorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "author"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-author", "author"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authoritativeSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authoritativeSource.ts new file mode 100644 index 000000000..d8fe17510 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authoritativeSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type authoritativeSourceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource (pkg: hl7.fhir.r4.core#4.0.1) +export class authoritativeSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : authoritativeSourceProfile { + return new authoritativeSourceProfile(resource) + } + + static createResource (args: authoritativeSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: authoritativeSourceProfileParams) : authoritativeSourceProfile { + return authoritativeSourceProfile.from(authoritativeSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "authoritativeSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", "authoritativeSource"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authority.ts new file mode 100644 index 000000000..b101a4478 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authority.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type authorityProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-authority (pkg: hl7.fhir.r4.core#4.0.1) +export class authorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : authorityProfile { + return new authorityProfile(resource) + } + + static createResource (args: authorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: authorityProfileParams) : authorityProfile { + return authorityProfile.from(authorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "authority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority", "authority"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_baseType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_baseType.ts new file mode 100644 index 000000000..2efb6be7d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_baseType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type baseTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-baseType (pkg: hl7.fhir.r4.core#4.0.1) +export class baseTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : baseTypeProfile { + return new baseTypeProfile(resource) + } + + static createResource (args: baseTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: baseTypeProfileParams) : baseTypeProfile { + return baseTypeProfile.from(baseTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "baseType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType", "baseType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_basedOn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_basedOn.ts new file mode 100644 index 000000000..b44a93a89 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_basedOn.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type basedOnProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-basedOn (pkg: hl7.fhir.r4.core#4.0.1) +export class basedOnProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-basedOn" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : basedOnProfile { + return new basedOnProfile(resource) + } + + static createResource (args: basedOnProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-basedOn", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: basedOnProfileParams) : basedOnProfile { + return basedOnProfile.from(basedOnProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "basedOn"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-basedOn", "basedOn"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice.ts new file mode 100644 index 000000000..4ae9e79d9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice.ts @@ -0,0 +1,78 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice (pkg: hl7.fhir.r4.core#4.0.1) +export class bestpracticeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bestpracticeProfile { + return new bestpracticeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + } as unknown as Extension + return resource + } + + static create () : bestpracticeProfile { + return bestpracticeProfile.from(bestpracticeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bestpractice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "bestpractice"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined || r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueBoolean, valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice_explanation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice_explanation.ts new file mode 100644 index 000000000..bc4f7ec7c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice_explanation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type bestpractice_explanationProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation (pkg: hl7.fhir.r4.core#4.0.1) +export class bestpractice_explanationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bestpractice_explanationProfile { + return new bestpractice_explanationProfile(resource) + } + + static createResource (args: bestpractice_explanationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: bestpractice_explanationProfileParams) : bestpractice_explanationProfile { + return bestpractice_explanationProfile.from(bestpractice_explanationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bestpractice-explanation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "bestpractice-explanation"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bidirectional.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bidirectional.ts new file mode 100644 index 000000000..ce93dcd27 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bidirectional.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type bidirectionalProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/concept-bidirectional (pkg: hl7.fhir.r4.core#4.0.1) +export class bidirectionalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/concept-bidirectional" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bidirectionalProfile { + return new bidirectionalProfile(resource) + } + + static createResource (args: bidirectionalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/concept-bidirectional", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: bidirectionalProfileParams) : bidirectionalProfile { + return bidirectionalProfile.from(bidirectionalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bidirectional"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/concept-bidirectional", "bidirectional"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bindingName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bindingName.ts new file mode 100644 index 000000000..9b4e5acfc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bindingName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type bindingNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName (pkg: hl7.fhir.r4.core#4.0.1) +export class bindingNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bindingNameProfile { + return new bindingNameProfile(resource) + } + + static createResource (args: bindingNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: bindingNameProfileParams) : bindingNameProfile { + return bindingNameProfile.from(bindingNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bindingName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "bindingName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts new file mode 100644 index 000000000..9e5a63ebc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Address } from "../../hl7-fhir-r4-core/Address"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type birthPlaceProfileParams = { + valueAddress: Address; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace (pkg: hl7.fhir.r4.core#4.0.1) +export class birthPlaceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : birthPlaceProfile { + return new birthPlaceProfile(resource) + } + + static createResource (args: birthPlaceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + valueAddress: args.valueAddress, + } as unknown as Extension + return resource + } + + static create (args: birthPlaceProfileParams) : birthPlaceProfile { + return birthPlaceProfile.from(birthPlaceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAddress () : Address | undefined { + return this.resource.valueAddress as Address | undefined + } + + setValueAddress (value: Address) : this { + Object.assign(this.resource, { valueAddress: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "birthPlace"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", "birthPlace"); if (e) errors.push(e) } + if (!(r["valueAddress"] !== undefined)) { + errors.push("value: at least one of valueAddress is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts new file mode 100644 index 000000000..bff1c3abb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type birthTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthTime (pkg: hl7.fhir.r4.core#4.0.1) +export class birthTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-birthTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : birthTimeProfile { + return new birthTimeProfile(resource) + } + + static createResource (args: birthTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: birthTimeProfileParams) : birthTimeProfile { + return birthTimeProfile.from(birthTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "birthTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-birthTime", "birthTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bodyPosition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bodyPosition.ts new file mode 100644 index 000000000..8ad8a7375 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bodyPosition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type bodyPositionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-bodyPosition (pkg: hl7.fhir.r4.core#4.0.1) +export class bodyPositionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bodyPositionProfile { + return new bodyPositionProfile(resource) + } + + static createResource (args: bodyPositionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: bodyPositionProfileParams) : bodyPositionProfile { + return bodyPositionProfile.from(bodyPositionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bodyPosition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition", "bodyPosition"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_boundary_geojson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_boundary_geojson.ts new file mode 100644 index 000000000..8a56a7c81 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_boundary_geojson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r4-core/Attachment"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type boundary_geojsonProfileParams = { + valueAttachment: Attachment; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/location-boundary-geojson (pkg: hl7.fhir.r4.core#4.0.1) +export class boundary_geojsonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : boundary_geojsonProfile { + return new boundary_geojsonProfile(resource) + } + + static createResource (args: boundary_geojsonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson", + valueAttachment: args.valueAttachment, + } as unknown as Extension + return resource + } + + static create (args: boundary_geojsonProfileParams) : boundary_geojsonProfile { + return boundary_geojsonProfile.from(boundary_geojsonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAttachment () : Attachment | undefined { + return this.resource.valueAttachment as Attachment | undefined + } + + setValueAttachment (value: Attachment) : this { + Object.assign(this.resource, { valueAttachment: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "boundary-geojson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson", "boundary-geojson"); if (e) errors.push(e) } + if (!(r["valueAttachment"] !== undefined)) { + errors.push("value: at least one of valueAttachment is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cadavericDonor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cadavericDonor.ts new file mode 100644 index 000000000..692641855 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cadavericDonor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type cadavericDonorProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor (pkg: hl7.fhir.r4.core#4.0.1) +export class cadavericDonorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : cadavericDonorProfile { + return new cadavericDonorProfile(resource) + } + + static createResource (args: cadavericDonorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: cadavericDonorProfileParams) : cadavericDonorProfile { + return cadavericDonorProfile.from(cadavericDonorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "cadavericDonor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor", "cadavericDonor"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_calculatedValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_calculatedValue.ts new file mode 100644 index 000000000..cc2b9b21d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_calculatedValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type calculatedValueProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue (pkg: hl7.fhir.r4.core#4.0.1) +export class calculatedValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : calculatedValueProfile { + return new calculatedValueProfile(resource) + } + + static createResource (args: calculatedValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: calculatedValueProfileParams) : calculatedValueProfile { + return calculatedValueProfile.from(calculatedValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "calculatedValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue", "calculatedValue"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_candidateList.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_candidateList.ts new file mode 100644 index 000000000..aa370418e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_candidateList.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type candidateListProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/task-candidateList (pkg: hl7.fhir.r4.core#4.0.1) +export class candidateListProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/task-candidateList" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : candidateListProfile { + return new candidateListProfile(resource) + } + + static createResource (args: candidateListProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/task-candidateList", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: candidateListProfileParams) : candidateListProfile { + return candidateListProfile.from(candidateListProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "candidateList"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/task-candidateList", "candidateList"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_capabilities.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_capabilities.ts new file mode 100644 index 000000000..7421231ca --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_capabilities.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type capabilitiesProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities (pkg: hl7.fhir.r4.core#4.0.1) +export class capabilitiesProfile { + static readonly canonicalUrl = "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : capabilitiesProfile { + return new capabilitiesProfile(resource) + } + + static createResource (args: capabilitiesProfileParams) : Extension { + const resource: Extension = { + url: "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: capabilitiesProfileParams) : capabilitiesProfile { + return capabilitiesProfile.from(capabilitiesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "capabilities"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities", "capabilities"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_careplan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_careplan.ts new file mode 100644 index 000000000..0c196782b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_careplan.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type careplanProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-careplan (pkg: hl7.fhir.r4.core#4.0.1) +export class careplanProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-careplan" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : careplanProfile { + return new careplanProfile(resource) + } + + static createResource (args: careplanProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-careplan", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: careplanProfileParams) : careplanProfile { + return careplanProfile.from(careplanProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "careplan"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-careplan", "careplan"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_caseSensitive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_caseSensitive.ts new file mode 100644 index 000000000..a8056a660 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_caseSensitive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type caseSensitiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive (pkg: hl7.fhir.r4.core#4.0.1) +export class caseSensitiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : caseSensitiveProfile { + return new caseSensitiveProfile(resource) + } + + static createResource (args: caseSensitiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: caseSensitiveProfileParams) : caseSensitiveProfile { + return caseSensitiveProfile.from(caseSensitiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "caseSensitive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive", "caseSensitive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_category.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_category.ts new file mode 100644 index 000000000..3d0a97916 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_category.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type categoryProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-category (pkg: hl7.fhir.r4.core#4.0.1) +export class categoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : categoryProfile { + return new categoryProfile(resource) + } + + static createResource (args: categoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: categoryProfileParams) : categoryProfile { + return categoryProfile.from(categoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "category"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "category"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_causedBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_causedBy.ts new file mode 100644 index 000000000..3227c2f83 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_causedBy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type causedByProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-causedBy (pkg: hl7.fhir.r4.core#4.0.1) +export class causedByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-causedBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : causedByProfile { + return new causedByProfile(resource) + } + + static createResource (args: causedByProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-causedBy", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: causedByProfileParams) : causedByProfile { + return causedByProfile.from(causedByProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "causedBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-causedBy", "causedBy"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cdsHooksEndpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cdsHooksEndpoint.ts new file mode 100644 index 000000000..40bd2208f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cdsHooksEndpoint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type cdsHooksEndpointProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint (pkg: hl7.fhir.r4.core#4.0.1) +export class cdsHooksEndpointProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : cdsHooksEndpointProfile { + return new cdsHooksEndpointProfile(resource) + } + + static createResource (args: cdsHooksEndpointProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: cdsHooksEndpointProfileParams) : cdsHooksEndpointProfile { + return cdsHooksEndpointProfile.from(cdsHooksEndpointProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "cdsHooksEndpoint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", "cdsHooksEndpoint"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_certainty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_certainty.ts new file mode 100644 index 000000000..0c389621a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_certainty.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type certaintyProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty (pkg: hl7.fhir.r4.core#4.0.1) +export class certaintyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : certaintyProfile { + return new certaintyProfile(resource) + } + + static createResource (args: certaintyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: certaintyProfileParams) : certaintyProfile { + return certaintyProfile.from(certaintyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "certainty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty", "certainty"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_changeBase.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_changeBase.ts new file mode 100644 index 000000000..d8b993f69 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_changeBase.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type changeBaseProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/list-changeBase (pkg: hl7.fhir.r4.core#4.0.1) +export class changeBaseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/list-changeBase" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : changeBaseProfile { + return new changeBaseProfile(resource) + } + + static createResource (args: changeBaseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/list-changeBase", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: changeBaseProfileParams) : changeBaseProfile { + return changeBaseProfile.from(changeBaseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "changeBase"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/list-changeBase", "changeBase"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_choiceOrientation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_choiceOrientation.ts new file mode 100644 index 000000000..3a8d99d3f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_choiceOrientation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type choiceOrientationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation (pkg: hl7.fhir.r4.core#4.0.1) +export class choiceOrientationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : choiceOrientationProfile { + return new choiceOrientationProfile(resource) + } + + static createResource (args: choiceOrientationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: choiceOrientationProfileParams) : choiceOrientationProfile { + return choiceOrientationProfile.from(choiceOrientationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "choiceOrientation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", "choiceOrientation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citation.ts new file mode 100644 index 000000000..b79910ba3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type citationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-citation (pkg: hl7.fhir.r4.core#4.0.1) +export class citationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-citation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : citationProfile { + return new citationProfile(resource) + } + + static createResource (args: citationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-citation", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: citationProfileParams) : citationProfile { + return citationProfile.from(citationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "citation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-citation", "citation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citizenship.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citizenship.ts new file mode 100644 index 000000000..d947d87ac --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citizenship.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-citizenship (pkg: hl7.fhir.r4.core#4.0.1) +export class citizenshipProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-citizenship" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : citizenshipProfile { + return new citizenshipProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + } as unknown as Extension + return resource + } + + static create () : citizenshipProfile { + return citizenshipProfile.from(citizenshipProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "citizenship"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-citizenship", "citizenship"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_codegen_super.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_codegen_super.ts new file mode 100644 index 000000000..1f2100b1a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_codegen_super.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type codegen_superProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super (pkg: hl7.fhir.r4.core#4.0.1) +export class codegen_superProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : codegen_superProfile { + return new codegen_superProfile(resource) + } + + static createResource (args: codegen_superProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: codegen_superProfileParams) : codegen_superProfile { + return codegen_superProfile.from(codegen_superProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "codegen-super"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "codegen-super"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_collectionPriority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_collectionPriority.ts new file mode 100644 index 000000000..c26923022 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_collectionPriority.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type collectionPriorityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority (pkg: hl7.fhir.r4.core#4.0.1) +export class collectionPriorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : collectionPriorityProfile { + return new collectionPriorityProfile(resource) + } + + static createResource (args: collectionPriorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: collectionPriorityProfileParams) : collectionPriorityProfile { + return collectionPriorityProfile.from(collectionPriorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "collectionPriority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority", "collectionPriority"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_completionMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_completionMode.ts new file mode 100644 index 000000000..081a77e73 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_completionMode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type completionModeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode (pkg: hl7.fhir.r4.core#4.0.1) +export class completionModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : completionModeProfile { + return new completionModeProfile(resource) + } + + static createResource (args: completionModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: completionModeProfileParams) : completionModeProfile { + return completionModeProfile.from(completionModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "completionMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", "completionMode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_conceptOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_conceptOrder.ts new file mode 100644 index 000000000..cc599a06e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_conceptOrder.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type conceptOrderProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder (pkg: hl7.fhir.r4.core#4.0.1) +export class conceptOrderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : conceptOrderProfile { + return new conceptOrderProfile(resource) + } + + static createResource (args: conceptOrderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: conceptOrderProfileParams) : conceptOrderProfile { + return conceptOrderProfile.from(conceptOrderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "conceptOrder"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", "conceptOrder"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_comments.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_comments.ts new file mode 100644 index 000000000..b699327fb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_comments.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type concept_commentsProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-concept-comments (pkg: hl7.fhir.r4.core#4.0.1) +export class concept_commentsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : concept_commentsProfile { + return new concept_commentsProfile(resource) + } + + static createResource (args: concept_commentsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: concept_commentsProfileParams) : concept_commentsProfile { + return concept_commentsProfile.from(concept_commentsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "concept-comments"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments", "concept-comments"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_definition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_definition.ts new file mode 100644 index 000000000..1acd26cc6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_definition.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type concept_definitionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-concept-definition (pkg: hl7.fhir.r4.core#4.0.1) +export class concept_definitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : concept_definitionProfile { + return new concept_definitionProfile(resource) + } + + static createResource (args: concept_definitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: concept_definitionProfileParams) : concept_definitionProfile { + return concept_definitionProfile.from(concept_definitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "concept-definition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition", "concept-definition"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_congregation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_congregation.ts new file mode 100644 index 000000000..b9565e96b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_congregation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type congregationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-congregation (pkg: hl7.fhir.r4.core#4.0.1) +export class congregationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-congregation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : congregationProfile { + return new congregationProfile(resource) + } + + static createResource (args: congregationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-congregation", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: congregationProfileParams) : congregationProfile { + return congregationProfile.from(congregationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "congregation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-congregation", "congregation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_constraint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_constraint.ts new file mode 100644 index 000000000..f47a08dd9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_constraint.ts @@ -0,0 +1,167 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type constraintProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint (pkg: hl7.fhir.r4.core#4.0.1) +export class constraintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : constraintProfile { + return new constraintProfile(resource) + } + + static createResource (args: constraintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: constraintProfileParams) : constraintProfile { + return constraintProfile.from(constraintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setKey (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "key", valueId: value } as Extension) + return this + } + + public setRequirements (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "requirements", valueString: value } as Extension) + return this + } + + public setSeverity (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "severity", valueCode: value } as Extension) + return this + } + + public setExpression (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expression", valueString: value } as Extension) + return this + } + + public setHuman (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "human", valueString: value } as Extension) + return this + } + + public setLocation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "location", valueString: value } as Extension) + return this + } + + public getKey (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getKeyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return ext + } + + public getRequirements (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRequirementsExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return ext + } + + public getSeverity (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getSeverityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return ext + } + + public getExpression (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return ext + } + + public getHuman (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "human") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getHumanExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "human") + return ext + } + + public getLocation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLocationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "constraint"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "constraint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint", "constraint"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_country.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_country.ts new file mode 100644 index 000000000..e746c1c6d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_country.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type countryProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-country (pkg: hl7.fhir.r4.core#4.0.1) +export class countryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-country" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : countryProfile { + return new countryProfile(resource) + } + + static createResource (args: countryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-country", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: countryProfileParams) : countryProfile { + return countryProfile.from(countryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "country"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-country", "country"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dayOfMonth.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dayOfMonth.ts new file mode 100644 index 000000000..109e1b32a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dayOfMonth.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type dayOfMonthProfileParams = { + valuePositiveInt: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth (pkg: hl7.fhir.r4.core#4.0.1) +export class dayOfMonthProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : dayOfMonthProfile { + return new dayOfMonthProfile(resource) + } + + static createResource (args: dayOfMonthProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth", + valuePositiveInt: args.valuePositiveInt, + } as unknown as Extension + return resource + } + + static create (args: dayOfMonthProfileParams) : dayOfMonthProfile { + return dayOfMonthProfile.from(dayOfMonthProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePositiveInt () : number | undefined { + return this.resource.valuePositiveInt as number | undefined + } + + setValuePositiveInt (value: number) : this { + Object.assign(this.resource, { valuePositiveInt: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "dayOfMonth"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth", "dayOfMonth"); if (e) errors.push(e) } + if (!(r["valuePositiveInt"] !== undefined)) { + errors.push("value: at least one of valuePositiveInt is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_daysOfCycle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_daysOfCycle.ts new file mode 100644 index 000000000..4319a367e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_daysOfCycle.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type daysOfCycleProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle (pkg: hl7.fhir.r4.core#4.0.1) +export class daysOfCycleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : daysOfCycleProfile { + return new daysOfCycleProfile(resource) + } + + static createResource (args: daysOfCycleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: daysOfCycleProfileParams) : daysOfCycleProfile { + return daysOfCycleProfile.from(daysOfCycleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDay (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "day", valueInteger: value } as Extension) + return this + } + + public getDay (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "day") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getDayExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "day") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "daysOfCycle"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "daysOfCycle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle", "daysOfCycle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_delta.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_delta.ts new file mode 100644 index 000000000..728da8fe8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_delta.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type deltaProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-delta (pkg: hl7.fhir.r4.core#4.0.1) +export class deltaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-delta" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : deltaProfile { + return new deltaProfile(resource) + } + + static createResource (args: deltaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-delta", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: deltaProfileParams) : deltaProfile { + return deltaProfile.from(deltaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "delta"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-delta", "delta"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dependencies.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dependencies.ts new file mode 100644 index 000000000..d20531127 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dependencies.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type dependenciesProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies (pkg: hl7.fhir.r4.core#4.0.1) +export class dependenciesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : dependenciesProfile { + return new dependenciesProfile(resource) + } + + static createResource (args: dependenciesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: dependenciesProfileParams) : dependenciesProfile { + return dependenciesProfile.from(dependenciesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "dependencies"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies", "dependencies"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deprecated.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deprecated.ts new file mode 100644 index 000000000..6d57ef281 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deprecated.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type deprecatedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-deprecated (pkg: hl7.fhir.r4.core#4.0.1) +export class deprecatedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-deprecated" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : deprecatedProfile { + return new deprecatedProfile(resource) + } + + static createResource (args: deprecatedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-deprecated", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: deprecatedProfileParams) : deprecatedProfile { + return deprecatedProfile.from(deprecatedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "deprecated"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-deprecated", "deprecated"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detail.ts new file mode 100644 index 000000000..6eb199e7c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detail.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type detailProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/flag-detail (pkg: hl7.fhir.r4.core#4.0.1) +export class detailProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/flag-detail" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : detailProfile { + return new detailProfile(resource) + } + + static createResource (args: detailProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/flag-detail", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: detailProfileParams) : detailProfile { + return detailProfile.from(detailProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "detail"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/flag-detail", "detail"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detectedIssue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detectedIssue.ts new file mode 100644 index 000000000..19ae8bf2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detectedIssue.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type detectedIssueProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue (pkg: hl7.fhir.r4.core#4.0.1) +export class detectedIssueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : detectedIssueProfile { + return new detectedIssueProfile(resource) + } + + static createResource (args: detectedIssueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: detectedIssueProfileParams) : detectedIssueProfile { + return detectedIssueProfile.from(detectedIssueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "detectedIssue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue", "detectedIssue"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deviceCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deviceCode.ts new file mode 100644 index 000000000..e58bb39b9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deviceCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type deviceCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-deviceCode (pkg: hl7.fhir.r4.core#4.0.1) +export class deviceCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-deviceCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : deviceCodeProfile { + return new deviceCodeProfile(resource) + } + + static createResource (args: deviceCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-deviceCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: deviceCodeProfileParams) : deviceCodeProfile { + return deviceCodeProfile.from(deviceCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "deviceCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-deviceCode", "deviceCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_directedBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_directedBy.ts new file mode 100644 index 000000000..3617d8f1b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_directedBy.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-directedBy (pkg: hl7.fhir.r4.core#4.0.1) +export class directedByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-directedBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : directedByProfile { + return new directedByProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-directedBy", + } as unknown as Extension + return resource + } + + static create () : directedByProfile { + return directedByProfile.from(directedByProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "directedBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-directedBy", "directedBy"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_disability.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_disability.ts new file mode 100644 index 000000000..742f846c4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_disability.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type disabilityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-disability (pkg: hl7.fhir.r4.core#4.0.1) +export class disabilityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-disability" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : disabilityProfile { + return new disabilityProfile(resource) + } + + static createResource (args: disabilityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-disability", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: disabilityProfileParams) : disabilityProfile { + return disabilityProfile.from(disabilityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "disability"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-disability", "disability"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_displayCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_displayCategory.ts new file mode 100644 index 000000000..979a0c633 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_displayCategory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type displayCategoryProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory (pkg: hl7.fhir.r4.core#4.0.1) +export class displayCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : displayCategoryProfile { + return new displayCategoryProfile(resource) + } + + static createResource (args: displayCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: displayCategoryProfileParams) : displayCategoryProfile { + return displayCategoryProfile.from(displayCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "displayCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", "displayCategory"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_display_hint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_display_hint.ts new file mode 100644 index 000000000..8c1f1a91a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_display_hint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type display_hintProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint (pkg: hl7.fhir.r4.core#4.0.1) +export class display_hintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : display_hintProfile { + return new display_hintProfile(resource) + } + + static createResource (args: display_hintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: display_hintProfileParams) : display_hintProfile { + return display_hintProfile.from(display_hintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "display-hint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "display-hint"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_doNotPerform.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_doNotPerform.ts new file mode 100644 index 000000000..07edecf12 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_doNotPerform.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type doNotPerformProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-doNotPerform (pkg: hl7.fhir.r4.core#4.0.1) +export class doNotPerformProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-doNotPerform" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : doNotPerformProfile { + return new doNotPerformProfile(resource) + } + + static createResource (args: doNotPerformProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-doNotPerform", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: doNotPerformProfileParams) : doNotPerformProfile { + return doNotPerformProfile.from(doNotPerformProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "doNotPerform"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-doNotPerform", "doNotPerform"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dueTo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dueTo.ts new file mode 100644 index 000000000..68577c925 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dueTo.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-dueTo (pkg: hl7.fhir.r4.core#4.0.1) +export class dueToProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-dueTo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : dueToProfile { + return new dueToProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + } as unknown as Extension + return resource + } + + static create () : dueToProfile { + return dueToProfile.from(dueToProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "dueTo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "dueTo"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_duration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_duration.ts new file mode 100644 index 000000000..e0425e00e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_duration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-core/Duration"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type durationProfileParams = { + valueDuration: Duration; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration (pkg: hl7.fhir.r4.core#4.0.1) +export class durationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : durationProfile { + return new durationProfile(resource) + } + + static createResource (args: durationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration", + valueDuration: args.valueDuration, + } as unknown as Extension + return resource + } + + static create (args: durationProfileParams) : durationProfile { + return durationProfile.from(durationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "duration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration", "duration"); if (e) errors.push(e) } + if (!(r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectiveDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectiveDate.ts new file mode 100644 index 000000000..3bfda7c87 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectiveDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type effectiveDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate (pkg: hl7.fhir.r4.core#4.0.1) +export class effectiveDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : effectiveDateProfile { + return new effectiveDateProfile(resource) + } + + static createResource (args: effectiveDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: effectiveDateProfileParams) : effectiveDateProfile { + return effectiveDateProfile.from(effectiveDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "effectiveDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate", "effectiveDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectivePeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectivePeriod.ts new file mode 100644 index 000000000..30413fc3e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectivePeriod.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type effectivePeriodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod (pkg: hl7.fhir.r4.core#4.0.1) +export class effectivePeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : effectivePeriodProfile { + return new effectivePeriodProfile(resource) + } + + static createResource (args: effectivePeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: effectivePeriodProfileParams) : effectivePeriodProfile { + return effectivePeriodProfile.from(effectivePeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "effectivePeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod", "effectivePeriod"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterClass.ts new file mode 100644 index 000000000..c05508d0a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type encounterClassProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-encounterClass (pkg: hl7.fhir.r4.core#4.0.1) +export class encounterClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : encounterClassProfile { + return new encounterClassProfile(resource) + } + + static createResource (args: encounterClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: encounterClassProfileParams) : encounterClassProfile { + return encounterClassProfile.from(encounterClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "encounterClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass", "encounterClass"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterType.ts new file mode 100644 index 000000000..908f33d75 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type encounterTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-encounterType (pkg: hl7.fhir.r4.core#4.0.1) +export class encounterTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-encounterType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : encounterTypeProfile { + return new encounterTypeProfile(resource) + } + + static createResource (args: encounterTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-encounterType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: encounterTypeProfileParams) : encounterTypeProfile { + return encounterTypeProfile.from(encounterTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "encounterType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-encounterType", "encounterType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_entryFormat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_entryFormat.ts new file mode 100644 index 000000000..9b5ba444f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_entryFormat.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type entryFormatProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/entryFormat (pkg: hl7.fhir.r4.core#4.0.1) +export class entryFormatProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/entryFormat" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : entryFormatProfile { + return new entryFormatProfile(resource) + } + + static createResource (args: entryFormatProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/entryFormat", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: entryFormatProfileParams) : entryFormatProfile { + return entryFormatProfile.from(entryFormatProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "entryFormat"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/entryFormat", "entryFormat"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_episodeOfCare.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_episodeOfCare.ts new file mode 100644 index 000000000..e259c30b7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_episodeOfCare.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type episodeOfCareProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare (pkg: hl7.fhir.r4.core#4.0.1) +export class episodeOfCareProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : episodeOfCareProfile { + return new episodeOfCareProfile(resource) + } + + static createResource (args: episodeOfCareProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: episodeOfCareProfileParams) : episodeOfCareProfile { + return episodeOfCareProfile.from(episodeOfCareProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "episodeOfCare"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", "episodeOfCare"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_equivalence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_equivalence.ts new file mode 100644 index 000000000..a700adb2a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_equivalence.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type equivalenceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence (pkg: hl7.fhir.r4.core#4.0.1) +export class equivalenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : equivalenceProfile { + return new equivalenceProfile(resource) + } + + static createResource (args: equivalenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: equivalenceProfileParams) : equivalenceProfile { + return equivalenceProfile.from(equivalenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "equivalence"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence", "equivalence"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_eventHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_eventHistory.ts new file mode 100644 index 000000000..209199d97 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_eventHistory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type eventHistoryProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-eventHistory (pkg: hl7.fhir.r4.core#4.0.1) +export class eventHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-eventHistory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : eventHistoryProfile { + return new eventHistoryProfile(resource) + } + + static createResource (args: eventHistoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-eventHistory", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: eventHistoryProfileParams) : eventHistoryProfile { + return eventHistoryProfile.from(eventHistoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "eventHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-eventHistory", "eventHistory"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exact.ts new file mode 100644 index 000000000..1d41f3570 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exact.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type exactProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-exact (pkg: hl7.fhir.r4.core#4.0.1) +export class exactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-exact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : exactProfile { + return new exactProfile(resource) + } + + static createResource (args: exactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-exact", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: exactProfileParams) : exactProfile { + return exactProfile.from(exactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "exact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-exact", "exact"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_group.ts new file mode 100644 index 000000000..a3f3beb00 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_group.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expand-group (pkg: hl7.fhir.r4.core#4.0.1) +export class expand_groupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expand-group" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expand_groupProfile { + return new expand_groupProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expand-group", + } as unknown as Extension + return resource + } + + static create () : expand_groupProfile { + return expand_groupProfile.from(expand_groupProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCode: value } as Extension) + return this + } + + public setDisplay (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "display", valueString: value } as Extension) + return this + } + + public setMember (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "member", valueCode: value } as Extension) + return this + } + + public getCode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getDisplay (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "display") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDisplayExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "display") + return ext + } + + public getMember (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "member") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getMemberExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "member") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expand-group"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expand-group", "expand-group"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_rules.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_rules.ts new file mode 100644 index 000000000..443f1a47a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_rules.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expand_rulesProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expand-rules (pkg: hl7.fhir.r4.core#4.0.1) +export class expand_rulesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expand_rulesProfile { + return new expand_rulesProfile(resource) + } + + static createResource (args: expand_rulesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: expand_rulesProfileParams) : expand_rulesProfile { + return expand_rulesProfile.from(expand_rulesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expand-rules"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules", "expand-rules"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expansionSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expansionSource.ts new file mode 100644 index 000000000..4bd8e4866 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expansionSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expansionSourceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expansionSource (pkg: hl7.fhir.r4.core#4.0.1) +export class expansionSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expansionSourceProfile { + return new expansionSourceProfile(resource) + } + + static createResource (args: expansionSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: expansionSourceProfileParams) : expansionSourceProfile { + return expansionSourceProfile.from(expansionSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expansionSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource", "expansionSource"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expectation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expectation.ts new file mode 100644 index 000000000..a374e3d09 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expectation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expectationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation (pkg: hl7.fhir.r4.core#4.0.1) +export class expectationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expectationProfile { + return new expectationProfile(resource) + } + + static createResource (args: expectationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: expectationProfileParams) : expectationProfile { + return expectationProfile.from(expectationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expectation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", "expectation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expirationDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expirationDate.ts new file mode 100644 index 000000000..95a03871a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expirationDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expirationDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expirationDate (pkg: hl7.fhir.r4.core#4.0.1) +export class expirationDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expirationDateProfile { + return new expirationDateProfile(resource) + } + + static createResource (args: expirationDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: expirationDateProfileParams) : expirationDateProfile { + return expirationDateProfile.from(expirationDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expirationDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate", "expirationDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_explicit_type_name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_explicit_type_name.ts new file mode 100644 index 000000000..0af591e6e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_explicit_type_name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type explicit_type_nameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name (pkg: hl7.fhir.r4.core#4.0.1) +export class explicit_type_nameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : explicit_type_nameProfile { + return new explicit_type_nameProfile(resource) + } + + static createResource (args: explicit_type_nameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: explicit_type_nameProfileParams) : explicit_type_nameProfile { + return explicit_type_nameProfile.from(explicit_type_nameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "explicit-type-name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "explicit-type-name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDate.ts new file mode 100644 index 000000000..f2a3f09ae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type exposureDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate (pkg: hl7.fhir.r4.core#4.0.1) +export class exposureDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : exposureDateProfile { + return new exposureDateProfile(resource) + } + + static createResource (args: exposureDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: exposureDateProfileParams) : exposureDateProfile { + return exposureDateProfile.from(exposureDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "exposureDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate", "exposureDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDescription.ts new file mode 100644 index 000000000..fd7e434fc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type exposureDescriptionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription (pkg: hl7.fhir.r4.core#4.0.1) +export class exposureDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : exposureDescriptionProfile { + return new exposureDescriptionProfile(resource) + } + + static createResource (args: exposureDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: exposureDescriptionProfileParams) : exposureDescriptionProfile { + return exposureDescriptionProfile.from(exposureDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "exposureDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription", "exposureDescription"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDuration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDuration.ts new file mode 100644 index 000000000..888bb7837 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDuration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-core/Duration"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type exposureDurationProfileParams = { + valueDuration: Duration; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration (pkg: hl7.fhir.r4.core#4.0.1) +export class exposureDurationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : exposureDurationProfile { + return new exposureDurationProfile(resource) + } + + static createResource (args: exposureDurationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration", + valueDuration: args.valueDuration, + } as unknown as Extension + return resource + } + + static create (args: exposureDurationProfileParams) : exposureDurationProfile { + return exposureDurationProfile.from(exposureDurationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "exposureDuration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration", "exposureDuration"); if (e) errors.push(e) } + if (!(r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expression.ts new file mode 100644 index 000000000..d0418098a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expression.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expressionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expression (pkg: hl7.fhir.r4.core#4.0.1) +export class expressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expressionProfile { + return new expressionProfile(resource) + } + + static createResource (args: expressionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: expressionProfileParams) : expressionProfile { + return expressionProfile.from(expressionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expression"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expression", "expression"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extends.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extends.ts new file mode 100644 index 000000000..8774e5675 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extends.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type extendsProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends (pkg: hl7.fhir.r4.core#4.0.1) +export class extendsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : extendsProfile { + return new extendsProfile(resource) + } + + static createResource (args: extendsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: extendsProfileParams) : extendsProfile { + return extendsProfile.from(extendsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "extends"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends", "extends"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extensible.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extensible.ts new file mode 100644 index 000000000..68c33404d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extensible.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type extensibleProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-extensible (pkg: hl7.fhir.r4.core#4.0.1) +export class extensibleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-extensible" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : extensibleProfile { + return new extensibleProfile(resource) + } + + static createResource (args: extensibleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-extensible", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: extensibleProfileParams) : extensibleProfile { + return extensibleProfile.from(extensibleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "extensible"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-extensible", "extensible"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extension.ts new file mode 100644 index 000000000..9eb46f7d2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extension.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type extensionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-extension (pkg: hl7.fhir.r4.core#4.0.1) +export class extensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-extension" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : extensionProfile { + return new extensionProfile(resource) + } + + static createResource (args: extensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-extension", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: extensionProfileParams) : extensionProfile { + return extensionProfile.from(extensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "extension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-extension", "extension"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fathers_family.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fathers_family.ts new file mode 100644 index 000000000..078efde1c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fathers_family.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fathers_familyProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-fathers-family (pkg: hl7.fhir.r4.core#4.0.1) +export class fathers_familyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fathers_familyProfile { + return new fathers_familyProfile(resource) + } + + static createResource (args: fathers_familyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: fathers_familyProfileParams) : fathers_familyProfile { + return fathers_familyProfile.from(fathers_familyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fathers-family"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family", "fathers-family"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhirType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhirType.ts new file mode 100644 index 000000000..bf36adc24 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhirType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fhirTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType (pkg: hl7.fhir.r4.core#4.0.1) +export class fhirTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fhirTypeProfile { + return new fhirTypeProfile(resource) + } + + static createResource (args: fhirTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: fhirTypeProfileParams) : fhirTypeProfile { + return fhirTypeProfile.from(fhirTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fhirType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "fhirType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhir_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhir_type.ts new file mode 100644 index 000000000..28ca36966 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhir_type.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fhir_typeProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type (pkg: hl7.fhir.r4.core#4.0.1) +export class fhir_typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fhir_typeProfile { + return new fhir_typeProfile(resource) + } + + static createResource (args: fhir_typeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: fhir_typeProfileParams) : fhir_typeProfile { + return fhir_typeProfile.from(fhir_typeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fhir-type"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "fhir-type"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm.ts new file mode 100644 index 000000000..ab79f225c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fmmProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm (pkg: hl7.fhir.r4.core#4.0.1) +export class fmmProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fmmProfile { + return new fmmProfile(resource) + } + + static createResource (args: fmmProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: fmmProfileParams) : fmmProfile { + return fmmProfile.from(fmmProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fmm"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "fmm"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm_no_warnings.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm_no_warnings.ts new file mode 100644 index 000000000..14e1656aa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm_no_warnings.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fmm_no_warningsProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings (pkg: hl7.fhir.r4.core#4.0.1) +export class fmm_no_warningsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fmm_no_warningsProfile { + return new fmm_no_warningsProfile(resource) + } + + static createResource (args: fmm_no_warningsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: fmm_no_warningsProfileParams) : fmm_no_warningsProfile { + return fmm_no_warningsProfile.from(fmm_no_warningsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fmm-no-warnings"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings", "fmm-no-warnings"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_focusCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_focusCode.ts new file mode 100644 index 000000000..69eaa85cd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_focusCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type focusCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-focusCode (pkg: hl7.fhir.r4.core#4.0.1) +export class focusCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-focusCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : focusCodeProfile { + return new focusCodeProfile(resource) + } + + static createResource (args: focusCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-focusCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: focusCodeProfileParams) : focusCodeProfile { + return focusCodeProfile.from(focusCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "focusCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-focusCode", "focusCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fullUrl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fullUrl.ts new file mode 100644 index 000000000..1ca962d94 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fullUrl.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fullUrlProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/parameters-fullUrl (pkg: hl7.fhir.r4.core#4.0.1) +export class fullUrlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fullUrlProfile { + return new fullUrlProfile(resource) + } + + static createResource (args: fullUrlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: fullUrlProfileParams) : fullUrlProfile { + return fullUrlProfile.from(fullUrlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fullUrl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl", "fullUrl"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_gatewayDevice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_gatewayDevice.ts new file mode 100644 index 000000000..5ac7004e0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_gatewayDevice.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type gatewayDeviceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice (pkg: hl7.fhir.r4.core#4.0.1) +export class gatewayDeviceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : gatewayDeviceProfile { + return new gatewayDeviceProfile(resource) + } + + static createResource (args: gatewayDeviceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: gatewayDeviceProfileParams) : gatewayDeviceProfile { + return gatewayDeviceProfile.from(gatewayDeviceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "gatewayDevice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice", "gatewayDevice"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_genderIdentity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_genderIdentity.ts new file mode 100644 index 000000000..3c6b941de --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_genderIdentity.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type genderIdentityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity (pkg: hl7.fhir.r4.core#4.0.1) +export class genderIdentityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : genderIdentityProfile { + return new genderIdentityProfile(resource) + } + + static createResource (args: genderIdentityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: genderIdentityProfileParams) : genderIdentityProfile { + return genderIdentityProfile.from(genderIdentityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "genderIdentity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity", "genderIdentity"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_glstring.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_glstring.ts new file mode 100644 index 000000000..4031554d3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_glstring.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring (pkg: hl7.fhir.r4.core#4.0.1) +export class glstringProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : glstringProfile { + return new glstringProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring", + } as unknown as Extension + return resource + } + + static create () : glstringProfile { + return glstringProfile.from(glstringProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + public setUrl (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "url", valueUri: value } as Extension) + return this + } + + public setText (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "text", valueString: value } as Extension) + return this + } + + public getUrl (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "url") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getUrlExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "url") + return ext + } + + public getText (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "text") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTextExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "text") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "glstring"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring", "glstring"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_group.ts new file mode 100644 index 000000000..292062d3f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_group.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type groupProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/usagecontext-group (pkg: hl7.fhir.r4.core#4.0.1) +export class groupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/usagecontext-group" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : groupProfile { + return new groupProfile(resource) + } + + static createResource (args: groupProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/usagecontext-group", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: groupProfileParams) : groupProfile { + return groupProfile.from(groupProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "group"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/usagecontext-group", "group"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_haploid.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_haploid.ts new file mode 100644 index 000000000..de13dafe4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_haploid.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid (pkg: hl7.fhir.r4.core#4.0.1) +export class haploidProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : haploidProfile { + return new haploidProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid", + } as unknown as Extension + return resource + } + + static create () : haploidProfile { + return haploidProfile.from(haploidProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLocus (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "locus", valueCodeableConcept: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setMethod (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "method", valueCodeableConcept: value } as Extension) + return this + } + + public getLocus (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "locus") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getLocusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "locus") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getMethod (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "method") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getMethodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "method") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "haploid"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid", "haploid"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hidden.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hidden.ts new file mode 100644 index 000000000..b06ac8567 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hidden.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type hiddenProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden (pkg: hl7.fhir.r4.core#4.0.1) +export class hiddenProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : hiddenProfile { + return new hiddenProfile(resource) + } + + static createResource (args: hiddenProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: hiddenProfileParams) : hiddenProfile { + return hiddenProfile.from(hiddenProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "hidden"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", "hidden"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hierarchy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hierarchy.ts new file mode 100644 index 000000000..d0907bb07 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hierarchy.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type hierarchyProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy (pkg: hl7.fhir.r4.core#4.0.1) +export class hierarchyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : hierarchyProfile { + return new hierarchyProfile(resource) + } + + static createResource (args: hierarchyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: hierarchyProfileParams) : hierarchyProfile { + return hierarchyProfile.from(hierarchyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "hierarchy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", "hierarchy"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_history.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_history.ts new file mode 100644 index 000000000..4faf16f71 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_history.ts @@ -0,0 +1,82 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-history (pkg: hl7.fhir.r4.core#4.0.1) +export class historyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-history" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : historyProfile { + return new historyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-history", + } as unknown as Extension + return resource + } + + static create () : historyProfile { + return historyProfile.from(historyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setRevision (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "revision", ...value }) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getRevision (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "revision") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "history"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-history", "history"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_http_response_header.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_http_response_header.ts new file mode 100644 index 000000000..5220f3076 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_http_response_header.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type http_response_headerProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/http-response-header (pkg: hl7.fhir.r4.core#4.0.1) +export class http_response_headerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/http-response-header" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : http_response_headerProfile { + return new http_response_headerProfile(resource) + } + + static createResource (args: http_response_headerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/http-response-header", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: http_response_headerProfileParams) : http_response_headerProfile { + return http_response_headerProfile.from(http_response_headerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "http-response-header"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/http-response-header", "http-response-header"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_identifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_identifier.ts new file mode 100644 index 000000000..f4e5fda26 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_identifier.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type identifierProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier (pkg: hl7.fhir.r4.core#4.0.1) +export class identifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : identifierProfile { + return new identifierProfile(resource) + } + + static createResource (args: identifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: identifierProfileParams) : identifierProfile { + return identifierProfile.from(identifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "identifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier", "identifier"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_implantStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_implantStatus.ts new file mode 100644 index 000000000..27af43b11 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_implantStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type implantStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-implantStatus (pkg: hl7.fhir.r4.core#4.0.1) +export class implantStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-implantStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : implantStatusProfile { + return new implantStatusProfile(resource) + } + + static createResource (args: implantStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-implantStatus", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: implantStatusProfileParams) : implantStatusProfile { + return implantStatusProfile.from(implantStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "implantStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-implantStatus", "implantStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_importance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_importance.ts new file mode 100644 index 000000000..6c5848f31 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_importance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type importanceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-importance (pkg: hl7.fhir.r4.core#4.0.1) +export class importanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-importance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : importanceProfile { + return new importanceProfile(resource) + } + + static createResource (args: importanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-importance", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: importanceProfileParams) : importanceProfile { + return importanceProfile.from(importanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "importance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-importance", "importance"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_incisionDateTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_incisionDateTime.ts new file mode 100644 index 000000000..5f02b6917 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_incisionDateTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type incisionDateTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime (pkg: hl7.fhir.r4.core#4.0.1) +export class incisionDateTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : incisionDateTimeProfile { + return new incisionDateTimeProfile(resource) + } + + static createResource (args: incisionDateTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: incisionDateTimeProfileParams) : incisionDateTimeProfile { + return incisionDateTimeProfile.from(incisionDateTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "incisionDateTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime", "incisionDateTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_inheritedExtensibleValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_inheritedExtensibleValueSet.ts new file mode 100644 index 000000000..1fc0103aa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_inheritedExtensibleValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet (pkg: hl7.fhir.r4.core#4.0.1) +export class inheritedExtensibleValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : inheritedExtensibleValueSetProfile { + return new inheritedExtensibleValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet", + } as unknown as Extension + return resource + } + + static create () : inheritedExtensibleValueSetProfile { + return inheritedExtensibleValueSetProfile.from(inheritedExtensibleValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "inheritedExtensibleValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet", "inheritedExtensibleValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initialValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initialValue.ts new file mode 100644 index 000000000..6d5b21aff --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initialValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type initialValueProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initialValue (pkg: hl7.fhir.r4.core#4.0.1) +export class initialValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initialValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : initialValueProfile { + return new initialValueProfile(resource) + } + + static createResource (args: initialValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initialValue", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: initialValueProfileParams) : initialValueProfile { + return initialValueProfile.from(initialValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "initialValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initialValue", "initialValue"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingLocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingLocation.ts new file mode 100644 index 000000000..39b782a56 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingLocation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type initiatingLocationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation (pkg: hl7.fhir.r4.core#4.0.1) +export class initiatingLocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : initiatingLocationProfile { + return new initiatingLocationProfile(resource) + } + + static createResource (args: initiatingLocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: initiatingLocationProfileParams) : initiatingLocationProfile { + return initiatingLocationProfile.from(initiatingLocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "initiatingLocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation", "initiatingLocation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingOrganization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingOrganization.ts new file mode 100644 index 000000000..130afe8f0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingOrganization.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type initiatingOrganizationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization (pkg: hl7.fhir.r4.core#4.0.1) +export class initiatingOrganizationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : initiatingOrganizationProfile { + return new initiatingOrganizationProfile(resource) + } + + static createResource (args: initiatingOrganizationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: initiatingOrganizationProfileParams) : initiatingOrganizationProfile { + return initiatingOrganizationProfile.from(initiatingOrganizationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "initiatingOrganization"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization", "initiatingOrganization"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingPerson.ts new file mode 100644 index 000000000..301b9aa71 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type initiatingPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson (pkg: hl7.fhir.r4.core#4.0.1) +export class initiatingPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : initiatingPersonProfile { + return new initiatingPersonProfile(resource) + } + + static createResource (args: initiatingPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: initiatingPersonProfileParams) : initiatingPersonProfile { + return initiatingPersonProfile.from(initiatingPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "initiatingPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson", "initiatingPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesCanonical.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesCanonical.ts new file mode 100644 index 000000000..2bcb25ad2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesCanonical.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type instantiatesCanonicalProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical (pkg: hl7.fhir.r4.core#4.0.1) +export class instantiatesCanonicalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : instantiatesCanonicalProfile { + return new instantiatesCanonicalProfile(resource) + } + + static createResource (args: instantiatesCanonicalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: instantiatesCanonicalProfileParams) : instantiatesCanonicalProfile { + return instantiatesCanonicalProfile.from(instantiatesCanonicalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "instantiatesCanonical"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical", "instantiatesCanonical"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesUri.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesUri.ts new file mode 100644 index 000000000..c99a22ead --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesUri.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type instantiatesUriProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri (pkg: hl7.fhir.r4.core#4.0.1) +export class instantiatesUriProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : instantiatesUriProfile { + return new instantiatesUriProfile(resource) + } + + static createResource (args: instantiatesUriProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: instantiatesUriProfileParams) : instantiatesUriProfile { + return instantiatesUriProfile.from(instantiatesUriProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "instantiatesUri"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri", "instantiatesUri"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_insurance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_insurance.ts new file mode 100644 index 000000000..6f274b3ea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_insurance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type insuranceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-insurance (pkg: hl7.fhir.r4.core#4.0.1) +export class insuranceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-insurance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : insuranceProfile { + return new insuranceProfile(resource) + } + + static createResource (args: insuranceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-insurance", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: insuranceProfileParams) : insuranceProfile { + return insuranceProfile.from(insuranceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "insurance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-insurance", "insurance"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_interpreterRequired.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_interpreterRequired.ts new file mode 100644 index 000000000..cf1bf248b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_interpreterRequired.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type interpreterRequiredProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired (pkg: hl7.fhir.r4.core#4.0.1) +export class interpreterRequiredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : interpreterRequiredProfile { + return new interpreterRequiredProfile(resource) + } + + static createResource (args: interpreterRequiredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: interpreterRequiredProfileParams) : interpreterRequiredProfile { + return interpreterRequiredProfile.from(interpreterRequiredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "interpreterRequired"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired", "interpreterRequired"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isCommonBinding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isCommonBinding.ts new file mode 100644 index 000000000..47cfb3294 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isCommonBinding.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type isCommonBindingProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding (pkg: hl7.fhir.r4.core#4.0.1) +export class isCommonBindingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : isCommonBindingProfile { + return new isCommonBindingProfile(resource) + } + + static createResource (args: isCommonBindingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: isCommonBindingProfileParams) : isCommonBindingProfile { + return isCommonBindingProfile.from(isCommonBindingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "isCommonBinding"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "isCommonBinding"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isDryWeight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isDryWeight.ts new file mode 100644 index 000000000..67e916585 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isDryWeight.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type isDryWeightProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight (pkg: hl7.fhir.r4.core#4.0.1) +export class isDryWeightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : isDryWeightProfile { + return new isDryWeightProfile(resource) + } + + static createResource (args: isDryWeightProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: isDryWeightProfileParams) : isDryWeightProfile { + return isDryWeightProfile.from(isDryWeightProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "isDryWeight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight", "isDryWeight"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_issue_source.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_issue_source.ts new file mode 100644 index 000000000..6352f58fe --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_issue_source.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type issue_sourceProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source (pkg: hl7.fhir.r4.core#4.0.1) +export class issue_sourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : issue_sourceProfile { + return new issue_sourceProfile(resource) + } + + static createResource (args: issue_sourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: issue_sourceProfileParams) : issue_sourceProfile { + return issue_sourceProfile.from(issue_sourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "issue-source"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source", "issue-source"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_itemControl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_itemControl.ts new file mode 100644 index 000000000..647a31230 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_itemControl.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type itemControlProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl (pkg: hl7.fhir.r4.core#4.0.1) +export class itemControlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : itemControlProfile { + return new itemControlProfile(resource) + } + + static createResource (args: itemControlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: itemControlProfileParams) : itemControlProfile { + return itemControlProfile.from(itemControlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "itemControl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "itemControl"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_keyWord.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_keyWord.ts new file mode 100644 index 000000000..5c8b6d47d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_keyWord.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type keyWordProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-keyWord (pkg: hl7.fhir.r4.core#4.0.1) +export class keyWordProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-keyWord" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : keyWordProfile { + return new keyWordProfile(resource) + } + + static createResource (args: keyWordProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-keyWord", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: keyWordProfileParams) : keyWordProfile { + return keyWordProfile.from(keyWordProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "keyWord"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-keyWord", "keyWord"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_label.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_label.ts new file mode 100644 index 000000000..bf8df3563 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_label.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type labelProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-label (pkg: hl7.fhir.r4.core#4.0.1) +export class labelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-label" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : labelProfile { + return new labelProfile(resource) + } + + static createResource (args: labelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-label", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: labelProfileParams) : labelProfile { + return labelProfile.from(labelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "label"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-label", "label"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_lastReviewDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_lastReviewDate.ts new file mode 100644 index 000000000..10741568c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_lastReviewDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type lastReviewDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate (pkg: hl7.fhir.r4.core#4.0.1) +export class lastReviewDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : lastReviewDateProfile { + return new lastReviewDateProfile(resource) + } + + static createResource (args: lastReviewDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: lastReviewDateProfileParams) : lastReviewDateProfile { + return lastReviewDateProfile.from(lastReviewDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "lastReviewDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate", "lastReviewDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_library.ts new file mode 100644 index 000000000..22f4e1826 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_library.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type libraryProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-library (pkg: hl7.fhir.r4.core#4.0.1) +export class libraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-library" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : libraryProfile { + return new libraryProfile(resource) + } + + static createResource (args: libraryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-library", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: libraryProfileParams) : libraryProfile { + return libraryProfile.from(libraryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "library"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-library", "library"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_local.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_local.ts new file mode 100644 index 000000000..331ec1d7f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_local.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type localProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-local (pkg: hl7.fhir.r4.core#4.0.1) +export class localProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-local" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : localProfile { + return new localProfile(resource) + } + + static createResource (args: localProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-local", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: localProfileParams) : localProfile { + return localProfile.from(localProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "local"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-local", "local"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location.ts new file mode 100644 index 000000000..25a93b78c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type locationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-location (pkg: hl7.fhir.r4.core#4.0.1) +export class locationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-location" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : locationProfile { + return new locationProfile(resource) + } + + static createResource (args: locationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-location", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: locationProfileParams) : locationProfile { + return locationProfile.from(locationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "location"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-location", "location"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_locationPerformed.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_locationPerformed.ts new file mode 100644 index 000000000..61f8ee883 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_locationPerformed.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type locationPerformedProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed (pkg: hl7.fhir.r4.core#4.0.1) +export class locationPerformedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : locationPerformedProfile { + return new locationPerformedProfile(resource) + } + + static createResource (args: locationPerformedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: locationPerformedProfileParams) : locationPerformedProfile { + return locationPerformedProfile.from(locationPerformedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "locationPerformed"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed", "locationPerformed"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location_distance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location_distance.ts new file mode 100644 index 000000000..4a96ccac3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location_distance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Distance } from "../../hl7-fhir-r4-core/Distance"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type location_distanceProfileParams = { + valueDistance: Distance; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/location-distance (pkg: hl7.fhir.r4.core#4.0.1) +export class location_distanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/location-distance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : location_distanceProfile { + return new location_distanceProfile(resource) + } + + static createResource (args: location_distanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/location-distance", + valueDistance: args.valueDistance, + } as unknown as Extension + return resource + } + + static create (args: location_distanceProfileParams) : location_distanceProfile { + return location_distanceProfile.from(location_distanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDistance () : Distance | undefined { + return this.resource.valueDistance as Distance | undefined + } + + setValueDistance (value: Distance) : this { + Object.assign(this.resource, { valueDistance: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "location-distance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/location-distance", "location-distance"); if (e) errors.push(e) } + if (!(r["valueDistance"] !== undefined)) { + errors.push("value: at least one of valueDistance is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_management.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_management.ts new file mode 100644 index 000000000..d7800885f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_management.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type managementProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-management (pkg: hl7.fhir.r4.core#4.0.1) +export class managementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-management" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : managementProfile { + return new managementProfile(resource) + } + + static createResource (args: managementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-management", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: managementProfileParams) : managementProfile { + return managementProfile.from(managementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "management"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-management", "management"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_map.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_map.ts new file mode 100644 index 000000000..73acaa3c6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_map.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-map (pkg: hl7.fhir.r4.core#4.0.1) +export class mapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-map" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mapProfile { + return new mapProfile(resource) + } + + static createResource (args: mapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-map", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: mapProfileParams) : mapProfile { + return mapProfile.from(mapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "map"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-map", "map"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_markdown.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_markdown.ts new file mode 100644 index 000000000..76876b20c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_markdown.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type markdownProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-markdown (pkg: hl7.fhir.r4.core#4.0.1) +export class markdownProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-markdown" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : markdownProfile { + return new markdownProfile(resource) + } + + static createResource (args: markdownProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-markdown", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: markdownProfileParams) : markdownProfile { + return markdownProfile.from(markdownProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "markdown"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-markdown", "markdown"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_match_grade.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_match_grade.ts new file mode 100644 index 000000000..a88529530 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_match_grade.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type match_gradeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/match-grade (pkg: hl7.fhir.r4.core#4.0.1) +export class match_gradeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/match-grade" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : match_gradeProfile { + return new match_gradeProfile(resource) + } + + static createResource (args: match_gradeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/match-grade", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: match_gradeProfileParams) : match_gradeProfile { + return match_gradeProfile.from(match_gradeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "match-grade"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/match-grade", "match-grade"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxDecimalPlaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxDecimalPlaces.ts new file mode 100644 index 000000000..37519db32 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxDecimalPlaces.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type maxDecimalPlacesProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces (pkg: hl7.fhir.r4.core#4.0.1) +export class maxDecimalPlacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxDecimalPlacesProfile { + return new maxDecimalPlacesProfile(resource) + } + + static createResource (args: maxDecimalPlacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: maxDecimalPlacesProfileParams) : maxDecimalPlacesProfile { + return maxDecimalPlacesProfile.from(maxDecimalPlacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxDecimalPlaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces", "maxDecimalPlaces"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxOccurs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxOccurs.ts new file mode 100644 index 000000000..996da9a84 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxOccurs.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type maxOccursProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs (pkg: hl7.fhir.r4.core#4.0.1) +export class maxOccursProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxOccursProfile { + return new maxOccursProfile(resource) + } + + static createResource (args: maxOccursProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: maxOccursProfileParams) : maxOccursProfile { + return maxOccursProfile.from(maxOccursProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxOccurs"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "maxOccurs"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxSize.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxSize.ts new file mode 100644 index 000000000..4c33e7224 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxSize.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type maxSizeProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxSize (pkg: hl7.fhir.r4.core#4.0.1) +export class maxSizeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxSize" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxSizeProfile { + return new maxSizeProfile(resource) + } + + static createResource (args: maxSizeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxSize", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: maxSizeProfileParams) : maxSizeProfile { + return maxSizeProfile.from(maxSizeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxSize"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxSize", "maxSize"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValue.ts new file mode 100644 index 000000000..264d108eb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValue.ts @@ -0,0 +1,113 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxValue (pkg: hl7.fhir.r4.core#4.0.1) +export class maxValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxValueProfile { + return new maxValueProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxValue", + } as unknown as Extension + return resource + } + + static create () : maxValueProfile { + return maxValueProfile.from(maxValueProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueInstant () : string | undefined { + return this.resource.valueInstant as string | undefined + } + + setValueInstant (value: string) : this { + Object.assign(this.resource, { valueInstant: value }) + return this + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxValue", "maxValue"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueDateTime"] !== undefined || r["valueTime"] !== undefined || r["valueInstant"] !== undefined || r["valueDecimal"] !== undefined || r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueDate, valueDateTime, valueTime, valueInstant, valueDecimal, valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValueSet.ts new file mode 100644 index 000000000..4a471f7b4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet (pkg: hl7.fhir.r4.core#4.0.1) +export class maxValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxValueSetProfile { + return new maxValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + } as unknown as Extension + return resource + } + + static create () : maxValueSetProfile { + return maxValueSetProfile.from(maxValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "maxValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_measureInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_measureInfo.ts new file mode 100644 index 000000000..4dfd16443 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_measureInfo.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-measureInfo (pkg: hl7.fhir.r4.core#4.0.1) +export class measureInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : measureInfoProfile { + return new measureInfoProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", + } as unknown as Extension + return resource + } + + static create () : measureInfoProfile { + return measureInfoProfile.from(measureInfoProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMeasure (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "measure", valueCanonical: value } as Extension) + return this + } + + public setGroupId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "groupId", valueString: value } as Extension) + return this + } + + public setPopulationId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "populationId", valueString: value } as Extension) + return this + } + + public getMeasure (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "measure") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getMeasureExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "measure") + return ext + } + + public getGroupId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "groupId") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getGroupIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "groupId") + return ext + } + + public getPopulationId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "populationId") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPopulationIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "populationId") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "measureInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", "measureInfo"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_media.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_media.ts new file mode 100644 index 000000000..c9b9101f1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_media.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r4-core/Attachment"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mediaProfileParams = { + valueAttachment: Attachment; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/communication-media (pkg: hl7.fhir.r4.core#4.0.1) +export class mediaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/communication-media" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mediaProfile { + return new mediaProfile(resource) + } + + static createResource (args: mediaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/communication-media", + valueAttachment: args.valueAttachment, + } as unknown as Extension + return resource + } + + static create (args: mediaProfileParams) : mediaProfile { + return mediaProfile.from(mediaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAttachment () : Attachment | undefined { + return this.resource.valueAttachment as Attachment | undefined + } + + setValueAttachment (value: Attachment) : this { + Object.assign(this.resource, { valueAttachment: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "media"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/communication-media", "media"); if (e) errors.push(e) } + if (!(r["valueAttachment"] !== undefined)) { + errors.push("value: at least one of valueAttachment is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_messageheader_response_request.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_messageheader_response_request.ts new file mode 100644 index 000000000..a506756c5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_messageheader_response_request.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type messageheader_response_requestProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/messageheader-response-request (pkg: hl7.fhir.r4.core#4.0.1) +export class messageheader_response_requestProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/messageheader-response-request" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : messageheader_response_requestProfile { + return new messageheader_response_requestProfile(resource) + } + + static createResource (args: messageheader_response_requestProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/messageheader-response-request", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: messageheader_response_requestProfileParams) : messageheader_response_requestProfile { + return messageheader_response_requestProfile.from(messageheader_response_requestProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "messageheader-response-request"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/messageheader-response-request", "messageheader-response-request"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_method.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_method.ts new file mode 100644 index 000000000..9e442d316 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_method.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type methodProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-method (pkg: hl7.fhir.r4.core#4.0.1) +export class methodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-method" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : methodProfile { + return new methodProfile(resource) + } + + static createResource (args: methodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-method", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: methodProfileParams) : methodProfile { + return methodProfile.from(methodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "method"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-method", "method"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mimeType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mimeType.ts new file mode 100644 index 000000000..69e137143 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mimeType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mimeTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/mimeType (pkg: hl7.fhir.r4.core#4.0.1) +export class mimeTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/mimeType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mimeTypeProfile { + return new mimeTypeProfile(resource) + } + + static createResource (args: mimeTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/mimeType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: mimeTypeProfileParams) : mimeTypeProfile { + return mimeTypeProfile.from(mimeTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "mimeType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/mimeType", "mimeType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minLength.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minLength.ts new file mode 100644 index 000000000..eca24e635 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minLength.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type minLengthProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/minLength (pkg: hl7.fhir.r4.core#4.0.1) +export class minLengthProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/minLength" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : minLengthProfile { + return new minLengthProfile(resource) + } + + static createResource (args: minLengthProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/minLength", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: minLengthProfileParams) : minLengthProfile { + return minLengthProfile.from(minLengthProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "minLength"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/minLength", "minLength"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minOccurs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minOccurs.ts new file mode 100644 index 000000000..488f41db3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minOccurs.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type minOccursProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs (pkg: hl7.fhir.r4.core#4.0.1) +export class minOccursProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : minOccursProfile { + return new minOccursProfile(resource) + } + + static createResource (args: minOccursProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: minOccursProfileParams) : minOccursProfile { + return minOccursProfile.from(minOccursProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "minOccurs"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "minOccurs"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValue.ts new file mode 100644 index 000000000..5526dbf2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValue.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/minValue (pkg: hl7.fhir.r4.core#4.0.1) +export class minValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/minValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : minValueProfile { + return new minValueProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/minValue", + } as unknown as Extension + return resource + } + + static create () : minValueProfile { + return minValueProfile.from(minValueProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "minValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/minValue", "minValue"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueDateTime"] !== undefined || r["valueTime"] !== undefined || r["valueDecimal"] !== undefined || r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueDate, valueDateTime, valueTime, valueDecimal, valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValueSet.ts new file mode 100644 index 000000000..713e17f4b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet (pkg: hl7.fhir.r4.core#4.0.1) +export class minValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : minValueSetProfile { + return new minValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + } as unknown as Extension + return resource + } + + static create () : minValueSetProfile { + return minValueSetProfile.from(minValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "minValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", "minValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_modeOfArrival.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_modeOfArrival.ts new file mode 100644 index 000000000..065c18483 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_modeOfArrival.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type modeOfArrivalProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival (pkg: hl7.fhir.r4.core#4.0.1) +export class modeOfArrivalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : modeOfArrivalProfile { + return new modeOfArrivalProfile(resource) + } + + static createResource (args: modeOfArrivalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: modeOfArrivalProfileParams) : modeOfArrivalProfile { + return modeOfArrivalProfile.from(modeOfArrivalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "modeOfArrival"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", "modeOfArrival"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothersMaidenName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothersMaidenName.ts new file mode 100644 index 000000000..1535d1bb5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothersMaidenName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mothersMaidenNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName (pkg: hl7.fhir.r4.core#4.0.1) +export class mothersMaidenNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mothersMaidenNameProfile { + return new mothersMaidenNameProfile(resource) + } + + static createResource (args: mothersMaidenNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: mothersMaidenNameProfileParams) : mothersMaidenNameProfile { + return mothersMaidenNameProfile.from(mothersMaidenNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "mothersMaidenName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", "mothersMaidenName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothers_family.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothers_family.ts new file mode 100644 index 000000000..4877fba59 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothers_family.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mothers_familyProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-mothers-family (pkg: hl7.fhir.r4.core#4.0.1) +export class mothers_familyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mothers_familyProfile { + return new mothers_familyProfile(resource) + } + + static createResource (args: mothers_familyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: mothers_familyProfileParams) : mothers_familyProfile { + return mothers_familyProfile.from(mothers_familyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "mothers-family"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family", "mothers-family"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_namespace.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_namespace.ts new file mode 100644 index 000000000..52d9711e1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_namespace.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type namespaceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace (pkg: hl7.fhir.r4.core#4.0.1) +export class namespaceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : namespaceProfile { + return new namespaceProfile(resource) + } + + static createResource (args: namespaceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: namespaceProfileParams) : namespaceProfile { + return namespaceProfile.from(namespaceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "namespace"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace", "namespace"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts new file mode 100644 index 000000000..798d58709 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-nationality (pkg: hl7.fhir.r4.core#4.0.1) +export class nationalityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-nationality" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : nationalityProfile { + return new nationalityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-nationality", + } as unknown as Extension + return resource + } + + static create () : nationalityProfile { + return nationalityProfile.from(nationalityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "nationality"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-nationality", "nationality"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_normative_version.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_normative_version.ts new file mode 100644 index 000000000..8fcd3e263 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_normative_version.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type normative_versionProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version (pkg: hl7.fhir.r4.core#4.0.1) +export class normative_versionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : normative_versionProfile { + return new normative_versionProfile(resource) + } + + static createResource (args: normative_versionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: normative_versionProfileParams) : normative_versionProfile { + return normative_versionProfile.from(normative_versionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "normative-version"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "normative-version"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nullFlavor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nullFlavor.ts new file mode 100644 index 000000000..ba6c7147a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nullFlavor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type nullFlavorProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor (pkg: hl7.fhir.r4.core#4.0.1) +export class nullFlavorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : nullFlavorProfile { + return new nullFlavorProfile(resource) + } + + static createResource (args: nullFlavorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: nullFlavorProfileParams) : nullFlavorProfile { + return nullFlavorProfile.from(nullFlavorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "nullFlavor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor", "nullFlavor"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_oauth_uris.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_oauth_uris.ts new file mode 100644 index 000000000..ad52f423b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_oauth_uris.ts @@ -0,0 +1,135 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type oauth_urisProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris (pkg: hl7.fhir.r4.core#4.0.1) +export class oauth_urisProfile { + static readonly canonicalUrl = "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : oauth_urisProfile { + return new oauth_urisProfile(resource) + } + + static createResource (args: oauth_urisProfileParams) : Extension { + const resource: Extension = { + url: "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: oauth_urisProfileParams) : oauth_urisProfile { + return oauth_urisProfile.from(oauth_urisProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setAuthorize (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "authorize", valueUri: value } as Extension) + return this + } + + public setToken (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "token", valueUri: value } as Extension) + return this + } + + public setRegister (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "register", valueUri: value } as Extension) + return this + } + + public setManage (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "manage", valueUri: value } as Extension) + return this + } + + public getAuthorize (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "authorize") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getAuthorizeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "authorize") + return ext + } + + public getToken (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "token") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getTokenExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "token") + return ext + } + + public getRegister (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "register") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getRegisterExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "register") + return ext + } + + public getManage (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "manage") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getManageExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "manage") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "oauth-uris"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "oauth-uris"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", "oauth-uris"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClass.ts new file mode 100644 index 000000000..d02073ecf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type objectClassProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-objectClass (pkg: hl7.fhir.r4.core#4.0.1) +export class objectClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-objectClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : objectClassProfile { + return new objectClassProfile(resource) + } + + static createResource (args: objectClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-objectClass", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: objectClassProfileParams) : objectClassProfile { + return objectClassProfile.from(objectClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "objectClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-objectClass", "objectClass"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClassProperty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClassProperty.ts new file mode 100644 index 000000000..6b62a9d9c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClassProperty.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type objectClassPropertyProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty (pkg: hl7.fhir.r4.core#4.0.1) +export class objectClassPropertyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : objectClassPropertyProfile { + return new objectClassPropertyProfile(resource) + } + + static createResource (args: objectClassPropertyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: objectClassPropertyProfileParams) : objectClassPropertyProfile { + return objectClassPropertyProfile.from(objectClassPropertyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "objectClassProperty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty", "objectClassProperty"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_observation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_observation.ts new file mode 100644 index 000000000..9a9f80046 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_observation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation (pkg: hl7.fhir.r4.core#4.0.1) +export class observationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : observationProfile { + return new observationProfile(resource) + } + + static createResource (args: observationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: observationProfileParams) : observationProfile { + return observationProfile.from(observationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "observation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", "observation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_occurredFollowing.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_occurredFollowing.ts new file mode 100644 index 000000000..952fbdbb9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_occurredFollowing.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing (pkg: hl7.fhir.r4.core#4.0.1) +export class occurredFollowingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : occurredFollowingProfile { + return new occurredFollowingProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing", + } as unknown as Extension + return resource + } + + static create () : occurredFollowingProfile { + return occurredFollowingProfile.from(occurredFollowingProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "occurredFollowing"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing", "occurredFollowing"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionExclusive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionExclusive.ts new file mode 100644 index 000000000..942fddf54 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionExclusive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type optionExclusiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive (pkg: hl7.fhir.r4.core#4.0.1) +export class optionExclusiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : optionExclusiveProfile { + return new optionExclusiveProfile(resource) + } + + static createResource (args: optionExclusiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: optionExclusiveProfileParams) : optionExclusiveProfile { + return optionExclusiveProfile.from(optionExclusiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "optionExclusive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive", "optionExclusive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionPrefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionPrefix.ts new file mode 100644 index 000000000..4c2ca6c5d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionPrefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type optionPrefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix (pkg: hl7.fhir.r4.core#4.0.1) +export class optionPrefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : optionPrefixProfile { + return new optionPrefixProfile(resource) + } + + static createResource (args: optionPrefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: optionPrefixProfileParams) : optionPrefixProfile { + return optionPrefixProfile.from(optionPrefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "optionPrefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", "optionPrefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherConfidentiality.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherConfidentiality.ts new file mode 100644 index 000000000..d8f212539 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherConfidentiality.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type otherConfidentialityProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality (pkg: hl7.fhir.r4.core#4.0.1) +export class otherConfidentialityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : otherConfidentialityProfile { + return new otherConfidentialityProfile(resource) + } + + static createResource (args: otherConfidentialityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: otherConfidentialityProfileParams) : otherConfidentialityProfile { + return otherConfidentialityProfile.from(otherConfidentialityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "otherConfidentiality"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality", "otherConfidentiality"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherName.ts new file mode 100644 index 000000000..2477bb9b8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherName.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type otherNameProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-otherName (pkg: hl7.fhir.r4.core#4.0.1) +export class otherNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-otherName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : otherNameProfile { + return new otherNameProfile(resource) + } + + static createResource (args: otherNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-otherName", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: otherNameProfileParams) : otherNameProfile { + return otherNameProfile.from(otherNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setPreferred (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "preferred", valueBoolean: value } as Extension) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getPreferred (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getPreferredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "otherName"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "otherName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-otherName", "otherName"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_outcome.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_outcome.ts new file mode 100644 index 000000000..13ef4400a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_outcome.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type outcomeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-outcome (pkg: hl7.fhir.r4.core#4.0.1) +export class outcomeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-outcome" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : outcomeProfile { + return new outcomeProfile(resource) + } + + static createResource (args: outcomeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-outcome", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: outcomeProfileParams) : outcomeProfile { + return outcomeProfile.from(outcomeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "outcome"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-outcome", "outcome"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_name.ts new file mode 100644 index 000000000..3dfb4962f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type own_nameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-own-name (pkg: hl7.fhir.r4.core#4.0.1) +export class own_nameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-own-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : own_nameProfile { + return new own_nameProfile(resource) + } + + static createResource (args: own_nameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-own-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: own_nameProfileParams) : own_nameProfile { + return own_nameProfile.from(own_nameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "own-name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-own-name", "own-name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts new file mode 100644 index 000000000..9a505e7bb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type own_prefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-own-prefix (pkg: hl7.fhir.r4.core#4.0.1) +export class own_prefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : own_prefixProfile { + return new own_prefixProfile(resource) + } + + static createResource (args: own_prefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: own_prefixProfileParams) : own_prefixProfile { + return own_prefixProfile.from(own_prefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "own-prefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", "own-prefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parameterSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parameterSource.ts new file mode 100644 index 000000000..2f51dea30 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parameterSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type parameterSourceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-parameterSource (pkg: hl7.fhir.r4.core#4.0.1) +export class parameterSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : parameterSourceProfile { + return new parameterSourceProfile(resource) + } + + static createResource (args: parameterSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: parameterSourceProfileParams) : parameterSourceProfile { + return parameterSourceProfile.from(parameterSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "parameterSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource", "parameterSource"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parent.ts new file mode 100644 index 000000000..b6d42910a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parent.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type parentProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent (pkg: hl7.fhir.r4.core#4.0.1) +export class parentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : parentProfile { + return new parentProfile(resource) + } + + static createResource (args: parentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: parentProfileParams) : parentProfile { + return parentProfile.from(parentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "parent"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "parent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", "parent"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partOf.ts new file mode 100644 index 000000000..b147a6b08 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type partOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-partOf (pkg: hl7.fhir.r4.core#4.0.1) +export class partOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-partOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : partOfProfile { + return new partOfProfile(resource) + } + + static createResource (args: partOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-partOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: partOfProfileParams) : partOfProfile { + return partOfProfile.from(partOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "partOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-partOf", "partOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_name.ts new file mode 100644 index 000000000..fb33aff06 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type partner_nameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-partner-name (pkg: hl7.fhir.r4.core#4.0.1) +export class partner_nameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-partner-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : partner_nameProfile { + return new partner_nameProfile(resource) + } + + static createResource (args: partner_nameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-partner-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: partner_nameProfileParams) : partner_nameProfile { + return partner_nameProfile.from(partner_nameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "partner-name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-partner-name", "partner-name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_prefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_prefix.ts new file mode 100644 index 000000000..16d0af55d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_prefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type partner_prefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix (pkg: hl7.fhir.r4.core#4.0.1) +export class partner_prefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : partner_prefixProfile { + return new partner_prefixProfile(resource) + } + + static createResource (args: partner_prefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: partner_prefixProfileParams) : partner_prefixProfile { + return partner_prefixProfile.from(partner_prefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "partner-prefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix", "partner-prefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patientInstruction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patientInstruction.ts new file mode 100644 index 000000000..d80888fdf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patientInstruction.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type patientInstructionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction (pkg: hl7.fhir.r4.core#4.0.1) +export class patientInstructionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : patientInstructionProfile { + return new patientInstructionProfile(resource) + } + + static createResource (args: patientInstructionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: patientInstructionProfileParams) : patientInstructionProfile { + return patientInstructionProfile.from(patientInstructionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLang (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "lang", valueCode: value } as Extension) + return this + } + + public setContent (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "content", valueString: value } as Extension) + return this + } + + public getLang (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getLangExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return ext + } + + public getContent (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getContentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "patientInstruction"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "patientInstruction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction", "patientInstruction"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_record.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_record.ts new file mode 100644 index 000000000..9a411d2b4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_record.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type patient_recordProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record (pkg: hl7.fhir.r4.core#4.0.1) +export class patient_recordProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : patient_recordProfile { + return new patient_recordProfile(resource) + } + + static createResource (args: patient_recordProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: patient_recordProfileParams) : patient_recordProfile { + return patient_recordProfile.from(patient_recordProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "patient-record"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record", "patient-record"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerFunction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerFunction.ts new file mode 100644 index 000000000..616ef0789 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerFunction.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type performerFunctionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-performerFunction (pkg: hl7.fhir.r4.core#4.0.1) +export class performerFunctionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-performerFunction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : performerFunctionProfile { + return new performerFunctionProfile(resource) + } + + static createResource (args: performerFunctionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-performerFunction", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: performerFunctionProfileParams) : performerFunctionProfile { + return performerFunctionProfile.from(performerFunctionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "performerFunction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-performerFunction", "performerFunction"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerOrder.ts new file mode 100644 index 000000000..2dd677778 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerOrder.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type performerOrderProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-performerOrder (pkg: hl7.fhir.r4.core#4.0.1) +export class performerOrderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-performerOrder" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : performerOrderProfile { + return new performerOrderProfile(resource) + } + + static createResource (args: performerOrderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-performerOrder", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: performerOrderProfileParams) : performerOrderProfile { + return performerOrderProfile.from(performerOrderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "performerOrder"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-performerOrder", "performerOrder"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_period.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_period.ts new file mode 100644 index 000000000..236598e4c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_period.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type periodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-period (pkg: hl7.fhir.r4.core#4.0.1) +export class periodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-period" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : periodProfile { + return new periodProfile(resource) + } + + static createResource (args: periodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-period", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: periodProfileParams) : periodProfile { + return periodProfile.from(periodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "period"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-period", "period"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_conceptmap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_conceptmap.ts new file mode 100644 index 000000000..023e5cd89 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_conceptmap.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type permitted_value_conceptmapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap (pkg: hl7.fhir.r4.core#4.0.1) +export class permitted_value_conceptmapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : permitted_value_conceptmapProfile { + return new permitted_value_conceptmapProfile(resource) + } + + static createResource (args: permitted_value_conceptmapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: permitted_value_conceptmapProfileParams) : permitted_value_conceptmapProfile { + return permitted_value_conceptmapProfile.from(permitted_value_conceptmapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "permitted-value-conceptmap"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap", "permitted-value-conceptmap"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_valueset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_valueset.ts new file mode 100644 index 000000000..438a8d071 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_valueset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type permitted_value_valuesetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset (pkg: hl7.fhir.r4.core#4.0.1) +export class permitted_value_valuesetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : permitted_value_valuesetProfile { + return new permitted_value_valuesetProfile(resource) + } + + static createResource (args: permitted_value_valuesetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: permitted_value_valuesetProfileParams) : permitted_value_valuesetProfile { + return permitted_value_valuesetProfile.from(permitted_value_valuesetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "permitted-value-valueset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset", "permitted-value-valueset"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_pertainsToGoal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_pertainsToGoal.ts new file mode 100644 index 000000000..51265b2f8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_pertainsToGoal.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type pertainsToGoalProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal (pkg: hl7.fhir.r4.core#4.0.1) +export class pertainsToGoalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : pertainsToGoalProfile { + return new pertainsToGoalProfile(resource) + } + + static createResource (args: pertainsToGoalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: pertainsToGoalProfileParams) : pertainsToGoalProfile { + return pertainsToGoalProfile.from(pertainsToGoalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "pertainsToGoal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal", "pertainsToGoal"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precision.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precision.ts new file mode 100644 index 000000000..cb1382ccb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precision.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type precisionProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/quantity-precision (pkg: hl7.fhir.r4.core#4.0.1) +export class precisionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/quantity-precision" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : precisionProfile { + return new precisionProfile(resource) + } + + static createResource (args: precisionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/quantity-precision", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: precisionProfileParams) : precisionProfile { + return precisionProfile.from(precisionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "precision"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/quantity-precision", "precision"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precondition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precondition.ts new file mode 100644 index 000000000..f644a397a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precondition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type preconditionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-precondition (pkg: hl7.fhir.r4.core#4.0.1) +export class preconditionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : preconditionProfile { + return new preconditionProfile(resource) + } + + static createResource (args: preconditionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: preconditionProfileParams) : preconditionProfile { + return preconditionProfile.from(preconditionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "precondition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition", "precondition"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferenceType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferenceType.ts new file mode 100644 index 000000000..019e5b82c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferenceType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type preferenceTypeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-preferenceType (pkg: hl7.fhir.r4.core#4.0.1) +export class preferenceTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-preferenceType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : preferenceTypeProfile { + return new preferenceTypeProfile(resource) + } + + static createResource (args: preferenceTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-preferenceType", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: preferenceTypeProfileParams) : preferenceTypeProfile { + return preferenceTypeProfile.from(preferenceTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "preferenceType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-preferenceType", "preferenceType"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferred.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferred.ts new file mode 100644 index 000000000..189bd2359 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferred.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type preferredProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-preferred (pkg: hl7.fhir.r4.core#4.0.1) +export class preferredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-preferred" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : preferredProfile { + return new preferredProfile(resource) + } + + static createResource (args: preferredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-preferred", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: preferredProfileParams) : preferredProfile { + return preferredProfile.from(preferredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "preferred"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-preferred", "preferred"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferredContact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferredContact.ts new file mode 100644 index 000000000..24991bb42 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferredContact.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type preferredContactProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-preferredContact (pkg: hl7.fhir.r4.core#4.0.1) +export class preferredContactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-preferredContact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : preferredContactProfile { + return new preferredContactProfile(resource) + } + + static createResource (args: preferredContactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-preferredContact", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: preferredContactProfileParams) : preferredContactProfile { + return preferredContactProfile.from(preferredContactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "preferredContact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-preferredContact", "preferredContact"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_primaryInd.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_primaryInd.ts new file mode 100644 index 000000000..c21dc884f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_primaryInd.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type primaryIndProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd (pkg: hl7.fhir.r4.core#4.0.1) +export class primaryIndProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : primaryIndProfile { + return new primaryIndProfile(resource) + } + + static createResource (args: primaryIndProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: primaryIndProfileParams) : primaryIndProfile { + return primaryIndProfile.from(primaryIndProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "primaryInd"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd", "primaryInd"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_priority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_priority.ts new file mode 100644 index 000000000..64ec8e246 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_priority.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type priorityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/flag-priority (pkg: hl7.fhir.r4.core#4.0.1) +export class priorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/flag-priority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : priorityProfile { + return new priorityProfile(resource) + } + + static createResource (args: priorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/flag-priority", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: priorityProfileParams) : priorityProfile { + return priorityProfile.from(priorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "priority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/flag-priority", "priority"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_processingTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_processingTime.ts new file mode 100644 index 000000000..988f67737 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_processingTime.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-core/Duration"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-processingTime (pkg: hl7.fhir.r4.core#4.0.1) +export class processingTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-processingTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : processingTimeProfile { + return new processingTimeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-processingTime", + } as unknown as Extension + return resource + } + + static create () : processingTimeProfile { + return processingTimeProfile.from(processingTimeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "processingTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-processingTime", "processingTime"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined || r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valuePeriod, valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_proficiency.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_proficiency.ts new file mode 100644 index 000000000..d918861a6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_proficiency.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-proficiency (pkg: hl7.fhir.r4.core#4.0.1) +export class proficiencyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-proficiency" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : proficiencyProfile { + return new proficiencyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-proficiency", + } as unknown as Extension + return resource + } + + static create () : proficiencyProfile { + return proficiencyProfile.from(proficiencyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLevel (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "level", valueCoding: value } as Extension) + return this + } + + public setType (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCoding: value } as Extension) + return this + } + + public getLevel (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "level") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "level") + return ext + } + + public getType (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "proficiency"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-proficiency", "proficiency"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile.ts new file mode 100644 index 000000000..bb2e260d6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type profileProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationdefinition-profile (pkg: hl7.fhir.r4.core#4.0.1) +export class profileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : profileProfile { + return new profileProfile(resource) + } + + static createResource (args: profileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: profileProfileParams) : profileProfile { + return profileProfile.from(profileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "profile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile", "profile"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile_element.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile_element.ts new file mode 100644 index 000000000..d846fbe11 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile_element.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type profile_elementProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element (pkg: hl7.fhir.r4.core#4.0.1) +export class profile_elementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : profile_elementProfile { + return new profile_elementProfile(resource) + } + + static createResource (args: profile_elementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: profile_elementProfileParams) : profile_elementProfile { + return profile_elementProfile.from(profile_elementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "profile-element"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element", "profile-element"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_progressStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_progressStatus.ts new file mode 100644 index 000000000..ff073c1ff --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_progressStatus.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type progressStatusProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-progressStatus (pkg: hl7.fhir.r4.core#4.0.1) +export class progressStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : progressStatusProfile { + return new progressStatusProfile(resource) + } + + static createResource (args: progressStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: progressStatusProfileParams) : progressStatusProfile { + return progressStatusProfile.from(progressStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "progressStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus", "progressStatus"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_prohibited.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_prohibited.ts new file mode 100644 index 000000000..643e84361 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_prohibited.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type prohibitedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited (pkg: hl7.fhir.r4.core#4.0.1) +export class prohibitedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : prohibitedProfile { + return new prohibitedProfile(resource) + } + + static createResource (args: prohibitedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: prohibitedProfileParams) : prohibitedProfile { + return prohibitedProfile.from(prohibitedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "prohibited"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited", "prohibited"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_qualityOfEvidence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_qualityOfEvidence.ts new file mode 100644 index 000000000..703a91b8f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_qualityOfEvidence.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type qualityOfEvidenceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence (pkg: hl7.fhir.r4.core#4.0.1) +export class qualityOfEvidenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : qualityOfEvidenceProfile { + return new qualityOfEvidenceProfile(resource) + } + + static createResource (args: qualityOfEvidenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: qualityOfEvidenceProfileParams) : qualityOfEvidenceProfile { + return qualityOfEvidenceProfile.from(qualityOfEvidenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "qualityOfEvidence"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence", "qualityOfEvidence"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_question.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_question.ts new file mode 100644 index 000000000..959a8cd4d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_question.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type questionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question (pkg: hl7.fhir.r4.core#4.0.1) +export class questionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-question" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : questionProfile { + return new questionProfile(resource) + } + + static createResource (args: questionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: questionProfileParams) : questionProfile { + return questionProfile.from(questionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "question"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", "question"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_questionnaireRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_questionnaireRequest.ts new file mode 100644 index 000000000..3d1338fd2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_questionnaireRequest.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type questionnaireRequestProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest (pkg: hl7.fhir.r4.core#4.0.1) +export class questionnaireRequestProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : questionnaireRequestProfile { + return new questionnaireRequestProfile(resource) + } + + static createResource (args: questionnaireRequestProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: questionnaireRequestProfileParams) : questionnaireRequestProfile { + return questionnaireRequestProfile.from(questionnaireRequestProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "questionnaireRequest"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest", "questionnaireRequest"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reagent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reagent.ts new file mode 100644 index 000000000..7faa34cda --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reagent.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reagentProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-reagent (pkg: hl7.fhir.r4.core#4.0.1) +export class reagentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-reagent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reagentProfile { + return new reagentProfile(resource) + } + + static createResource (args: reagentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-reagent", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: reagentProfileParams) : reagentProfile { + return reagentProfile.from(reagentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reagent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-reagent", "reagent"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reason.ts new file mode 100644 index 000000000..63d74de20 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason (pkg: hl7.fhir.r4.core#4.0.1) +export class reasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonProfile { + return new reasonProfile(resource) + } + + static createResource (args: reasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonProfileParams) : reasonProfile { + return reasonProfile.from(reasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason", "reason"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCancelled.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCancelled.ts new file mode 100644 index 000000000..174ed039c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCancelled.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonCancelledProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled (pkg: hl7.fhir.r4.core#4.0.1) +export class reasonCancelledProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonCancelledProfile { + return new reasonCancelledProfile(resource) + } + + static createResource (args: reasonCancelledProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonCancelledProfileParams) : reasonCancelledProfile { + return reasonCancelledProfile.from(reasonCancelledProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonCancelled"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled", "reasonCancelled"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCode.ts new file mode 100644 index 000000000..ea4032c67 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-reasonCode (pkg: hl7.fhir.r4.core#4.0.1) +export class reasonCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonCodeProfile { + return new reasonCodeProfile(resource) + } + + static createResource (args: reasonCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonCodeProfileParams) : reasonCodeProfile { + return reasonCodeProfile.from(reasonCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode", "reasonCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonReference.ts new file mode 100644 index 000000000..1dc87dc71 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-reasonReference (pkg: hl7.fhir.r4.core#4.0.1) +export class reasonReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonReferenceProfile { + return new reasonReferenceProfile(resource) + } + + static createResource (args: reasonReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: reasonReferenceProfileParams) : reasonReferenceProfile { + return reasonReferenceProfile.from(reasonReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference", "reasonReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRefuted.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRefuted.ts new file mode 100644 index 000000000..2d35f3c58 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRefuted.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonRefutedProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted (pkg: hl7.fhir.r4.core#4.0.1) +export class reasonRefutedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonRefutedProfile { + return new reasonRefutedProfile(resource) + } + + static createResource (args: reasonRefutedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonRefutedProfileParams) : reasonRefutedProfile { + return reasonRefutedProfile.from(reasonRefutedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonRefuted"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted", "reasonRefuted"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRejected.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRejected.ts new file mode 100644 index 000000000..28c983c74 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRejected.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonRejectedProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-reasonRejected (pkg: hl7.fhir.r4.core#4.0.1) +export class reasonRejectedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonRejectedProfile { + return new reasonRejectedProfile(resource) + } + + static createResource (args: reasonRejectedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonRejectedProfileParams) : reasonRejectedProfile { + return reasonRejectedProfile.from(reasonRejectedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonRejected"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected", "reasonRejected"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingOrganization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingOrganization.ts new file mode 100644 index 000000000..f59b94c6f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingOrganization.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type receivingOrganizationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization (pkg: hl7.fhir.r4.core#4.0.1) +export class receivingOrganizationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : receivingOrganizationProfile { + return new receivingOrganizationProfile(resource) + } + + static createResource (args: receivingOrganizationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: receivingOrganizationProfileParams) : receivingOrganizationProfile { + return receivingOrganizationProfile.from(receivingOrganizationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "receivingOrganization"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization", "receivingOrganization"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingPerson.ts new file mode 100644 index 000000000..9e7d714b3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type receivingPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson (pkg: hl7.fhir.r4.core#4.0.1) +export class receivingPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : receivingPersonProfile { + return new receivingPersonProfile(resource) + } + + static createResource (args: receivingPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: receivingPersonProfileParams) : receivingPersonProfile { + return receivingPersonProfile.from(receivingPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "receivingPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson", "receivingPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientLanguage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientLanguage.ts new file mode 100644 index 000000000..8e0e6f774 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientLanguage.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type recipientLanguageProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage (pkg: hl7.fhir.r4.core#4.0.1) +export class recipientLanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : recipientLanguageProfile { + return new recipientLanguageProfile(resource) + } + + static createResource (args: recipientLanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: recipientLanguageProfileParams) : recipientLanguageProfile { + return recipientLanguageProfile.from(recipientLanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "recipientLanguage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage", "recipientLanguage"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientType.ts new file mode 100644 index 000000000..e249e1e6d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type recipientTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-recipientType (pkg: hl7.fhir.r4.core#4.0.1) +export class recipientTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-recipientType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : recipientTypeProfile { + return new recipientTypeProfile(resource) + } + + static createResource (args: recipientTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-recipientType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: recipientTypeProfileParams) : recipientTypeProfile { + return recipientTypeProfile.from(recipientTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "recipientType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-recipientType", "recipientType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reference.ts new file mode 100644 index 000000000..3a5bd00a6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type referenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-reference (pkg: hl7.fhir.r4.core#4.0.1) +export class referenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : referenceProfile { + return new referenceProfile(resource) + } + + static createResource (args: referenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-reference", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: referenceProfileParams) : referenceProfile { + return referenceProfile.from(referenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-reference", "reference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceFilter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceFilter.ts new file mode 100644 index 000000000..9e7ebbf3f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceFilter.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type referenceFilterProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter (pkg: hl7.fhir.r4.core#4.0.1) +export class referenceFilterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : referenceFilterProfile { + return new referenceFilterProfile(resource) + } + + static createResource (args: referenceFilterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: referenceFilterProfileParams) : referenceFilterProfile { + return referenceFilterProfile.from(referenceFilterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "referenceFilter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", "referenceFilter"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceProfile.ts new file mode 100644 index 000000000..bfbf69df8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type referenceProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile (pkg: hl7.fhir.r4.core#4.0.1) +export class referenceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : referenceProfileProfile { + return new referenceProfileProfile(resource) + } + + static createResource (args: referenceProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: referenceProfileProfileParams) : referenceProfileProfile { + return referenceProfileProfile.from(referenceProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "referenceProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile", "referenceProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceResource.ts new file mode 100644 index 000000000..15689c36c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceResource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type referenceResourceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource (pkg: hl7.fhir.r4.core#4.0.1) +export class referenceResourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : referenceResourceProfile { + return new referenceResourceProfile(resource) + } + + static createResource (args: referenceResourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: referenceResourceProfileParams) : referenceResourceProfile { + return referenceResourceProfile.from(referenceResourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "referenceResource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource", "referenceResource"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_regex.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_regex.ts new file mode 100644 index 000000000..55fc202ca --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_regex.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type regexProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/regex (pkg: hl7.fhir.r4.core#4.0.1) +export class regexProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/regex" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : regexProfile { + return new regexProfile(resource) + } + + static createResource (args: regexProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/regex", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: regexProfileParams) : regexProfile { + return regexProfile.from(regexProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "regex"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/regex", "regex"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_related.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_related.ts new file mode 100644 index 000000000..54dc023fb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_related.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relatedProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-related (pkg: hl7.fhir.r4.core#4.0.1) +export class relatedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-related" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relatedProfile { + return new relatedProfile(resource) + } + + static createResource (args: relatedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-related", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: relatedProfileParams) : relatedProfile { + return relatedProfile.from(relatedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "related"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-related", "related"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedArtifact.ts new file mode 100644 index 000000000..df3ce5858 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedArtifact.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { RelatedArtifact } from "../../hl7-fhir-r4-core/RelatedArtifact"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relatedArtifactProfileParams = { + valueRelatedArtifact: RelatedArtifact; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact (pkg: hl7.fhir.r4.core#4.0.1) +export class relatedArtifactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relatedArtifactProfile { + return new relatedArtifactProfile(resource) + } + + static createResource (args: relatedArtifactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact", + valueRelatedArtifact: args.valueRelatedArtifact, + } as unknown as Extension + return resource + } + + static create (args: relatedArtifactProfileParams) : relatedArtifactProfile { + return relatedArtifactProfile.from(relatedArtifactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueRelatedArtifact () : RelatedArtifact | undefined { + return this.resource.valueRelatedArtifact as RelatedArtifact | undefined + } + + setValueRelatedArtifact (value: RelatedArtifact) : this { + Object.assign(this.resource, { valueRelatedArtifact: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "relatedArtifact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact", "relatedArtifact"); if (e) errors.push(e) } + if (!(r["valueRelatedArtifact"] !== undefined)) { + errors.push("value: at least one of valueRelatedArtifact is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedPerson.ts new file mode 100644 index 000000000..bc0fef460 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relatedPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-relatedPerson (pkg: hl7.fhir.r4.core#4.0.1) +export class relatedPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relatedPersonProfile { + return new relatedPersonProfile(resource) + } + + static createResource (args: relatedPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: relatedPersonProfileParams) : relatedPersonProfile { + return relatedPersonProfile.from(relatedPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "relatedPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson", "relatedPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relationship.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relationship.ts new file mode 100644 index 000000000..592f337a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relationship.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relationshipProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-relationship (pkg: hl7.fhir.r4.core#4.0.1) +export class relationshipProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-relationship" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relationshipProfile { + return new relationshipProfile(resource) + } + + static createResource (args: relationshipProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-relationship", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: relationshipProfileParams) : relationshipProfile { + return relationshipProfile.from(relationshipProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setTarget (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "target", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getTarget (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getTargetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "relationship"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "relationship"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-relationship", "relationship"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relativeDateTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relativeDateTime.ts new file mode 100644 index 000000000..f255a7225 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relativeDateTime.ts @@ -0,0 +1,137 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-core/Duration"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relativeDateTimeProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime (pkg: hl7.fhir.r4.core#4.0.1) +export class relativeDateTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relativeDateTimeProfile { + return new relativeDateTimeProfile(resource) + } + + static createResource (args: relativeDateTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: relativeDateTimeProfileParams) : relativeDateTimeProfile { + return relativeDateTimeProfile.from(relativeDateTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTarget (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "target", valueReference: value } as Extension) + return this + } + + public setTargetPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "targetPath", valueString: value } as Extension) + return this + } + + public setRelationship (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "relationship", valueCode: value } as Extension) + return this + } + + public setOffset (value: Duration): this { + const list = (this.resource.extension ??= []) + list.push({ url: "offset", valueDuration: value } as Extension) + return this + } + + public getTarget (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getTargetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return ext + } + + public getTargetPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetPath") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTargetPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetPath") + return ext + } + + public getRelationship (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getRelationshipExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return ext + } + + public getOffset (): Duration | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return (ext as Record | undefined)?.valueDuration as Duration | undefined + } + + public getOffsetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "relativeDateTime"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "relativeDateTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime", "relativeDateTime"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relevantHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relevantHistory.ts new file mode 100644 index 000000000..fe2492ccc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relevantHistory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relevantHistoryProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-relevantHistory (pkg: hl7.fhir.r4.core#4.0.1) +export class relevantHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-relevantHistory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relevantHistoryProfile { + return new relevantHistoryProfile(resource) + } + + static createResource (args: relevantHistoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-relevantHistory", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: relevantHistoryProfileParams) : relevantHistoryProfile { + return relevantHistoryProfile.from(relevantHistoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "relevantHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-relevantHistory", "relevantHistory"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_religion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_religion.ts new file mode 100644 index 000000000..26bc82755 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_religion.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type religionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-religion (pkg: hl7.fhir.r4.core#4.0.1) +export class religionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-religion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : religionProfile { + return new religionProfile(resource) + } + + static createResource (args: religionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-religion", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: religionProfileParams) : religionProfile { + return religionProfile.from(religionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "religion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-religion", "religion"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replacedby.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replacedby.ts new file mode 100644 index 000000000..a33a8b0b4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replacedby.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type replacedbyProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-replacedby (pkg: hl7.fhir.r4.core#4.0.1) +export class replacedbyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : replacedbyProfile { + return new replacedbyProfile(resource) + } + + static createResource (args: replacedbyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: replacedbyProfileParams) : replacedbyProfile { + return replacedbyProfile.from(replacedbyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "replacedby"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", "replacedby"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replaces.ts new file mode 100644 index 000000000..05ab79de2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replaces.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type replacesProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/task-replaces (pkg: hl7.fhir.r4.core#4.0.1) +export class replacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/task-replaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : replacesProfile { + return new replacesProfile(resource) + } + + static createResource (args: replacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/task-replaces", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: replacesProfileParams) : replacesProfile { + return replacesProfile.from(replacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "replaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/task-replaces", "replaces"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_researchStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_researchStudy.ts new file mode 100644 index 000000000..fd50ef0a1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_researchStudy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type researchStudyProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy (pkg: hl7.fhir.r4.core#4.0.1) +export class researchStudyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : researchStudyProfile { + return new researchStudyProfile(resource) + } + + static createResource (args: researchStudyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: researchStudyProfileParams) : researchStudyProfile { + return researchStudyProfile.from(researchStudyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "researchStudy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy", "researchStudy"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_resolutionAge.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_resolutionAge.ts new file mode 100644 index 000000000..af384239e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_resolutionAge.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-core/Age"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type resolutionAgeProfileParams = { + valueAge: Age; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge (pkg: hl7.fhir.r4.core#4.0.1) +export class resolutionAgeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : resolutionAgeProfile { + return new resolutionAgeProfile(resource) + } + + static createResource (args: resolutionAgeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge", + valueAge: args.valueAge, + } as unknown as Extension + return resource + } + + static create (args: resolutionAgeProfileParams) : resolutionAgeProfile { + return resolutionAgeProfile.from(resolutionAgeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAge () : Age | undefined { + return this.resource.valueAge as Age | undefined + } + + setValueAge (value: Age) : this { + Object.assign(this.resource, { valueAge: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "resolutionAge"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge", "resolutionAge"); if (e) errors.push(e) } + if (!(r["valueAge"] !== undefined)) { + errors.push("value: at least one of valueAge is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reviewer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reviewer.ts new file mode 100644 index 000000000..abf67d2f1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reviewer.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reviewerProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer (pkg: hl7.fhir.r4.core#4.0.1) +export class reviewerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reviewerProfile { + return new reviewerProfile(resource) + } + + static createResource (args: reviewerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: reviewerProfileParams) : reviewerProfile { + return reviewerProfile.from(reviewerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reviewer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer", "reviewer"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_risk.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_risk.ts new file mode 100644 index 000000000..809266007 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_risk.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type riskProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk (pkg: hl7.fhir.r4.core#4.0.1) +export class riskProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : riskProfile { + return new riskProfile(resource) + } + + static createResource (args: riskProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: riskProfileParams) : riskProfile { + return riskProfile.from(riskProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "risk"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk", "risk"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ruledOut.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ruledOut.ts new file mode 100644 index 000000000..5ac54bf7a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ruledOut.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ruledOutProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-ruledOut (pkg: hl7.fhir.r4.core#4.0.1) +export class ruledOutProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-ruledOut" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ruledOutProfile { + return new ruledOutProfile(resource) + } + + static createResource (args: ruledOutProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-ruledOut", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ruledOutProfileParams) : ruledOutProfile { + return ruledOutProfile.from(ruledOutProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ruledOut"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-ruledOut", "ruledOut"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_rules_text.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_rules_text.ts new file mode 100644 index 000000000..e80c3161c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_rules_text.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type rules_textProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-rules-text (pkg: hl7.fhir.r4.core#4.0.1) +export class rules_textProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-rules-text" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : rules_textProfile { + return new rules_textProfile(resource) + } + + static createResource (args: rules_textProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-rules-text", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: rules_textProfileParams) : rules_textProfile { + return rules_textProfile.from(rules_textProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "rules-text"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-rules-text", "rules-text"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_schedule.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_schedule.ts new file mode 100644 index 000000000..a09407ab4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_schedule.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type scheduleProfileParams = { + valueTiming: Timing; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-schedule (pkg: hl7.fhir.r4.core#4.0.1) +export class scheduleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-schedule" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : scheduleProfile { + return new scheduleProfile(resource) + } + + static createResource (args: scheduleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-schedule", + valueTiming: args.valueTiming, + } as unknown as Extension + return resource + } + + static create (args: scheduleProfileParams) : scheduleProfile { + return scheduleProfile.from(scheduleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueTiming () : Timing | undefined { + return this.resource.valueTiming as Timing | undefined + } + + setValueTiming (value: Timing) : this { + Object.assign(this.resource, { valueTiming: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "schedule"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-schedule", "schedule"); if (e) errors.push(e) } + if (!(r["valueTiming"] !== undefined)) { + errors.push("value: at least one of valueTiming is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sctdescid.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sctdescid.ts new file mode 100644 index 000000000..1a76da337 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sctdescid.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sctdescidProfileParams = { + valueId: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/coding-sctdescid (pkg: hl7.fhir.r4.core#4.0.1) +export class sctdescidProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/coding-sctdescid" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sctdescidProfile { + return new sctdescidProfile(resource) + } + + static createResource (args: sctdescidProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/coding-sctdescid", + valueId: args.valueId, + } as unknown as Extension + return resource + } + + static create (args: sctdescidProfileParams) : sctdescidProfile { + return sctdescidProfile.from(sctdescidProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueId () : string | undefined { + return this.resource.valueId as string | undefined + } + + setValueId (value: string) : this { + Object.assign(this.resource, { valueId: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sctdescid"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/coding-sctdescid", "sctdescid"); if (e) errors.push(e) } + if (!(r["valueId"] !== undefined)) { + errors.push("value: at least one of valueId is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_search_parameter_combination.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_search_parameter_combination.ts new file mode 100644 index 000000000..7bb43c669 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_search_parameter_combination.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type search_parameter_combinationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination (pkg: hl7.fhir.r4.core#4.0.1) +export class search_parameter_combinationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : search_parameter_combinationProfile { + return new search_parameter_combinationProfile(resource) + } + + static createResource (args: search_parameter_combinationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: search_parameter_combinationProfileParams) : search_parameter_combinationProfile { + return search_parameter_combinationProfile.from(search_parameter_combinationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setRequired (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "required", valueString: value } as Extension) + return this + } + + public setOptional (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "optional", valueString: value } as Extension) + return this + } + + public getRequired (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "required") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRequiredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "required") + return ext + } + + public getOptional (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "optional") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getOptionalExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "optional") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "search-parameter-combination"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "search-parameter-combination"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", "search-parameter-combination"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_secondaryFinding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_secondaryFinding.ts new file mode 100644 index 000000000..f466bcb45 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_secondaryFinding.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type secondaryFindingProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding (pkg: hl7.fhir.r4.core#4.0.1) +export class secondaryFindingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : secondaryFindingProfile { + return new secondaryFindingProfile(resource) + } + + static createResource (args: secondaryFindingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: secondaryFindingProfileParams) : secondaryFindingProfile { + return secondaryFindingProfile.from(secondaryFindingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "secondaryFinding"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding", "secondaryFinding"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_section_subject.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_section_subject.ts new file mode 100644 index 000000000..79b8cbe48 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_section_subject.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type section_subjectProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/composition-section-subject (pkg: hl7.fhir.r4.core#4.0.1) +export class section_subjectProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/composition-section-subject" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : section_subjectProfile { + return new section_subjectProfile(resource) + } + + static createResource (args: section_subjectProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/composition-section-subject", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: section_subjectProfileParams) : section_subjectProfile { + return section_subjectProfile.from(section_subjectProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "section-subject"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/composition-section-subject", "section-subject"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_security_category.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_security_category.ts new file mode 100644 index 000000000..91793e9c5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_security_category.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type security_categoryProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category (pkg: hl7.fhir.r4.core#4.0.1) +export class security_categoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : security_categoryProfile { + return new security_categoryProfile(resource) + } + + static createResource (args: security_categoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: security_categoryProfileParams) : security_categoryProfile { + return security_categoryProfile.from(security_categoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "security-category"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", "security-category"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_selector.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_selector.ts new file mode 100644 index 000000000..37e81b627 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_selector.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type selectorProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-selector (pkg: hl7.fhir.r4.core#4.0.1) +export class selectorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : selectorProfile { + return new selectorProfile(resource) + } + + static createResource (args: selectorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: selectorProfileParams) : selectorProfile { + return selectorProfile.from(selectorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "selector"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector", "selector"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequelTo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequelTo.ts new file mode 100644 index 000000000..15a7d9268 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequelTo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sequelToProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-sequelTo (pkg: hl7.fhir.r4.core#4.0.1) +export class sequelToProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-sequelTo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sequelToProfile { + return new sequelToProfile(resource) + } + + static createResource (args: sequelToProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-sequelTo", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: sequelToProfileParams) : sequelToProfile { + return sequelToProfile.from(sequelToProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sequelTo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-sequelTo", "sequelTo"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequenceNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequenceNumber.ts new file mode 100644 index 000000000..937daa45a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequenceNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sequenceNumberProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber (pkg: hl7.fhir.r4.core#4.0.1) +export class sequenceNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sequenceNumberProfile { + return new sequenceNumberProfile(resource) + } + + static createResource (args: sequenceNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: sequenceNumberProfileParams) : sequenceNumberProfile { + return sequenceNumberProfile.from(sequenceNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sequenceNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber", "sequenceNumber"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_severity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_severity.ts new file mode 100644 index 000000000..f556b5c2e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_severity.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type severityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity (pkg: hl7.fhir.r4.core#4.0.1) +export class severityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : severityProfile { + return new severityProfile(resource) + } + + static createResource (args: severityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: severityProfileParams) : severityProfile { + return severityProfile.from(severityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "severity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity", "severity"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sibling.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sibling.ts new file mode 100644 index 000000000..da4c26d11 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sibling.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type siblingProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling (pkg: hl7.fhir.r4.core#4.0.1) +export class siblingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : siblingProfile { + return new siblingProfile(resource) + } + + static createResource (args: siblingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: siblingProfileParams) : siblingProfile { + return siblingProfile.from(siblingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "sibling"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "sibling"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", "sibling"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signature.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signature.ts new file mode 100644 index 000000000..c877b7eda --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signature.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Signature } from "../../hl7-fhir-r4-core/Signature"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type signatureProfileParams = { + valueSignature: Signature; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature (pkg: hl7.fhir.r4.core#4.0.1) +export class signatureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : signatureProfile { + return new signatureProfile(resource) + } + + static createResource (args: signatureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", + valueSignature: args.valueSignature, + } as unknown as Extension + return resource + } + + static create (args: signatureProfileParams) : signatureProfile { + return signatureProfile.from(signatureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueSignature () : Signature | undefined { + return this.resource.valueSignature as Signature | undefined + } + + setValueSignature (value: Signature) : this { + Object.assign(this.resource, { valueSignature: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "signature"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", "signature"); if (e) errors.push(e) } + if (!(r["valueSignature"] !== undefined)) { + errors.push("value: at least one of valueSignature is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signatureRequired.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signatureRequired.ts new file mode 100644 index 000000000..600bd15fb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signatureRequired.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type signatureRequiredProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired (pkg: hl7.fhir.r4.core#4.0.1) +export class signatureRequiredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : signatureRequiredProfile { + return new signatureRequiredProfile(resource) + } + + static createResource (args: signatureRequiredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: signatureRequiredProfileParams) : signatureRequiredProfile { + return signatureRequiredProfile.from(signatureRequiredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "signatureRequired"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", "signatureRequired"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sliderStepValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sliderStepValue.ts new file mode 100644 index 000000000..04a713ae7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sliderStepValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sliderStepValueProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue (pkg: hl7.fhir.r4.core#4.0.1) +export class sliderStepValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sliderStepValueProfile { + return new sliderStepValueProfile(resource) + } + + static createResource (args: sliderStepValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: sliderStepValueProfileParams) : sliderStepValueProfile { + return sliderStepValueProfile.from(sliderStepValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sliderStepValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", "sliderStepValue"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sourceReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sourceReference.ts new file mode 100644 index 000000000..ebcb94367 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sourceReference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sourceReferenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-sourceReference (pkg: hl7.fhir.r4.core#4.0.1) +export class sourceReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sourceReferenceProfile { + return new sourceReferenceProfile(resource) + } + + static createResource (args: sourceReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: sourceReferenceProfileParams) : sourceReferenceProfile { + return sourceReferenceProfile.from(sourceReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sourceReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference", "sourceReference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specialHandling.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specialHandling.ts new file mode 100644 index 000000000..bc8f96bcb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specialHandling.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type specialHandlingProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-specialHandling (pkg: hl7.fhir.r4.core#4.0.1) +export class specialHandlingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : specialHandlingProfile { + return new specialHandlingProfile(resource) + } + + static createResource (args: specialHandlingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: specialHandlingProfileParams) : specialHandlingProfile { + return specialHandlingProfile.from(specialHandlingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "specialHandling"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", "specialHandling"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_special_status.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_special_status.ts new file mode 100644 index 000000000..4085333e2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_special_status.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type special_statusProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-special-status (pkg: hl7.fhir.r4.core#4.0.1) +export class special_statusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-special-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : special_statusProfile { + return new special_statusProfile(resource) + } + + static createResource (args: special_statusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-special-status", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: special_statusProfileParams) : special_statusProfile { + return special_statusProfile.from(special_statusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "special-status"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-special-status", "special-status"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specimenCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specimenCode.ts new file mode 100644 index 000000000..bc80a95b6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specimenCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type specimenCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-specimenCode (pkg: hl7.fhir.r4.core#4.0.1) +export class specimenCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-specimenCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : specimenCodeProfile { + return new specimenCodeProfile(resource) + } + + static createResource (args: specimenCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-specimenCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: specimenCodeProfileParams) : specimenCodeProfile { + return specimenCodeProfile.from(specimenCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "specimenCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-specimenCode", "specimenCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_standards_status.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_standards_status.ts new file mode 100644 index 000000000..16c2ee267 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_standards_status.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type standards_statusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status (pkg: hl7.fhir.r4.core#4.0.1) +export class standards_statusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : standards_statusProfile { + return new standards_statusProfile(resource) + } + + static createResource (args: standards_statusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: standards_statusProfileParams) : standards_statusProfile { + return standards_statusProfile.from(standards_statusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "standards-status"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "standards-status"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_statusReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_statusReason.ts new file mode 100644 index 000000000..5c6087fd8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_statusReason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type statusReasonProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-statusReason (pkg: hl7.fhir.r4.core#4.0.1) +export class statusReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-statusReason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : statusReasonProfile { + return new statusReasonProfile(resource) + } + + static createResource (args: statusReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-statusReason", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: statusReasonProfileParams) : statusReasonProfile { + return statusReasonProfile.from(statusReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "statusReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-statusReason", "statusReason"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_steward.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_steward.ts new file mode 100644 index 000000000..f6a269b71 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_steward.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type stewardProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-steward (pkg: hl7.fhir.r4.core#4.0.1) +export class stewardProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-steward" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : stewardProfile { + return new stewardProfile(resource) + } + + static createResource (args: stewardProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-steward", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: stewardProfileParams) : stewardProfile { + return stewardProfile.from(stewardProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "steward"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-steward", "steward"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_strengthOfRecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_strengthOfRecommendation.ts new file mode 100644 index 000000000..f2dcda7b6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_strengthOfRecommendation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type strengthOfRecommendationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation (pkg: hl7.fhir.r4.core#4.0.1) +export class strengthOfRecommendationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : strengthOfRecommendationProfile { + return new strengthOfRecommendationProfile(resource) + } + + static createResource (args: strengthOfRecommendationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: strengthOfRecommendationProfileParams) : strengthOfRecommendationProfile { + return strengthOfRecommendationProfile.from(strengthOfRecommendationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "strengthOfRecommendation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation", "strengthOfRecommendation"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_style.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_style.ts new file mode 100644 index 000000000..521299263 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_style.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type styleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-style (pkg: hl7.fhir.r4.core#4.0.1) +export class styleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-style" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : styleProfile { + return new styleProfile(resource) + } + + static createResource (args: styleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-style", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: styleProfileParams) : styleProfile { + return styleProfile.from(styleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "style"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-style", "style"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_styleSensitive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_styleSensitive.ts new file mode 100644 index 000000000..2f719786a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_styleSensitive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type styleSensitiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive (pkg: hl7.fhir.r4.core#4.0.1) +export class styleSensitiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : styleSensitiveProfile { + return new styleSensitiveProfile(resource) + } + + static createResource (args: styleSensitiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: styleSensitiveProfileParams) : styleSensitiveProfile { + return styleSensitiveProfile.from(styleSensitiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "styleSensitive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", "styleSensitive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_substanceExposureRisk.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_substanceExposureRisk.ts new file mode 100644 index 000000000..4e768051b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_substanceExposureRisk.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type substanceExposureRiskProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk (pkg: hl7.fhir.r4.core#4.0.1) +export class substanceExposureRiskProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : substanceExposureRiskProfile { + return new substanceExposureRiskProfile(resource) + } + + static createResource (args: substanceExposureRiskProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: substanceExposureRiskProfileParams) : substanceExposureRiskProfile { + return substanceExposureRiskProfile.from(substanceExposureRiskProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setSubstance (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "substance", valueCodeableConcept: value } as Extension) + return this + } + + public setExposureRisk (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "exposureRisk", valueCodeableConcept: value } as Extension) + return this + } + + public getSubstance (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "substance") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSubstanceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "substance") + return ext + } + + public getExposureRisk (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "exposureRisk") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getExposureRiskExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "exposureRisk") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "substanceExposureRisk"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "substanceExposureRisk"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk", "substanceExposureRisk"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summary.ts new file mode 100644 index 000000000..ee371679b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summary.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type summaryProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-summary (pkg: hl7.fhir.r4.core#4.0.1) +export class summaryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : summaryProfile { + return new summaryProfile(resource) + } + + static createResource (args: summaryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: summaryProfileParams) : summaryProfile { + return summaryProfile.from(summaryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "summary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary", "summary"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summaryOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summaryOf.ts new file mode 100644 index 000000000..3e9ad850d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summaryOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type summaryOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf (pkg: hl7.fhir.r4.core#4.0.1) +export class summaryOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : summaryOfProfile { + return new summaryOfProfile(resource) + } + + static createResource (args: summaryOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: summaryOfProfileParams) : summaryOfProfile { + return summaryOfProfile.from(summaryOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "summaryOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf", "summaryOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supplement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supplement.ts new file mode 100644 index 000000000..ba6680faf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supplement.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type supplementProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-supplement (pkg: hl7.fhir.r4.core#4.0.1) +export class supplementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-supplement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : supplementProfile { + return new supplementProfile(resource) + } + + static createResource (args: supplementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: supplementProfileParams) : supplementProfile { + return supplementProfile.from(supplementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "supplement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-supplement", "supplement"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportLink.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportLink.ts new file mode 100644 index 000000000..e214c314e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportLink.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type supportLinkProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink (pkg: hl7.fhir.r4.core#4.0.1) +export class supportLinkProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : supportLinkProfile { + return new supportLinkProfile(resource) + } + + static createResource (args: supportLinkProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: supportLinkProfileParams) : supportLinkProfile { + return supportLinkProfile.from(supportLinkProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "supportLink"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink", "supportLink"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supported_system.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supported_system.ts new file mode 100644 index 000000000..923ba4630 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supported_system.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type supported_systemProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system (pkg: hl7.fhir.r4.core#4.0.1) +export class supported_systemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : supported_systemProfile { + return new supported_systemProfile(resource) + } + + static createResource (args: supported_systemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: supported_systemProfileParams) : supported_systemProfile { + return supported_systemProfile.from(supported_systemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "supported-system"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system", "supported-system"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportingInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportingInfo.ts new file mode 100644 index 000000000..b765a2e46 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportingInfo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type supportingInfoProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo (pkg: hl7.fhir.r4.core#4.0.1) +export class supportingInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : supportingInfoProfile { + return new supportingInfoProfile(resource) + } + + static createResource (args: supportingInfoProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: supportingInfoProfileParams) : supportingInfoProfile { + return supportingInfoProfile.from(supportingInfoProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "supportingInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", "supportingInfo"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_system.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_system.ts new file mode 100644 index 000000000..f60ddd349 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_system.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-system (pkg: hl7.fhir.r4.core#4.0.1) +export class systemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-system" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemProfile { + return new systemProfile(resource) + } + + static createResource (args: systemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-system", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: systemProfileParams) : systemProfile { + return systemProfile.from(systemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "system"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-system", "system"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemName.ts new file mode 100644 index 000000000..496c2e5d0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-systemName (pkg: hl7.fhir.r4.core#4.0.1) +export class systemNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-systemName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemNameProfile { + return new systemNameProfile(resource) + } + + static createResource (args: systemNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-systemName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: systemNameProfileParams) : systemNameProfile { + return systemNameProfile.from(systemNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-systemName", "systemName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemRef.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemRef.ts new file mode 100644 index 000000000..94b0844f7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemRef.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemRefProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-systemRef (pkg: hl7.fhir.r4.core#4.0.1) +export class systemRefProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-systemRef" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemRefProfile { + return new systemRefProfile(resource) + } + + static createResource (args: systemRefProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-systemRef", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: systemRefProfileParams) : systemRefProfile { + return systemRefProfile.from(systemRefProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemRef"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-systemRef", "systemRef"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserLanguage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserLanguage.ts new file mode 100644 index 000000000..f725bd2d1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserLanguage.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemUserLanguageProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage (pkg: hl7.fhir.r4.core#4.0.1) +export class systemUserLanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemUserLanguageProfile { + return new systemUserLanguageProfile(resource) + } + + static createResource (args: systemUserLanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: systemUserLanguageProfileParams) : systemUserLanguageProfile { + return systemUserLanguageProfile.from(systemUserLanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemUserLanguage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage", "systemUserLanguage"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserTaskContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserTaskContext.ts new file mode 100644 index 000000000..50d34a2bf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserTaskContext.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemUserTaskContextProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext (pkg: hl7.fhir.r4.core#4.0.1) +export class systemUserTaskContextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemUserTaskContextProfile { + return new systemUserTaskContextProfile(resource) + } + + static createResource (args: systemUserTaskContextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: systemUserTaskContextProfileParams) : systemUserTaskContextProfile { + return systemUserTaskContextProfile.from(systemUserTaskContextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemUserTaskContext"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext", "systemUserTaskContext"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserType.ts new file mode 100644 index 000000000..95484a69d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemUserTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserType (pkg: hl7.fhir.r4.core#4.0.1) +export class systemUserTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemUserTypeProfile { + return new systemUserTypeProfile(resource) + } + + static createResource (args: systemUserTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: systemUserTypeProfileParams) : systemUserTypeProfile { + return systemUserTypeProfile.from(systemUserTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemUserType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType", "systemUserType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_table_name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_table_name.ts new file mode 100644 index 000000000..6e42c5d99 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_table_name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type table_nameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name (pkg: hl7.fhir.r4.core#4.0.1) +export class table_nameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : table_nameProfile { + return new table_nameProfile(resource) + } + + static createResource (args: table_nameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: table_nameProfileParams) : table_nameProfile { + return table_nameProfile.from(table_nameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "table-name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name", "table-name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_targetBodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_targetBodyStructure.ts new file mode 100644 index 000000000..187aa2ecb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_targetBodyStructure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type targetBodyStructureProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure (pkg: hl7.fhir.r4.core#4.0.1) +export class targetBodyStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : targetBodyStructureProfile { + return new targetBodyStructureProfile(resource) + } + + static createResource (args: targetBodyStructureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: targetBodyStructureProfileParams) : targetBodyStructureProfile { + return targetBodyStructureProfile.from(targetBodyStructureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "targetBodyStructure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure", "targetBodyStructure"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_template_status.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_template_status.ts new file mode 100644 index 000000000..efb2f84bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_template_status.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type template_statusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status (pkg: hl7.fhir.r4.core#4.0.1) +export class template_statusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : template_statusProfile { + return new template_statusProfile(resource) + } + + static createResource (args: template_statusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: template_statusProfileParams) : template_statusProfile { + return template_statusProfile.from(template_statusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "template-status"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status", "template-status"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_test.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_test.ts new file mode 100644 index 000000000..6c1642408 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_test.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type testProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-test (pkg: hl7.fhir.r4.core#4.0.1) +export class testProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-test" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : testProfile { + return new testProfile(resource) + } + + static createResource (args: testProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-test", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: testProfileParams) : testProfile { + return testProfile.from(testProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "test"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-test", "test"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_timeOffset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_timeOffset.ts new file mode 100644 index 000000000..dccd8a2f8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_timeOffset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type timeOffsetProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-timeOffset (pkg: hl7.fhir.r4.core#4.0.1) +export class timeOffsetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-timeOffset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : timeOffsetProfile { + return new timeOffsetProfile(resource) + } + + static createResource (args: timeOffsetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-timeOffset", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: timeOffsetProfileParams) : timeOffsetProfile { + return timeOffsetProfile.from(timeOffsetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "timeOffset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-timeOffset", "timeOffset"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_toocostly.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_toocostly.ts new file mode 100644 index 000000000..d563c5662 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_toocostly.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type toocostlyProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-toocostly (pkg: hl7.fhir.r4.core#4.0.1) +export class toocostlyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-toocostly" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : toocostlyProfile { + return new toocostlyProfile(resource) + } + + static createResource (args: toocostlyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-toocostly", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: toocostlyProfileParams) : toocostlyProfile { + return toocostlyProfile.from(toocostlyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "toocostly"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-toocostly", "toocostly"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_translatable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_translatable.ts new file mode 100644 index 000000000..b02bc20dd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_translatable.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type translatableProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable (pkg: hl7.fhir.r4.core#4.0.1) +export class translatableProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : translatableProfile { + return new translatableProfile(resource) + } + + static createResource (args: translatableProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: translatableProfileParams) : translatableProfile { + return translatableProfile.from(translatableProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "translatable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "translatable"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_trusted_expansion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_trusted_expansion.ts new file mode 100644 index 000000000..32c5f3a5f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_trusted_expansion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type trusted_expansionProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion (pkg: hl7.fhir.r4.core#4.0.1) +export class trusted_expansionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : trusted_expansionProfile { + return new trusted_expansionProfile(resource) + } + + static createResource (args: trusted_expansionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: trusted_expansionProfileParams) : trusted_expansionProfile { + return trusted_expansionProfile.from(trusted_expansionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "trusted-expansion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion", "trusted-expansion"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_type.ts new file mode 100644 index 000000000..8ef357794 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_type.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type typeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-type (pkg: hl7.fhir.r4.core#4.0.1) +export class typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : typeProfile { + return new typeProfile(resource) + } + + static createResource (args: typeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: typeProfileParams) : typeProfile { + return typeProfile.from(typeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "type"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type", "type"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertainty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertainty.ts new file mode 100644 index 000000000..22b225f15 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertainty.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type uncertaintyProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty (pkg: hl7.fhir.r4.core#4.0.1) +export class uncertaintyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : uncertaintyProfile { + return new uncertaintyProfile(resource) + } + + static createResource (args: uncertaintyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: uncertaintyProfileParams) : uncertaintyProfile { + return uncertaintyProfile.from(uncertaintyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "uncertainty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty", "uncertainty"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertaintyType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertaintyType.ts new file mode 100644 index 000000000..c2d09381c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertaintyType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type uncertaintyTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType (pkg: hl7.fhir.r4.core#4.0.1) +export class uncertaintyTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : uncertaintyTypeProfile { + return new uncertaintyTypeProfile(resource) + } + + static createResource (args: uncertaintyTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: uncertaintyTypeProfileParams) : uncertaintyTypeProfile { + return uncertaintyTypeProfile.from(uncertaintyTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "uncertaintyType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType", "uncertaintyType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unclosed.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unclosed.ts new file mode 100644 index 000000000..21f3626c3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unclosed.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type unclosedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-unclosed (pkg: hl7.fhir.r4.core#4.0.1) +export class unclosedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-unclosed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : unclosedProfile { + return new unclosedProfile(resource) + } + + static createResource (args: unclosedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-unclosed", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: unclosedProfileParams) : unclosedProfile { + return unclosedProfile.from(unclosedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "unclosed"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-unclosed", "unclosed"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unit.ts new file mode 100644 index 000000000..2c1a949ba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unit.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type unitProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unit (pkg: hl7.fhir.r4.core#4.0.1) +export class unitProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : unitProfile { + return new unitProfile(resource) + } + + static createResource (args: unitProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: unitProfileParams) : unitProfile { + return unitProfile.from(unitProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "unit"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", "unit"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitOption.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitOption.ts new file mode 100644 index 000000000..274537c71 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitOption.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type unitOptionProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption (pkg: hl7.fhir.r4.core#4.0.1) +export class unitOptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : unitOptionProfile { + return new unitOptionProfile(resource) + } + + static createResource (args: unitOptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: unitOptionProfileParams) : unitOptionProfile { + return unitOptionProfile.from(unitOptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "unitOption"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", "unitOption"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitValueSet.ts new file mode 100644 index 000000000..f388ea61d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitValueSet.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type unitValueSetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet (pkg: hl7.fhir.r4.core#4.0.1) +export class unitValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : unitValueSetProfile { + return new unitValueSetProfile(resource) + } + + static createResource (args: unitValueSetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: unitValueSetProfileParams) : unitValueSetProfile { + return unitValueSetProfile.from(unitValueSetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "unitValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet", "unitValueSet"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usage.ts new file mode 100644 index 000000000..c271f7c45 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usage.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type usageProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-usage (pkg: hl7.fhir.r4.core#4.0.1) +export class usageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-usage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : usageProfile { + return new usageProfile(resource) + } + + static createResource (args: usageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-usage", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: usageProfileParams) : usageProfile { + return usageProfile.from(usageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setUser (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "user", valueString: value } as Extension) + return this + } + + public setUse (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "use", valueString: value } as Extension) + return this + } + + public getUser (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUserExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return ext + } + + public getUse (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "usage"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "usage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-usage", "usage"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usageMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usageMode.ts new file mode 100644 index 000000000..92e8bd8da --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usageMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type usageModeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode (pkg: hl7.fhir.r4.core#4.0.1) +export class usageModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : usageModeProfile { + return new usageModeProfile(resource) + } + + static createResource (args: usageModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: usageModeProfileParams) : usageModeProfile { + return usageModeProfile.from(usageModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "usageMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode", "usageMode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_validDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_validDate.ts new file mode 100644 index 000000000..00f58969b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_validDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type validDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/identifier-validDate (pkg: hl7.fhir.r4.core#4.0.1) +export class validDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/identifier-validDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : validDateProfile { + return new validDateProfile(resource) + } + + static createResource (args: validDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/identifier-validDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: validDateProfileParams) : validDateProfile { + return validDateProfile.from(validDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "validDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/identifier-validDate", "validDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_versionNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_versionNumber.ts new file mode 100644 index 000000000..3406b520e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_versionNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type versionNumberProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber (pkg: hl7.fhir.r4.core#4.0.1) +export class versionNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : versionNumberProfile { + return new versionNumberProfile(resource) + } + + static createResource (args: versionNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: versionNumberProfileParams) : versionNumberProfile { + return versionNumberProfile.from(versionNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "versionNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", "versionNumber"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_warning.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_warning.ts new file mode 100644 index 000000000..cff62a49a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_warning.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type warningProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-warning (pkg: hl7.fhir.r4.core#4.0.1) +export class warningProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-warning" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : warningProfile { + return new warningProfile(resource) + } + + static createResource (args: warningProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-warning", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: warningProfileParams) : warningProfile { + return warningProfile.from(warningProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "warning"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-warning", "warning"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_websocket.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_websocket.ts new file mode 100644 index 000000000..b4b576c1a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_websocket.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type websocketProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket (pkg: hl7.fhir.r4.core#4.0.1) +export class websocketProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : websocketProfile { + return new websocketProfile(resource) + } + + static createResource (args: websocketProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: websocketProfileParams) : websocketProfile { + return websocketProfile.from(websocketProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "websocket"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket", "websocket"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_wg.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_wg.ts new file mode 100644 index 000000000..a80e6892e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_wg.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type wgProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg (pkg: hl7.fhir.r4.core#4.0.1) +export class wgProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : wgProfile { + return new wgProfile(resource) + } + + static createResource (args: wgProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: wgProfileParams) : wgProfile { + return wgProfile.from(wgProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "wg"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "wg"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_workflowStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_workflowStatus.ts new file mode 100644 index 000000000..162bc9cf2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_workflowStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type workflowStatusProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus (pkg: hl7.fhir.r4.core#4.0.1) +export class workflowStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : workflowStatusProfile { + return new workflowStatusProfile(resource) + } + + static createResource (args: workflowStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: workflowStatusProfileParams) : workflowStatusProfile { + return workflowStatusProfile.from(workflowStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "workflowStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus", "workflowStatus"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xhtml.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xhtml.ts new file mode 100644 index 000000000..ccf56aefe --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xhtml.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type xhtmlProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml (pkg: hl7.fhir.r4.core#4.0.1) +export class xhtmlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-xhtml" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : xhtmlProfile { + return new xhtmlProfile(resource) + } + + static createResource (args: xhtmlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: xhtmlProfileParams) : xhtmlProfile { + return xhtmlProfile.from(xhtmlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "xhtml"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", "xhtml"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xml_no_order.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xml_no_order.ts new file mode 100644 index 000000000..367af00f3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xml_no_order.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type xml_no_orderProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order (pkg: hl7.fhir.r4.core#4.0.1) +export class xml_no_orderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : xml_no_orderProfile { + return new xml_no_orderProfile(resource) + } + + static createResource (args: xml_no_orderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: xml_no_orderProfileParams) : xml_no_orderProfile { + return xml_no_orderProfile.from(xml_no_orderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "xml-no-order"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order", "xml-no-order"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts new file mode 100644 index 000000000..a1a10e04f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts @@ -0,0 +1,246 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-core/Age"; +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { FamilyMemberHistory } from "../../hl7-fhir-r4-core/FamilyMemberHistory"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export type Family_member_history_for_genetics_analysis_ParentInput = { + type: CodeableConcept; + reference: Reference; +} + +export type Family_member_history_for_genetics_analysis_SiblingInput = { + type: CodeableConcept; + reference: Reference; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Family_member_history_for_genetics_analysisProfileParams = { + relationship: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic (pkg: hl7.fhir.r4.core#4.0.1) +export class Family_member_history_for_genetics_analysisProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic" + + private resource: FamilyMemberHistory + + constructor (resource: FamilyMemberHistory) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic")) profiles.push("http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic") + } + + static from (resource: FamilyMemberHistory) : Family_member_history_for_genetics_analysisProfile { + return new Family_member_history_for_genetics_analysisProfile(resource) + } + + static createResource (args: Family_member_history_for_genetics_analysisProfileParams) : FamilyMemberHistory { + const resource: FamilyMemberHistory = { + resourceType: "FamilyMemberHistory", + relationship: args.relationship, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic"] }, + } as unknown as FamilyMemberHistory + return resource + } + + static create (args: Family_member_history_for_genetics_analysisProfileParams) : Family_member_history_for_genetics_analysisProfile { + return Family_member_history_for_genetics_analysisProfile.from(Family_member_history_for_genetics_analysisProfile.createResource(args)) + } + + toResource () : FamilyMemberHistory { + return this.resource + } + + getRelationship () : CodeableConcept | undefined { + return this.resource.relationship as CodeableConcept | undefined + } + + setRelationship (value: CodeableConcept) : this { + Object.assign(this.resource, { relationship: value }) + return this + } + + getBornPeriod () : Period | undefined { + return this.resource.bornPeriod as Period | undefined + } + + setBornPeriod (value: Period) : this { + Object.assign(this.resource, { bornPeriod: value }) + return this + } + + getBornDate () : string | undefined { + return this.resource.bornDate as string | undefined + } + + setBornDate (value: string) : this { + Object.assign(this.resource, { bornDate: value }) + return this + } + + getBornString () : string | undefined { + return this.resource.bornString as string | undefined + } + + setBornString (value: string) : this { + Object.assign(this.resource, { bornString: value }) + return this + } + + getAgeAge () : Age | undefined { + return this.resource.ageAge as Age | undefined + } + + setAgeAge (value: Age) : this { + Object.assign(this.resource, { ageAge: value }) + return this + } + + getAgeRange () : Range | undefined { + return this.resource.ageRange as Range | undefined + } + + setAgeRange (value: Range) : this { + Object.assign(this.resource, { ageRange: value }) + return this + } + + getAgeString () : string | undefined { + return this.resource.ageString as string | undefined + } + + setAgeString (value: string) : this { + Object.assign(this.resource, { ageString: value }) + return this + } + + getDeceasedBoolean () : boolean | undefined { + return this.resource.deceasedBoolean as boolean | undefined + } + + setDeceasedBoolean (value: boolean) : this { + Object.assign(this.resource, { deceasedBoolean: value }) + return this + } + + getDeceasedAge () : Age | undefined { + return this.resource.deceasedAge as Age | undefined + } + + setDeceasedAge (value: Age) : this { + Object.assign(this.resource, { deceasedAge: value }) + return this + } + + getDeceasedRange () : Range | undefined { + return this.resource.deceasedRange as Range | undefined + } + + setDeceasedRange (value: Range) : this { + Object.assign(this.resource, { deceasedRange: value }) + return this + } + + getDeceasedDate () : string | undefined { + return this.resource.deceasedDate as string | undefined + } + + setDeceasedDate (value: string) : this { + Object.assign(this.resource, { deceasedDate: value }) + return this + } + + getDeceasedString () : string | undefined { + return this.resource.deceasedString as string | undefined + } + + setDeceasedString (value: string) : this { + Object.assign(this.resource, { deceasedString: value }) + return this + } + + public setParent (input: Family_member_history_for_genetics_analysis_ParentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCodeableConcept: input.type }) + } + if (input.reference !== undefined) { + subExtensions.push({ url: "reference", valueReference: input.reference }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", extension: subExtensions }) + return this + } + + public setSibling (input: Family_member_history_for_genetics_analysis_SiblingInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCodeableConcept: input.type }) + } + if (input.reference !== undefined) { + subExtensions.push({ url: "reference", valueReference: input.reference }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", extension: subExtensions }) + return this + } + + public setObservation (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", valueReference: value } as Extension) + return this + } + + public getParent (): Family_member_history_for_genetics_analysis_ParentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "reference", valueField: "valueReference", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Family_member_history_for_genetics_analysis_ParentInput + } + + public getParentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent") + return ext + } + + public getSibling (): Family_member_history_for_genetics_analysis_SiblingInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "reference", valueField: "valueReference", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Family_member_history_for_genetics_analysis_SiblingInput + } + + public getSiblingExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling") + return ext + } + + public getObservation (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getObservationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "relationship", "Family member history for genetics analysis"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GroupDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GroupDefinition.ts deleted file mode 100644 index f296c6a88..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GroupDefinition.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Group } from "../../hl7-fhir-r4-core/Group"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/groupdefinition -export class Group_DefinitionProfile { - private resource: Group - - constructor (resource: Group) { - this.resource = resource - } - - toResource () : Group { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Actual_Group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Actual_Group.ts new file mode 100644 index 000000000..50215a453 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Actual_Group.ts @@ -0,0 +1,62 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Group } from "../../hl7-fhir-r4-core/Group"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/actualgroup (pkg: hl7.fhir.r4.core#4.0.1) +export class Actual_GroupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/actualgroup" + + private resource: Group + + constructor (resource: Group) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/actualgroup")) profiles.push("http://hl7.org/fhir/StructureDefinition/actualgroup") + } + + static from (resource: Group) : Actual_GroupProfile { + return new Actual_GroupProfile(resource) + } + + static createResource () : Group { + const resource: Group = { + resourceType: "Group", + actual: true, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/actualgroup"] }, + } as unknown as Group + return resource + } + + static create () : Actual_GroupProfile { + return Actual_GroupProfile.from(Actual_GroupProfile.createResource()) + } + + toResource () : Group { + return this.resource + } + + getActual () : boolean | undefined { + return this.resource.actual as boolean | undefined + } + + setActual (value: boolean) : this { + Object.assign(this.resource, { actual: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "actual", "Actual Group"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "actual", true, "Actual Group"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Group_Definition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Group_Definition.ts new file mode 100644 index 000000000..ddbde805a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Group_Definition.ts @@ -0,0 +1,62 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Group } from "../../hl7-fhir-r4-core/Group"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/groupdefinition (pkg: hl7.fhir.r4.core#4.0.1) +export class Group_DefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/groupdefinition" + + private resource: Group + + constructor (resource: Group) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/groupdefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/groupdefinition") + } + + static from (resource: Group) : Group_DefinitionProfile { + return new Group_DefinitionProfile(resource) + } + + static createResource () : Group { + const resource: Group = { + resourceType: "Group", + actual: false, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/groupdefinition"] }, + } as unknown as Group + return resource + } + + static create () : Group_DefinitionProfile { + return Group_DefinitionProfile.from(Group_DefinitionProfile.createResource()) + } + + toResource () : Group { + return this.resource + } + + getActual () : boolean | undefined { + return this.resource.actual as boolean | undefined + } + + setActual (value: boolean) : this { + Object.assign(this.resource, { actual: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "actual", "Group Definition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "actual", false, "Group Definition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts new file mode 100644 index 000000000..86431b2dd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts @@ -0,0 +1,117 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { GuidanceResponse } from "../../hl7-fhir-r4-core/GuidanceResponse"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +export interface CDS_Hooks_GuidanceResponse extends GuidanceResponse { + requestIdentifier: Identifier; + identifier: Identifier[]; + moduleUri: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CDS_Hooks_GuidanceResponseProfileParams = { + requestIdentifier: Identifier; + identifier: Identifier[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse (pkg: hl7.fhir.r4.core#4.0.1) +export class CDS_Hooks_GuidanceResponseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse" + + private resource: GuidanceResponse + + constructor (resource: GuidanceResponse) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse") + } + + static from (resource: GuidanceResponse) : CDS_Hooks_GuidanceResponseProfile { + return new CDS_Hooks_GuidanceResponseProfile(resource) + } + + static createResource (args: CDS_Hooks_GuidanceResponseProfileParams) : GuidanceResponse { + const resource: GuidanceResponse = { + resourceType: "GuidanceResponse", + requestIdentifier: args.requestIdentifier, + identifier: args.identifier, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse"] }, + } as unknown as GuidanceResponse + return resource + } + + static create (args: CDS_Hooks_GuidanceResponseProfileParams) : CDS_Hooks_GuidanceResponseProfile { + return CDS_Hooks_GuidanceResponseProfile.from(CDS_Hooks_GuidanceResponseProfile.createResource(args)) + } + + toResource () : GuidanceResponse { + return this.resource + } + + getRequestIdentifier () : Identifier | undefined { + return this.resource.requestIdentifier as Identifier | undefined + } + + setRequestIdentifier (value: Identifier) : this { + Object.assign(this.resource, { requestIdentifier: value }) + return this + } + + getIdentifier () : Identifier[] | undefined { + return this.resource.identifier as Identifier[] | undefined + } + + setIdentifier (value: Identifier[]) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getModuleUri () : string | undefined { + return this.resource.moduleUri as string | undefined + } + + setModuleUri (value: string) : this { + Object.assign(this.resource, { moduleUri: value }) + return this + } + + toProfile () : CDS_Hooks_GuidanceResponse { + return this.resource as CDS_Hooks_GuidanceResponse + } + + public setCdsHooksEndpoint (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value } as Extension) + return this + } + + public getCdsHooksEndpoint (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getCdsHooksEndpointExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "requestIdentifier", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + { const e = validateRequired(r, "identifier", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","Patient"], "subject", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["Device"], "performer", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["result"], ["CarePlan","RequestGroup"], "result", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_CQL_Library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_CQL_Library.ts new file mode 100644 index 000000000..99401f273 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_CQL_Library.ts @@ -0,0 +1,63 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Library } from "../../hl7-fhir-r4-core/Library"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqllibrary (pkg: hl7.fhir.r4.core#4.0.1) +export class CQL_LibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqllibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cqllibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/cqllibrary") + } + + static from (resource: Library) : CQL_LibraryProfile { + return new CQL_LibraryProfile(resource) + } + + static createResource () : Library { + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library","display":"Logic Library"}]}, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cqllibrary"] }, + } as unknown as Library + return resource + } + + static create () : CQL_LibraryProfile { + return CQL_LibraryProfile.from(CQL_LibraryProfile.createResource()) + } + + toResource () : Library { + return this.resource + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "CQL Library"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library","display":"Logic Library"}]}, "CQL Library"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_Shareable_Library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_Shareable_Library.ts new file mode 100644 index 000000000..682f6f778 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_Shareable_Library.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Library } from "../../hl7-fhir-r4-core/Library"; + +export interface Shareable_Library extends Library { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_LibraryProfileParams = { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablelibrary (pkg: hl7.fhir.r4.core#4.0.1) +export class Shareable_LibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablelibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablelibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablelibrary") + } + + static from (resource: Library) : Shareable_LibraryProfile { + return new Shareable_LibraryProfile(resource) + } + + static createResource (args: Shareable_LibraryProfileParams) : Library { + const resource: Library = { + resourceType: "Library", + url: args.url, + version: args.version, + name: args.name, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablelibrary"] }, + } as unknown as Library + return resource + } + + static create (args: Shareable_LibraryProfileParams) : Shareable_LibraryProfile { + return Shareable_LibraryProfile.from(Shareable_LibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_Library { + return this.resource as Shareable_Library + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable Library"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Measure_Shareable_Measure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Measure_Shareable_Measure.ts new file mode 100644 index 000000000..46d73c0bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Measure_Shareable_Measure.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Measure } from "../../hl7-fhir-r4-core/Measure"; + +export interface Shareable_Measure extends Measure { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_MeasureProfileParams = { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablemeasure (pkg: hl7.fhir.r4.core#4.0.1) +export class Shareable_MeasureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablemeasure" + + private resource: Measure + + constructor (resource: Measure) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablemeasure")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablemeasure") + } + + static from (resource: Measure) : Shareable_MeasureProfile { + return new Shareable_MeasureProfile(resource) + } + + static createResource (args: Shareable_MeasureProfileParams) : Measure { + const resource: Measure = { + resourceType: "Measure", + url: args.url, + version: args.version, + name: args.name, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablemeasure"] }, + } as unknown as Measure + return resource + } + + static create (args: Shareable_MeasureProfileParams) : Shareable_MeasureProfile { + return Shareable_MeasureProfile.from(Shareable_MeasureProfile.createResource(args)) + } + + toResource () : Measure { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_Measure { + return this.resource as Shareable_Measure + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable Measure"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBmi.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBmi.ts deleted file mode 100644 index 4532d5409..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBmi.ts +++ /dev/null @@ -1,67 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bmi -export interface observation_bmi extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - valueQuantity: Quantity; -} - -export type Observation_bmi_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bmiProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bmi { - return this.resource as observation_bmi - } - - public setVscat (input?: Observation_bmi_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bmi_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bmi_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodyheight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodyheight.ts deleted file mode 100644 index 6bd9652bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodyheight.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyheight -export interface observation_bodyheight extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_bodyheight_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bodyheightProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bodyheight { - return this.resource as observation_bodyheight - } - - public setVscat (input?: Observation_bodyheight_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bodyheight_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodyheight_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodytemp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodytemp.ts deleted file mode 100644 index 08b0ad51a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodytemp.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodytemp -export interface observation_bodytemp extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_bodytemp_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bodytempProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bodytemp { - return this.resource as observation_bodytemp - } - - public setVscat (input?: Observation_bodytemp_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bodytemp_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodytemp_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodyweight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodyweight.ts deleted file mode 100644 index 409f0535c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBodyweight.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyweight -export interface observation_bodyweight extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_bodyweight_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bodyweightProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bodyweight { - return this.resource as observation_bodyweight - } - - public setVscat (input?: Observation_bodyweight_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bodyweight_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodyweight_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBp.ts deleted file mode 100644 index 80d7c5bcf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationBp.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bp -export interface observation_bp extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_bp_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bpProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bp { - return this.resource as observation_bp - } - - public setVscat (input?: Observation_bp_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bp_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bp_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationHeadcircum.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationHeadcircum.ts deleted file mode 100644 index 55093aa57..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationHeadcircum.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/headcircum -export interface observation_headcircum extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_headcircum_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_headcircumProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_headcircum { - return this.resource as observation_headcircum - } - - public setVscat (input?: Observation_headcircum_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_headcircum_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_headcircum_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationHeartrate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationHeartrate.ts deleted file mode 100644 index ec17c132c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationHeartrate.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/heartrate -export interface observation_heartrate extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_heartrate_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_heartrateProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_heartrate { - return this.resource as observation_heartrate - } - - public setVscat (input?: Observation_heartrate_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_heartrate_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_heartrate_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationOxygensat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationOxygensat.ts deleted file mode 100644 index 2b402a4bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationOxygensat.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/oxygensat -export interface observation_oxygensat extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_oxygensat_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_oxygensatProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_oxygensat { - return this.resource as observation_oxygensat - } - - public setVscat (input?: Observation_oxygensat_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_oxygensat_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_oxygensat_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationResprate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationResprate.ts deleted file mode 100644 index e9eaf1930..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationResprate.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resprate -export interface observation_resprate extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_resprate_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_resprateProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_resprate { - return this.resource as observation_resprate - } - - public setVscat (input?: Observation_resprate_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_resprate_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_resprate_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationVitalsigns.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationVitalsigns.ts deleted file mode 100644 index 885de1e0b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationVitalsigns.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalsigns -export interface observation_vitalsigns extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_vitalsigns_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_vitalsignsProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_vitalsigns { - return this.resource as observation_vitalsigns - } - - public setVscat (input?: Observation_vitalsigns_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_vitalsigns_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_vitalsigns_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationVitalspanel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationVitalspanel.ts deleted file mode 100644 index af5034e79..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationVitalspanel.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalspanel -export interface observation_vitalspanel extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - hasMember: Reference<'MolecularSequence' | 'QuestionnaireResponse' | "Observation" /*observation-vitalsigns*/>[]; -} - -export type Observation_vitalspanel_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_vitalspanelProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_vitalspanel { - return this.resource as observation_vitalspanel - } - - public setVscat (input?: Observation_vitalspanel_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_vitalspanel_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_vitalspanel_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Device_Metric_Observation_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Device_Metric_Observation_Profile.ts new file mode 100644 index 000000000..36ae2e8e5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Device_Metric_Observation_Profile.ts @@ -0,0 +1,217 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface Device_Metric_Observation_Profile extends Observation { + subject: Reference<"Device" | "Patient">; + effectiveDateTime: string; + device: Reference<"DeviceMetric">; + hasMember?: Reference<"Observation">[]; + derivedFrom?: Reference<"Observation">[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Device_Metric_Observation_ProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept; + subject: Reference<"Device" | "Patient">; + device: Reference<"DeviceMetric">; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicemetricobservation (pkg: hl7.fhir.r4.core#4.0.1) +export class Device_Metric_Observation_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/devicemetricobservation" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/devicemetricobservation")) profiles.push("http://hl7.org/fhir/StructureDefinition/devicemetricobservation") + } + + static from (resource: Observation) : Device_Metric_Observation_ProfileProfile { + return new Device_Metric_Observation_ProfileProfile(resource) + } + + static createResource (args: Device_Metric_Observation_ProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + status: args.status, + code: args.code, + subject: args.subject, + device: args.device, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/devicemetricobservation"] }, + } as unknown as Observation + return resource + } + + static create (args: Device_Metric_Observation_ProfileProfileParams) : Device_Metric_Observation_ProfileProfile { + return Device_Metric_Observation_ProfileProfile.from(Device_Metric_Observation_ProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Patient"> | undefined { + return this.resource.subject as Reference<"Device" | "Patient"> | undefined + } + + setSubject (value: Reference<"Device" | "Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getDevice () : Reference<"DeviceMetric"> | undefined { + return this.resource.device as Reference<"DeviceMetric"> | undefined + } + + setDevice (value: Reference<"DeviceMetric">) : this { + Object.assign(this.resource, { device: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : Device_Metric_Observation_Profile { + return this.resource as Device_Metric_Observation_Profile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Patient"], "subject", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["Encounter"], "encounter", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["specimen"], ["Specimen"], "specimen", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "device", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["device"], ["DeviceMetric"], "device", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["Observation"], "hasMember", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["Observation"], "derivedFrom", "Device Metric Observation Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Example_Lipid_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Example_Lipid_Profile.ts new file mode 100644 index 000000000..ca7a09b9b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Example_Lipid_Profile.ts @@ -0,0 +1,100 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { ObservationReferenceRange } from "../../hl7-fhir-r4-core/Observation"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +export interface Example_Lipid_Profile extends Observation { + referenceRange: ObservationReferenceRange[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Example_Lipid_ProfileProfileParams = { + code: CodeableConcept<("18262-6" | "13457-7")>; + referenceRange: ObservationReferenceRange[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ldlcholesterol (pkg: hl7.fhir.r4.core#4.0.1) +export class Example_Lipid_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ldlcholesterol" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/ldlcholesterol")) profiles.push("http://hl7.org/fhir/StructureDefinition/ldlcholesterol") + } + + static from (resource: Observation) : Example_Lipid_ProfileProfile { + return new Example_Lipid_ProfileProfile(resource) + } + + static createResource (args: Example_Lipid_ProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: args.code, + referenceRange: args.referenceRange, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/ldlcholesterol"] }, + } as unknown as Observation + return resource + } + + static create (args: Example_Lipid_ProfileProfileParams) : Example_Lipid_ProfileProfile { + return Example_Lipid_ProfileProfile.from(Example_Lipid_ProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getCode () : CodeableConcept<("18262-6" | "13457-7")> | undefined { + return this.resource.code as CodeableConcept<("18262-6" | "13457-7")> | undefined + } + + setCode (value: CodeableConcept<("18262-6" | "13457-7")>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getReferenceRange () : ObservationReferenceRange[] | undefined { + return this.resource.referenceRange as ObservationReferenceRange[] | undefined + } + + setReferenceRange (value: ObservationReferenceRange[]) : this { + Object.assign(this.resource, { referenceRange: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Example_Lipid_Profile { + return this.resource as Example_Lipid_Profile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateEnum(r["code"], ["18262-6","13457-7"], "code", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "referenceRange", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["MolecularSequence","Observation","QuestionnaireResponse"], "hasMember", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","Observation","QuestionnaireResponse"], "derivedFrom", "Example Lipid Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationGenetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Observation_genetics.ts similarity index 84% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationGenetics.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Observation_genetics.ts index b7ef20aca..4e69d9269 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ObservationGenetics.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Observation_genetics.ts @@ -7,7 +7,6 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Observation } from "../../hl7-fhir-r4-core/Observation"; import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-genetics export type Observation_genetics_VariantInput = { Name?: CodeableConcept; Id?: CodeableConcept; @@ -36,13 +35,36 @@ export type Observation_genetics_PhaseSetInput = { MolecularSequence: Reference[]; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-genetics (pkg: hl7.fhir.r4.core#4.0.1) export class Observation_geneticsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-genetics" + private resource: Observation constructor (resource: Observation) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/observation-genetics")) profiles.push("http://hl7.org/fhir/StructureDefinition/observation-genetics") + } + + static from (resource: Observation) : Observation_geneticsProfile { + return new Observation_geneticsProfile(resource) + } + + static createResource () : Observation { + const resource: Observation = { + resourceType: "Observation", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/observation-genetics"] }, + } as unknown as Observation + return resource + } + + static create () : Observation_geneticsProfile { + return Observation_geneticsProfile.from(Observation_geneticsProfile.createResource()) } toResource () : Observation { @@ -51,31 +73,31 @@ export class Observation_geneticsProfile { public setGene (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", valueCodeableConcept: value } as Extension) return this } public setDnaregionName (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName", valueString: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName", valueString: value } as Extension) return this } public setCopyNumberEvent (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent", valueCodeableConcept: value } as Extension) return this } public setGenomicSourceClass (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass", valueCodeableConcept: value } as Extension) return this } public setInterpretation (value: Reference): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation", valueReference: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation", valueReference: value } as Extension) return this } @@ -157,7 +179,7 @@ export class Observation_geneticsProfile { public getGene (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getGeneExtension (): Extension | undefined { @@ -167,7 +189,7 @@ export class Observation_geneticsProfile { public getDnaregionName (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getDnaregionNameExtension (): Extension | undefined { @@ -177,7 +199,7 @@ export class Observation_geneticsProfile { public getCopyNumberEvent (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getCopyNumberEventExtension (): Extension | undefined { @@ -187,7 +209,7 @@ export class Observation_geneticsProfile { public getGenomicSourceClass (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getGenomicSourceClassExtension (): Extension | undefined { @@ -197,7 +219,7 @@ export class Observation_geneticsProfile { public getInterpretation (): Reference | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation") - return ext?.valueReference + return (ext as Record | undefined)?.valueReference as Reference | undefined } public getInterpretationExtension (): Extension | undefined { @@ -265,5 +287,11 @@ export class Observation_geneticsProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bmi.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bmi.ts new file mode 100644 index 000000000..9762ff307 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bmi.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_bmi extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + valueQuantity: Quantity; +} + +export type Observation_bmi_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bmiProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bmi (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_bmiProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bmi" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bmi")) profiles.push("http://hl7.org/fhir/StructureDefinition/bmi") + } + + static from (resource: Observation) : observation_bmiProfile { + return new observation_bmiProfile(resource) + } + + static createResource (args: observation_bmiProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"39156-5","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bmi"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bmiProfileParams) : observation_bmiProfile { + return observation_bmiProfile.from(observation_bmiProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bmi { + return this.resource as observation_bmi + } + + public setVSCat (input?: Observation_bmi_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bmi_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bmi_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bmi"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bmi"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bmi"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bmi.category")) + { const e = validateRequired(r, "code", "observation-bmi"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"39156-5","system":"http://loinc.org"}]}, "observation-bmi"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bmi"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bmi"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bmi"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bmi"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyheight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyheight.ts new file mode 100644 index 000000000..3bca252df --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyheight.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_bodyheight extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_bodyheight_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bodyheightProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyheight (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_bodyheightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodyheight" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodyheight")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodyheight") + } + + static from (resource: Observation) : observation_bodyheightProfile { + return new observation_bodyheightProfile(resource) + } + + static createResource (args: observation_bodyheightProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8302-2","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodyheight"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bodyheightProfileParams) : observation_bodyheightProfile { + return observation_bodyheightProfile.from(observation_bodyheightProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bodyheight { + return this.resource as observation_bodyheight + } + + public setVSCat (input?: Observation_bodyheight_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bodyheight_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodyheight_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bodyheight"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bodyheight.category")) + { const e = validateRequired(r, "code", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8302-2","system":"http://loinc.org"}]}, "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bodyheight"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bodyheight"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodytemp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodytemp.ts new file mode 100644 index 000000000..6f03164cf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodytemp.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_bodytemp extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_bodytemp_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bodytempProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodytemp (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_bodytempProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodytemp" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodytemp")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodytemp") + } + + static from (resource: Observation) : observation_bodytempProfile { + return new observation_bodytempProfile(resource) + } + + static createResource (args: observation_bodytempProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8310-5","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodytemp"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bodytempProfileParams) : observation_bodytempProfile { + return observation_bodytempProfile.from(observation_bodytempProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bodytemp { + return this.resource as observation_bodytemp + } + + public setVSCat (input?: Observation_bodytemp_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bodytemp_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodytemp_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bodytemp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bodytemp.category")) + { const e = validateRequired(r, "code", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8310-5","system":"http://loinc.org"}]}, "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bodytemp"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bodytemp"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts new file mode 100644 index 000000000..2449e9d88 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_bodyweight extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_bodyweight_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bodyweightProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyweight (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_bodyweightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodyweight" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodyweight")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodyweight") + } + + static from (resource: Observation) : observation_bodyweightProfile { + return new observation_bodyweightProfile(resource) + } + + static createResource (args: observation_bodyweightProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"29463-7","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodyweight"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bodyweightProfileParams) : observation_bodyweightProfile { + return observation_bodyweightProfile.from(observation_bodyweightProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bodyweight { + return this.resource as observation_bodyweight + } + + public setVSCat (input?: Observation_bodyweight_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bodyweight_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodyweight_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bodyweight"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bodyweight.category")) + { const e = validateRequired(r, "code", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"29463-7","system":"http://loinc.org"}]}, "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bodyweight"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bodyweight"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bp.ts new file mode 100644 index 000000000..2445da991 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bp.ts @@ -0,0 +1,264 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_bp extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_bp_Category_VSCatSliceInput = Omit; +export type Observation_bp_Component_SystolicBPSliceInput = Omit; +export type Observation_bp_Component_DiastolicBPSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bpProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + component?: ObservationComponent[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bp (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_bpProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bp" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bp")) profiles.push("http://hl7.org/fhir/StructureDefinition/bp") + } + + static from (resource: Observation) : observation_bpProfile { + return new observation_bpProfile(resource) + } + + static createResource (args: observation_bpProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const componentDefaults = [{"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}},{"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}}] as unknown[] + const componentWithDefaults = [...(args.component ?? [])] as unknown[] + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record))) componentWithDefaults.push(componentDefaults[0]!) + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record))) componentWithDefaults.push(componentDefaults[1]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"85354-9","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + component: componentWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bp"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bpProfileParams) : observation_bpProfile { + return observation_bpProfile.from(observation_bpProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getComponent () : ObservationComponent[] | undefined { + return this.resource.component as ObservationComponent[] | undefined + } + + setComponent (value: ObservationComponent[]) : this { + Object.assign(this.resource, { component: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bp { + return this.resource as observation_bp + } + + public setVSCat (input?: Observation_bp_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSystolicBP (input?: Observation_bp_Component_SystolicBPSliceInput): this { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setDiastolicBP (input?: Observation_bp_Component_DiastolicBPSliceInput): this { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bp_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bp_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getSystolicBP (): Observation_bp_Component_SystolicBPSliceInput | undefined { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as Observation_bp_Component_SystolicBPSliceInput + } + + public getSystolicBPRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getDiastolicBP (): Observation_bp_Component_DiastolicBPSliceInput | undefined { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as Observation_bp_Component_DiastolicBPSliceInput + } + + public getDiastolicBPRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bp"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bp"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bp.category")) + { const e = validateRequired(r, "code", "observation-bp"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"85354-9","system":"http://loinc.org"}]}, "observation-bp"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bp"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bp"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bp"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}}, "SystolicBP", 1, 1, "observation-bp.component")) + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}}, "DiastolicBP", 1, 1, "observation-bp.component")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_headcircum.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_headcircum.ts new file mode 100644 index 000000000..197d18b21 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_headcircum.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_headcircum extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_headcircum_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_headcircumProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/headcircum (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_headcircumProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/headcircum" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/headcircum")) profiles.push("http://hl7.org/fhir/StructureDefinition/headcircum") + } + + static from (resource: Observation) : observation_headcircumProfile { + return new observation_headcircumProfile(resource) + } + + static createResource (args: observation_headcircumProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"9843-4","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/headcircum"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_headcircumProfileParams) : observation_headcircumProfile { + return observation_headcircumProfile.from(observation_headcircumProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_headcircum { + return this.resource as observation_headcircum + } + + public setVSCat (input?: Observation_headcircum_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_headcircum_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_headcircum_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-headcircum"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-headcircum.category")) + { const e = validateRequired(r, "code", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"9843-4","system":"http://loinc.org"}]}, "observation-headcircum"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-headcircum"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-headcircum"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_heartrate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_heartrate.ts new file mode 100644 index 000000000..e7b397f89 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_heartrate.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_heartrate extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_heartrate_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_heartrateProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/heartrate (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_heartrateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/heartrate" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/heartrate")) profiles.push("http://hl7.org/fhir/StructureDefinition/heartrate") + } + + static from (resource: Observation) : observation_heartrateProfile { + return new observation_heartrateProfile(resource) + } + + static createResource (args: observation_heartrateProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8867-4","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/heartrate"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_heartrateProfileParams) : observation_heartrateProfile { + return observation_heartrateProfile.from(observation_heartrateProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_heartrate { + return this.resource as observation_heartrate + } + + public setVSCat (input?: Observation_heartrate_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_heartrate_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_heartrate_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-heartrate"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-heartrate.category")) + { const e = validateRequired(r, "code", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8867-4","system":"http://loinc.org"}]}, "observation-heartrate"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-heartrate"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-heartrate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_oxygensat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_oxygensat.ts new file mode 100644 index 000000000..43774b909 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_oxygensat.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_oxygensat extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_oxygensat_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_oxygensatProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/oxygensat (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_oxygensatProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/oxygensat" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/oxygensat")) profiles.push("http://hl7.org/fhir/StructureDefinition/oxygensat") + } + + static from (resource: Observation) : observation_oxygensatProfile { + return new observation_oxygensatProfile(resource) + } + + static createResource (args: observation_oxygensatProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"2708-6","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/oxygensat"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_oxygensatProfileParams) : observation_oxygensatProfile { + return observation_oxygensatProfile.from(observation_oxygensatProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_oxygensat { + return this.resource as observation_oxygensat + } + + public setVSCat (input?: Observation_oxygensat_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_oxygensat_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_oxygensat_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-oxygensat"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-oxygensat.category")) + { const e = validateRequired(r, "code", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"2708-6","system":"http://loinc.org"}]}, "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-oxygensat"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-oxygensat"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_resprate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_resprate.ts new file mode 100644 index 000000000..5ef7c1efd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_resprate.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_resprate extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_resprate_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_resprateProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resprate (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_resprateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resprate" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/resprate")) profiles.push("http://hl7.org/fhir/StructureDefinition/resprate") + } + + static from (resource: Observation) : observation_resprateProfile { + return new observation_resprateProfile(resource) + } + + static createResource (args: observation_resprateProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"9279-1","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/resprate"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_resprateProfileParams) : observation_resprateProfile { + return observation_resprateProfile.from(observation_resprateProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_resprate { + return this.resource as observation_resprate + } + + public setVSCat (input?: Observation_resprate_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_resprate_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_resprate_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-resprate"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-resprate"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-resprate"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-resprate.category")) + { const e = validateRequired(r, "code", "observation-resprate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"9279-1","system":"http://loinc.org"}]}, "observation-resprate"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-resprate"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-resprate"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-resprate"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-resprate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalsigns.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalsigns.ts new file mode 100644 index 000000000..ad0e95fa4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalsigns.ts @@ -0,0 +1,174 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_vitalsigns extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_vitalsigns_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_vitalsignsProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>; + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalsigns (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_vitalsignsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/vitalsigns" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/vitalsigns")) profiles.push("http://hl7.org/fhir/StructureDefinition/vitalsigns") + } + + static from (resource: Observation) : observation_vitalsignsProfile { + return new observation_vitalsignsProfile(resource) + } + + static createResource (args: observation_vitalsignsProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/vitalsigns"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_vitalsignsProfileParams) : observation_vitalsignsProfile { + return observation_vitalsignsProfile.from(observation_vitalsignsProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : observation_vitalsigns { + return this.resource as observation_vitalsigns + } + + public setVSCat (input?: Observation_vitalsigns_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_vitalsigns_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_vitalsigns_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-vitalsigns"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-vitalsigns.category")) + { const e = validateRequired(r, "code", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-vitalsigns"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-vitalsigns"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalspanel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalspanel.ts new file mode 100644 index 000000000..da16179da --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalspanel.ts @@ -0,0 +1,187 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface observation_vitalspanel extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + hasMember: Reference<'MolecularSequence' | 'QuestionnaireResponse' | "Observation" /*observation-vitalsigns*/>[]; +} + +export type Observation_vitalspanel_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_vitalspanelProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>; + subject: Reference<"Patient">; + hasMember: Reference<"MolecularSequence" | "QuestionnaireResponse" | "observation-vitalsigns">[]; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalspanel (pkg: hl7.fhir.r4.core#4.0.1) +export class observation_vitalspanelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/vitalspanel" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/vitalspanel")) profiles.push("http://hl7.org/fhir/StructureDefinition/vitalspanel") + } + + static from (resource: Observation) : observation_vitalspanelProfile { + return new observation_vitalspanelProfile(resource) + } + + static createResource (args: observation_vitalspanelProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + hasMember: args.hasMember, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/vitalspanel"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_vitalspanelProfileParams) : observation_vitalspanelProfile { + return observation_vitalspanelProfile.from(observation_vitalspanelProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getHasMember () : Reference<"MolecularSequence" | "QuestionnaireResponse" | "observation-vitalsigns">[] | undefined { + return this.resource.hasMember as Reference<"MolecularSequence" | "QuestionnaireResponse" | "observation-vitalsigns">[] | undefined + } + + setHasMember (value: Reference<"MolecularSequence" | "QuestionnaireResponse" | "observation-vitalsigns">[]) : this { + Object.assign(this.resource, { hasMember: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : observation_vitalspanel { + return this.resource as observation_vitalspanel + } + + public setVSCat (input?: Observation_vitalspanel_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_vitalspanel_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_vitalspanel_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-vitalspanel"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-vitalspanel.category")) + { const e = validateRequired(r, "code", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-vitalspanel"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateRequired(r, "hasMember", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-vitalspanel"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PicoElementProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PicoElementProfile.ts deleted file mode 100644 index 65d73aac9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PicoElementProfile.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { EvidenceVariable } from "../../hl7-fhir-r4-core/EvidenceVariable"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/picoelement -export class PICO_Element_ProfileProfile { - private resource: EvidenceVariable - - constructor (resource: EvidenceVariable) { - this.resource = resource - } - - toResource () : EvidenceVariable { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts new file mode 100644 index 000000000..8dfce9c51 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts @@ -0,0 +1,67 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { PlanDefinition } from "../../hl7-fhir-r4-core/PlanDefinition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition (pkg: hl7.fhir.r4.core#4.0.1) +export class CDS_Hooks_Service_PlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition") + } + + static from (resource: PlanDefinition) : CDS_Hooks_Service_PlanDefinitionProfile { + return new CDS_Hooks_Service_PlanDefinitionProfile(resource) + } + + static createResource () : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create () : CDS_Hooks_Service_PlanDefinitionProfile { + return CDS_Hooks_Service_PlanDefinitionProfile.from(CDS_Hooks_Service_PlanDefinitionProfile.createResource()) + } + + toResource () : PlanDefinition { + return this.resource + } + + public setCdsHooksEndpoint (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value } as Extension) + return this + } + + public getCdsHooksEndpoint (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getCdsHooksEndpointExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Computable_PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Computable_PlanDefinition.ts new file mode 100644 index 000000000..4520ad090 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Computable_PlanDefinition.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { PlanDefinition } from "../../hl7-fhir-r4-core/PlanDefinition"; + +export interface Computable_PlanDefinition extends PlanDefinition { + library: string[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Computable_PlanDefinitionProfileParams = { + library: string[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/computableplandefinition (pkg: hl7.fhir.r4.core#4.0.1) +export class Computable_PlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/computableplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/computableplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/computableplandefinition") + } + + static from (resource: PlanDefinition) : Computable_PlanDefinitionProfile { + return new Computable_PlanDefinitionProfile(resource) + } + + static createResource (args: Computable_PlanDefinitionProfileParams) : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + library: args.library, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/computableplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create (args: Computable_PlanDefinitionProfileParams) : Computable_PlanDefinitionProfile { + return Computable_PlanDefinitionProfile.from(Computable_PlanDefinitionProfile.createResource(args)) + } + + toResource () : PlanDefinition { + return this.resource + } + + getLibrary () : string[] | undefined { + return this.resource.library as string[] | undefined + } + + setLibrary (value: string[]) : this { + Object.assign(this.resource, { library: value }) + return this + } + + toProfile () : Computable_PlanDefinition { + return this.resource as Computable_PlanDefinition + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "library", "Computable PlanDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Shareable_PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Shareable_PlanDefinition.ts new file mode 100644 index 000000000..d0783ec4e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Shareable_PlanDefinition.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { PlanDefinition } from "../../hl7-fhir-r4-core/PlanDefinition"; + +export interface Shareable_PlanDefinition extends PlanDefinition { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_PlanDefinitionProfileParams = { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableplandefinition (pkg: hl7.fhir.r4.core#4.0.1) +export class Shareable_PlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareableplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareableplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareableplandefinition") + } + + static from (resource: PlanDefinition) : Shareable_PlanDefinitionProfile { + return new Shareable_PlanDefinitionProfile(resource) + } + + static createResource (args: Shareable_PlanDefinitionProfileParams) : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + url: args.url, + version: args.version, + name: args.name, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareableplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create (args: Shareable_PlanDefinitionProfileParams) : Shareable_PlanDefinitionProfile { + return Shareable_PlanDefinitionProfile.from(Shareable_PlanDefinitionProfile.createResource(args)) + } + + toResource () : PlanDefinition { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_PlanDefinition { + return this.resource as Shareable_PlanDefinition + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable PlanDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProfileForCatalog.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProfileForCatalog.ts deleted file mode 100644 index 1412ddb06..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProfileForCatalog.ts +++ /dev/null @@ -1,46 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Composition } from "../../hl7-fhir-r4-core/Composition"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/catalog -export interface Profile_for_Catalog extends Composition { - category: CodeableConcept[]; -} - -export class Profile_for_CatalogProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - - toProfile () : Profile_for_Catalog { - return this.resource as Profile_for_Catalog - } - - public setValidityPeriod (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", valueDateTime: value }) - return this - } - - public getValidityPeriod (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") - return ext?.valueDateTime - } - - public getValidityPeriodExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProvenanceRelevantHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProvenanceRelevantHistory.ts deleted file mode 100644 index a3362d5ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ProvenanceRelevantHistory.ts +++ /dev/null @@ -1,64 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Provenance } from "../../hl7-fhir-r4-core/Provenance"; -import type { ProvenanceAgent } from "../../hl7-fhir-r4-core/Provenance"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history -export interface Provenance_Relevant_History extends Provenance { - activity: CodeableConcept; -} - -export type Provenance_Relevant_History_Agent_AuthorSliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Provenance_Relevant_HistoryProfile { - private resource: Provenance - - constructor (resource: Provenance) { - this.resource = resource - } - - toResource () : Provenance { - return this.resource - } - - toProfile () : Provenance_Relevant_History { - return this.resource as Provenance_Relevant_History - } - - public setAuthor (input: Provenance_Relevant_History_Agent_AuthorSliceInput): this { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as ProvenanceAgent - const list = (this.resource.agent ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getAuthor (): Provenance_Relevant_History_Agent_AuthorSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const list = this.resource.agent - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as Provenance_Relevant_History_Agent_AuthorSliceInput - } - - public getAuthorRaw (): ProvenanceAgent | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const list = this.resource.agent - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts new file mode 100644 index 000000000..bb06d6fc1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts @@ -0,0 +1,93 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Provenance } from "../../hl7-fhir-r4-core/Provenance"; +import type { ProvenanceAgent } from "../../hl7-fhir-r4-core/Provenance"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EHRS_FM_Record_Lifecycle_Event___ProvenanceProfileParams = { + target: Reference<"Resource">[]; + recorded: string; + agent: ProvenanceAgent[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance (pkg: hl7.fhir.r4.core#4.0.1) +export class EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance" + + private resource: Provenance + + constructor (resource: Provenance) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance")) profiles.push("http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance") + } + + static from (resource: Provenance) : EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile { + return new EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile(resource) + } + + static createResource (args: EHRS_FM_Record_Lifecycle_Event___ProvenanceProfileParams) : Provenance { + const resource: Provenance = { + resourceType: "Provenance", + target: args.target, + recorded: args.recorded, + agent: args.agent, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance"] }, + } as unknown as Provenance + return resource + } + + static create (args: EHRS_FM_Record_Lifecycle_Event___ProvenanceProfileParams) : EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile { + return EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile.from(EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile.createResource(args)) + } + + toResource () : Provenance { + return this.resource + } + + getTarget () : Reference<"Resource">[] | undefined { + return this.resource.target as Reference<"Resource">[] | undefined + } + + setTarget (value: Reference<"Resource">[]) : this { + Object.assign(this.resource, { target: value }) + return this + } + + getRecorded () : string | undefined { + return this.resource.recorded as string | undefined + } + + setRecorded (value: string) : this { + Object.assign(this.resource, { recorded: value }) + return this + } + + getAgent () : ProvenanceAgent[] | undefined { + return this.resource.agent as ProvenanceAgent[] | undefined + } + + setAgent (value: ProvenanceAgent[]) : this { + Object.assign(this.resource, { agent: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "target", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + { const e = validateReference(r["target"], ["Resource"], "target", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + { const e = validateRequired(r, "recorded", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + { const e = validateReference(r["location"], ["Location"], "location", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + { const e = validateRequired(r, "agent", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_Provenance_Relevant_History.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_Provenance_Relevant_History.ts new file mode 100644 index 000000000..83c9917bb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_Provenance_Relevant_History.ts @@ -0,0 +1,148 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Provenance } from "../../hl7-fhir-r4-core/Provenance"; +import type { ProvenanceAgent } from "../../hl7-fhir-r4-core/Provenance"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface Provenance_Relevant_History extends Provenance { + activity: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>; +} + +export type Provenance_Relevant_History_Agent_AuthorSliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Provenance_Relevant_HistoryProfileParams = { + target: Reference<"Resource">[]; + occurredDateTime: string; + activity: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>; + agent: ProvenanceAgent[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history (pkg: hl7.fhir.r4.core#4.0.1) +export class Provenance_Relevant_HistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history" + + private resource: Provenance + + constructor (resource: Provenance) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/provenance-relevant-history")) profiles.push("http://hl7.org/fhir/StructureDefinition/provenance-relevant-history") + } + + static from (resource: Provenance) : Provenance_Relevant_HistoryProfile { + return new Provenance_Relevant_HistoryProfile(resource) + } + + static createResource (args: Provenance_Relevant_HistoryProfileParams) : Provenance { + const resource: Provenance = { + resourceType: "Provenance", + target: args.target, + occurredDateTime: args.occurredDateTime, + activity: args.activity, + agent: args.agent, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/provenance-relevant-history"] }, + } as unknown as Provenance + return resource + } + + static create (args: Provenance_Relevant_HistoryProfileParams) : Provenance_Relevant_HistoryProfile { + return Provenance_Relevant_HistoryProfile.from(Provenance_Relevant_HistoryProfile.createResource(args)) + } + + toResource () : Provenance { + return this.resource + } + + getTarget () : Reference<"Resource">[] | undefined { + return this.resource.target as Reference<"Resource">[] | undefined + } + + setTarget (value: Reference<"Resource">[]) : this { + Object.assign(this.resource, { target: value }) + return this + } + + getOccurredDateTime () : string | undefined { + return this.resource.occurredDateTime as string | undefined + } + + setOccurredDateTime (value: string) : this { + Object.assign(this.resource, { occurredDateTime: value }) + return this + } + + getActivity () : CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)> | undefined { + return this.resource.activity as CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)> | undefined + } + + setActivity (value: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>) : this { + Object.assign(this.resource, { activity: value }) + return this + } + + getAgent () : ProvenanceAgent[] | undefined { + return this.resource.agent as ProvenanceAgent[] | undefined + } + + setAgent (value: ProvenanceAgent[]) : this { + Object.assign(this.resource, { agent: value }) + return this + } + + toProfile () : Provenance_Relevant_History { + return this.resource as Provenance_Relevant_History + } + + public setAuthor (input: Provenance_Relevant_History_Agent_AuthorSliceInput): this { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const value = applySliceMatch(input as Record, match) as unknown as ProvenanceAgent + const list = (this.resource.agent ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getAuthor (): Provenance_Relevant_History_Agent_AuthorSliceInput | undefined { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const list = this.resource.agent + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as Provenance_Relevant_History_Agent_AuthorSliceInput + } + + public getAuthorRaw (): ProvenanceAgent | undefined { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const list = this.resource.agent + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "target", "Provenance Relevant History"); if (e) errors.push(e) } + { const e = validateReference(r["target"], ["Resource"], "target", "Provenance Relevant History"); if (e) errors.push(e) } + if (!(r["occurredDateTime"] !== undefined)) { + errors.push("occurred: at least one of occurredDateTime is required") + } + { const e = validateRequired(r, "activity", "Provenance Relevant History"); if (e) errors.push(e) } + { const e = validateRequired(r, "agent", "Provenance Relevant History"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["agent"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}}, "Author", 0, 1, "Provenance Relevant History.agent")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_MoneyQuantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_MoneyQuantity.ts new file mode 100644 index 000000000..96f3aa00b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_MoneyQuantity.ts @@ -0,0 +1,42 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MoneyQuantity (pkg: hl7.fhir.r4.core#4.0.1) +export class MoneyQuantityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/MoneyQuantity" + + private resource: Quantity + + constructor (resource: Quantity) { + this.resource = resource + } + + static from (resource: Quantity) : MoneyQuantityProfile { + return new MoneyQuantityProfile(resource) + } + + static createResource () : Quantity { + const resource: Quantity = { + } as unknown as Quantity + return resource + } + + static create () : MoneyQuantityProfile { + return MoneyQuantityProfile.from(MoneyQuantityProfile.createResource()) + } + + toResource () : Quantity { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_SimpleQuantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_SimpleQuantity.ts new file mode 100644 index 000000000..b9f125635 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_SimpleQuantity.ts @@ -0,0 +1,45 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SimpleQuantity (pkg: hl7.fhir.r4.core#4.0.1) +export class SimpleQuantityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + + private resource: Quantity + + constructor (resource: Quantity) { + this.resource = resource + } + + static from (resource: Quantity) : SimpleQuantityProfile { + return new SimpleQuantityProfile(resource) + } + + static createResource () : Quantity { + const resource: Quantity = { + } as unknown as Quantity + return resource + } + + static create () : SimpleQuantityProfile { + return SimpleQuantityProfile.from(SimpleQuantityProfile.createResource()) + } + + toResource () : Quantity { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["comparator"], ["<","<=",">=",">"], "comparator", "SimpleQuantity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Questionnaire_CQF_Questionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Questionnaire_CQF_Questionnaire.ts new file mode 100644 index 000000000..5c0a493bd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Questionnaire_CQF_Questionnaire.ts @@ -0,0 +1,67 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-questionnaire (pkg: hl7.fhir.r4.core#4.0.1) +export class CQF_QuestionnaireProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-questionnaire" + + private resource: Questionnaire + + constructor (resource: Questionnaire) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cqf-questionnaire")) profiles.push("http://hl7.org/fhir/StructureDefinition/cqf-questionnaire") + } + + static from (resource: Questionnaire) : CQF_QuestionnaireProfile { + return new CQF_QuestionnaireProfile(resource) + } + + static createResource () : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cqf-questionnaire"] }, + } as unknown as Questionnaire + return resource + } + + static create () : CQF_QuestionnaireProfile { + return CQF_QuestionnaireProfile.from(CQF_QuestionnaireProfile.createResource()) + } + + toResource () : Questionnaire { + return this.resource + } + + public setLibrary (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value } as Extension) + return this + } + + public getLibrary (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getLibraryExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts new file mode 100644 index 000000000..d6b4c2fc3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; +import type { RequestGroup } from "../../hl7-fhir-r4-core/RequestGroup"; + +export interface CDS_Hooks_RequestGroup extends RequestGroup { + identifier: Identifier[]; + instantiatesUri: string[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CDS_Hooks_RequestGroupProfileParams = { + identifier: Identifier[]; + instantiatesUri: string[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup (pkg: hl7.fhir.r4.core#4.0.1) +export class CDS_Hooks_RequestGroupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup" + + private resource: RequestGroup + + constructor (resource: RequestGroup) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup") + } + + static from (resource: RequestGroup) : CDS_Hooks_RequestGroupProfile { + return new CDS_Hooks_RequestGroupProfile(resource) + } + + static createResource (args: CDS_Hooks_RequestGroupProfileParams) : RequestGroup { + const resource: RequestGroup = { + resourceType: "RequestGroup", + identifier: args.identifier, + instantiatesUri: args.instantiatesUri, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup"] }, + } as unknown as RequestGroup + return resource + } + + static create (args: CDS_Hooks_RequestGroupProfileParams) : CDS_Hooks_RequestGroupProfile { + return CDS_Hooks_RequestGroupProfile.from(CDS_Hooks_RequestGroupProfile.createResource(args)) + } + + toResource () : RequestGroup { + return this.resource + } + + getIdentifier () : Identifier[] | undefined { + return this.resource.identifier as Identifier[] | undefined + } + + setIdentifier (value: Identifier[]) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getInstantiatesUri () : string[] | undefined { + return this.resource.instantiatesUri as string[] | undefined + } + + setInstantiatesUri (value: string[]) : this { + Object.assign(this.resource, { instantiatesUri: value }) + return this + } + + toProfile () : CDS_Hooks_RequestGroup { + return this.resource as CDS_Hooks_RequestGroup + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "identifier", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + { const e = validateRequired(r, "instantiatesUri", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + { const e = validateEnum(r["priority"], ["routine","urgent","asap","stat"], "priority", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","Patient"], "subject", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + { const e = validateReference(r["author"], ["Device","Practitioner","PractitionerRole"], "author", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ServiceRequestGenetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ServiceRequest_ServiceRequest_Genetics.ts similarity index 65% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ServiceRequestGenetics.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ServiceRequest_ServiceRequest_Genetics.ts index 281e8ce80..cb815fa76 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ServiceRequestGenetics.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ServiceRequest_ServiceRequest_Genetics.ts @@ -7,7 +7,6 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Reference } from "../../hl7-fhir-r4-core/Reference"; import type { ServiceRequest } from "../../hl7-fhir-r4-core/ServiceRequest"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-genetics export type ServiceRequest_Genetics_ItemInput = { code: CodeableConcept; geneticsObservation?: Reference; @@ -15,13 +14,36 @@ export type ServiceRequest_Genetics_ItemInput = { status?: string; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-genetics (pkg: hl7.fhir.r4.core#4.0.1) export class ServiceRequest_GeneticsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-genetics" + private resource: ServiceRequest constructor (resource: ServiceRequest) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/servicerequest-genetics")) profiles.push("http://hl7.org/fhir/StructureDefinition/servicerequest-genetics") + } + + static from (resource: ServiceRequest) : ServiceRequest_GeneticsProfile { + return new ServiceRequest_GeneticsProfile(resource) + } + + static createResource () : ServiceRequest { + const resource: ServiceRequest = { + resourceType: "ServiceRequest", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/servicerequest-genetics"] }, + } as unknown as ServiceRequest + return resource + } + + static create () : ServiceRequest_GeneticsProfile { + return ServiceRequest_GeneticsProfile.from(ServiceRequest_GeneticsProfile.createResource()) } toResource () : ServiceRequest { @@ -59,5 +81,11 @@ export class ServiceRequest_GeneticsProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableActivityDefinition.ts deleted file mode 100644 index b0f94a1ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableActivityDefinition.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ActivityDefinition } from "../../hl7-fhir-r4-core/ActivityDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition -export interface Shareable_ActivityDefinition extends ActivityDefinition { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_ActivityDefinitionProfile { - private resource: ActivityDefinition - - constructor (resource: ActivityDefinition) { - this.resource = resource - } - - toResource () : ActivityDefinition { - return this.resource - } - - toProfile () : Shareable_ActivityDefinition { - return this.resource as Shareable_ActivityDefinition - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableCodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableCodeSystem.ts deleted file mode 100644 index 4781edc43..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableCodeSystem.ts +++ /dev/null @@ -1,35 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeSystem } from "../../hl7-fhir-r4-core/CodeSystem"; -import type { CodeSystemConcept } from "../../hl7-fhir-r4-core/CodeSystem"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablecodesystem -export interface Shareable_CodeSystem extends CodeSystem { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; - concept: CodeSystemConcept[]; -} - -export class Shareable_CodeSystemProfile { - private resource: CodeSystem - - constructor (resource: CodeSystem) { - this.resource = resource - } - - toResource () : CodeSystem { - return this.resource - } - - toProfile () : Shareable_CodeSystem { - return this.resource as Shareable_CodeSystem - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableLibrary.ts deleted file mode 100644 index df2a4d8c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableLibrary.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Library } from "../../hl7-fhir-r4-core/Library"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablelibrary -export interface Shareable_Library extends Library { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_LibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : Shareable_Library { - return this.resource as Shareable_Library - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableMeasure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableMeasure.ts deleted file mode 100644 index d189b0c67..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableMeasure.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Measure } from "../../hl7-fhir-r4-core/Measure"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablemeasure -export interface Shareable_Measure extends Measure { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_MeasureProfile { - private resource: Measure - - constructor (resource: Measure) { - this.resource = resource - } - - toResource () : Measure { - return this.resource - } - - toProfile () : Shareable_Measure { - return this.resource as Shareable_Measure - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareablePlanDefinition.ts deleted file mode 100644 index 3724720a1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareablePlanDefinition.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { PlanDefinition } from "../../hl7-fhir-r4-core/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableplandefinition -export interface Shareable_PlanDefinition extends PlanDefinition { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_PlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - toProfile () : Shareable_PlanDefinition { - return this.resource as Shareable_PlanDefinition - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableValueSet.ts deleted file mode 100644 index 2bf3682e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ShareableValueSet.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ValueSet } from "../../hl7-fhir-r4-core/ValueSet"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablevalueset -export interface Shareable_ValueSet extends ValueSet { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_ValueSetProfile { - private resource: ValueSet - - constructor (resource: ValueSet) { - this.resource = resource - } - - toResource () : ValueSet { - return this.resource - } - - toProfile () : Shareable_ValueSet { - return this.resource as Shareable_ValueSet - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ValueSet_Shareable_ValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ValueSet_Shareable_ValueSet.ts new file mode 100644 index 000000000..651a78378 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ValueSet_Shareable_ValueSet.ts @@ -0,0 +1,151 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ValueSet } from "../../hl7-fhir-r4-core/ValueSet"; + +export interface Shareable_ValueSet extends ValueSet { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_ValueSetProfileParams = { + url: string; + version: string; + name: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablevalueset (pkg: hl7.fhir.r4.core#4.0.1) +export class Shareable_ValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + + private resource: ValueSet + + constructor (resource: ValueSet) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablevalueset")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablevalueset") + } + + static from (resource: ValueSet) : Shareable_ValueSetProfile { + return new Shareable_ValueSetProfile(resource) + } + + static createResource (args: Shareable_ValueSetProfileParams) : ValueSet { + const resource: ValueSet = { + resourceType: "ValueSet", + url: args.url, + version: args.version, + name: args.name, + status: args.status, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"] }, + } as unknown as ValueSet + return resource + } + + static create (args: Shareable_ValueSetProfileParams) : Shareable_ValueSetProfile { + return Shareable_ValueSetProfile.from(Shareable_ValueSetProfile.createResource(args)) + } + + toResource () : ValueSet { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_ValueSet { + return this.resource as Shareable_ValueSet + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable ValueSet"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/index.ts index 4c9619337..775aafe53 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/index.ts @@ -1,41 +1,427 @@ -export { Actual_GroupProfile } from "./ActualGroup"; -export { CDS_Hooks_GuidanceResponseProfile } from "./CdsHooksGuidanceResponse"; -export { CDS_Hooks_RequestGroupProfile } from "./CdsHooksRequestGroup"; -export { CDS_Hooks_Service_PlanDefinitionProfile } from "./CdsHooksServicePlanDefinition"; -export { Clinical_DocumentProfile } from "./ClinicalDocument"; -export { Computable_PlanDefinitionProfile } from "./ComputablePlanDefinition"; -export { CQF_QuestionnaireProfile } from "./CqfQuestionnaire"; -export { CQL_LibraryProfile } from "./CqlLibrary"; -export { Device_Metric_Observation_ProfileProfile } from "./DeviceMetricObservationProfile"; -export { DiagnosticReport_GeneticsProfile } from "./DiagnosticReportGenetics"; -export { DocumentSectionLibraryProfile } from "./DocumentSectionLibrary"; -export { DocumentStructureProfile } from "./DocumentStructure"; -export { EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile } from "./EhrsFmRecordLifecycleEventAuditEvent"; -export { EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile } from "./EhrsFmRecordLifecycleEventProvenance"; -export { Evidence_Synthesis_ProfileProfile } from "./EvidenceSynthesisProfile"; -export { Example_Lipid_ProfileProfile } from "./ExampleLipidProfile"; -export { Family_member_history_for_genetics_analysisProfile } from "./FamilyMemberHistoryForGeneticsAnalysis"; -export { Group_DefinitionProfile } from "./GroupDefinition"; -export { Observation_bmiProfile } from "./ObservationBmi"; -export { Observation_bodyheightProfile } from "./ObservationBodyheight"; -export { Observation_bodytempProfile } from "./ObservationBodytemp"; -export { Observation_bodyweightProfile } from "./ObservationBodyweight"; -export { Observation_bpProfile } from "./ObservationBp"; -export { Observation_geneticsProfile } from "./ObservationGenetics"; -export { Observation_headcircumProfile } from "./ObservationHeadcircum"; -export { Observation_heartrateProfile } from "./ObservationHeartrate"; -export { Observation_oxygensatProfile } from "./ObservationOxygensat"; -export { Observation_resprateProfile } from "./ObservationResprate"; -export { Observation_vitalsignsProfile } from "./ObservationVitalsigns"; -export { Observation_vitalspanelProfile } from "./ObservationVitalspanel"; -export { PICO_Element_ProfileProfile } from "./PicoElementProfile"; -export { Profile_for_CatalogProfile } from "./ProfileForCatalog"; -export { Profile_for_HLA_Genotyping_ResultsProfile } from "./ProfileForHlaGenotypingResults"; -export { Provenance_Relevant_HistoryProfile } from "./ProvenanceRelevantHistory"; -export { ServiceRequest_GeneticsProfile } from "./ServiceRequestGenetics"; -export { Shareable_ActivityDefinitionProfile } from "./ShareableActivityDefinition"; -export { Shareable_CodeSystemProfile } from "./ShareableCodeSystem"; -export { Shareable_LibraryProfile } from "./ShareableLibrary"; -export { Shareable_MeasureProfile } from "./ShareableMeasure"; -export { Shareable_PlanDefinitionProfile } from "./ShareablePlanDefinition"; -export { Shareable_ValueSetProfile } from "./ShareableValueSet"; +export type { CDS_Hooks_GuidanceResponse } from "./GuidanceResponse_CDS_Hooks_GuidanceResponse"; +export type { CDS_Hooks_RequestGroup } from "./RequestGroup_CDS_Hooks_RequestGroup"; +export type { Computable_PlanDefinition } from "./PlanDefinition_Computable_PlanDefinition"; +export type { Device_Metric_Observation_Profile } from "./Observation_Device_Metric_Observation_Profile"; +export type { Evidence_Synthesis_Profile } from "./Evidence_Evidence_Synthesis_Profile"; +export type { Example_Lipid_Profile } from "./Observation_Example_Lipid_Profile"; +export type { Profile_for_Catalog } from "./Composition_Profile_for_Catalog"; +export type { Provenance_Relevant_History } from "./Provenance_Provenance_Relevant_History"; +export type { Shareable_ActivityDefinition } from "./ActivityDefinition_Shareable_ActivityDefinition"; +export type { Shareable_CodeSystem } from "./CodeSystem_Shareable_CodeSystem"; +export type { Shareable_Library } from "./Library_Shareable_Library"; +export type { Shareable_Measure } from "./Measure_Shareable_Measure"; +export type { Shareable_PlanDefinition } from "./PlanDefinition_Shareable_PlanDefinition"; +export type { Shareable_ValueSet } from "./ValueSet_Shareable_ValueSet"; +export type { observation_bmi } from "./Observation_observation_bmi"; +export type { observation_vitalsigns } from "./Observation_observation_vitalsigns"; +export type { observation_vitalspanel } from "./Observation_observation_vitalspanel"; +export { ADXP_additionalLocatorProfile } from "./Extension_ADXP_additionalLocator"; +export { ADXP_buildingNumberSuffixProfile } from "./Extension_ADXP_buildingNumberSuffix"; +export { ADXP_careOfProfile } from "./Extension_ADXP_careOf"; +export { ADXP_censusTractProfile } from "./Extension_ADXP_censusTract"; +export { ADXP_delimiterProfile } from "./Extension_ADXP_delimiter"; +export { ADXP_deliveryAddressLineProfile } from "./Extension_ADXP_deliveryAddressLine"; +export { ADXP_deliveryInstallationAreaProfile } from "./Extension_ADXP_deliveryInstallationArea"; +export { ADXP_deliveryInstallationQualifierProfile } from "./Extension_ADXP_deliveryInstallationQualifier"; +export { ADXP_deliveryInstallationTypeProfile } from "./Extension_ADXP_deliveryInstallationType"; +export { ADXP_deliveryModeIdentifierProfile } from "./Extension_ADXP_deliveryModeIdentifier"; +export { ADXP_deliveryModeProfile } from "./Extension_ADXP_deliveryMode"; +export { ADXP_directionProfile } from "./Extension_ADXP_direction"; +export { ADXP_houseNumberNumericProfile } from "./Extension_ADXP_houseNumberNumeric"; +export { ADXP_houseNumberProfile } from "./Extension_ADXP_houseNumber"; +export { ADXP_postBoxProfile } from "./Extension_ADXP_postBox"; +export { ADXP_precinctProfile } from "./Extension_ADXP_precinct"; +export { ADXP_streetAddressLineProfile } from "./Extension_ADXP_streetAddressLine"; +export { ADXP_streetNameBaseProfile } from "./Extension_ADXP_streetNameBase"; +export { ADXP_streetNameProfile } from "./Extension_ADXP_streetName"; +export { ADXP_streetNameTypeProfile } from "./Extension_ADXP_streetNameType"; +export { ADXP_unitIDProfile } from "./Extension_ADXP_unitID"; +export { ADXP_unitTypeProfile } from "./Extension_ADXP_unitType"; +export { AD_useProfile } from "./Extension_AD_use"; +export { AccessionProfile } from "./Extension_Accession"; +export { Actual_GroupProfile } from "./Group_Actual_Group"; +export { AlleleProfile } from "./Extension_Allele"; +export { AminoAcidChangeProfile } from "./Extension_AminoAcidChange"; +export { AnalysisProfile } from "./Extension_Analysis"; +export { AncestryProfile } from "./Extension_Ancestry"; +export { AnonymizedProfile } from "./Extension_Anonymized"; +export { AssessedConditionProfile } from "./Extension_AssessedCondition"; +export { BodyStructure_ReferenceProfile } from "./Extension_BodyStructure_Reference"; +export { CDS_Hooks_GuidanceResponseProfile } from "./GuidanceResponse_CDS_Hooks_GuidanceResponse"; +export { CDS_Hooks_RequestGroupProfile } from "./RequestGroup_CDS_Hooks_RequestGroup"; +export { CDS_Hooks_Service_PlanDefinitionProfile } from "./PlanDefinition_CDS_Hooks_Service_PlanDefinition"; +export { CQF_QuestionnaireProfile } from "./Questionnaire_CQF_Questionnaire"; +export { CQL_LibraryProfile } from "./Library_CQL_Library"; +export { Clinical_DocumentProfile } from "./Composition_Clinical_Document"; +export { Computable_PlanDefinitionProfile } from "./PlanDefinition_Computable_PlanDefinition"; +export { CopyNumberEventProfile } from "./Extension_CopyNumberEvent"; +export { DNARegionNameProfile } from "./Extension_DNARegionName"; +export { DataElement_constraint_on_ElementDefinition_data_typeProfile } from "./ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type"; +export { Data_Absent_ReasonProfile } from "./Extension_Data_Absent_Reason"; +export { Design_NoteProfile } from "./Extension_Design_Note"; +export { Device_Metric_Observation_ProfileProfile } from "./Observation_Device_Metric_Observation_Profile"; +export { DiagnosticReport_GeneticsProfile } from "./DiagnosticReport_DiagnosticReport_Genetics"; +export { Display_NameProfile } from "./Extension_Display_Name"; +export { DocumentSectionLibraryProfile } from "./Composition_DocumentSectionLibrary"; +export { DocumentStructureProfile } from "./Composition_DocumentStructure"; +export { EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile } from "./AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event"; +export { EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile } from "./Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance"; +export { EN_qualifierProfile } from "./Extension_EN_qualifier"; +export { EN_representationProfile } from "./Extension_EN_representation"; +export { EN_useProfile } from "./Extension_EN_use"; +export { EncryptedProfile } from "./Extension_Encrypted"; +export { Evidence_Synthesis_ProfileProfile } from "./Evidence_Evidence_Synthesis_Profile"; +export { Example_Lipid_ProfileProfile } from "./Observation_Example_Lipid_Profile"; +export { FamilyMemberHistoryProfile } from "./Extension_FamilyMemberHistory"; +export { Family_member_history_for_genetics_analysisProfile } from "./FamilyMemberHistory_Family_member_history_for_genetics_analysis"; +export { GeneProfile } from "./Extension_Gene"; +export { GenomicSourceClassProfile } from "./Extension_GenomicSourceClass"; +export { GeolocationProfile } from "./Extension_Geolocation"; +export { Group_DefinitionProfile } from "./Group_Group_Definition"; +export { Human_LanguageProfile } from "./Extension_Human_Language"; +export { InstanceProfile } from "./Extension_Instance"; +export { InterpretationProfile } from "./Extension_Interpretation"; +export { ItemProfile } from "./Extension_Item"; +export { MPPSProfile } from "./Extension_MPPS"; +export { MoneyQuantityProfile } from "./Quantity_MoneyQuantity"; +export { Narrative_LinkProfile } from "./Extension_Narrative_Link"; +export { NotificationEndpointProfile } from "./Extension_NotificationEndpoint"; +export { NumberOfInstancesProfile } from "./Extension_NumberOfInstances"; +export { Observation_geneticsProfile } from "./Observation_Observation_genetics"; +export { Ordinal_ValueProfile } from "./Extension_Ordinal_Value"; +export { Original_TextProfile } from "./Extension_Original_Text"; +export { PICO_Element_ProfileProfile } from "./EvidenceVariable_PICO_Element_Profile"; +export { PQ_translationProfile } from "./Extension_PQ_translation"; +export { ParticipantObjectContainsStudyProfile } from "./Extension_ParticipantObjectContainsStudy"; +export { PhaseSetProfile } from "./Extension_PhaseSet"; +export { Profile_for_CatalogProfile } from "./Composition_Profile_for_Catalog"; +export { Profile_for_HLA_Genotyping_ResultsProfile } from "./DiagnosticReport_Profile_for_HLA_Genotyping_Results"; +export { Provenance_Relevant_HistoryProfile } from "./Provenance_Provenance_Relevant_History"; +export { ReferencesProfile } from "./Extension_References"; +export { Relative_Date_CriteriaProfile } from "./Extension_Relative_Date_Criteria"; +export { Rendered_ValueProfile } from "./Extension_Rendered_Value"; +export { SC_codingProfile } from "./Extension_SC_coding"; +export { SOPClassProfile } from "./Extension_SOPClass"; +export { ServiceRequest_GeneticsProfile } from "./ServiceRequest_ServiceRequest_Genetics"; +export { Shareable_ActivityDefinitionProfile } from "./ActivityDefinition_Shareable_ActivityDefinition"; +export { Shareable_CodeSystemProfile } from "./CodeSystem_Shareable_CodeSystem"; +export { Shareable_LibraryProfile } from "./Library_Shareable_Library"; +export { Shareable_MeasureProfile } from "./Measure_Shareable_Measure"; +export { Shareable_PlanDefinitionProfile } from "./PlanDefinition_Shareable_PlanDefinition"; +export { Shareable_ValueSetProfile } from "./ValueSet_Shareable_ValueSet"; +export { SimpleQuantityProfile } from "./Quantity_SimpleQuantity"; +export { TEL_addressProfile } from "./Extension_TEL_address"; +export { Timezone_CodeProfile } from "./Extension_Timezone_Code"; +export { Timezone_OffsetProfile } from "./Extension_Timezone_Offset"; +export { TranscriberProfile } from "./Extension_Transcriber"; +export { TranslationProfile } from "./Extension_Translation"; +export { ValidityPeriodProfile } from "./Extension_ValidityPeriod"; +export { VariableProfile } from "./Extension_Variable"; +export { VariantProfile } from "./Extension_Variant"; +export { WitnessProfile } from "./Extension_Witness"; +export { abatementProfile } from "./Extension_abatement"; +export { acceptanceProfile } from "./Extension_acceptance"; +export { activityStatusDateProfile } from "./Extension_activityStatusDate"; +export { activity_titleProfile } from "./Extension_activity_title"; +export { adaptiveFeedingDeviceProfile } from "./Extension_adaptiveFeedingDevice"; +export { addendumOfProfile } from "./Extension_addendumOf"; +export { administrationProfile } from "./Extension_administration"; +export { adoptionInfoProfile } from "./Extension_adoptionInfo"; +export { allele_databaseProfile } from "./Extension_allele_database"; +export { allowedUnitsProfile } from "./Extension_allowedUnits"; +export { allowed_typeProfile } from "./Extension_allowed_type"; +export { alternateProfile } from "./Extension_alternate"; +export { ancestorProfile } from "./Extension_ancestor"; +export { animalProfile } from "./Extension_animal"; +export { animalSpeciesProfile } from "./Extension_animalSpecies"; +export { applicable_versionProfile } from "./Extension_applicable_version"; +export { approachBodyStructureProfile } from "./Extension_approachBodyStructure"; +export { approvalDateProfile } from "./Extension_approvalDate"; +export { areaProfile } from "./Extension_area"; +export { assembly_orderProfile } from "./Extension_assembly_order"; +export { assertedDateProfile } from "./Extension_assertedDate"; +export { associatedEncounterProfile } from "./Extension_associatedEncounter"; +export { authorProfile } from "./Extension_author"; +export { authoritativeSourceProfile } from "./Extension_authoritativeSource"; +export { authorityProfile } from "./Extension_authority"; +export { baseTypeProfile } from "./Extension_baseType"; +export { basedOnProfile } from "./Extension_basedOn"; +export { bestpracticeProfile } from "./Extension_bestpractice"; +export { bestpractice_explanationProfile } from "./Extension_bestpractice_explanation"; +export { bidirectionalProfile } from "./Extension_bidirectional"; +export { bindingNameProfile } from "./Extension_bindingName"; +export { birthPlaceProfile } from "./Extension_birthPlace"; +export { birthTimeProfile } from "./Extension_birthTime"; +export { bodyPositionProfile } from "./Extension_bodyPosition"; +export { boundary_geojsonProfile } from "./Extension_boundary_geojson"; +export { cadavericDonorProfile } from "./Extension_cadavericDonor"; +export { calculatedValueProfile } from "./Extension_calculatedValue"; +export { candidateListProfile } from "./Extension_candidateList"; +export { capabilitiesProfile } from "./Extension_capabilities"; +export { careplanProfile } from "./Extension_careplan"; +export { caseSensitiveProfile } from "./Extension_caseSensitive"; +export { categoryProfile } from "./Extension_category"; +export { causedByProfile } from "./Extension_causedBy"; +export { cdsHooksEndpointProfile } from "./Extension_cdsHooksEndpoint"; +export { certaintyProfile } from "./Extension_certainty"; +export { changeBaseProfile } from "./Extension_changeBase"; +export { choiceOrientationProfile } from "./Extension_choiceOrientation"; +export { citationProfile } from "./Extension_citation"; +export { citizenshipProfile } from "./Extension_citizenship"; +export { codegen_superProfile } from "./Extension_codegen_super"; +export { collectionPriorityProfile } from "./Extension_collectionPriority"; +export { completionModeProfile } from "./Extension_completionMode"; +export { conceptOrderProfile } from "./Extension_conceptOrder"; +export { concept_commentsProfile } from "./Extension_concept_comments"; +export { concept_definitionProfile } from "./Extension_concept_definition"; +export { congregationProfile } from "./Extension_congregation"; +export { constraintProfile } from "./Extension_constraint"; +export { countryProfile } from "./Extension_country"; +export { dayOfMonthProfile } from "./Extension_dayOfMonth"; +export { daysOfCycleProfile } from "./Extension_daysOfCycle"; +export { deltaProfile } from "./Extension_delta"; +export { dependenciesProfile } from "./Extension_dependencies"; +export { deprecatedProfile } from "./Extension_deprecated"; +export { detailProfile } from "./Extension_detail"; +export { detectedIssueProfile } from "./Extension_detectedIssue"; +export { deviceCodeProfile } from "./Extension_deviceCode"; +export { directedByProfile } from "./Extension_directedBy"; +export { disabilityProfile } from "./Extension_disability"; +export { displayCategoryProfile } from "./Extension_displayCategory"; +export { display_hintProfile } from "./Extension_display_hint"; +export { doNotPerformProfile } from "./Extension_doNotPerform"; +export { dueToProfile } from "./Extension_dueTo"; +export { durationProfile } from "./Extension_duration"; +export { effectiveDateProfile } from "./Extension_effectiveDate"; +export { effectivePeriodProfile } from "./Extension_effectivePeriod"; +export { encounterClassProfile } from "./Extension_encounterClass"; +export { encounterTypeProfile } from "./Extension_encounterType"; +export { entryFormatProfile } from "./Extension_entryFormat"; +export { episodeOfCareProfile } from "./Extension_episodeOfCare"; +export { equivalenceProfile } from "./Extension_equivalence"; +export { eventHistoryProfile } from "./Extension_eventHistory"; +export { exactProfile } from "./Extension_exact"; +export { expand_groupProfile } from "./Extension_expand_group"; +export { expand_rulesProfile } from "./Extension_expand_rules"; +export { expansionSourceProfile } from "./Extension_expansionSource"; +export { expectationProfile } from "./Extension_expectation"; +export { expirationDateProfile } from "./Extension_expirationDate"; +export { explicit_type_nameProfile } from "./Extension_explicit_type_name"; +export { exposureDateProfile } from "./Extension_exposureDate"; +export { exposureDescriptionProfile } from "./Extension_exposureDescription"; +export { exposureDurationProfile } from "./Extension_exposureDuration"; +export { expressionProfile } from "./Extension_expression"; +export { extendsProfile } from "./Extension_extends"; +export { extensibleProfile } from "./Extension_extensible"; +export { extensionProfile } from "./Extension_extension"; +export { fathers_familyProfile } from "./Extension_fathers_family"; +export { fhirTypeProfile } from "./Extension_fhirType"; +export { fhir_typeProfile } from "./Extension_fhir_type"; +export { fmmProfile } from "./Extension_fmm"; +export { fmm_no_warningsProfile } from "./Extension_fmm_no_warnings"; +export { focusCodeProfile } from "./Extension_focusCode"; +export { fullUrlProfile } from "./Extension_fullUrl"; +export { gatewayDeviceProfile } from "./Extension_gatewayDevice"; +export { genderIdentityProfile } from "./Extension_genderIdentity"; +export { glstringProfile } from "./Extension_glstring"; +export { groupProfile } from "./Extension_group"; +export { haploidProfile } from "./Extension_haploid"; +export { hiddenProfile } from "./Extension_hidden"; +export { hierarchyProfile } from "./Extension_hierarchy"; +export { historyProfile } from "./Extension_history"; +export { http_response_headerProfile } from "./Extension_http_response_header"; +export { identifierProfile } from "./Extension_identifier"; +export { implantStatusProfile } from "./Extension_implantStatus"; +export { importanceProfile } from "./Extension_importance"; +export { incisionDateTimeProfile } from "./Extension_incisionDateTime"; +export { inheritedExtensibleValueSetProfile } from "./Extension_inheritedExtensibleValueSet"; +export { initialValueProfile } from "./Extension_initialValue"; +export { initiatingLocationProfile } from "./Extension_initiatingLocation"; +export { initiatingOrganizationProfile } from "./Extension_initiatingOrganization"; +export { initiatingPersonProfile } from "./Extension_initiatingPerson"; +export { instantiatesCanonicalProfile } from "./Extension_instantiatesCanonical"; +export { instantiatesUriProfile } from "./Extension_instantiatesUri"; +export { insuranceProfile } from "./Extension_insurance"; +export { interpreterRequiredProfile } from "./Extension_interpreterRequired"; +export { isCommonBindingProfile } from "./Extension_isCommonBinding"; +export { isDryWeightProfile } from "./Extension_isDryWeight"; +export { issue_sourceProfile } from "./Extension_issue_source"; +export { itemControlProfile } from "./Extension_itemControl"; +export { keyWordProfile } from "./Extension_keyWord"; +export { labelProfile } from "./Extension_label"; +export { lastReviewDateProfile } from "./Extension_lastReviewDate"; +export { libraryProfile } from "./Extension_library"; +export { localProfile } from "./Extension_local"; +export { locationPerformedProfile } from "./Extension_locationPerformed"; +export { locationProfile } from "./Extension_location"; +export { location_distanceProfile } from "./Extension_location_distance"; +export { managementProfile } from "./Extension_management"; +export { mapProfile } from "./Extension_map"; +export { markdownProfile } from "./Extension_markdown"; +export { match_gradeProfile } from "./Extension_match_grade"; +export { maxDecimalPlacesProfile } from "./Extension_maxDecimalPlaces"; +export { maxOccursProfile } from "./Extension_maxOccurs"; +export { maxSizeProfile } from "./Extension_maxSize"; +export { maxValueProfile } from "./Extension_maxValue"; +export { maxValueSetProfile } from "./Extension_maxValueSet"; +export { measureInfoProfile } from "./Extension_measureInfo"; +export { mediaProfile } from "./Extension_media"; +export { messageheader_response_requestProfile } from "./Extension_messageheader_response_request"; +export { methodProfile } from "./Extension_method"; +export { mimeTypeProfile } from "./Extension_mimeType"; +export { minLengthProfile } from "./Extension_minLength"; +export { minOccursProfile } from "./Extension_minOccurs"; +export { minValueProfile } from "./Extension_minValue"; +export { minValueSetProfile } from "./Extension_minValueSet"; +export { modeOfArrivalProfile } from "./Extension_modeOfArrival"; +export { mothersMaidenNameProfile } from "./Extension_mothersMaidenName"; +export { mothers_familyProfile } from "./Extension_mothers_family"; +export { namespaceProfile } from "./Extension_namespace"; +export { nationalityProfile } from "./Extension_nationality"; +export { normative_versionProfile } from "./Extension_normative_version"; +export { nullFlavorProfile } from "./Extension_nullFlavor"; +export { oauth_urisProfile } from "./Extension_oauth_uris"; +export { objectClassProfile } from "./Extension_objectClass"; +export { objectClassPropertyProfile } from "./Extension_objectClassProperty"; +export { observationProfile } from "./Extension_observation"; +export { observation_bmiProfile } from "./Observation_observation_bmi"; +export { observation_bodyheightProfile } from "./Observation_observation_bodyheight"; +export { observation_bodytempProfile } from "./Observation_observation_bodytemp"; +export { observation_bodyweightProfile } from "./Observation_observation_bodyweight"; +export { observation_bpProfile } from "./Observation_observation_bp"; +export { observation_headcircumProfile } from "./Observation_observation_headcircum"; +export { observation_heartrateProfile } from "./Observation_observation_heartrate"; +export { observation_oxygensatProfile } from "./Observation_observation_oxygensat"; +export { observation_resprateProfile } from "./Observation_observation_resprate"; +export { observation_vitalsignsProfile } from "./Observation_observation_vitalsigns"; +export { observation_vitalspanelProfile } from "./Observation_observation_vitalspanel"; +export { occurredFollowingProfile } from "./Extension_occurredFollowing"; +export { optionExclusiveProfile } from "./Extension_optionExclusive"; +export { optionPrefixProfile } from "./Extension_optionPrefix"; +export { otherConfidentialityProfile } from "./Extension_otherConfidentiality"; +export { otherNameProfile } from "./Extension_otherName"; +export { outcomeProfile } from "./Extension_outcome"; +export { own_nameProfile } from "./Extension_own_name"; +export { own_prefixProfile } from "./Extension_own_prefix"; +export { parameterSourceProfile } from "./Extension_parameterSource"; +export { parentProfile } from "./Extension_parent"; +export { partOfProfile } from "./Extension_partOf"; +export { partner_nameProfile } from "./Extension_partner_name"; +export { partner_prefixProfile } from "./Extension_partner_prefix"; +export { patientInstructionProfile } from "./Extension_patientInstruction"; +export { patient_recordProfile } from "./Extension_patient_record"; +export { performerFunctionProfile } from "./Extension_performerFunction"; +export { performerOrderProfile } from "./Extension_performerOrder"; +export { periodProfile } from "./Extension_period"; +export { permitted_value_conceptmapProfile } from "./Extension_permitted_value_conceptmap"; +export { permitted_value_valuesetProfile } from "./Extension_permitted_value_valueset"; +export { pertainsToGoalProfile } from "./Extension_pertainsToGoal"; +export { precisionProfile } from "./Extension_precision"; +export { preconditionProfile } from "./Extension_precondition"; +export { preferenceTypeProfile } from "./Extension_preferenceType"; +export { preferredContactProfile } from "./Extension_preferredContact"; +export { preferredProfile } from "./Extension_preferred"; +export { primaryIndProfile } from "./Extension_primaryInd"; +export { priorityProfile } from "./Extension_priority"; +export { processingTimeProfile } from "./Extension_processingTime"; +export { proficiencyProfile } from "./Extension_proficiency"; +export { profileProfile } from "./Extension_profile"; +export { profile_elementProfile } from "./Extension_profile_element"; +export { progressStatusProfile } from "./Extension_progressStatus"; +export { prohibitedProfile } from "./Extension_prohibited"; +export { qualityOfEvidenceProfile } from "./Extension_qualityOfEvidence"; +export { questionProfile } from "./Extension_question"; +export { questionnaireRequestProfile } from "./Extension_questionnaireRequest"; +export { reagentProfile } from "./Extension_reagent"; +export { reasonCancelledProfile } from "./Extension_reasonCancelled"; +export { reasonCodeProfile } from "./Extension_reasonCode"; +export { reasonProfile } from "./Extension_reason"; +export { reasonReferenceProfile } from "./Extension_reasonReference"; +export { reasonRefutedProfile } from "./Extension_reasonRefuted"; +export { reasonRejectedProfile } from "./Extension_reasonRejected"; +export { receivingOrganizationProfile } from "./Extension_receivingOrganization"; +export { receivingPersonProfile } from "./Extension_receivingPerson"; +export { recipientLanguageProfile } from "./Extension_recipientLanguage"; +export { recipientTypeProfile } from "./Extension_recipientType"; +export { referenceFilterProfile } from "./Extension_referenceFilter"; +export { referenceProfile } from "./Extension_reference"; +export { referenceProfileProfile } from "./Extension_referenceProfile"; +export { referenceResourceProfile } from "./Extension_referenceResource"; +export { regexProfile } from "./Extension_regex"; +export { relatedArtifactProfile } from "./Extension_relatedArtifact"; +export { relatedPersonProfile } from "./Extension_relatedPerson"; +export { relatedProfile } from "./Extension_related"; +export { relationshipProfile } from "./Extension_relationship"; +export { relativeDateTimeProfile } from "./Extension_relativeDateTime"; +export { relevantHistoryProfile } from "./Extension_relevantHistory"; +export { religionProfile } from "./Extension_religion"; +export { replacedbyProfile } from "./Extension_replacedby"; +export { replacesProfile } from "./Extension_replaces"; +export { researchStudyProfile } from "./Extension_researchStudy"; +export { resolutionAgeProfile } from "./Extension_resolutionAge"; +export { reviewerProfile } from "./Extension_reviewer"; +export { riskProfile } from "./Extension_risk"; +export { ruledOutProfile } from "./Extension_ruledOut"; +export { rules_textProfile } from "./Extension_rules_text"; +export { scheduleProfile } from "./Extension_schedule"; +export { sctdescidProfile } from "./Extension_sctdescid"; +export { search_parameter_combinationProfile } from "./Extension_search_parameter_combination"; +export { secondaryFindingProfile } from "./Extension_secondaryFinding"; +export { section_subjectProfile } from "./Extension_section_subject"; +export { security_categoryProfile } from "./Extension_security_category"; +export { selectorProfile } from "./Extension_selector"; +export { sequelToProfile } from "./Extension_sequelTo"; +export { sequenceNumberProfile } from "./Extension_sequenceNumber"; +export { severityProfile } from "./Extension_severity"; +export { siblingProfile } from "./Extension_sibling"; +export { signatureProfile } from "./Extension_signature"; +export { signatureRequiredProfile } from "./Extension_signatureRequired"; +export { sliderStepValueProfile } from "./Extension_sliderStepValue"; +export { sourceReferenceProfile } from "./Extension_sourceReference"; +export { specialHandlingProfile } from "./Extension_specialHandling"; +export { special_statusProfile } from "./Extension_special_status"; +export { specimenCodeProfile } from "./Extension_specimenCode"; +export { standards_statusProfile } from "./Extension_standards_status"; +export { statusReasonProfile } from "./Extension_statusReason"; +export { stewardProfile } from "./Extension_steward"; +export { strengthOfRecommendationProfile } from "./Extension_strengthOfRecommendation"; +export { styleProfile } from "./Extension_style"; +export { styleSensitiveProfile } from "./Extension_styleSensitive"; +export { substanceExposureRiskProfile } from "./Extension_substanceExposureRisk"; +export { summaryOfProfile } from "./Extension_summaryOf"; +export { summaryProfile } from "./Extension_summary"; +export { supplementProfile } from "./Extension_supplement"; +export { supportLinkProfile } from "./Extension_supportLink"; +export { supported_systemProfile } from "./Extension_supported_system"; +export { supportingInfoProfile } from "./Extension_supportingInfo"; +export { systemNameProfile } from "./Extension_systemName"; +export { systemProfile } from "./Extension_system"; +export { systemRefProfile } from "./Extension_systemRef"; +export { systemUserLanguageProfile } from "./Extension_systemUserLanguage"; +export { systemUserTaskContextProfile } from "./Extension_systemUserTaskContext"; +export { systemUserTypeProfile } from "./Extension_systemUserType"; +export { table_nameProfile } from "./Extension_table_name"; +export { targetBodyStructureProfile } from "./Extension_targetBodyStructure"; +export { template_statusProfile } from "./Extension_template_status"; +export { testProfile } from "./Extension_test"; +export { timeOffsetProfile } from "./Extension_timeOffset"; +export { toocostlyProfile } from "./Extension_toocostly"; +export { translatableProfile } from "./Extension_translatable"; +export { trusted_expansionProfile } from "./Extension_trusted_expansion"; +export { typeProfile } from "./Extension_type"; +export { uncertaintyProfile } from "./Extension_uncertainty"; +export { uncertaintyTypeProfile } from "./Extension_uncertaintyType"; +export { unclosedProfile } from "./Extension_unclosed"; +export { unitOptionProfile } from "./Extension_unitOption"; +export { unitProfile } from "./Extension_unit"; +export { unitValueSetProfile } from "./Extension_unitValueSet"; +export { usageModeProfile } from "./Extension_usageMode"; +export { usageProfile } from "./Extension_usage"; +export { validDateProfile } from "./Extension_validDate"; +export { versionNumberProfile } from "./Extension_versionNumber"; +export { warningProfile } from "./Extension_warning"; +export { websocketProfile } from "./Extension_websocket"; +export { wgProfile } from "./Extension_wg"; +export { workflowStatusProfile } from "./Extension_workflowStatus"; +export { xhtmlProfile } from "./Extension_xhtml"; +export { xml_no_orderProfile } from "./Extension_xml_no_order"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Account.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Account.ts index 1cc487195..47399f70c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Account.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Account.ts @@ -27,7 +27,7 @@ export interface AccountGuarantor extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account (pkg: hl7.fhir.r4.examples#4.0.1) export interface Account extends DomainResource { resourceType: "Account"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ActivityDefinition.ts index 6eb6e65c4..f0db52dde 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ActivityDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ActivityDefinition.ts @@ -46,7 +46,7 @@ export interface ActivityDefinitionParticipant extends BackboneElement { type: ("patient" | "practitioner" | "related-person" | "device"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface ActivityDefinition extends DomainResource { resourceType: "ActivityDefinition"; @@ -80,7 +80,7 @@ export interface ActivityDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; location?: Reference<"Location">; name?: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Address.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Address.ts index 0b6167687..0e7af23a5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Address.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Address.ts @@ -8,7 +8,7 @@ import type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Period } from "../hl7-fhir-r4-examples/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Address +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Address (pkg: hl7.fhir.r4.examples#4.0.1) export interface Address extends Element { city?: string; _city?: Element; @@ -17,7 +17,7 @@ export interface Address extends Element { district?: string; _district?: Element; line?: string[]; - _line?: Element; + _line?: (Element | null)[]; period?: Period; postalCode?: string; _postalCode?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AdverseEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AdverseEvent.ts index d05579659..ed01253f4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AdverseEvent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AdverseEvent.ts @@ -26,13 +26,13 @@ export interface AdverseEventSuspectEntityCausality extends BackboneElement { productRelatedness?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdverseEvent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdverseEvent (pkg: hl7.fhir.r4.examples#4.0.1) export interface AdverseEvent extends DomainResource { resourceType: "AdverseEvent"; actuality: ("actual" | "potential"); _actuality?: Element; - category?: CodeableConcept[]; + category?: CodeableConcept<("product-problem" | "product-quality" | "product-use-error" | "wrong-dose" | "incorrect-prescribing-information" | "wrong-technique" | "wrong-route-of-administration" | "wrong-rate" | "wrong-duration" | "wrong-time" | "expired-drug" | "medical-device-use-error" | "problem-different-manufacturer" | "unsafe-physical-environment" | string)>[]; contributor?: Reference<"Device" | "Practitioner" | "PractitionerRole">[]; date?: string; _date?: Element; @@ -42,14 +42,14 @@ export interface AdverseEvent extends DomainResource { event?: CodeableConcept; identifier?: Identifier; location?: Reference<"Location">; - outcome?: CodeableConcept; + outcome?: CodeableConcept<("resolved" | "recovering" | "ongoing" | "resolvedWithSequelae" | "fatal" | "unknown")>; recordedDate?: string; _recordedDate?: Element; recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; referenceDocument?: Reference<"DocumentReference">[]; resultingCondition?: Reference<"Condition">[]; seriousness?: CodeableConcept; - severity?: CodeableConcept; + severity?: CodeableConcept<("mild" | "moderate" | "severe")>; study?: Reference<"ResearchStudy">[]; subject: Reference<"Group" | "Patient" | "Practitioner" | "RelatedPerson">; subjectMedicalHistory?: Reference<"AllergyIntolerance" | "Condition" | "DocumentReference" | "FamilyMemberHistory" | "Immunization" | "Media" | "Observation" | "Procedure">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Age.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Age.ts index 88b312b52..2c18569ec 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Age.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Age.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Age +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Age (pkg: hl7.fhir.r4.examples#4.0.1) export interface Age extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AllergyIntolerance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AllergyIntolerance.ts index d37fb657f..1baef0ca7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AllergyIntolerance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AllergyIntolerance.ts @@ -32,14 +32,14 @@ export interface AllergyIntoleranceReaction extends BackboneElement { substance?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance (pkg: hl7.fhir.r4.examples#4.0.1) export interface AllergyIntolerance extends DomainResource { resourceType: "AllergyIntolerance"; asserter?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; category?: ("food" | "medication" | "environment" | "biologic")[]; - _category?: Element; - clinicalStatus?: CodeableConcept; + _category?: (Element | null)[]; + clinicalStatus?: CodeableConcept<("active" | "inactive" | "resolved")>; code?: CodeableConcept; criticality?: ("low" | "high" | "unable-to-assess"); _criticality?: Element; @@ -62,7 +62,7 @@ export interface AllergyIntolerance extends DomainResource { recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; type?: ("allergy" | "intolerance"); _type?: Element; - verificationStatus?: CodeableConcept; + verificationStatus?: CodeableConcept<("unconfirmed" | "confirmed" | "refuted" | "entered-in-error")>; } export const isAllergyIntolerance = (resource: unknown): resource is AllergyIntolerance => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AllergyIntolerance"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Annotation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Annotation.ts index cdb240919..2e5e94789 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Annotation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Annotation.ts @@ -8,7 +8,7 @@ import type { Reference } from "../hl7-fhir-r4-examples/Reference"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Annotation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Annotation (pkg: hl7.fhir.r4.examples#4.0.1) export interface Annotation extends Element { authorReference?: Reference<"Organization" | "Patient" | "Practitioner" | "RelatedPerson">; authorString?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Appointment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Appointment.ts index e4b863c78..5f7157cfe 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Appointment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Appointment.ts @@ -21,14 +21,14 @@ export interface AppointmentParticipant extends BackboneElement { period?: Period; required?: ("required" | "optional" | "information-only"); status: ("accepted" | "declined" | "tentative" | "needs-action"); - type?: CodeableConcept[]; + type?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Appointment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Appointment (pkg: hl7.fhir.r4.examples#4.0.1) export interface Appointment extends DomainResource { resourceType: "Appointment"; - appointmentType?: CodeableConcept; + appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; basedOn?: Reference<"ServiceRequest">[]; cancelationReason?: CodeableConcept; comment?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AppointmentResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AppointmentResponse.ts index 2272e9b80..fea45cb36 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AppointmentResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AppointmentResponse.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AppointmentResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AppointmentResponse (pkg: hl7.fhir.r4.examples#4.0.1) export interface AppointmentResponse extends DomainResource { resourceType: "AppointmentResponse"; @@ -25,7 +25,7 @@ export interface AppointmentResponse extends DomainResource { identifier?: Identifier[]; participantStatus: ("accepted" | "declined" | "tentative" | "needs-action"); _participantStatus?: Element; - participantType?: CodeableConcept[]; + participantType?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; start?: string; _start?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Attachment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Attachment.ts index 616cc635a..b28cdbd6b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Attachment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Attachment.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Attachment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Attachment (pkg: hl7.fhir.r4.examples#4.0.1) export interface Attachment extends Element { contentType?: string; _contentType?: Element; @@ -16,7 +16,7 @@ export interface Attachment extends Element { _data?: Element; hash?: string; _hash?: Element; - language?: string; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); _language?: Element; size?: number; _size?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AuditEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AuditEvent.ts index b7fa9db9b..b8eea8c0f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AuditEvent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AuditEvent.ts @@ -19,14 +19,14 @@ export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export interface AuditEventAgent extends BackboneElement { altId?: string; location?: Reference<"Location">; - media?: Coding; + media?: Coding<("110030" | "110031" | "110032" | "110033" | "110034" | "110035" | "110036" | "110037" | "110010" | "110038" | string)>; name?: string; network?: AuditEventAgentNetwork; policy?: string[]; purposeOfUse?: CodeableConcept[]; requestor: boolean; role?: CodeableConcept[]; - type?: CodeableConcept; + type?: CodeableConcept<("AMENDER" | "COAUTH" | "CONT" | "EVTWIT" | "PRIMAUTH" | "REVIEWER" | "SOURCE" | "TRANS" | "VALID" | "VERF" | "AFFL" | "AGNT" | "ASSIGNED" | "CLAIM" | "COVPTY" | "DEPEN" | "ECON" | "EMP" | "GUARD" | "INVSBJ" | "NAMED" | "NOK" | "PAT" | "PROV" | "NOT" | "CLASSIFIER" | "CONSENTER" | "CONSWIT" | "COPART" | "DECLASSIFIER" | "DELEGATEE" | "DELEGATOR" | "DOWNGRDER" | "DPOWATT" | "EXCEST" | "GRANTEE" | "GRANTOR" | "GT" | "GUADLTM" | "HPOWATT" | "INTPRTER" | "POWATT" | "RESPRSN" | "SPOWATT" | "AUCG" | "AULR" | "AUTM" | "AUWA" | "PROMSK" | "AUT" | "CST" | "INF" | "IRCP" | "LA" | "IRCP" | "TRC" | "WIT" | "authserver" | "datacollector" | "dataprocessor" | "datasubject" | "humanuser" | "110150" | "110151" | "110152" | "110153" | "110154" | "110155" | string)>; who?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; } @@ -38,10 +38,10 @@ export interface AuditEventAgentNetwork extends BackboneElement { export interface AuditEventEntity extends BackboneElement { description?: string; detail?: AuditEventEntityDetail[]; - lifecycle?: Coding; + lifecycle?: Coding<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)>; name?: string; query?: string; - role?: Coding; + role?: Coding<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | string)>; securityLabel?: Coding[]; type?: Coding; what?: Reference<"Resource">; @@ -56,10 +56,10 @@ export interface AuditEventEntityDetail extends BackboneElement { export interface AuditEventSource extends BackboneElement { observer: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; site?: string; - type?: Coding[]; + type?: Coding<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | string)>[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent (pkg: hl7.fhir.r4.examples#4.0.1) export interface AuditEvent extends DomainResource { resourceType: "AuditEvent"; @@ -76,8 +76,8 @@ export interface AuditEvent extends DomainResource { recorded: string; _recorded?: Element; source: AuditEventSource; - subtype?: Coding[]; - type: Coding; + subtype?: Coding<("110120" | "110121" | "110122" | "110123" | "110124" | "110125" | "110126" | "110127" | "110128" | "110129" | "110130" | "110131" | "110132" | "110133" | "110134" | "110135" | "110136" | "110137" | "110138" | "110139" | "110140" | "110141" | "110142" | "read" | "vread" | "update" | "patch" | "delete" | "history" | "history-instance" | "history-type" | "history-system" | "create" | "search" | "search-type" | "search-system" | "capabilities" | "transaction" | "batch" | "operation" | string)>[]; + type: Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)>; } export const isAuditEvent = (resource: unknown): resource is AuditEvent => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AuditEvent"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BackboneElement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BackboneElement.ts index e47b4449f..6637913bd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BackboneElement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BackboneElement.ts @@ -8,7 +8,7 @@ import type { Extension } from "../hl7-fhir-r4-examples/Extension"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Extension } from "../hl7-fhir-r4-examples/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneElement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneElement (pkg: hl7.fhir.r4.examples#4.0.1) export interface BackboneElement extends Element { modifierExtension?: Extension[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Basic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Basic.ts index 78abef946..c9459fa57 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Basic.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Basic.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Basic +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Basic (pkg: hl7.fhir.r4.examples#4.0.1) export interface Basic extends DomainResource { resourceType: "Basic"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Binary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Binary.ts index c2d45b6be..66f3107e1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Binary.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Binary.ts @@ -8,7 +8,7 @@ import type { Resource } from "../hl7-fhir-r4-examples/Resource"; import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Binary +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Binary (pkg: hl7.fhir.r4.examples#4.0.1) export interface Binary extends Resource { resourceType: "Binary"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BiologicallyDerivedProduct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BiologicallyDerivedProduct.ts index d39eb48c9..9eef35744 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BiologicallyDerivedProduct.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BiologicallyDerivedProduct.ts @@ -44,7 +44,7 @@ export interface BiologicallyDerivedProductStorage extends BackboneElement { temperature?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct (pkg: hl7.fhir.r4.examples#4.0.1) export interface BiologicallyDerivedProduct extends DomainResource { resourceType: "BiologicallyDerivedProduct"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BodyStructure.ts index 904c389ad..2c90e1f00 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BodyStructure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BodyStructure.ts @@ -14,7 +14,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BodyStructure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BodyStructure (pkg: hl7.fhir.r4.examples#4.0.1) export interface BodyStructure extends DomainResource { resourceType: "BodyStructure"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Bundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Bundle.ts index f3323b345..4a24af76a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Bundle.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Bundle.ts @@ -48,7 +48,7 @@ export interface BundleLink extends BackboneElement { url: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle (pkg: hl7.fhir.r4.examples#4.0.1) export interface Bundle extends Resource { resourceType: "Bundle"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CapabilityStatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CapabilityStatement.ts index e0bc0e988..9940a61ef 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CapabilityStatement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CapabilityStatement.ts @@ -39,7 +39,7 @@ export interface CapabilityStatementMessaging extends BackboneElement { export interface CapabilityStatementMessagingEndpoint extends BackboneElement { address: string; - protocol: Coding; + protocol: Coding<("http" | "ftp" | "mllp" | string)>; } export interface CapabilityStatementMessagingSupportedMessage extends BackboneElement { @@ -104,7 +104,7 @@ export interface CapabilityStatementRestResourceSearchParam extends BackboneElem export interface CapabilityStatementRestSecurity extends BackboneElement { cors?: boolean; description?: string; - service?: CodeableConcept[]; + service?: CodeableConcept<("OAuth" | "SMART-on-FHIR" | "NTLM" | "Basic" | "Kerberos" | "Certificates" | string)>[]; } export interface CapabilityStatementSoftware extends BackboneElement { @@ -113,7 +113,7 @@ export interface CapabilityStatementSoftware extends BackboneElement { version?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CapabilityStatement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CapabilityStatement (pkg: hl7.fhir.r4.examples#4.0.1) export interface CapabilityStatement extends DomainResource { resourceType: "CapabilityStatement"; @@ -130,14 +130,14 @@ export interface CapabilityStatement extends DomainResource { fhirVersion: ("0.01" | "0.05" | "0.06" | "0.11" | "0.0.80" | "0.0.81" | "0.0.82" | "0.4.0" | "0.5.0" | "1.0.0" | "1.0.1" | "1.0.2" | "1.1.0" | "1.4.0" | "1.6.0" | "1.8.0" | "3.0.0" | "3.0.1" | "3.3.0" | "3.5.0" | "4.0.0" | "4.0.1"); _fhirVersion?: Element; format: string[]; - _format?: Element; + _format?: (Element | null)[]; implementation?: CapabilityStatementImplementation; implementationGuide?: string[]; - _implementationGuide?: Element; + _implementationGuide?: (Element | null)[]; imports?: string[]; - _imports?: Element; + _imports?: (Element | null)[]; instantiates?: string[]; - _instantiates?: Element; + _instantiates?: (Element | null)[]; jurisdiction?: CodeableConcept[]; kind: ("instance" | "capability" | "requirements"); _kind?: Element; @@ -145,7 +145,7 @@ export interface CapabilityStatement extends DomainResource { name?: string; _name?: Element; patchFormat?: string[]; - _patchFormat?: Element; + _patchFormat?: (Element | null)[]; publisher?: string; _publisher?: Element; purpose?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CarePlan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CarePlan.ts index 6e7527afd..2a724e72c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CarePlan.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CarePlan.ts @@ -53,7 +53,7 @@ export interface CarePlanActivityDetail extends BackboneElement { statusReason?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan (pkg: hl7.fhir.r4.examples#4.0.1) export interface CarePlan extends DomainResource { resourceType: "CarePlan"; @@ -72,9 +72,9 @@ export interface CarePlan extends DomainResource { goal?: Reference<"Goal">[]; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "order" | "option"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CareTeam.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CareTeam.ts index b2de279a7..5ee917eb1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CareTeam.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CareTeam.ts @@ -27,7 +27,7 @@ export interface CareTeamParticipant extends BackboneElement { role?: CodeableConcept[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam (pkg: hl7.fhir.r4.examples#4.0.1) export interface CareTeam extends DomainResource { resourceType: "CareTeam"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CatalogEntry.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CatalogEntry.ts index 908de36c8..a81847a66 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CatalogEntry.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CatalogEntry.ts @@ -21,7 +21,7 @@ export interface CatalogEntryRelatedEntry extends BackboneElement { relationtype: ("triggers" | "is-replaced-by"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CatalogEntry +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CatalogEntry (pkg: hl7.fhir.r4.examples#4.0.1) export interface CatalogEntry extends DomainResource { resourceType: "CatalogEntry"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItem.ts index 85e4c4988..042c9ee29 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItem.ts @@ -29,7 +29,7 @@ export interface ChargeItemPerformer extends BackboneElement { "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem (pkg: hl7.fhir.r4.examples#4.0.1) export interface ChargeItem extends DomainResource { resourceType: "ChargeItem"; @@ -39,9 +39,9 @@ export interface ChargeItem extends DomainResource { context?: Reference<"Encounter" | "EpisodeOfCare">; costCenter?: Reference<"Organization">; definitionCanonical?: string[]; - _definitionCanonical?: Element; + _definitionCanonical?: (Element | null)[]; definitionUri?: string[]; - _definitionUri?: Element; + _definitionUri?: (Element | null)[]; enteredDate?: string; _enteredDate?: Element; enterer?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItemDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItemDefinition.ts index 1f3c415fa..325c904a2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItemDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItemDefinition.ts @@ -40,7 +40,7 @@ export interface ChargeItemDefinitionPropertyGroupPriceComponent extends Backbon type: ("base" | "surcharge" | "deduction" | "discount" | "tax" | "informational"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface ChargeItemDefinition extends DomainResource { resourceType: "ChargeItemDefinition"; @@ -54,7 +54,7 @@ export interface ChargeItemDefinition extends DomainResource { date?: string; _date?: Element; derivedFromUri?: string[]; - _derivedFromUri?: Element; + _derivedFromUri?: (Element | null)[]; description?: string; _description?: Element; effectivePeriod?: Period; @@ -66,12 +66,12 @@ export interface ChargeItemDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; partOf?: string[]; - _partOf?: Element; + _partOf?: (Element | null)[]; propertyGroup?: ChargeItemDefinitionPropertyGroup[]; publisher?: string; _publisher?: Element; replaces?: string[]; - _replaces?: Element; + _replaces?: (Element | null)[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; title?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Claim.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Claim.ts index 41398e770..fd25d5ed0 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Claim.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Claim.ts @@ -148,7 +148,7 @@ export interface ClaimSupportingInfo extends BackboneElement { valueString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim (pkg: hl7.fhir.r4.examples#4.0.1) export interface Claim extends DomainResource { resourceType: "Claim"; @@ -179,7 +179,7 @@ export interface Claim extends DomainResource { subType?: CodeableConcept; supportingInfo?: ClaimSupportingInfo[]; total?: Money; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClaimResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClaimResponse.ts index 7a5121b22..504b3d0e5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClaimResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClaimResponse.ts @@ -123,7 +123,7 @@ export interface ClaimResponsePayment extends BackboneElement { } export interface ClaimResponseProcessNote extends BackboneElement { - language?: CodeableConcept; + language?: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; number?: number; text: string; type?: ("display" | "print" | "printoper"); @@ -134,7 +134,7 @@ export interface ClaimResponseTotal extends BackboneElement { category: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse (pkg: hl7.fhir.r4.examples#4.0.1) export interface ClaimResponse extends DomainResource { resourceType: "ClaimResponse"; @@ -168,7 +168,7 @@ export interface ClaimResponse extends DomainResource { _status?: Element; subType?: CodeableConcept; total?: ClaimResponseTotal[]; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClinicalImpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClinicalImpression.ts index 587254fe7..3ab0ec10a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClinicalImpression.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClinicalImpression.ts @@ -29,7 +29,7 @@ export interface ClinicalImpressionInvestigation extends BackboneElement { item?: Reference<"DiagnosticReport" | "FamilyMemberHistory" | "ImagingStudy" | "Media" | "Observation" | "QuestionnaireResponse" | "RiskAssessment">[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression (pkg: hl7.fhir.r4.examples#4.0.1) export interface ClinicalImpression extends DomainResource { resourceType: "ClinicalImpression"; @@ -52,7 +52,7 @@ export interface ClinicalImpression extends DomainResource { prognosisCodeableConcept?: CodeableConcept[]; prognosisReference?: Reference<"RiskAssessment">[]; protocol?: string[]; - _protocol?: Element; + _protocol?: (Element | null)[]; status: ("in-progress" | "completed" | "entered-in-error"); _status?: Element; statusReason?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeSystem.ts index 604e9aca1..6bb6a8740 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeSystem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeSystem.ts @@ -28,8 +28,8 @@ export interface CodeSystemConcept extends BackboneElement { } export interface CodeSystemConceptDesignation extends BackboneElement { - language?: string; - use?: Coding; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); + use?: Coding<("900000000000003001" | "900000000000013009" | string)>; value: string; } @@ -58,7 +58,7 @@ export interface CodeSystemProperty extends BackboneElement { uri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem (pkg: hl7.fhir.r4.examples#4.0.1) export interface CodeSystem extends DomainResource { resourceType: "CodeSystem"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeableConcept.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeableConcept.ts index ec39df7cb..1d4aebd41 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeableConcept.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeableConcept.ts @@ -8,9 +8,9 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Coding } from "../hl7-fhir-r4-examples/Coding"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableConcept -export interface CodeableConcept extends Element { - coding?: Coding[]; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableConcept (pkg: hl7.fhir.r4.examples#4.0.1) +export interface CodeableConcept extends Element { + coding?: Coding[]; text?: string; _text?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coding.ts index 495ac3368..5111b6287 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coding.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coding.ts @@ -6,9 +6,9 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coding -export interface Coding extends Element { - code?: string; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coding (pkg: hl7.fhir.r4.examples#4.0.1) +export interface Coding extends Element { + code?: T; _code?: Element; display?: string; _display?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Communication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Communication.ts index 071a4b9b5..1a6d404c3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Communication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Communication.ts @@ -24,7 +24,7 @@ export interface CommunicationPayload extends BackboneElement { contentString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication (pkg: hl7.fhir.r4.examples#4.0.1) export interface Communication extends DomainResource { resourceType: "Communication"; @@ -35,9 +35,9 @@ export interface Communication extends DomainResource { identifier?: Identifier[]; inResponseTo?: Reference<"Communication">[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; medium?: CodeableConcept[]; note?: Annotation[]; partOf?: Reference<"Resource">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CommunicationRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CommunicationRequest.ts index 2e9128dec..701458ef1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CommunicationRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CommunicationRequest.ts @@ -26,7 +26,7 @@ export interface CommunicationRequestPayload extends BackboneElement { contentString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest (pkg: hl7.fhir.r4.examples#4.0.1) export interface CommunicationRequest extends DomainResource { resourceType: "CommunicationRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CompartmentDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CompartmentDefinition.ts index b8ea8ee4d..6e47a9d69 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CompartmentDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CompartmentDefinition.ts @@ -18,7 +18,7 @@ export interface CompartmentDefinitionResource extends BackboneElement { param?: string[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface CompartmentDefinition extends DomainResource { resourceType: "CompartmentDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Composition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Composition.ts index 80ea44307..1fcac7e75 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Composition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Composition.ts @@ -39,17 +39,17 @@ export interface CompositionRelatesTo extends BackboneElement { export interface CompositionSection extends BackboneElement { author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; code?: CodeableConcept; - emptyReason?: CodeableConcept; + emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; entry?: Reference<"Resource">[]; focus?: Reference<"Resource">; mode?: ("working" | "snapshot" | "changes"); - orderedBy?: CodeableConcept; + orderedBy?: CodeableConcept<("user" | "system" | "event-date" | "entry-date" | "priority" | "alphabetic" | "category" | "patient" | string)>; section?: CompositionSection[]; text?: Narrative; title?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Composition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Composition (pkg: hl7.fhir.r4.examples#4.0.1) export interface Composition extends DomainResource { resourceType: "Composition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ConceptMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ConceptMap.ts index 5cfb6503b..142aaa7dd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ConceptMap.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ConceptMap.ts @@ -54,7 +54,7 @@ export interface ConceptMapGroupUnmapped extends BackboneElement { url?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap (pkg: hl7.fhir.r4.examples#4.0.1) export interface ConceptMap extends DomainResource { resourceType: "ConceptMap"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Condition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Condition.ts index 9878ffb9e..811633182 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Condition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Condition.ts @@ -33,7 +33,7 @@ export interface ConditionStage extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition (pkg: hl7.fhir.r4.examples#4.0.1) export interface Condition extends DomainResource { resourceType: "Condition"; @@ -46,8 +46,8 @@ export interface Condition extends DomainResource { _abatementString?: Element; asserter?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; - clinicalStatus?: CodeableConcept; + category?: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; + clinicalStatus?: CodeableConcept<("active" | "recurrence" | "relapse" | "inactive" | "remission" | "resolved")>; code?: CodeableConcept; encounter?: Reference<"Encounter">; evidence?: ConditionEvidence[]; @@ -63,10 +63,10 @@ export interface Condition extends DomainResource { recordedDate?: string; _recordedDate?: Element; recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - severity?: CodeableConcept; + severity?: CodeableConcept<("24484000" | "6736007" | "255604002" | string)>; stage?: ConditionStage[]; subject: Reference<"Group" | "Patient">; - verificationStatus?: CodeableConcept; + verificationStatus?: CodeableConcept<("unconfirmed" | "provisional" | "differential" | "confirmed" | "refuted" | "entered-in-error")>; } export const isCondition = (resource: unknown): resource is Condition => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Condition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Consent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Consent.ts index ad900e680..a19cad60c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Consent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Consent.ts @@ -41,7 +41,7 @@ export interface ConsentProvision extends BackboneElement { export interface ConsentProvisionActor extends BackboneElement { reference: Reference<"CareTeam" | "Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - role: CodeableConcept; + role: CodeableConcept<("AMENDER" | "COAUTH" | "CONT" | "EVTWIT" | "PRIMAUTH" | "REVIEWER" | "SOURCE" | "TRANS" | "VALID" | "VERF" | "AFFL" | "AGNT" | "ASSIGNED" | "CLAIM" | "COVPTY" | "DEPEN" | "ECON" | "EMP" | "GUARD" | "INVSBJ" | "NAMED" | "NOK" | "PAT" | "PROV" | "NOT" | "CLASSIFIER" | "CONSENTER" | "CONSWIT" | "COPART" | "DECLASSIFIER" | "DELEGATEE" | "DELEGATOR" | "DOWNGRDER" | "DPOWATT" | "EXCEST" | "GRANTEE" | "GRANTOR" | "GT" | "GUADLTM" | "HPOWATT" | "INTPRTER" | "POWATT" | "RESPRSN" | "SPOWATT" | "AUCG" | "AULR" | "AUTM" | "AUWA" | "PROMSK" | "AUT" | "CST" | "INF" | "IRCP" | "LA" | "IRCP" | "TRC" | "WIT" | "authserver" | "datacollector" | "dataprocessor" | "datasubject" | "humanuser" | "110150" | "110151" | "110152" | "110153" | "110154" | "110155" | string)>; } export interface ConsentProvisionData extends BackboneElement { @@ -55,11 +55,11 @@ export interface ConsentVerification extends BackboneElement { verifiedWith?: Reference<"Patient" | "RelatedPerson">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent (pkg: hl7.fhir.r4.examples#4.0.1) export interface Consent extends DomainResource { resourceType: "Consent"; - category: CodeableConcept[]; + category: CodeableConcept<("acd" | "dnr" | "emrgonly" | "hcd" | "npp" | "polst" | "research" | "rsdid" | "rsreid" | "59284-0" | "57016-8" | "57017-6" | "64292-6" | string)>[]; dateTime?: string; _dateTime?: Element; identifier?: Identifier[]; @@ -67,9 +67,9 @@ export interface Consent extends DomainResource { patient?: Reference<"Patient">; performer?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; policy?: ConsentPolicy[]; - policyRule?: CodeableConcept; + policyRule?: CodeableConcept<("cric" | "illinois-minor-procedure" | "hipaa-auth" | "hipaa-npp" | "hipaa-restrictions" | "hipaa-research" | "hipaa-self-pay" | "mdhhs-5515" | "nyssipp" | "va-10-0484" | "va-10-0485" | "va-10-5345" | "va-10-5345a" | "va-10-5345a-mhv" | "va-10-10116" | "va-21-4142" | "ssa-827" | "dch-3927" | "squaxin" | "nl-lsp" | "at-elga" | "nih-hipaa" | "nci" | "nih-grdr" | "nih-527" | "ga4gh" | string)>; provision?: ConsentProvision; - scope: CodeableConcept; + scope: CodeableConcept<("adr" | "research" | "patient-privacy" | "treatment" | string)>; sourceAttachment?: Attachment; sourceReference?: Reference<"Consent" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; status: ("draft" | "proposed" | "active" | "rejected" | "inactive" | "entered-in-error"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactDetail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactDetail.ts index e16e8d689..234712830 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactDetail.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactDetail.ts @@ -8,7 +8,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactDetail +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactDetail (pkg: hl7.fhir.r4.examples#4.0.1) export interface ContactDetail extends Element { name?: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactPoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactPoint.ts index b96347d41..75cfc1abe 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactPoint.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactPoint.ts @@ -8,7 +8,7 @@ import type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Period } from "../hl7-fhir-r4-examples/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactPoint +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactPoint (pkg: hl7.fhir.r4.examples#4.0.1) export interface ContactPoint extends Element { period?: Period; rank?: number; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contract.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contract.ts index 1b1da32cb..df0f87340 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contract.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contract.ts @@ -57,7 +57,7 @@ export interface ContractRule extends BackboneElement { export interface ContractSigner extends BackboneElement { party: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; signature: Signature[]; - type: Coding; + type: Coding<("AMENDER" | "AUTHN" | "AUT" | "AFFL" | "AGNT" | "ASSIGNED" | "CIT" | "CLAIMANT" | "COAUTH" | "CONSENTER" | "CONSWIT" | "CONT" | "COPART" | "COVPTY" | "DELEGATEE" | "delegator" | "DEPEND" | "DPOWATT" | "EMGCON" | "EVTWIT" | "EXCEST" | "GRANTEE" | "GRANTOR" | "GUAR" | "GUARD" | "GUADLTM" | "INF" | "INTPRT" | "INSBJ" | "HPOWATT" | "HPROV" | "LEGAUTHN" | "NMDINS" | "NOK" | "NOTARY" | "PAT" | "POWATT" | "PRIMAUTH" | "PRIRECIP" | "RECIP" | "RESPRSN" | "REVIEWER" | "TRANS" | "SOURCE" | "SPOWATT" | "VALID" | "VERF" | "WIT" | string)>; } export interface ContractTerm extends BackboneElement { @@ -189,12 +189,12 @@ export interface ContractTermSecurityLabel extends BackboneElement { number?: number[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contract +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contract (pkg: hl7.fhir.r4.examples#4.0.1) export interface Contract extends DomainResource { resourceType: "Contract"; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; applies?: Period; author?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole">; authority?: Reference<"Organization">[]; @@ -212,7 +212,7 @@ export interface Contract extends DomainResource { legal?: ContractLegal[]; legallyBindingAttachment?: Attachment; legallyBindingReference?: Reference<"Composition" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; - legalState?: CodeableConcept; + legalState?: CodeableConcept<("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated" | string)>; name?: string; _name?: Element; relevantHistory?: Reference<"Provenance">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contributor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contributor.ts index dd0726f51..f5fa9c220 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contributor.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contributor.ts @@ -8,7 +8,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contributor +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contributor (pkg: hl7.fhir.r4.examples#4.0.1) export interface Contributor extends Element { contact?: ContactDetail[]; name: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Count.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Count.ts index d8efdeff3..c793a7703 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Count.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Count.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Count +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Count (pkg: hl7.fhir.r4.examples#4.0.1) export interface Count extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coverage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coverage.ts index 095a03708..4af59ccef 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coverage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coverage.ts @@ -22,13 +22,13 @@ export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export interface CoverageClass extends BackboneElement { name?: string; - type: CodeableConcept; + type: CodeableConcept<("group" | "subgroup" | "plan" | "subplan" | "class" | "subclass" | "sequence" | "rxbin" | "rxpcn" | "rxid" | "rxgroup" | string)>; value: string; } export interface CoverageCostToBeneficiary extends BackboneElement { exception?: CoverageCostToBeneficiaryException[]; - type?: CodeableConcept; + type?: CodeableConcept<("gpvisit" | "spvisit" | "emergency" | "inpthosp" | "televisit" | "urgentcare" | "copaypct" | "copay" | "deductible" | "maxoutofpocket" | string)>; valueMoney?: Money; valueQuantity?: Quantity; } @@ -38,7 +38,7 @@ export interface CoverageCostToBeneficiaryException extends BackboneElement { type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage (pkg: hl7.fhir.r4.examples#4.0.1) export interface Coverage extends DomainResource { resourceType: "Coverage"; @@ -56,7 +56,7 @@ export interface Coverage extends DomainResource { payor: Reference<"Organization" | "Patient" | "RelatedPerson">[]; period?: Period; policyHolder?: Reference<"Organization" | "Patient" | "RelatedPerson">; - relationship?: CodeableConcept; + relationship?: CodeableConcept<("child" | "parent" | "spouse" | "common" | "other" | "self" | "injured" | string)>; status: ("active" | "cancelled" | "draft" | "entered-in-error"); _status?: Element; subrogation?: boolean; @@ -64,7 +64,7 @@ export interface Coverage extends DomainResource { subscriber?: Reference<"Patient" | "RelatedPerson">; subscriberId?: string; _subscriberId?: Element; - type?: CodeableConcept; + type?: CodeableConcept<("pay" | string)>; } export const isCoverage = (resource: unknown): resource is Coverage => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Coverage"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityRequest.ts index 153bc9842..b1adb6fe3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityRequest.ts @@ -50,7 +50,7 @@ export interface CoverageEligibilityRequestSupportingInfo extends BackboneElemen sequence: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest (pkg: hl7.fhir.r4.examples#4.0.1) export interface CoverageEligibilityRequest extends DomainResource { resourceType: "CoverageEligibilityRequest"; @@ -66,7 +66,7 @@ export interface CoverageEligibilityRequest extends DomainResource { priority?: CodeableConcept; provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: Element; + _purpose?: (Element | null)[]; servicedDate?: string; _servicedDate?: Element; servicedPeriod?: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityResponse.ts index b1fa46297..dcd09ef27 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityResponse.ts @@ -56,7 +56,7 @@ export interface CoverageEligibilityResponseInsuranceItemBenefit extends Backbon usedUnsignedInt?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse (pkg: hl7.fhir.r4.examples#4.0.1) export interface CoverageEligibilityResponse extends DomainResource { resourceType: "CoverageEligibilityResponse"; @@ -75,7 +75,7 @@ export interface CoverageEligibilityResponse extends DomainResource { preAuthRef?: string; _preAuthRef?: Element; purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: Element; + _purpose?: (Element | null)[]; request: Reference<"CoverageEligibilityRequest">; requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; servicedDate?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DataRequirement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DataRequirement.ts index bf6e03f4a..273271b72 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DataRequirement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DataRequirement.ts @@ -36,17 +36,17 @@ export interface DataRequirementSort extends Element { path: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement (pkg: hl7.fhir.r4.examples#4.0.1) export interface DataRequirement extends Element { - codeFilter?: Element[]; - dateFilter?: Element[]; + codeFilter?: DataRequirementCodeFilter[]; + dateFilter?: DataRequirementDateFilter[]; limit?: number; _limit?: Element; mustSupport?: string[]; - _mustSupport?: Element; + _mustSupport?: (Element | null)[]; profile?: string[]; - _profile?: Element; - sort?: Element[]; + _profile?: (Element | null)[]; + sort?: DataRequirementSort[]; subjectCodeableConcept?: CodeableConcept; subjectReference?: Reference<"Group">; type: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Definition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Definition.ts index 805f8aef1..022fe49d6 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Definition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Definition.ts @@ -2,8 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition (pkg: hl7.fhir.r4.examples#4.0.1) export type Definition = object; -export const isDefinition = (resource: unknown): resource is Definition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Definition"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DetectedIssue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DetectedIssue.ts index e574ef49c..1d24cf0ad 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DetectedIssue.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DetectedIssue.ts @@ -27,7 +27,7 @@ export interface DetectedIssueMitigation extends BackboneElement { date?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue (pkg: hl7.fhir.r4.examples#4.0.1) export interface DetectedIssue extends DomainResource { resourceType: "DetectedIssue"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Device.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Device.ts index 9700c9cc6..cb8754893 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Device.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Device.ts @@ -51,7 +51,7 @@ export interface DeviceVersion extends BackboneElement { value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device (pkg: hl7.fhir.r4.examples#4.0.1) export interface Device extends DomainResource { resourceType: "Device"; @@ -85,7 +85,7 @@ export interface Device extends DomainResource { specialization?: DeviceSpecialization[]; status?: ("active" | "inactive" | "entered-in-error" | "unknown"); _status?: Element; - statusReason?: CodeableConcept[]; + statusReason?: CodeableConcept<("online" | "paused" | "standby" | "offline" | "not-ready" | "transduc-discon" | "hw-discon" | "off" | string)>[]; type?: CodeableConcept; udiCarrier?: DeviceUdiCarrier[]; url?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceDefinition.ts index 3e4bee0c5..08e5c62d5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceDefinition.ts @@ -57,7 +57,7 @@ export interface DeviceDefinitionUdiDeviceIdentifier extends BackboneElement { jurisdiction: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface DeviceDefinition extends DomainResource { resourceType: "DeviceDefinition"; @@ -88,7 +88,7 @@ export interface DeviceDefinition extends DomainResource { url?: string; _url?: Element; version?: string[]; - _version?: Element; + _version?: (Element | null)[]; } export const isDeviceDefinition = (resource: unknown): resource is DeviceDefinition => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DeviceDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceMetric.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceMetric.ts index 14a785c9f..51e763906 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceMetric.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceMetric.ts @@ -22,7 +22,7 @@ export interface DeviceMetricCalibration extends BackboneElement { type?: ("unspecified" | "offset" | "gain" | "two-point"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric (pkg: hl7.fhir.r4.examples#4.0.1) export interface DeviceMetric extends DomainResource { resourceType: "DeviceMetric"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceRequest.ts index 3c3b07c65..1d56c46b8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceRequest.ts @@ -32,7 +32,7 @@ export interface DeviceRequestParameter extends BackboneElement { valueRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest (pkg: hl7.fhir.r4.examples#4.0.1) export interface DeviceRequest extends DomainResource { resourceType: "DeviceRequest"; @@ -45,9 +45,9 @@ export interface DeviceRequest extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; insurance?: Reference<"ClaimResponse" | "Coverage">[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceUseStatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceUseStatement.ts index 50e1cb8c4..e89ff1a8d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceUseStatement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceUseStatement.ts @@ -18,7 +18,7 @@ export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export type { Timing } from "../hl7-fhir-r4-examples/Timing"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement (pkg: hl7.fhir.r4.examples#4.0.1) export interface DeviceUseStatement extends DomainResource { resourceType: "DeviceUseStatement"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DiagnosticReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DiagnosticReport.ts index 6d6b6303c..67dc2ea6b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DiagnosticReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DiagnosticReport.ts @@ -23,7 +23,7 @@ export interface DiagnosticReportMedia extends BackboneElement { link: Reference<"Media">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport (pkg: hl7.fhir.r4.examples#4.0.1) export interface DiagnosticReport extends DomainResource { resourceType: "DiagnosticReport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Distance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Distance.ts index 5d5fc6b2d..7adb52441 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Distance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Distance.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Distance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Distance (pkg: hl7.fhir.r4.examples#4.0.1) export interface Distance extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentManifest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentManifest.ts index ab6b6aefc..ac4e93af2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentManifest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentManifest.ts @@ -19,7 +19,7 @@ export interface DocumentManifestRelated extends BackboneElement { ref?: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentManifest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentManifest (pkg: hl7.fhir.r4.examples#4.0.1) export interface DocumentManifest extends DomainResource { resourceType: "DocumentManifest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentReference.ts index 18ecdf2fb..59f01b76c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentReference.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentReference.ts @@ -40,7 +40,7 @@ export interface DocumentReferenceRelatesTo extends BackboneElement { target: Reference<"DocumentReference">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference (pkg: hl7.fhir.r4.examples#4.0.1) export interface DocumentReference extends DomainResource { resourceType: "DocumentReference"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DomainResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DomainResource.ts index d439b90f2..67d26deab 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DomainResource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DomainResource.ts @@ -9,9 +9,9 @@ import type { Resource } from "../hl7-fhir-r4-examples/Resource"; export type { Extension } from "../hl7-fhir-r4-examples/Extension"; export type { Narrative } from "../hl7-fhir-r4-examples/Narrative"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DomainResource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DomainResource (pkg: hl7.fhir.r4.examples#4.0.1) export interface DomainResource extends Resource { - resourceType: "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; + resourceType: "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; contained?: Resource[]; extension?: Extension[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Dosage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Dosage.ts index 7396907de..d06e1356c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Dosage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Dosage.ts @@ -27,13 +27,13 @@ export interface DosageDoseAndRate extends Element { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Dosage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Dosage (pkg: hl7.fhir.r4.examples#4.0.1) export interface Dosage extends BackboneElement { additionalInstruction?: CodeableConcept[]; asNeededBoolean?: boolean; _asNeededBoolean?: Element; asNeededCodeableConcept?: CodeableConcept; - doseAndRate?: Element[]; + doseAndRate?: DosageDoseAndRate[]; maxDosePerAdministration?: Quantity; maxDosePerLifetime?: Quantity; maxDosePerPeriod?: Ratio; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Duration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Duration.ts index 91090ef57..e0084833a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Duration.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Duration.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Duration +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Duration (pkg: hl7.fhir.r4.examples#4.0.1) export interface Duration extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EffectEvidenceSynthesis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EffectEvidenceSynthesis.ts index b3cd91e31..a697a337c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EffectEvidenceSynthesis.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EffectEvidenceSynthesis.ts @@ -27,36 +27,36 @@ export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; export interface EffectEvidenceSynthesisCertainty extends BackboneElement { certaintySubcomponent?: EffectEvidenceSynthesisCertaintyCertaintySubcomponent[]; note?: Annotation[]; - rating?: CodeableConcept[]; + rating?: CodeableConcept<("high" | "moderate" | "low" | "very-low" | string)>[]; } export interface EffectEvidenceSynthesisCertaintyCertaintySubcomponent extends BackboneElement { note?: Annotation[]; - rating?: CodeableConcept[]; - type?: CodeableConcept; + rating?: CodeableConcept<("no-change" | "downcode1" | "downcode2" | "downcode3" | "upcode1" | "upcode2" | "no-concern" | "serious-concern" | "critical-concern" | "present" | "absent" | string)>[]; + type?: CodeableConcept<("RiskOfBias" | "Inconsistency" | "Indirectness" | "Imprecision" | "PublicationBias" | "DoseResponseGradient" | "PlausibleConfounding" | "LargeEffect" | string)>; } export interface EffectEvidenceSynthesisEffectEstimate extends BackboneElement { description?: string; precisionEstimate?: EffectEvidenceSynthesisEffectEstimatePrecisionEstimate[]; - type?: CodeableConcept; + type?: CodeableConcept<("relative-RR" | "relative-OR" | "relative-HR" | "absolute-ARD" | "absolute-MeanDiff" | "absolute-SMD" | "absolute-MedianDiff" | string)>; unitOfMeasure?: CodeableConcept; value?: number; - variantState?: CodeableConcept; + variantState?: CodeableConcept<("low-risk" | "medium-risk" | "high-risk" | string)>; } export interface EffectEvidenceSynthesisEffectEstimatePrecisionEstimate extends BackboneElement { from?: number; level?: number; to?: number; - type?: CodeableConcept; + type?: CodeableConcept<("CI" | "IQR" | "SD" | "SE" | string)>; } export interface EffectEvidenceSynthesisResultsByExposure extends BackboneElement { description?: string; exposureState?: ("exposure" | "exposure-alternative"); riskEvidenceSynthesis: Reference<"RiskEvidenceSynthesis">; - variantState?: CodeableConcept; + variantState?: CodeableConcept<("low-risk" | "medium-risk" | "high-risk" | string)>; } export interface EffectEvidenceSynthesisSampleSize extends BackboneElement { @@ -65,7 +65,7 @@ export interface EffectEvidenceSynthesisSampleSize extends BackboneElement { numberOfStudies?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis (pkg: hl7.fhir.r4.examples#4.0.1) export interface EffectEvidenceSynthesis extends DomainResource { resourceType: "EffectEvidenceSynthesis"; @@ -103,8 +103,8 @@ export interface EffectEvidenceSynthesis extends DomainResource { sampleSize?: EffectEvidenceSynthesisSampleSize; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; - studyType?: CodeableConcept; - synthesisType?: CodeableConcept; + studyType?: CodeableConcept<("RCT" | "CCT" | "cohort" | "case-control" | "series" | "case-report" | "mixed" | string)>; + synthesisType?: CodeableConcept<("std-MA" | "IPD-MA" | "indirect-NMA" | "combined-NMA" | "range" | "classification" | string)>; title?: string; _title?: Element; topic?: CodeableConcept[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Element.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Element.ts index be693d7d8..a5881f0b4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Element.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Element.ts @@ -6,7 +6,7 @@ import type { Extension } from "../hl7-fhir-r4-examples/Extension"; export type { Extension } from "../hl7-fhir-r4-examples/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element (pkg: hl7.fhir.r4.examples#4.0.1) export interface Element { extension?: Extension[]; id?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ElementDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ElementDefinition.ts index 3562b726f..392fbebba 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ElementDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ElementDefinition.ts @@ -155,7 +155,7 @@ export interface ElementDefinitionMapping extends Element { export interface ElementDefinitionSlicing extends Element { description?: string; - discriminator?: Element[]; + discriminator?: ElementDefinitionSlicingDiscriminator[]; ordered?: boolean; rules: ("closed" | "open" | "openAtEnd"); } @@ -173,18 +173,18 @@ export interface ElementDefinitionType extends Element { versioning?: ("either" | "independent" | "specific"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface ElementDefinition extends BackboneElement { alias?: string[]; - _alias?: Element; - base?: Element; - binding?: Element; + _alias?: (Element | null)[]; + base?: ElementDefinitionBase; + binding?: ElementDefinitionBinding; code?: Coding[]; comment?: string; _comment?: Element; condition?: string[]; - _condition?: Element; - constraint?: Element[]; + _condition?: (Element | null)[]; + constraint?: ElementDefinitionConstraint[]; contentReference?: string; _contentReference?: Element; defaultValueAddress?: Address; @@ -258,7 +258,7 @@ export interface ElementDefinition extends BackboneElement { _defaultValueUuid?: Element; definition?: string; _definition?: Element; - example?: Element[]; + example?: ElementDefinitionExample[]; fixedAddress?: Address; fixedAge?: Age; fixedAnnotation?: Annotation; @@ -336,7 +336,7 @@ export interface ElementDefinition extends BackboneElement { _isSummary?: Element; label?: string; _label?: Element; - mapping?: Element[]; + mapping?: ElementDefinitionMapping[]; max?: string; _max?: Element; maxLength?: number; @@ -455,7 +455,7 @@ export interface ElementDefinition extends BackboneElement { patternUuid?: string; _patternUuid?: Element; representation?: ("xmlAttr" | "xmlText" | "typeAttr" | "cdaText" | "xhtml")[]; - _representation?: Element; + _representation?: (Element | null)[]; requirements?: string; _requirements?: Element; short?: string; @@ -464,6 +464,6 @@ export interface ElementDefinition extends BackboneElement { _sliceIsConstraining?: Element; sliceName?: string; _sliceName?: Element; - slicing?: Element; - type?: Element[]; + slicing?: ElementDefinitionSlicing; + type?: ElementDefinitionType[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Encounter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Encounter.ts index 6e5824de4..051d0da96 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Encounter.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Encounter.ts @@ -28,19 +28,19 @@ export interface EncounterClassHistory extends BackboneElement { export interface EncounterDiagnosis extends BackboneElement { condition: Reference<"Condition" | "Procedure">; rank?: number; - use?: CodeableConcept; + use?: CodeableConcept<("AD" | "DD" | "CC" | "CM" | "pre-op" | "post-op" | "billing" | string)>; } export interface EncounterHospitalization extends BackboneElement { - admitSource?: CodeableConcept; + admitSource?: CodeableConcept<("hosp-trans" | "emd" | "outp" | "born" | "gp" | "mp" | "nursing" | "psych" | "rehab" | "other" | string)>; destination?: Reference<"Location" | "Organization">; dietPreference?: CodeableConcept[]; dischargeDisposition?: CodeableConcept; origin?: Reference<"Location" | "Organization">; preAdmissionIdentifier?: Identifier; reAdmission?: CodeableConcept; - specialArrangement?: CodeableConcept[]; - specialCourtesy?: CodeableConcept[]; + specialArrangement?: CodeableConcept<("wheel" | "add-bed" | "int" | "att" | "dog" | string)>[]; + specialCourtesy?: CodeableConcept<("EXT" | "NRM" | "PRF" | "STF" | "VIP" | "UNK" | string)>[]; } export interface EncounterLocation extends BackboneElement { @@ -53,7 +53,7 @@ export interface EncounterLocation extends BackboneElement { export interface EncounterParticipant extends BackboneElement { individual?: Reference<"Practitioner" | "PractitionerRole" | "RelatedPerson">; period?: Period; - type?: CodeableConcept[]; + type?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; } export interface EncounterStatusHistory extends BackboneElement { @@ -61,7 +61,7 @@ export interface EncounterStatusHistory extends BackboneElement { status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter (pkg: hl7.fhir.r4.examples#4.0.1) export interface Encounter extends DomainResource { resourceType: "Encounter"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Endpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Endpoint.ts index c677af915..30a0efd3f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Endpoint.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Endpoint.ts @@ -18,22 +18,22 @@ export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Endpoint +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Endpoint (pkg: hl7.fhir.r4.examples#4.0.1) export interface Endpoint extends DomainResource { resourceType: "Endpoint"; address: string; _address?: Element; - connectionType: Coding; + connectionType: Coding<("ihe-xcpd" | "ihe-xca" | "ihe-xdr" | "ihe-xds" | "ihe-iid" | "dicom-wado-rs" | "dicom-qido-rs" | "dicom-stow-rs" | "dicom-wado-uri" | "hl7-fhir-rest" | "hl7-fhir-msg" | "hl7v2-mllp" | "secure-email" | "direct-project" | string)>; contact?: ContactPoint[]; header?: string[]; - _header?: Element; + _header?: (Element | null)[]; identifier?: Identifier[]; managingOrganization?: Reference<"Organization">; name?: string; _name?: Element; payloadMimeType?: string[]; - _payloadMimeType?: Element; + _payloadMimeType?: (Element | null)[]; payloadType: CodeableConcept[]; period?: Period; status: ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentRequest.ts index d8d6e3186..b694b7c6d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentRequest.ts @@ -10,7 +10,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentRequest (pkg: hl7.fhir.r4.examples#4.0.1) export interface EnrollmentRequest extends DomainResource { resourceType: "EnrollmentRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentResponse.ts index e25ce9fc9..5724fdaf7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentResponse.ts @@ -10,7 +10,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentResponse (pkg: hl7.fhir.r4.examples#4.0.1) export interface EnrollmentResponse extends DomainResource { resourceType: "EnrollmentResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EpisodeOfCare.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EpisodeOfCare.ts index 2eb950253..94e5d8395 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EpisodeOfCare.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EpisodeOfCare.ts @@ -19,7 +19,7 @@ export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export interface EpisodeOfCareDiagnosis extends BackboneElement { condition: Reference<"Condition">; rank?: number; - role?: CodeableConcept; + role?: CodeableConcept<("AD" | "DD" | "CC" | "CM" | "pre-op" | "post-op" | "billing" | string)>; } export interface EpisodeOfCareStatusHistory extends BackboneElement { @@ -27,7 +27,7 @@ export interface EpisodeOfCareStatusHistory extends BackboneElement { status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare (pkg: hl7.fhir.r4.examples#4.0.1) export interface EpisodeOfCare extends DomainResource { resourceType: "EpisodeOfCare"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Event.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Event.ts index b79dd1b1a..e444e56fb 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Event.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Event.ts @@ -2,8 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event (pkg: hl7.fhir.r4.examples#4.0.1) export type Event = object; -export const isEvent = (resource: unknown): resource is Event => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Event"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EventDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EventDefinition.ts index fe18852c4..bf59ec44c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EventDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EventDefinition.ts @@ -22,7 +22,7 @@ export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; export type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EventDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EventDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface EventDefinition extends DomainResource { resourceType: "EventDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Evidence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Evidence.ts index 25ee0c621..f3a4aff68 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Evidence.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Evidence.ts @@ -22,7 +22,7 @@ export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Evidence +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Evidence (pkg: hl7.fhir.r4.examples#4.0.1) export interface Evidence extends DomainResource { resourceType: "Evidence"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EvidenceVariable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EvidenceVariable.ts index 5e50d7494..fef432eb6 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EvidenceVariable.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EvidenceVariable.ts @@ -52,7 +52,7 @@ export interface EvidenceVariableCharacteristic extends BackboneElement { usageContext?: UsageContext[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable (pkg: hl7.fhir.r4.examples#4.0.1) export interface EvidenceVariable extends DomainResource { resourceType: "EvidenceVariable"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExampleScenario.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExampleScenario.ts index 8a44024be..a5cddc4d8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExampleScenario.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExampleScenario.ts @@ -76,7 +76,7 @@ export interface ExampleScenarioProcessStepOperation extends BackboneElement { type?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExampleScenario +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExampleScenario (pkg: hl7.fhir.r4.examples#4.0.1) export interface ExampleScenario extends DomainResource { resourceType: "ExampleScenario"; @@ -106,7 +106,7 @@ export interface ExampleScenario extends DomainResource { version?: string; _version?: Element; workflow?: string[]; - _workflow?: Element; + _workflow?: (Element | null)[]; } export const isExampleScenario = (resource: unknown): resource is ExampleScenario => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ExampleScenario"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExplanationOfBenefit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExplanationOfBenefit.ts index 870f1a3dd..1b22128b3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExplanationOfBenefit.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExplanationOfBenefit.ts @@ -216,7 +216,7 @@ export interface ExplanationOfBenefitProcedure extends BackboneElement { } export interface ExplanationOfBenefitProcessNote extends BackboneElement { - language?: CodeableConcept; + language?: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; number?: number; text?: string; type?: ("display" | "print" | "printoper"); @@ -247,7 +247,7 @@ export interface ExplanationOfBenefitTotal extends BackboneElement { category: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit (pkg: hl7.fhir.r4.examples#4.0.1) export interface ExplanationOfBenefit extends DomainResource { resourceType: "ExplanationOfBenefit"; @@ -282,7 +282,7 @@ export interface ExplanationOfBenefit extends DomainResource { payee?: ExplanationOfBenefitPayee; payment?: ExplanationOfBenefitPayment; preAuthRef?: string[]; - _preAuthRef?: Element; + _preAuthRef?: (Element | null)[]; preAuthRefPeriod?: Period[]; precedence?: number; _precedence?: Element; @@ -298,7 +298,7 @@ export interface ExplanationOfBenefit extends DomainResource { subType?: CodeableConcept; supportingInfo?: ExplanationOfBenefitSupportingInfo[]; total?: ExplanationOfBenefitTotal[]; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Expression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Expression.ts index 932f636b7..494a1d3ec 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Expression.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Expression.ts @@ -6,13 +6,13 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Expression +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Expression (pkg: hl7.fhir.r4.examples#4.0.1) export interface Expression extends Element { description?: string; _description?: Element; expression?: string; _expression?: Element; - language: string; + language: ("text/cql" | "text/fhirpath" | "application/x-fhir-query" | string); _language?: Element; name?: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Extension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Extension.ts index b39e6eee4..56527bef5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Extension.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Extension.ts @@ -68,7 +68,7 @@ export type { Timing } from "../hl7-fhir-r4-examples/Timing"; export type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Extension +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Extension (pkg: hl7.fhir.r4.examples#4.0.1) export interface Extension extends Element { url: string; _url?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FamilyMemberHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FamilyMemberHistory.ts index 55db8a5aa..cb0da22ec 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FamilyMemberHistory.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FamilyMemberHistory.ts @@ -33,7 +33,7 @@ export interface FamilyMemberHistoryCondition extends BackboneElement { outcome?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory (pkg: hl7.fhir.r4.examples#4.0.1) export interface FamilyMemberHistory extends DomainResource { resourceType: "FamilyMemberHistory"; @@ -62,9 +62,9 @@ export interface FamilyMemberHistory extends DomainResource { _estimatedAge?: Element; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; name?: string; _name?: Element; note?: Annotation[]; @@ -72,7 +72,7 @@ export interface FamilyMemberHistory extends DomainResource { reasonCode?: CodeableConcept[]; reasonReference?: Reference<"AllergyIntolerance" | "Condition" | "DiagnosticReport" | "DocumentReference" | "Observation" | "QuestionnaireResponse">[]; relationship: CodeableConcept; - sex?: CodeableConcept; + sex?: CodeableConcept<("male" | "female" | "other" | "unknown" | string)>; status: ("partial" | "completed" | "entered-in-error" | "health-unknown"); _status?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FiveWs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FiveWs.ts index 9d43ece1e..34962ad8e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FiveWs.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FiveWs.ts @@ -2,8 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs (pkg: hl7.fhir.r4.examples#4.0.1) export type FiveWs = object; -export const isFiveWs = (resource: unknown): resource is FiveWs => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "FiveWs"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Flag.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Flag.ts index b0e44370e..7cbd1e755 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Flag.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Flag.ts @@ -14,7 +14,7 @@ export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Flag +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Flag (pkg: hl7.fhir.r4.examples#4.0.1) export interface Flag extends DomainResource { resourceType: "Flag"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Goal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Goal.ts index b96bf3845..53b363554 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Goal.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Goal.ts @@ -37,11 +37,11 @@ export interface GoalTarget extends BackboneElement { measure?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal (pkg: hl7.fhir.r4.examples#4.0.1) export interface Goal extends DomainResource { resourceType: "Goal"; - achievementStatus?: CodeableConcept; + achievementStatus?: CodeableConcept<("in-progress" | "improving" | "worsening" | "no-change" | "achieved" | "sustaining" | "not-achieved" | "no-progress" | "not-attainable" | string)>; addresses?: Reference<"Condition" | "MedicationStatement" | "NutritionOrder" | "Observation" | "RiskAssessment" | "ServiceRequest">[]; category?: CodeableConcept[]; description: CodeableConcept; @@ -52,7 +52,7 @@ export interface Goal extends DomainResource { note?: Annotation[]; outcomeCode?: CodeableConcept[]; outcomeReference?: Reference<"Observation">[]; - priority?: CodeableConcept; + priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; startCodeableConcept?: CodeableConcept; startDate?: string; _startDate?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GraphDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GraphDefinition.ts index 61c79ad36..050396e9a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GraphDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GraphDefinition.ts @@ -39,7 +39,7 @@ export interface GraphDefinitionLinkTargetCompartment extends BackboneElement { use: ("condition" | "requirement"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface GraphDefinition extends DomainResource { resourceType: "GraphDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Group.ts index a694223d6..0f119f705 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Group.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Group.ts @@ -37,7 +37,7 @@ export interface GroupMember extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group (pkg: hl7.fhir.r4.examples#4.0.1) export interface Group extends DomainResource { resourceType: "Group"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GuidanceResponse.ts index b5a91bf82..429de6f8f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GuidanceResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GuidanceResponse.ts @@ -16,7 +16,7 @@ export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GuidanceResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GuidanceResponse (pkg: hl7.fhir.r4.examples#4.0.1) export interface GuidanceResponse extends DomainResource { resourceType: "GuidanceResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HealthcareService.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HealthcareService.ts index 7a178aa87..522cdfbd4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HealthcareService.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HealthcareService.ts @@ -37,7 +37,7 @@ export interface HealthcareServiceNotAvailable extends BackboneElement { during?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService (pkg: hl7.fhir.r4.examples#4.0.1) export interface HealthcareService extends DomainResource { resourceType: "HealthcareService"; @@ -52,7 +52,7 @@ export interface HealthcareService extends DomainResource { characteristic?: CodeableConcept[]; comment?: string; _comment?: Element; - communication?: CodeableConcept[]; + communication?: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>[]; coverageArea?: Reference<"Location">[]; eligibility?: HealthcareServiceEligibility[]; endpoint?: Reference<"Endpoint">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HumanName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HumanName.ts index c253806f4..1d3004f4d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HumanName.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HumanName.ts @@ -8,17 +8,17 @@ import type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Period } from "../hl7-fhir-r4-examples/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HumanName +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HumanName (pkg: hl7.fhir.r4.examples#4.0.1) export interface HumanName extends Element { family?: string; _family?: Element; given?: string[]; - _given?: Element; + _given?: (Element | null)[]; period?: Period; prefix?: string[]; - _prefix?: Element; + _prefix?: (Element | null)[]; suffix?: string[]; - _suffix?: Element; + _suffix?: (Element | null)[]; text?: string; _text?: Element; use?: ("usual" | "official" | "temp" | "nickname" | "anonymous" | "old" | "maiden"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Identifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Identifier.ts index 27fef51b3..3e780fec2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Identifier.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Identifier.ts @@ -12,13 +12,13 @@ export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Identifier +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Identifier (pkg: hl7.fhir.r4.examples#4.0.1) export interface Identifier extends Element { assigner?: Reference<"Organization">; period?: Period; system?: string; _system?: Element; - type?: CodeableConcept; + type?: CodeableConcept<("DL" | "PPN" | "BRN" | "MR" | "MCN" | "EN" | "TAX" | "NIIP" | "PRN" | "MD" | "DR" | "ACSN" | "UDI" | "SNO" | "SB" | "PLAC" | "FILL" | "JHN" | string)>; use?: ("usual" | "official" | "temp" | "secondary" | "old"); _use?: Element; value?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImagingStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImagingStudy.ts index d5f00125a..77db5534e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImagingStudy.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImagingStudy.ts @@ -42,10 +42,10 @@ export interface ImagingStudySeriesInstance extends BackboneElement { export interface ImagingStudySeriesPerformer extends BackboneElement { actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; + "function"?: CodeableConcept<("CON" | "VRF" | "PRF" | "SPRF" | "REF" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy (pkg: hl7.fhir.r4.examples#4.0.1) export interface ImagingStudy extends DomainResource { resourceType: "ImagingStudy"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Immunization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Immunization.ts index ec7100395..4b9bb6534 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Immunization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Immunization.ts @@ -27,7 +27,7 @@ export interface ImmunizationEducation extends BackboneElement { export interface ImmunizationPerformer extends BackboneElement { actor: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - "function"?: CodeableConcept; + "function"?: CodeableConcept<("OP" | "AP" | string)>; } export interface ImmunizationProtocolApplied extends BackboneElement { @@ -46,7 +46,7 @@ export interface ImmunizationReaction extends BackboneElement { reported?: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization (pkg: hl7.fhir.r4.examples#4.0.1) export interface Immunization extends DomainResource { resourceType: "Immunization"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationEvaluation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationEvaluation.ts index 83511725c..f3cc7f094 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationEvaluation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationEvaluation.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation (pkg: hl7.fhir.r4.examples#4.0.1) export interface ImmunizationEvaluation extends DomainResource { resourceType: "ImmunizationEvaluation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationRecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationRecommendation.ts index a8482fcff..9400bc213 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationRecommendation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationRecommendation.ts @@ -36,7 +36,7 @@ export interface ImmunizationRecommendationRecommendationDateCriterion extends B value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation (pkg: hl7.fhir.r4.examples#4.0.1) export interface ImmunizationRecommendation extends DomainResource { resourceType: "ImmunizationRecommendation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImplementationGuide.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImplementationGuide.ts index 013fb23ea..f8141fcd4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImplementationGuide.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImplementationGuide.ts @@ -90,7 +90,7 @@ export interface ImplementationGuideManifestResource extends BackboneElement { relativePath?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide (pkg: hl7.fhir.r4.examples#4.0.1) export interface ImplementationGuide extends DomainResource { resourceType: "ImplementationGuide"; @@ -106,7 +106,7 @@ export interface ImplementationGuide extends DomainResource { experimental?: boolean; _experimental?: Element; fhirVersion: ("0.01" | "0.05" | "0.06" | "0.11" | "0.0.80" | "0.0.81" | "0.0.82" | "0.4.0" | "0.5.0" | "1.0.0" | "1.0.1" | "1.0.2" | "1.1.0" | "1.4.0" | "1.6.0" | "1.8.0" | "3.0.0" | "3.0.1" | "3.3.0" | "3.5.0" | "4.0.0" | "4.0.1")[]; - _fhirVersion?: Element; + _fhirVersion?: (Element | null)[]; global?: ImplementationGuideGlobal[]; jurisdiction?: CodeableConcept[]; license?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/InsurancePlan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/InsurancePlan.ts index e72b73a8a..05dc609b1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/InsurancePlan.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/InsurancePlan.ts @@ -29,7 +29,7 @@ export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export interface InsurancePlanContact extends BackboneElement { address?: Address; name?: HumanName; - purpose?: CodeableConcept; + purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; telecom?: ContactPoint[]; } @@ -77,19 +77,19 @@ export interface InsurancePlanPlanSpecificCostBenefit extends BackboneElement { } export interface InsurancePlanPlanSpecificCostBenefitCost extends BackboneElement { - applicability?: CodeableConcept; + applicability?: CodeableConcept<("in-network" | "out-of-network" | "other")>; qualifiers?: CodeableConcept[]; type: CodeableConcept; value?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InsurancePlan +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InsurancePlan (pkg: hl7.fhir.r4.examples#4.0.1) export interface InsurancePlan extends DomainResource { resourceType: "InsurancePlan"; administeredBy?: Reference<"Organization">; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; contact?: InsurancePlanContact[]; coverage?: InsurancePlanCoverage[]; coverageArea?: Reference<"Location">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Invoice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Invoice.ts index 6e85c545a..be8ba9c63 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Invoice.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Invoice.ts @@ -37,7 +37,7 @@ export interface InvoiceParticipant extends BackboneElement { role?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice (pkg: hl7.fhir.r4.examples#4.0.1) export interface Invoice extends DomainResource { resourceType: "Invoice"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Library.ts index 3c5208132..3b41810f3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Library.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Library.ts @@ -26,7 +26,7 @@ export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Library +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Library (pkg: hl7.fhir.r4.examples#4.0.1) export interface Library extends DomainResource { resourceType: "Library"; @@ -69,7 +69,7 @@ export interface Library extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type: CodeableConcept; + type: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Linkage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Linkage.ts index e0e135447..96618d173 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Linkage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Linkage.ts @@ -15,7 +15,7 @@ export interface LinkageItem extends BackboneElement { type: ("source" | "alternate" | "historical"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage (pkg: hl7.fhir.r4.examples#4.0.1) export interface Linkage extends DomainResource { resourceType: "Linkage"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/List.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/List.ts index 3c638f437..3f28676ac 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/List.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/List.ts @@ -23,21 +23,21 @@ export interface ListEntry extends BackboneElement { item: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/List +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/List (pkg: hl7.fhir.r4.examples#4.0.1) export interface List extends DomainResource { resourceType: "List"; code?: CodeableConcept; date?: string; _date?: Element; - emptyReason?: CodeableConcept; + emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; encounter?: Reference<"Encounter">; entry?: ListEntry[]; identifier?: Identifier[]; mode: ("working" | "snapshot" | "changes"); _mode?: Element; note?: Annotation[]; - orderedBy?: CodeableConcept; + orderedBy?: CodeableConcept<("user" | "system" | "event-date" | "entry-date" | "priority" | "alphabetic" | "category" | "patient" | string)>; source?: Reference<"Device" | "Patient" | "Practitioner" | "PractitionerRole">; status: ("current" | "retired" | "entered-in-error"); _status?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Location.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Location.ts index c4479c04e..158fbf46c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Location.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Location.ts @@ -33,13 +33,13 @@ export interface LocationPosition extends BackboneElement { longitude: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Location +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Location (pkg: hl7.fhir.r4.examples#4.0.1) export interface Location extends DomainResource { resourceType: "Location"; address?: Address; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; availabilityExceptions?: string; _availabilityExceptions?: Element; description?: string; @@ -52,7 +52,7 @@ export interface Location extends DomainResource { _mode?: Element; name?: string; _name?: Element; - operationalStatus?: Coding; + operationalStatus?: Coding<("C" | "H" | "I" | "K" | "O" | "U" | string)>; partOf?: Reference<"Location">; physicalType?: CodeableConcept; position?: LocationPosition; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MarketingStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MarketingStatus.ts index 1cb402f3f..a1dae1821 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MarketingStatus.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MarketingStatus.ts @@ -11,7 +11,7 @@ export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Period } from "../hl7-fhir-r4-examples/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MarketingStatus +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MarketingStatus (pkg: hl7.fhir.r4.examples#4.0.1) export interface MarketingStatus extends BackboneElement { country: CodeableConcept; dateRange: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Measure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Measure.ts index 8a8090fdb..29bf94f01 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Measure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Measure.ts @@ -32,7 +32,7 @@ export interface MeasureGroup extends BackboneElement { } export interface MeasureGroupPopulation extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; criteria: Expression; description?: string; } @@ -54,10 +54,10 @@ export interface MeasureSupplementalData extends BackboneElement { code?: CodeableConcept; criteria: Expression; description?: string; - usage?: CodeableConcept[]; + usage?: CodeableConcept<("supplemental-data" | "risk-adjustment-factor" | string)>[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure (pkg: hl7.fhir.r4.examples#4.0.1) export interface Measure extends DomainResource { resourceType: "Measure"; @@ -66,14 +66,14 @@ export interface Measure extends DomainResource { author?: ContactDetail[]; clinicalRecommendationStatement?: string; _clinicalRecommendationStatement?: Element; - compositeScoring?: CodeableConcept; + compositeScoring?: CodeableConcept<("opportunity" | "all-or-nothing" | "linear" | "weighted" | string)>; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; date?: string; _date?: Element; definition?: string[]; - _definition?: Element; + _definition?: (Element | null)[]; description?: string; _description?: Element; disclaimer?: string; @@ -87,12 +87,12 @@ export interface Measure extends DomainResource { guidance?: string; _guidance?: Element; identifier?: Identifier[]; - improvementNotation?: CodeableConcept; + improvementNotation?: CodeableConcept<("increase" | "decrease")>; jurisdiction?: CodeableConcept[]; lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; publisher?: string; @@ -107,7 +107,7 @@ export interface Measure extends DomainResource { reviewer?: ContactDetail[]; riskAdjustment?: string; _riskAdjustment?: Element; - scoring?: CodeableConcept; + scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; subjectCodeableConcept?: CodeableConcept; @@ -118,7 +118,7 @@ export interface Measure extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type?: CodeableConcept[]; + type?: CodeableConcept<("process" | "outcome" | "structure" | "patient-reported-outcome" | "composite" | string)>[]; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MeasureReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MeasureReport.ts index c0a2a3915..54dc4bd50 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MeasureReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MeasureReport.ts @@ -26,7 +26,7 @@ export interface MeasureReportGroup extends BackboneElement { } export interface MeasureReportGroupPopulation extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; count?: number; subjectResults?: Reference<"List">; } @@ -49,12 +49,12 @@ export interface MeasureReportGroupStratifierStratumComponent extends BackboneEl } export interface MeasureReportGroupStratifierStratumPopulation extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; count?: number; subjectResults?: Reference<"List">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MeasureReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MeasureReport (pkg: hl7.fhir.r4.examples#4.0.1) export interface MeasureReport extends DomainResource { resourceType: "MeasureReport"; @@ -63,7 +63,7 @@ export interface MeasureReport extends DomainResource { evaluatedResource?: Reference<"Resource">[]; group?: MeasureReportGroup[]; identifier?: Identifier[]; - improvementNotation?: CodeableConcept; + improvementNotation?: CodeableConcept<("increase" | "decrease")>; measure: string; _measure?: Element; period: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Media.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Media.ts index 7f251785e..7f4b0ece7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Media.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Media.ts @@ -18,7 +18,7 @@ export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Media +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Media (pkg: hl7.fhir.r4.examples#4.0.1) export interface Media extends DomainResource { resourceType: "Media"; @@ -49,7 +49,7 @@ export interface Media extends DomainResource { status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); _status?: Element; subject?: Reference<"Device" | "Group" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "Specimen">; - type?: CodeableConcept; + type?: CodeableConcept<("image" | "video" | "audio" | string)>; view?: CodeableConcept; width?: number; _width?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Medication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Medication.ts index 641d00e3c..bcc109df2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Medication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Medication.ts @@ -28,7 +28,7 @@ export interface MedicationIngredient extends BackboneElement { strength?: Ratio; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication (pkg: hl7.fhir.r4.examples#4.0.1) export interface Medication extends DomainResource { resourceType: "Medication"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationAdministration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationAdministration.ts index 4ea735ade..12d66a278 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationAdministration.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationAdministration.ts @@ -37,11 +37,11 @@ export interface MedicationAdministrationPerformer extends BackboneElement { "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicationAdministration extends DomainResource { resourceType: "MedicationAdministration"; - category?: CodeableConcept; + category?: CodeableConcept<("inpatient" | "outpatient" | "community" | string)>; context?: Reference<"Encounter" | "EpisodeOfCare">; device?: Reference<"Device">[]; dosage?: MedicationAdministrationDosage; @@ -51,7 +51,7 @@ export interface MedicationAdministration extends DomainResource { eventHistory?: Reference<"Provenance">[]; identifier?: Identifier[]; instantiates?: string[]; - _instantiates?: Element; + _instantiates?: (Element | null)[]; medicationCodeableConcept?: CodeableConcept; medicationReference?: Reference<"Medication">; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationDispense.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationDispense.ts index 79ec5e1e8..ceadf1169 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationDispense.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationDispense.ts @@ -32,12 +32,12 @@ export interface MedicationDispenseSubstitution extends BackboneElement { wasSubstituted: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationDispense +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationDispense (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicationDispense extends DomainResource { resourceType: "MedicationDispense"; authorizingPrescription?: Reference<"MedicationRequest">[]; - category?: CodeableConcept; + category?: CodeableConcept<("inpatient" | "outpatient" | "community" | "discharge" | string)>; context?: Reference<"Encounter" | "EpisodeOfCare">; daysSupply?: Quantity; destination?: Reference<"Location">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationKnowledge.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationKnowledge.ts index c9dd02f43..630b76082 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationKnowledge.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationKnowledge.ts @@ -113,7 +113,7 @@ export interface MedicationKnowledgeRelatedMedicationKnowledge extends BackboneE type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicationKnowledge extends DomainResource { resourceType: "MedicationKnowledge"; @@ -141,7 +141,7 @@ export interface MedicationKnowledge extends DomainResource { status?: ("active" | "inactive" | "entered-in-error"); _status?: Element; synonym?: string[]; - _synonym?: Element; + _synonym?: (Element | null)[]; } export const isMedicationKnowledge = (resource: unknown): resource is MedicationKnowledge => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationKnowledge"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationRequest.ts index 6c3dfc69c..870598af3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationRequest.ts @@ -45,7 +45,7 @@ export interface MedicationRequestSubstitution extends BackboneElement { reason?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicationRequest extends DomainResource { resourceType: "MedicationRequest"; @@ -64,9 +64,9 @@ export interface MedicationRequest extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; insurance?: Reference<"ClaimResponse" | "Coverage">[]; intent: ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationStatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationStatement.ts index 622727f1a..159eec0ba 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationStatement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationStatement.ts @@ -18,12 +18,12 @@ export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationStatement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationStatement (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicationStatement extends DomainResource { resourceType: "MedicationStatement"; basedOn?: Reference<"CarePlan" | "MedicationRequest" | "ServiceRequest">[]; - category?: CodeableConcept; + category?: CodeableConcept<("inpatient" | "outpatient" | "community" | "patientspecified" | string)>; context?: Reference<"Encounter" | "EpisodeOfCare">; dateAsserted?: string; _dateAsserted?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProduct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProduct.ts index 2c1d3d178..31841c69c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProduct.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProduct.ts @@ -55,7 +55,7 @@ export interface MedicinalProductSpecialDesignation extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProduct +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProduct (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProduct extends DomainResource { resourceType: "MedicinalProduct"; @@ -78,7 +78,7 @@ export interface MedicinalProduct extends DomainResource { productClassification?: CodeableConcept[]; specialDesignation?: MedicinalProductSpecialDesignation[]; specialMeasures?: string[]; - _specialMeasures?: Element; + _specialMeasures?: (Element | null)[]; type?: CodeableConcept; } export const isMedicinalProduct = (resource: unknown): resource is MedicinalProduct => { diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductAuthorization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductAuthorization.ts index 910f02895..f35bf0260 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductAuthorization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductAuthorization.ts @@ -32,7 +32,7 @@ export interface MedicinalProductAuthorizationProcedure extends BackboneElement type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductAuthorization extends DomainResource { resourceType: "MedicinalProductAuthorization"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductContraindication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductContraindication.ts index 1c45dd30b..67d89b757 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductContraindication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductContraindication.ts @@ -19,7 +19,7 @@ export interface MedicinalProductContraindicationOtherTherapy extends BackboneEl therapyRelationshipType: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductContraindication extends DomainResource { resourceType: "MedicinalProductContraindication"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIndication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIndication.ts index d9569080c..ca5b31fe5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIndication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIndication.ts @@ -21,7 +21,7 @@ export interface MedicinalProductIndicationOtherTherapy extends BackboneElement therapyRelationshipType: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductIndication extends DomainResource { resourceType: "MedicinalProductIndication"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIngredient.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIngredient.ts index 984c215c6..0d313fa34 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIngredient.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIngredient.ts @@ -46,7 +46,7 @@ export interface MedicinalProductIngredientSubstance extends BackboneElement { strength?: MedicinalProductIngredientSpecifiedSubstanceStrength[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductIngredient extends DomainResource { resourceType: "MedicinalProductIngredient"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductInteraction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductInteraction.ts index fcd96df34..1c6377b27 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductInteraction.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductInteraction.ts @@ -17,7 +17,7 @@ export interface MedicinalProductInteractionInteractant extends BackboneElement itemReference?: Reference<"Medication" | "MedicinalProduct" | "ObservationDefinition" | "Substance">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductInteraction extends DomainResource { resourceType: "MedicinalProductInteraction"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductManufactured.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductManufactured.ts index ba0943649..89288c386 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductManufactured.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductManufactured.ts @@ -13,7 +13,7 @@ export type { ProdCharacteristic } from "../hl7-fhir-r4-examples/ProdCharacteris export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductManufactured extends DomainResource { resourceType: "MedicinalProductManufactured"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPackaged.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPackaged.ts index 37aa596e0..79076b39c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPackaged.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPackaged.ts @@ -42,7 +42,7 @@ export interface MedicinalProductPackagedPackageItem extends BackboneElement { type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductPackaged extends DomainResource { resourceType: "MedicinalProductPackaged"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPharmaceutical.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPharmaceutical.ts index a8f4ab41e..097aa7028 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPharmaceutical.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPharmaceutical.ts @@ -45,7 +45,7 @@ export interface MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecie value: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductPharmaceutical extends DomainResource { resourceType: "MedicinalProductPharmaceutical"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductUndesirableEffect.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductUndesirableEffect.ts index dd0dc5ff7..ce75bd27e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductUndesirableEffect.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductUndesirableEffect.ts @@ -11,7 +11,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Population } from "../hl7-fhir-r4-examples/Population"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect (pkg: hl7.fhir.r4.examples#4.0.1) export interface MedicinalProductUndesirableEffect extends DomainResource { resourceType: "MedicinalProductUndesirableEffect"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageDefinition.ts index 518627f67..2ce13f945 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageDefinition.ts @@ -30,7 +30,7 @@ export interface MessageDefinitionFocus extends BackboneElement { profile?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface MessageDefinition extends DomainResource { resourceType: "MessageDefinition"; @@ -53,19 +53,19 @@ export interface MessageDefinition extends DomainResource { _experimental?: Element; focus?: MessageDefinitionFocus[]; graph?: string[]; - _graph?: Element; + _graph?: (Element | null)[]; identifier?: Identifier[]; jurisdiction?: CodeableConcept[]; name?: string; _name?: Element; parent?: string[]; - _parent?: Element; + _parent?: (Element | null)[]; publisher?: string; _publisher?: Element; purpose?: string; _purpose?: Element; replaces?: string[]; - _replaces?: Element; + _replaces?: (Element | null)[]; responseRequired?: ("always" | "on-error" | "never" | "on-success"); _responseRequired?: Element; status: ("draft" | "active" | "retired" | "unknown"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageHeader.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageHeader.ts index a7b9b795d..21367c144 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageHeader.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageHeader.ts @@ -37,7 +37,7 @@ export interface MessageHeaderSource extends BackboneElement { version?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader (pkg: hl7.fhir.r4.examples#4.0.1) export interface MessageHeader extends DomainResource { resourceType: "MessageHeader"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Meta.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Meta.ts index eb02d2b20..93e8a4534 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Meta.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Meta.ts @@ -8,12 +8,12 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Coding } from "../hl7-fhir-r4-examples/Coding"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Meta +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Meta (pkg: hl7.fhir.r4.examples#4.0.1) export interface Meta extends Element { lastUpdated?: string; _lastUpdated?: Element; profile?: string[]; - _profile?: Element; + _profile?: (Element | null)[]; security?: Coding[]; source?: string; _source?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MetadataResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MetadataResource.ts index 9afc97380..df18386ef 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MetadataResource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MetadataResource.ts @@ -12,10 +12,8 @@ export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MetadataResource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MetadataResource (pkg: hl7.fhir.r4.examples#4.0.1) export interface MetadataResource extends DomainResource { - resourceType: "MetadataResource"; - contact?: ContactDetail[]; date?: string; _date?: Element; @@ -38,6 +36,3 @@ export interface MetadataResource extends DomainResource { version?: string; _version?: Element; } -export const isMetadataResource = (resource: unknown): resource is MetadataResource => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MetadataResource"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MolecularSequence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MolecularSequence.ts index f76224b64..095f24458 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MolecularSequence.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MolecularSequence.ts @@ -92,7 +92,7 @@ export interface MolecularSequenceVariant extends BackboneElement { variantPointer?: Reference<"Observation">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence (pkg: hl7.fhir.r4.examples#4.0.1) export interface MolecularSequence extends DomainResource { resourceType: "MolecularSequence"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Money.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Money.ts index 7dcd79fba..23948aedd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Money.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Money.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Money +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Money (pkg: hl7.fhir.r4.examples#4.0.1) export interface Money extends Element { currency?: string; _currency?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NamingSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NamingSystem.ts index 5104ddfdf..b879d09f4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NamingSystem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NamingSystem.ts @@ -24,7 +24,7 @@ export interface NamingSystemUniqueId extends BackboneElement { value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem (pkg: hl7.fhir.r4.examples#4.0.1) export interface NamingSystem extends DomainResource { resourceType: "NamingSystem"; @@ -44,7 +44,7 @@ export interface NamingSystem extends DomainResource { _responsible?: Element; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; - type?: CodeableConcept; + type?: CodeableConcept<("DL" | "PPN" | "BRN" | "MR" | "MCN" | "EN" | "TAX" | "NIIP" | "PRN" | "MD" | "DR" | "ACSN" | "UDI" | "SNO" | "SB" | "PLAC" | "FILL" | "JHN" | string)>; uniqueId: NamingSystemUniqueId[]; usage?: string; _usage?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Narrative.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Narrative.ts index 0c6b56d9c..aa0438ad2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Narrative.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Narrative.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Narrative +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Narrative (pkg: hl7.fhir.r4.examples#4.0.1) export interface Narrative extends Element { div: string; _div?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NutritionOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NutritionOrder.ts index bb4200b16..62b02dbea 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NutritionOrder.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NutritionOrder.ts @@ -31,7 +31,7 @@ export interface NutritionOrderEnteralFormula extends BackboneElement { baseFormulaType?: CodeableConcept; caloricDensity?: Quantity; maxVolumeToDeliver?: Quantity; - routeofAdministration?: CodeableConcept; + routeofAdministration?: CodeableConcept<("PO" | "EFT" | "ENTINSTL" | "GT" | "NGT" | "OGT" | "GJT" | "JJTINSTL" | "OJJ" | string)>; } export interface NutritionOrderEnteralFormulaAdministration extends BackboneElement { @@ -68,7 +68,7 @@ export interface NutritionOrderSupplement extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder (pkg: hl7.fhir.r4.examples#4.0.1) export interface NutritionOrder extends DomainResource { resourceType: "NutritionOrder"; @@ -81,11 +81,11 @@ export interface NutritionOrder extends DomainResource { foodPreferenceModifier?: CodeableConcept[]; identifier?: Identifier[]; instantiates?: string[]; - _instantiates?: Element; + _instantiates?: (Element | null)[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Observation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Observation.ts index 566035743..012b4fd14 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Observation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Observation.ts @@ -30,8 +30,8 @@ export type { Timing } from "../hl7-fhir-r4-examples/Timing"; export interface ObservationComponent extends BackboneElement { code: CodeableConcept; - dataAbsentReason?: CodeableConcept; - interpretation?: CodeableConcept[]; + dataAbsentReason?: CodeableConcept<("unknown" | "asked-unknown" | "temp-unknown" | "not-asked" | "asked-declined" | "masked" | "not-applicable" | "unsupported" | "as-text" | "error" | "not-a-number" | "negative-infinity" | "positive-infinity" | "not-performed" | "not-permitted" | string)>; + interpretation?: CodeableConcept<("_GeneticObservationInterpretation" | "CAR" | "Carrier" | "_ObservationInterpretationChange" | "B" | "D" | "U" | "W" | "_ObservationInterpretationExceptions" | "<" | ">" | "AC" | "IE" | "QCF" | "TOX" | "_ObservationInterpretationNormality" | "A" | "AA" | "HH" | "LL" | "H" | "H>" | "HU" | "L" | "L<" | "LU" | "N" | "_ObservationInterpretationSusceptibility" | "I" | "MS" | "NCL" | "NS" | "R" | "SYN-R" | "S" | "SDD" | "SYN-S" | "VS" | "EX" | "HX" | "LX" | "HM" | "ObservationInterpretationDetection" | "IND" | "E" | "NEG" | "ND" | "POS" | "DET" | "ObservationInterpretationExpectation" | "EXP" | "UNE" | "OBX" | "ReactivityObservationInterpretation" | "NR" | "RR" | "WR" | string)>[]; referenceRange?: ObservationReferenceRange[]; valueBoolean?: boolean; valueCodeableConcept?: CodeableConcept; @@ -52,19 +52,19 @@ export interface ObservationReferenceRange extends BackboneElement { high?: Quantity; low?: Quantity; text?: string; - type?: CodeableConcept; + type?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Observation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Observation (pkg: hl7.fhir.r4.examples#4.0.1) export interface Observation extends DomainResource { resourceType: "Observation"; basedOn?: Reference<"CarePlan" | "DeviceRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest">[]; bodySite?: CodeableConcept; - category?: CodeableConcept[]; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; code: CodeableConcept; component?: ObservationComponent[]; - dataAbsentReason?: CodeableConcept; + dataAbsentReason?: CodeableConcept<("unknown" | "asked-unknown" | "temp-unknown" | "not-asked" | "asked-declined" | "masked" | "not-applicable" | "unsupported" | "as-text" | "error" | "not-a-number" | "negative-infinity" | "positive-infinity" | "not-performed" | "not-permitted" | string)>; derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "Media" | "MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; device?: Reference<"Device" | "DeviceMetric">; effectiveDateTime?: string; @@ -77,7 +77,7 @@ export interface Observation extends DomainResource { focus?: Reference<"Resource">[]; hasMember?: Reference<"MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; identifier?: Identifier[]; - interpretation?: CodeableConcept[]; + interpretation?: CodeableConcept<("_GeneticObservationInterpretation" | "CAR" | "Carrier" | "_ObservationInterpretationChange" | "B" | "D" | "U" | "W" | "_ObservationInterpretationExceptions" | "<" | ">" | "AC" | "IE" | "QCF" | "TOX" | "_ObservationInterpretationNormality" | "A" | "AA" | "HH" | "LL" | "H" | "H>" | "HU" | "L" | "L<" | "LU" | "N" | "_ObservationInterpretationSusceptibility" | "I" | "MS" | "NCL" | "NS" | "R" | "SYN-R" | "S" | "SDD" | "SYN-S" | "VS" | "EX" | "HX" | "LX" | "HM" | "ObservationInterpretationDetection" | "IND" | "E" | "NEG" | "ND" | "POS" | "DET" | "ObservationInterpretationExpectation" | "EXP" | "UNE" | "OBX" | "ReactivityObservationInterpretation" | "NR" | "RR" | "WR" | string)>[]; issued?: string; _issued?: Element; method?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ObservationDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ObservationDefinition.ts index afe439fc7..a62c71a57 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ObservationDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ObservationDefinition.ts @@ -21,7 +21,7 @@ export interface ObservationDefinitionQualifiedInterval extends BackboneElement appliesTo?: CodeableConcept[]; category?: ("reference" | "critical" | "absolute"); condition?: string; - context?: CodeableConcept; + context?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; gender?: ("male" | "female" | "other" | "unknown"); gestationalAge?: Range; range?: Range; @@ -34,7 +34,7 @@ export interface ObservationDefinitionQuantitativeDetails extends BackboneElemen unit?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface ObservationDefinition extends DomainResource { resourceType: "ObservationDefinition"; @@ -48,7 +48,7 @@ export interface ObservationDefinition extends DomainResource { _multipleResultsAllowed?: Element; normalCodedValueSet?: Reference<"ValueSet">; permittedDataType?: ("Quantity" | "CodeableConcept" | "string" | "boolean" | "integer" | "Range" | "Ratio" | "SampledData" | "time" | "dateTime" | "Period")[]; - _permittedDataType?: Element; + _permittedDataType?: (Element | null)[]; preferredReportName?: string; _preferredReportName?: Element; qualifiedInterval?: ObservationDefinitionQualifiedInterval[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationDefinition.ts index 7e344c29c..2e1113e28 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationDefinition.ts @@ -43,7 +43,7 @@ export interface OperationDefinitionParameterReferencedFrom extends BackboneElem sourceId?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface OperationDefinition extends DomainResource { resourceType: "OperationDefinition"; @@ -80,7 +80,7 @@ export interface OperationDefinition extends DomainResource { purpose?: string; _purpose?: Element; resource?: string[]; - _resource?: Element; + _resource?: (Element | null)[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; system: boolean; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationOutcome.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationOutcome.ts index 95279b8d5..561c059c0 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationOutcome.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationOutcome.ts @@ -18,7 +18,7 @@ export interface OperationOutcomeIssue extends BackboneElement { severity: ("fatal" | "error" | "warning" | "information"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome (pkg: hl7.fhir.r4.examples#4.0.1) export interface OperationOutcome extends DomainResource { resourceType: "OperationOutcome"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Organization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Organization.ts index d3696504f..8f2e2c0c8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Organization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Organization.ts @@ -23,11 +23,11 @@ export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export interface OrganizationContact extends BackboneElement { address?: Address; name?: HumanName; - purpose?: CodeableConcept; + purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; telecom?: ContactPoint[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Organization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Organization (pkg: hl7.fhir.r4.examples#4.0.1) export interface Organization extends DomainResource { resourceType: "Organization"; @@ -35,7 +35,7 @@ export interface Organization extends DomainResource { _active?: Element; address?: Address[]; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; contact?: OrganizationContact[]; endpoint?: Reference<"Endpoint">[]; identifier?: Identifier[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OrganizationAffiliation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OrganizationAffiliation.ts index eda46816e..f85c107c9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OrganizationAffiliation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OrganizationAffiliation.ts @@ -16,7 +16,7 @@ export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation (pkg: hl7.fhir.r4.examples#4.0.1) export interface OrganizationAffiliation extends DomainResource { resourceType: "OrganizationAffiliation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ParameterDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ParameterDefinition.ts index 62aa3f8a7..95026efc4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ParameterDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ParameterDefinition.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParameterDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParameterDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface ParameterDefinition extends Element { documentation?: string; _documentation?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Parameters.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Parameters.ts index fe0f8b54e..802cdf56c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Parameters.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Parameters.ts @@ -125,7 +125,7 @@ export interface ParametersParameter extends BackboneElement { valueUuid?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters (pkg: hl7.fhir.r4.examples#4.0.1) export interface Parameters extends Resource { resourceType: "Parameters"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Patient.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Patient.ts index d34bfedff..929926656 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Patient.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Patient.ts @@ -25,7 +25,7 @@ export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export interface PatientCommunication extends BackboneElement { - language: CodeableConcept; + language: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; preferred?: boolean; } @@ -44,7 +44,7 @@ export interface PatientLink extends BackboneElement { type: ("replaced-by" | "replaces" | "refer" | "seealso"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient (pkg: hl7.fhir.r4.examples#4.0.1) export interface Patient extends DomainResource { resourceType: "Patient"; @@ -65,7 +65,7 @@ export interface Patient extends DomainResource { identifier?: Identifier[]; link?: PatientLink[]; managingOrganization?: Reference<"Organization">; - maritalStatus?: CodeableConcept; + maritalStatus?: CodeableConcept<("A" | "D" | "I" | "L" | "M" | "P" | "S" | "T" | "U" | "W" | "UNK" | string)>; multipleBirthBoolean?: boolean; _multipleBirthBoolean?: Element; multipleBirthInteger?: number; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentNotice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentNotice.ts index 4495007de..9fa43a66d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentNotice.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentNotice.ts @@ -14,7 +14,7 @@ export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Money } from "../hl7-fhir-r4-examples/Money"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentNotice +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentNotice (pkg: hl7.fhir.r4.examples#4.0.1) export interface PaymentNotice extends DomainResource { resourceType: "PaymentNotice"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentReconciliation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentReconciliation.ts index 9f78b1290..76ad6dd02 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentReconciliation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentReconciliation.ts @@ -36,7 +36,7 @@ export interface PaymentReconciliationProcessNote extends BackboneElement { type?: ("display" | "print" | "printoper"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation (pkg: hl7.fhir.r4.examples#4.0.1) export interface PaymentReconciliation extends DomainResource { resourceType: "PaymentReconciliation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Period.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Period.ts index 37d42774d..4f9c45830 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Period.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Period.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Period +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Period (pkg: hl7.fhir.r4.examples#4.0.1) export interface Period extends Element { end?: string; _end?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Person.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Person.ts index 97aca69de..ace79e170 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Person.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Person.ts @@ -25,7 +25,7 @@ export interface PersonLink extends BackboneElement { target: Reference<"Patient" | "Person" | "Practitioner" | "RelatedPerson">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person (pkg: hl7.fhir.r4.examples#4.0.1) export interface Person extends DomainResource { resourceType: "Person"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PlanDefinition.ts index b980f4fe5..274899174 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PlanDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PlanDefinition.ts @@ -72,7 +72,7 @@ export interface PlanDefinitionAction extends BackboneElement { title?: string; transform?: string; trigger?: TriggerDefinition[]; - type?: CodeableConcept; + type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; } export interface PlanDefinitionActionCondition extends BackboneElement { @@ -102,7 +102,7 @@ export interface PlanDefinitionGoal extends BackboneElement { category?: CodeableConcept; description: CodeableConcept; documentation?: RelatedArtifact[]; - priority?: CodeableConcept; + priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; start?: CodeableConcept; target?: PlanDefinitionGoalTarget[]; } @@ -115,7 +115,7 @@ export interface PlanDefinitionGoalTarget extends BackboneElement { measure?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface PlanDefinition extends DomainResource { resourceType: "PlanDefinition"; @@ -141,7 +141,7 @@ export interface PlanDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; publisher?: string; @@ -159,7 +159,7 @@ export interface PlanDefinition extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type?: CodeableConcept; + type?: CodeableConcept<("order-set" | "clinical-protocol" | "eca-rule" | "workflow-definition" | string)>; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Population.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Population.ts index 2f4f2e727..b0dd3ccd9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Population.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Population.ts @@ -10,7 +10,7 @@ export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Range } from "../hl7-fhir-r4-examples/Range"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Population +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Population (pkg: hl7.fhir.r4.examples#4.0.1) export interface Population extends BackboneElement { ageCodeableConcept?: CodeableConcept; ageRange?: Range; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Practitioner.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Practitioner.ts index 62a119411..8a3240d4d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Practitioner.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Practitioner.ts @@ -31,7 +31,7 @@ export interface PractitionerQualification extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner (pkg: hl7.fhir.r4.examples#4.0.1) export interface Practitioner extends DomainResource { resourceType: "Practitioner"; @@ -40,7 +40,7 @@ export interface Practitioner extends DomainResource { address?: Address[]; birthDate?: string; _birthDate?: Element; - communication?: CodeableConcept[]; + communication?: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>[]; gender?: ("male" | "female" | "other" | "unknown"); _gender?: Element; identifier?: Identifier[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PractitionerRole.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PractitionerRole.ts index 8cfe8c677..6a73778f5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PractitionerRole.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PractitionerRole.ts @@ -30,7 +30,7 @@ export interface PractitionerRoleNotAvailable extends BackboneElement { during?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PractitionerRole +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PractitionerRole (pkg: hl7.fhir.r4.examples#4.0.1) export interface PractitionerRole extends DomainResource { resourceType: "PractitionerRole"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Procedure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Procedure.ts index dcb19ffd0..3b8872b8d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Procedure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Procedure.ts @@ -33,7 +33,7 @@ export interface ProcedurePerformer extends BackboneElement { onBehalfOf?: Reference<"Organization">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure (pkg: hl7.fhir.r4.examples#4.0.1) export interface Procedure extends DomainResource { resourceType: "Procedure"; @@ -49,9 +49,9 @@ export interface Procedure extends DomainResource { followUp?: CodeableConcept[]; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; location?: Reference<"Location">; note?: Annotation[]; outcome?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProdCharacteristic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProdCharacteristic.ts index 7100c74bf..a3166b4ee 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProdCharacteristic.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProdCharacteristic.ts @@ -13,16 +13,16 @@ export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProdCharacteristic +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProdCharacteristic (pkg: hl7.fhir.r4.examples#4.0.1) export interface ProdCharacteristic extends BackboneElement { color?: string[]; - _color?: Element; + _color?: (Element | null)[]; depth?: Quantity; externalDiameter?: Quantity; height?: Quantity; image?: Attachment[]; imprint?: string[]; - _imprint?: Element; + _imprint?: (Element | null)[]; nominalVolume?: Quantity; scoring?: CodeableConcept; shape?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProductShelfLife.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProductShelfLife.ts index 6c8d26d57..55afac613 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProductShelfLife.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProductShelfLife.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProductShelfLife +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProductShelfLife (pkg: hl7.fhir.r4.examples#4.0.1) export interface ProductShelfLife extends BackboneElement { identifier?: Identifier; period: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Provenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Provenance.ts index 474daeef5..200254ead 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Provenance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Provenance.ts @@ -19,7 +19,7 @@ export type { Signature } from "../hl7-fhir-r4-examples/Signature"; export interface ProvenanceAgent extends BackboneElement { onBehalfOf?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; role?: CodeableConcept[]; - type?: CodeableConcept; + type?: CodeableConcept<("enterer" | "performer" | "author" | "verifier" | "legal" | "attester" | "informant" | "custodian" | "assembler" | "composer" | string)>; who: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; } @@ -29,11 +29,11 @@ export interface ProvenanceEntity extends BackboneElement { what: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance (pkg: hl7.fhir.r4.examples#4.0.1) export interface Provenance extends DomainResource { resourceType: "Provenance"; - activity?: CodeableConcept; + activity?: CodeableConcept<("LA" | "ANONY" | "DEID" | "MASK" | "LABEL" | "PSEUD" | "CREATE" | "DELETE" | "UPDATE" | "APPEND" | "NULLIFY" | "PART" | "_ParticipationAncillary" | "ADM" | "ATND" | "CALLBCK" | "CON" | "DIS" | "ESC" | "REF" | "_ParticipationInformationGenerator" | "AUT" | "INF" | "TRANS" | "ENT" | "WIT" | "CST" | "DIR" | "ALY" | "BBY" | "CAT" | "CSM" | "TPA" | "DEV" | "NRD" | "RDV" | "DON" | "EXPAGNT" | "EXPART" | "EXPTRGT" | "EXSRC" | "PRD" | "SBJ" | "SPC" | "IND" | "BEN" | "CAGNT" | "COV" | "GUAR" | "HLD" | "RCT" | "RCV" | "IRCP" | "NOT" | "PRCP" | "REFB" | "REFT" | "TRC" | "LOC" | "DST" | "ELOC" | "ORG" | "RML" | "VIA" | "PRF" | "DIST" | "PPRF" | "SPRF" | "RESP" | "VRF" | "AUTHEN" | "LA" | string)>; agent: ProvenanceAgent[]; entity?: ProvenanceEntity[]; location?: Reference<"Location">; @@ -41,7 +41,7 @@ export interface Provenance extends DomainResource { _occurredDateTime?: Element; occurredPeriod?: Period; policy?: string[]; - _policy?: Element; + _policy?: (Element | null)[]; reason?: CodeableConcept[]; recorded: string; _recorded?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Quantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Quantity.ts index cfba67059..27d75674f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Quantity.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Quantity.ts @@ -6,7 +6,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Quantity +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Quantity (pkg: hl7.fhir.r4.examples#4.0.1) export interface Quantity extends Element { code?: string; _code?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Questionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Questionnaire.ts index 7b14b7bc7..0b9a0829b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Questionnaire.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Questionnaire.ts @@ -85,7 +85,7 @@ export interface QuestionnaireItemInitial extends BackboneElement { valueUri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire (pkg: hl7.fhir.r4.examples#4.0.1) export interface Questionnaire extends DomainResource { resourceType: "Questionnaire"; @@ -98,7 +98,7 @@ export interface Questionnaire extends DomainResource { date?: string; _date?: Element; derivedFrom?: string[]; - _derivedFrom?: Element; + _derivedFrom?: (Element | null)[]; description?: string; _description?: Element; effectivePeriod?: Period; @@ -118,7 +118,7 @@ export interface Questionnaire extends DomainResource { status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; subjectType?: string[]; - _subjectType?: Element; + _subjectType?: (Element | null)[]; title?: string; _title?: Element; url?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/QuestionnaireResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/QuestionnaireResponse.ts index 6a390589e..99a968632 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/QuestionnaireResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/QuestionnaireResponse.ts @@ -42,7 +42,7 @@ export interface QuestionnaireResponseItemAnswer extends BackboneElement { valueUri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse (pkg: hl7.fhir.r4.examples#4.0.1) export interface QuestionnaireResponse extends DomainResource { resourceType: "QuestionnaireResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Range.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Range.ts index 820f7173b..f28af821f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Range.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Range.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Range +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Range (pkg: hl7.fhir.r4.examples#4.0.1) export interface Range extends Element { high?: Quantity; low?: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Ratio.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Ratio.ts index 9cce48541..c534e0a78 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Ratio.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Ratio.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ratio +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ratio (pkg: hl7.fhir.r4.examples#4.0.1) export interface Ratio extends Element { denominator?: Quantity; numerator?: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Reference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Reference.ts index c71b76881..62680f8c3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Reference.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Reference.ts @@ -8,7 +8,7 @@ import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Reference +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Reference (pkg: hl7.fhir.r4.examples#4.0.1) export interface Reference extends Element { display?: string; _display?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedArtifact.ts index 2151fab5d..30f50ce48 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedArtifact.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedArtifact.ts @@ -8,7 +8,7 @@ import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; export type { Element } from "../hl7-fhir-r4-examples/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedArtifact +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedArtifact (pkg: hl7.fhir.r4.examples#4.0.1) export interface RelatedArtifact extends Element { citation?: string; _citation?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedPerson.ts index d0150d6c0..a797964e7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedPerson.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedPerson.ts @@ -25,11 +25,11 @@ export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export interface RelatedPersonCommunication extends BackboneElement { - language: CodeableConcept; + language: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; preferred?: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedPerson +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedPerson (pkg: hl7.fhir.r4.examples#4.0.1) export interface RelatedPerson extends DomainResource { resourceType: "RelatedPerson"; @@ -46,7 +46,7 @@ export interface RelatedPerson extends DomainResource { patient: Reference<"Patient">; period?: Period; photo?: Attachment[]; - relationship?: CodeableConcept[]; + relationship?: CodeableConcept<("BP" | "C" | "CP" | "E" | "EP" | "F" | "I" | "N" | "O" | "PR" | "S" | "U" | string)>[]; telecom?: ContactPoint[]; } export const isRelatedPerson = (resource: unknown): resource is RelatedPerson => { diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Request.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Request.ts index f4fc00d80..8fcade52b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Request.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Request.ts @@ -2,8 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request (pkg: hl7.fhir.r4.examples#4.0.1) export type Request = object; -export const isRequest = (resource: unknown): resource is Request => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Request"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RequestGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RequestGroup.ts index 7ac7e907b..44dcc3d02 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RequestGroup.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RequestGroup.ts @@ -54,7 +54,7 @@ export interface RequestGroupAction extends BackboneElement { timingRange?: Range; timingTiming?: Timing; title?: string; - type?: CodeableConcept; + type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; } export interface RequestGroupActionCondition extends BackboneElement { @@ -69,7 +69,7 @@ export interface RequestGroupActionRelatedAction extends BackboneElement { relationship: ("before-start" | "before" | "before-end" | "concurrent-with-start" | "concurrent" | "concurrent-with-end" | "after-start" | "after" | "after-end"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RequestGroup +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RequestGroup (pkg: hl7.fhir.r4.examples#4.0.1) export interface RequestGroup extends DomainResource { resourceType: "RequestGroup"; @@ -83,9 +83,9 @@ export interface RequestGroup extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchDefinition.ts index f56804f47..57db630af 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchDefinition.ts @@ -20,7 +20,7 @@ export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface ResearchDefinition extends DomainResource { resourceType: "ResearchDefinition"; @@ -28,7 +28,7 @@ export interface ResearchDefinition extends DomainResource { _approvalDate?: Element; author?: ContactDetail[]; comment?: string[]; - _comment?: Element; + _comment?: (Element | null)[]; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; @@ -48,7 +48,7 @@ export interface ResearchDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; outcome?: Reference<"ResearchElementDefinition">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchElementDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchElementDefinition.ts index e922aff53..2b1e009d3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchElementDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchElementDefinition.ts @@ -54,7 +54,7 @@ export interface ResearchElementDefinitionCharacteristic extends BackboneElement usageContext?: UsageContext[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface ResearchElementDefinition extends DomainResource { resourceType: "ResearchElementDefinition"; @@ -63,7 +63,7 @@ export interface ResearchElementDefinition extends DomainResource { author?: ContactDetail[]; characteristic: ResearchElementDefinitionCharacteristic[]; comment?: string[]; - _comment?: Element; + _comment?: (Element | null)[]; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; @@ -81,7 +81,7 @@ export interface ResearchElementDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; publisher?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchStudy.ts index fe1e69c6c..4b41fc2db 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchStudy.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchStudy.ts @@ -30,10 +30,10 @@ export interface ResearchStudyArm extends BackboneElement { export interface ResearchStudyObjective extends BackboneElement { name?: string; - type?: CodeableConcept; + type?: CodeableConcept<("primary" | "secondary" | "exploratory" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy (pkg: hl7.fhir.r4.examples#4.0.1) export interface ResearchStudy extends DomainResource { resourceType: "ResearchStudy"; @@ -53,7 +53,7 @@ export interface ResearchStudy extends DomainResource { partOf?: Reference<"ResearchStudy">[]; period?: Period; phase?: CodeableConcept; - primaryPurposeType?: CodeableConcept; + primaryPurposeType?: CodeableConcept<("treatment" | "prevention" | "diagnostic" | "supportive-care" | "screening" | "health-services-research" | "basic-science" | "device-feasibility" | string)>; principalInvestigator?: Reference<"Practitioner" | "PractitionerRole">; protocol?: Reference<"PlanDefinition">[]; reasonStopped?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchSubject.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchSubject.ts index 45230573c..9992b5514 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchSubject.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchSubject.ts @@ -12,7 +12,7 @@ export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchSubject +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchSubject (pkg: hl7.fhir.r4.examples#4.0.1) export interface ResearchSubject extends DomainResource { resourceType: "ResearchSubject"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Resource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Resource.ts index 2f2183983..486fe95d5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Resource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Resource.ts @@ -7,15 +7,15 @@ import type { Meta } from "../hl7-fhir-r4-examples/Meta"; import type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Meta } from "../hl7-fhir-r4-examples/Meta"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Resource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Resource (pkg: hl7.fhir.r4.examples#4.0.1) export interface Resource { - resourceType: "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "Resource" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "SDCQuestionLibrary" | "SDCQuestionLibrary" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; + resourceType: "Account" | "ActivityDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "ArtifactAssessment" | "AuditEvent" | "Basic" | "Binary" | "Binary" | "Binary" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "Bundle" | "Bundle" | "Bundle" | "CanonicalResource" | "CapabilityStatement" | "CarePlan" | "CareTeam" | "CatalogEntry" | "ChargeItem" | "ChargeItemDefinition" | "Citation" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "ClinicalUseDefinition" | "CodeSystem" | "Communication" | "CommunicationRequest" | "CompartmentDefinition" | "Composition" | "ConceptMap" | "Condition" | "ConditionDefinition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDispense" | "DeviceMetric" | "DeviceRequest" | "DeviceUsage" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "DomainResource" | "DomainResource" | "DomainResource" | "EffectEvidenceSynthesis" | "Encounter" | "EncounterHistory" | "Endpoint" | "EnrollmentRequest" | "EnrollmentResponse" | "EpisodeOfCare" | "EventDefinition" | "Evidence" | "EvidenceReport" | "EvidenceVariable" | "ExampleScenario" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "FormularyItem" | "GenomicStudy" | "Goal" | "GraphDefinition" | "Group" | "GuidanceResponse" | "HealthcareService" | "ImagingSelection" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImplementationGuide" | "Ingredient" | "InsurancePlan" | "InventoryItem" | "InventoryReport" | "Invoice" | "Library" | "Linkage" | "List" | "Location" | "ManufacturedItemDefinition" | "Measure" | "MeasureReport" | "Media" | "Medication" | "MedicationAdministration" | "MedicationDispense" | "MedicationKnowledge" | "MedicationRequest" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageHeader" | "MetadataResource" | "MolecularSequence" | "NamingSystem" | "NutritionIntake" | "NutritionOrder" | "NutritionProduct" | "Observation" | "ObservationDefinition" | "OperationDefinition" | "OperationOutcome" | "Organization" | "OrganizationAffiliation" | "PackagedProductDefinition" | "Parameters" | "Parameters" | "Parameters" | "Patient" | "PaymentNotice" | "PaymentReconciliation" | "Permission" | "Person" | "PlanDefinition" | "Practitioner" | "PractitionerRole" | "Procedure" | "Provenance" | "Questionnaire" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RelatedPerson" | "RequestGroup" | "RequestOrchestration" | "Requirements" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchSubject" | "Resource" | "RiskAssessment" | "RiskEvidenceSynthesis" | "Schedule" | "SDCQuestionLibrary" | "SearchParameter" | "ServiceRequest" | "Slot" | "Specimen" | "SpecimenDefinition" | "StructureDefinition" | "StructureMap" | "Subscription" | "SubscriptionStatus" | "SubscriptionTopic" | "Substance" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyRequest" | "Task" | "TerminologyCapabilities" | "TestPlan" | "TestReport" | "TestScript" | "Transport" | "ValueSet" | "VerificationResult" | "VisionPrescription"; id?: string; _id?: Element; implicitRules?: string; _implicitRules?: Element; - language?: string; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); _language?: Element; meta?: Meta; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskAssessment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskAssessment.ts index fa391ec54..7be219b3e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskAssessment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskAssessment.ts @@ -31,7 +31,7 @@ export interface RiskAssessmentPrediction extends BackboneElement { whenRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment (pkg: hl7.fhir.r4.examples#4.0.1) export interface RiskAssessment extends DomainResource { resourceType: "RiskAssessment"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskEvidenceSynthesis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskEvidenceSynthesis.ts index ec7f9ce56..0b490d1d3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskEvidenceSynthesis.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskEvidenceSynthesis.ts @@ -27,13 +27,13 @@ export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; export interface RiskEvidenceSynthesisCertainty extends BackboneElement { certaintySubcomponent?: RiskEvidenceSynthesisCertaintyCertaintySubcomponent[]; note?: Annotation[]; - rating?: CodeableConcept[]; + rating?: CodeableConcept<("high" | "moderate" | "low" | "very-low" | string)>[]; } export interface RiskEvidenceSynthesisCertaintyCertaintySubcomponent extends BackboneElement { note?: Annotation[]; - rating?: CodeableConcept[]; - type?: CodeableConcept; + rating?: CodeableConcept<("no-change" | "downcode1" | "downcode2" | "downcode3" | "upcode1" | "upcode2" | "no-concern" | "serious-concern" | "critical-concern" | "present" | "absent" | string)>[]; + type?: CodeableConcept<("RiskOfBias" | "Inconsistency" | "Indirectness" | "Imprecision" | "PublicationBias" | "DoseResponseGradient" | "PlausibleConfounding" | "LargeEffect" | string)>; } export interface RiskEvidenceSynthesisRiskEstimate extends BackboneElement { @@ -41,7 +41,7 @@ export interface RiskEvidenceSynthesisRiskEstimate extends BackboneElement { description?: string; numeratorCount?: number; precisionEstimate?: RiskEvidenceSynthesisRiskEstimatePrecisionEstimate[]; - type?: CodeableConcept; + type?: CodeableConcept<("proportion" | "derivedProportion" | "mean" | "median" | "count" | "descriptive" | string)>; unitOfMeasure?: CodeableConcept; value?: number; } @@ -50,7 +50,7 @@ export interface RiskEvidenceSynthesisRiskEstimatePrecisionEstimate extends Back from?: number; level?: number; to?: number; - type?: CodeableConcept; + type?: CodeableConcept<("CI" | "IQR" | "SD" | "SE" | string)>; } export interface RiskEvidenceSynthesisSampleSize extends BackboneElement { @@ -59,7 +59,7 @@ export interface RiskEvidenceSynthesisSampleSize extends BackboneElement { numberOfStudies?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis (pkg: hl7.fhir.r4.examples#4.0.1) export interface RiskEvidenceSynthesis extends DomainResource { resourceType: "RiskEvidenceSynthesis"; @@ -95,8 +95,8 @@ export interface RiskEvidenceSynthesis extends DomainResource { sampleSize?: RiskEvidenceSynthesisSampleSize; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; - studyType?: CodeableConcept; - synthesisType?: CodeableConcept; + studyType?: CodeableConcept<("RCT" | "CCT" | "cohort" | "case-control" | "series" | "case-report" | "mixed" | string)>; + synthesisType?: CodeableConcept<("std-MA" | "IPD-MA" | "indirect-NMA" | "combined-NMA" | "range" | "classification" | string)>; title?: string; _title?: Element; topic?: CodeableConcept[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SampledData.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SampledData.ts index ac6813a3b..5532a52ae 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SampledData.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SampledData.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SampledData +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SampledData (pkg: hl7.fhir.r4.examples#4.0.1) export interface SampledData extends Element { data?: string; _data?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Schedule.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Schedule.ts index 2231f8aa5..e3c158e22 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Schedule.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Schedule.ts @@ -14,7 +14,7 @@ export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Period } from "../hl7-fhir-r4-examples/Period"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Schedule +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Schedule (pkg: hl7.fhir.r4.examples#4.0.1) export interface Schedule extends DomainResource { resourceType: "Schedule"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SearchParameter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SearchParameter.ts index 34f5f878e..1f5eb4a58 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SearchParameter.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SearchParameter.ts @@ -19,18 +19,18 @@ export interface SearchParameterComponent extends BackboneElement { expression: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SearchParameter +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SearchParameter (pkg: hl7.fhir.r4.examples#4.0.1) export interface SearchParameter extends DomainResource { resourceType: "SearchParameter"; base: string[]; - _base?: Element; + _base?: (Element | null)[]; chain?: string[]; - _chain?: Element; + _chain?: (Element | null)[]; code: string; _code?: Element; comparator?: ("eq" | "ne" | "gt" | "lt" | "ge" | "le" | "sa" | "eb" | "ap")[]; - _comparator?: Element; + _comparator?: (Element | null)[]; component?: SearchParameterComponent[]; contact?: ContactDetail[]; date?: string; @@ -45,7 +45,7 @@ export interface SearchParameter extends DomainResource { _expression?: Element; jurisdiction?: CodeableConcept[]; modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType")[]; - _modifier?: Element; + _modifier?: (Element | null)[]; multipleAnd?: boolean; _multipleAnd?: Element; multipleOr?: boolean; @@ -59,7 +59,7 @@ export interface SearchParameter extends DomainResource { status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; target?: string[]; - _target?: Element; + _target?: (Element | null)[]; type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); _type?: Element; url: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ServiceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ServiceRequest.ts index 3e3297e1b..b4ffa14a6 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ServiceRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ServiceRequest.ts @@ -24,7 +24,7 @@ export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export type { Timing } from "../hl7-fhir-r4-examples/Timing"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ServiceRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ServiceRequest (pkg: hl7.fhir.r4.examples#4.0.1) export interface ServiceRequest extends DomainResource { resourceType: "ServiceRequest"; @@ -42,9 +42,9 @@ export interface ServiceRequest extends DomainResource { encounter?: Reference<"Encounter">; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; insurance?: Reference<"ClaimResponse" | "Coverage">[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Signature.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Signature.ts index b0bbbaa3a..9007cc4e9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Signature.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Signature.ts @@ -10,7 +10,7 @@ export type { Coding } from "../hl7-fhir-r4-examples/Coding"; export type { Element } from "../hl7-fhir-r4-examples/Element"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Signature +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Signature (pkg: hl7.fhir.r4.examples#4.0.1) export interface Signature extends Element { data?: string; _data?: Element; @@ -19,7 +19,7 @@ export interface Signature extends Element { _sigFormat?: Element; targetFormat?: string; _targetFormat?: Element; - type: Coding[]; + type: Coding<("1.2.840.10065.1.12.1.1" | "1.2.840.10065.1.12.1.2" | "1.2.840.10065.1.12.1.3" | "1.2.840.10065.1.12.1.4" | "1.2.840.10065.1.12.1.5" | "1.2.840.10065.1.12.1.6" | "1.2.840.10065.1.12.1.7" | "1.2.840.10065.1.12.1.8" | "1.2.840.10065.1.12.1.9" | "1.2.840.10065.1.12.1.10" | "1.2.840.10065.1.12.1.11" | "1.2.840.10065.1.12.1.12" | "1.2.840.10065.1.12.1.13" | "1.2.840.10065.1.12.1.14" | "1.2.840.10065.1.12.1.15" | "1.2.840.10065.1.12.1.16" | "1.2.840.10065.1.12.1.17" | "1.2.840.10065.1.12.1.18" | string)>[]; when: string; _when?: Element; who: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Slot.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Slot.ts index 80911cd33..2fa7e78e6 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Slot.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Slot.ts @@ -12,11 +12,11 @@ export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Slot +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Slot (pkg: hl7.fhir.r4.examples#4.0.1) export interface Slot extends DomainResource { resourceType: "Slot"; - appointmentType?: CodeableConcept; + appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; comment?: string; _comment?: Element; end: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Specimen.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Specimen.ts index b87915d3e..e3759bd34 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Specimen.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Specimen.ts @@ -52,13 +52,13 @@ export interface SpecimenProcessing extends BackboneElement { timePeriod?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Specimen +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Specimen (pkg: hl7.fhir.r4.examples#4.0.1) export interface Specimen extends DomainResource { resourceType: "Specimen"; accessionIdentifier?: Identifier; collection?: SpecimenCollection; - condition?: CodeableConcept[]; + condition?: CodeableConcept<("AUT" | "CFU" | "CLOT" | "CON" | "COOL" | "FROZ" | "HEM" | "LIVE" | "ROOM" | "SNR" | string)>[]; container?: SpecimenContainer[]; identifier?: Identifier[]; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SpecimenDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SpecimenDefinition.ts index c1e4aa251..7b32baf9d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SpecimenDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SpecimenDefinition.ts @@ -55,7 +55,7 @@ export interface SpecimenDefinitionTypeTestedHandling extends BackboneElement { temperatureRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface SpecimenDefinition extends DomainResource { resourceType: "SpecimenDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureDefinition.ts index 9bc90ff6c..eaac55861 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureDefinition.ts @@ -40,7 +40,7 @@ export interface StructureDefinitionSnapshot extends BackboneElement { element: ElementDefinition[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface StructureDefinition extends DomainResource { resourceType: "StructureDefinition"; @@ -51,7 +51,7 @@ export interface StructureDefinition extends DomainResource { contact?: ContactDetail[]; context?: StructureDefinitionContext[]; contextInvariant?: string[]; - _contextInvariant?: Element; + _contextInvariant?: (Element | null)[]; copyright?: string; _copyright?: Element; date?: string; @@ -67,7 +67,7 @@ export interface StructureDefinition extends DomainResource { _fhirVersion?: Element; identifier?: Identifier[]; jurisdiction?: CodeableConcept[]; - keyword?: Coding[]; + keyword?: Coding<("fhir-structure" | "custom-resource" | "dam" | "wire-format" | "archetype" | "template" | string)>[]; kind: ("primitive-type" | "complex-type" | "resource" | "logical"); _kind?: Element; mapping?: StructureDefinitionMapping[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureMap.ts index f9ecc6cc2..d8bd5e409 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureMap.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureMap.ts @@ -189,7 +189,7 @@ export interface StructureMapStructure extends BackboneElement { url: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap (pkg: hl7.fhir.r4.examples#4.0.1) export interface StructureMap extends DomainResource { resourceType: "StructureMap"; @@ -205,7 +205,7 @@ export interface StructureMap extends DomainResource { group: StructureMapGroup[]; identifier?: Identifier[]; "import"?: string[]; - _import?: Element; + _import?: (Element | null)[]; jurisdiction?: CodeableConcept[]; name: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Subscription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Subscription.ts index ecc04746f..b5330b825 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Subscription.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Subscription.ts @@ -17,7 +17,7 @@ export interface SubscriptionChannel extends BackboneElement { type: ("rest-hook" | "websocket" | "email" | "sms" | "message"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription (pkg: hl7.fhir.r4.examples#4.0.1) export interface Subscription extends DomainResource { resourceType: "Subscription"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Substance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Substance.ts index ab129efe5..36d859e08 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Substance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Substance.ts @@ -30,11 +30,11 @@ export interface SubstanceInstance extends BackboneElement { quantity?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Substance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Substance (pkg: hl7.fhir.r4.examples#4.0.1) export interface Substance extends DomainResource { resourceType: "Substance"; - category?: CodeableConcept[]; + category?: CodeableConcept<("allergen" | "biological" | "body" | "chemical" | "food" | "drug" | "material" | string)>[]; code: CodeableConcept; description?: string; _description?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceAmount.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceAmount.ts index c3c4977cb..83bc0ecc7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceAmount.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceAmount.ts @@ -19,7 +19,7 @@ export interface SubstanceAmountReferenceRange extends Element { lowLimit?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceAmount +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceAmount (pkg: hl7.fhir.r4.examples#4.0.1) export interface SubstanceAmount extends BackboneElement { amountQuantity?: Quantity; amountRange?: Range; @@ -28,5 +28,5 @@ export interface SubstanceAmount extends BackboneElement { amountText?: string; _amountText?: Element; amountType?: CodeableConcept; - referenceRange?: Element; + referenceRange?: SubstanceAmountReferenceRange; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceNucleicAcid.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceNucleicAcid.ts index 97d2c86d3..9632688d7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceNucleicAcid.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceNucleicAcid.ts @@ -38,7 +38,7 @@ export interface SubstanceNucleicAcidSubunitSugar extends BackboneElement { residueSite?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid (pkg: hl7.fhir.r4.examples#4.0.1) export interface SubstanceNucleicAcid extends DomainResource { resourceType: "SubstanceNucleicAcid"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstancePolymer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstancePolymer.ts index b864debf3..c55e371ec 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstancePolymer.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstancePolymer.ts @@ -52,7 +52,7 @@ export interface SubstancePolymerRepeatRepeatUnitStructuralRepresentation extend type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer (pkg: hl7.fhir.r4.examples#4.0.1) export interface SubstancePolymer extends DomainResource { resourceType: "SubstancePolymer"; @@ -60,7 +60,7 @@ export interface SubstancePolymer extends DomainResource { copolymerConnectivity?: CodeableConcept[]; geometry?: CodeableConcept; modification?: string[]; - _modification?: Element; + _modification?: (Element | null)[]; monomerSet?: SubstancePolymerMonomerSet[]; repeat?: SubstancePolymerRepeat[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceProtein.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceProtein.ts index 080194200..85f8bb5fc 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceProtein.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceProtein.ts @@ -25,12 +25,12 @@ export interface SubstanceProteinSubunit extends BackboneElement { subunit?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceProtein +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceProtein (pkg: hl7.fhir.r4.examples#4.0.1) export interface SubstanceProtein extends DomainResource { resourceType: "SubstanceProtein"; disulfideLinkage?: string[]; - _disulfideLinkage?: Element; + _disulfideLinkage?: (Element | null)[]; numberOfSubunits?: number; _numberOfSubunits?: Element; sequenceType?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceReferenceInformation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceReferenceInformation.ts index c294dda49..39a5db0aa 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceReferenceInformation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceReferenceInformation.ts @@ -50,7 +50,7 @@ export interface SubstanceReferenceInformationTarget extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation (pkg: hl7.fhir.r4.examples#4.0.1) export interface SubstanceReferenceInformation extends DomainResource { resourceType: "SubstanceReferenceInformation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSourceMaterial.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSourceMaterial.ts index 4ddff2853..4696167bd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSourceMaterial.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSourceMaterial.ts @@ -53,7 +53,7 @@ export interface SubstanceSourceMaterialPartDescription extends BackboneElement partLocation?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial (pkg: hl7.fhir.r4.examples#4.0.1) export interface SubstanceSourceMaterial extends DomainResource { resourceType: "SubstanceSourceMaterial"; @@ -61,14 +61,14 @@ export interface SubstanceSourceMaterial extends DomainResource { developmentStage?: CodeableConcept; fractionDescription?: SubstanceSourceMaterialFractionDescription[]; geographicalLocation?: string[]; - _geographicalLocation?: Element; + _geographicalLocation?: (Element | null)[]; organism?: SubstanceSourceMaterialOrganism; organismId?: Identifier; organismName?: string; _organismName?: Element; parentSubstanceId?: Identifier[]; parentSubstanceName?: string[]; - _parentSubstanceName?: Element; + _parentSubstanceName?: (Element | null)[]; partDescription?: SubstanceSourceMaterialPartDescription[]; sourceMaterialClass?: CodeableConcept; sourceMaterialState?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSpecification.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSpecification.ts index 4ee971103..cc0c9312e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSpecification.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSpecification.ts @@ -116,7 +116,7 @@ export interface SubstanceSpecificationStructureRepresentation extends BackboneE type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification (pkg: hl7.fhir.r4.examples#4.0.1) export interface SubstanceSpecification extends DomainResource { resourceType: "SubstanceSpecification"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyDelivery.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyDelivery.ts index 3b2649bff..215a1f811 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyDelivery.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyDelivery.ts @@ -26,7 +26,7 @@ export interface SupplyDeliverySuppliedItem extends BackboneElement { quantity?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery (pkg: hl7.fhir.r4.examples#4.0.1) export interface SupplyDelivery extends DomainResource { resourceType: "SupplyDelivery"; @@ -44,7 +44,7 @@ export interface SupplyDelivery extends DomainResource { _status?: Element; suppliedItem?: SupplyDeliverySuppliedItem; supplier?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - type?: CodeableConcept; + type?: CodeableConcept<("medication" | "device")>; } export const isSupplyDelivery = (resource: unknown): resource is SupplyDelivery => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SupplyDelivery"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyRequest.ts index 5cf75264c..8221777b8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyRequest.ts @@ -30,7 +30,7 @@ export interface SupplyRequestParameter extends BackboneElement { valueRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest (pkg: hl7.fhir.r4.examples#4.0.1) export interface SupplyRequest extends DomainResource { resourceType: "SupplyRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Task.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Task.ts index 8c3040eea..aa36f2743 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Task.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Task.ts @@ -184,7 +184,7 @@ export interface TaskRestriction extends BackboneElement { repetitions?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task (pkg: hl7.fhir.r4.examples#4.0.1) export interface Task extends DomainResource { resourceType: "Task"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TerminologyCapabilities.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TerminologyCapabilities.ts index af522db68..6980e81ec 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TerminologyCapabilities.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TerminologyCapabilities.ts @@ -69,7 +69,7 @@ export interface TerminologyCapabilitiesValidateCode extends BackboneElement { translations: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities (pkg: hl7.fhir.r4.examples#4.0.1) export interface TerminologyCapabilities extends DomainResource { resourceType: "TerminologyCapabilities"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestReport.ts index d1ddf4fa3..9ef6bdd0a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestReport.ts @@ -58,7 +58,7 @@ export interface TestReportTestAction extends BackboneElement { operation?: TestReportSetupActionOperation; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport (pkg: hl7.fhir.r4.examples#4.0.1) export interface TestReport extends DomainResource { resourceType: "TestReport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestScript.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestScript.ts index c4a0dc916..999a4c70d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestScript.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestScript.ts @@ -22,7 +22,7 @@ export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; export interface TestScriptDestination extends BackboneElement { index: number; - profile: Coding; + profile: Coding<("FHIR-Server" | "FHIR-SDC-FormManager" | "FHIR-SDC-FormProcessor" | "FHIR-SDC-FormReceiver" | string)>; } export interface TestScriptFixture extends BackboneElement { @@ -53,7 +53,7 @@ export interface TestScriptMetadataLink extends BackboneElement { export interface TestScriptOrigin extends BackboneElement { index: number; - profile: Coding; + profile: Coding<("FHIR-Client" | "FHIR-SDC-FormFiller" | string)>; } export interface TestScriptSetup extends BackboneElement { @@ -106,7 +106,7 @@ export interface TestScriptSetupActionOperation extends BackboneElement { responseId?: string; sourceId?: string; targetId?: string; - type?: Coding; + type?: Coding<("read" | "vread" | "update" | "updateCreate" | "patch" | "delete" | "deleteCondSingle" | "deleteCondMultiple" | "history" | "create" | "search" | "batch" | "transaction" | "capabilities" | "apply" | "closure" | "find-matches" | "conforms" | "data-requirements" | "document" | "evaluate" | "evaluate-measure" | "everything" | "expand" | "find" | "graphql" | "implements" | "lastn" | "lookup" | "match" | "meta" | "meta-add" | "meta-delete" | "populate" | "populatehtml" | "populatelink" | "process-message" | "questionnaire" | "stats" | "subset" | "subsumes" | "transform" | "translate" | "validate" | "validate-code" | string)>; url?: string; } @@ -145,7 +145,7 @@ export interface TestScriptVariable extends BackboneElement { sourceId?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript (pkg: hl7.fhir.r4.examples#4.0.1) export interface TestScript extends DomainResource { resourceType: "TestScript"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Timing.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Timing.ts index 32e079e40..3e4b2f080 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Timing.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Timing.ts @@ -36,10 +36,10 @@ export interface TimingRepeat extends Element { when?: ("MORN" | "MORN.early" | "MORN.late" | "NOON" | "AFT" | "AFT.early" | "AFT.late" | "EVE" | "EVE.early" | "EVE.late" | "NIGHT" | "PHS" | "HS" | "WAKE" | "C" | "CM" | "CD" | "CV" | "AC" | "ACM" | "ACD" | "ACV" | "PC" | "PCM" | "PCD" | "PCV")[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Timing +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Timing (pkg: hl7.fhir.r4.examples#4.0.1) export interface Timing extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("BID" | "TID" | "QID" | "AM" | "PM" | "QD" | "QOD" | "Q1H" | "Q2H" | "Q3H" | "Q4H" | "Q6H" | "Q8H" | "BED" | "WK" | "MO" | string)>; event?: string[]; - _event?: Element; - repeat?: Element; + _event?: (Element | null)[]; + repeat?: TimingRepeat; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TriggerDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TriggerDefinition.ts index 53dd537c7..f6efa4d6d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TriggerDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TriggerDefinition.ts @@ -14,7 +14,7 @@ export type { Expression } from "../hl7-fhir-r4-examples/Expression"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; export type { Timing } from "../hl7-fhir-r4-examples/Timing"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TriggerDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TriggerDefinition (pkg: hl7.fhir.r4.examples#4.0.1) export interface TriggerDefinition extends Element { condition?: Expression; data?: DataRequirement[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/UsageContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/UsageContext.ts index 30628c56a..a21951808 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/UsageContext.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/UsageContext.ts @@ -16,9 +16,9 @@ export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; export type { Range } from "../hl7-fhir-r4-examples/Range"; export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/UsageContext +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/UsageContext (pkg: hl7.fhir.r4.examples#4.0.1) export interface UsageContext extends Element { - code: Coding; + code: Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)>; valueCodeableConcept?: CodeableConcept; valueQuantity?: Quantity; valueRange?: Range; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ValueSet.ts index ab657982d..7616ecae5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ValueSet.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ValueSet.ts @@ -40,8 +40,8 @@ export interface ValueSetComposeIncludeConcept extends BackboneElement { } export interface ValueSetComposeIncludeConceptDesignation extends BackboneElement { - language?: string; - use?: Coding; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); + use?: Coding<("900000000000003001" | "900000000000013009" | string)>; value: string; } @@ -82,7 +82,7 @@ export interface ValueSetExpansionParameter extends BackboneElement { valueUri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet (pkg: hl7.fhir.r4.examples#4.0.1) export interface ValueSet extends DomainResource { resourceType: "ValueSet"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VerificationResult.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VerificationResult.ts index c144fbfc4..3f42d4e12 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VerificationResult.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VerificationResult.ts @@ -28,12 +28,12 @@ export interface VerificationResultAttestation extends BackboneElement { } export interface VerificationResultPrimarySource extends BackboneElement { - canPushUpdates?: CodeableConcept; + canPushUpdates?: CodeableConcept<("yes" | "no" | "undetermined" | string)>; communicationMethod?: CodeableConcept[]; - pushTypeAvailable?: CodeableConcept[]; + pushTypeAvailable?: CodeableConcept<("specific" | "any" | "source" | string)>[]; type?: CodeableConcept[]; validationDate?: string; - validationStatus?: CodeableConcept; + validationStatus?: CodeableConcept<("successful" | "failed" | "unknown" | string)>; who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; } @@ -43,16 +43,16 @@ export interface VerificationResultValidator extends BackboneElement { organization: Reference<"Organization">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VerificationResult +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VerificationResult (pkg: hl7.fhir.r4.examples#4.0.1) export interface VerificationResult extends DomainResource { resourceType: "VerificationResult"; attestation?: VerificationResultAttestation; - failureAction?: CodeableConcept; + failureAction?: CodeableConcept<("fatal" | "warn" | "rec-only" | "none" | string)>; frequency?: Timing; lastPerformed?: string; _lastPerformed?: Element; - need?: CodeableConcept; + need?: CodeableConcept<("none" | "initial" | "periodic" | string)>; nextScheduled?: string; _nextScheduled?: Element; primarySource?: VerificationResultPrimarySource[]; @@ -62,9 +62,9 @@ export interface VerificationResult extends DomainResource { _statusDate?: Element; target?: Reference<"Resource">[]; targetLocation?: string[]; - _targetLocation?: Element; + _targetLocation?: (Element | null)[]; validationProcess?: CodeableConcept[]; - validationType?: CodeableConcept; + validationType?: CodeableConcept<("nothing" | "primary" | "multiple" | string)>; validator?: VerificationResultValidator[]; } export const isVerificationResult = (resource: unknown): resource is VerificationResult => { diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VisionPrescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VisionPrescription.ts index 30715c06b..e0b34c4f7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VisionPrescription.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VisionPrescription.ts @@ -40,7 +40,7 @@ export interface VisionPrescriptionLensSpecificationPrism extends BackboneElemen base: ("up" | "down" | "in" | "out"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription (pkg: hl7.fhir.r4.examples#4.0.1) export interface VisionPrescription extends DomainResource { resourceType: "VisionPrescription"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/index.ts index cb2347dfe..a6c7bacad 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/index.ts @@ -78,7 +78,6 @@ export type { CoverageEligibilityResponse, CoverageEligibilityResponseError, Cov export { isCoverageEligibilityResponse } from "./CoverageEligibilityResponse"; export type { DataRequirement } from "./DataRequirement"; export type { Definition } from "./Definition"; -export { isDefinition } from "./Definition"; export type { DetectedIssue, DetectedIssueEvidence, DetectedIssueMitigation } from "./DetectedIssue"; export { isDetectedIssue } from "./DetectedIssue"; export type { Device, DeviceDeviceName, DeviceProperty, DeviceSpecialization, DeviceUdiCarrier, DeviceVersion } from "./Device"; @@ -117,7 +116,6 @@ export { isEnrollmentResponse } from "./EnrollmentResponse"; export type { EpisodeOfCare, EpisodeOfCareDiagnosis, EpisodeOfCareStatusHistory } from "./EpisodeOfCare"; export { isEpisodeOfCare } from "./EpisodeOfCare"; export type { Event } from "./Event"; -export { isEvent } from "./Event"; export type { EventDefinition } from "./EventDefinition"; export { isEventDefinition } from "./EventDefinition"; export type { Evidence } from "./Evidence"; @@ -130,10 +128,7 @@ export type { ExplanationOfBenefit, ExplanationOfBenefitAccident, ExplanationOfB export { isExplanationOfBenefit } from "./ExplanationOfBenefit"; export type { Expression } from "./Expression"; export type { Extension } from "./Extension"; -export type { FamilyMemberHistory, FamilyMemberHistoryCondition } from "./FamilyMemberHistory"; -export { isFamilyMemberHistory } from "./FamilyMemberHistory"; export type { FiveWs } from "./FiveWs"; -export { isFiveWs } from "./FiveWs"; export type { Flag } from "./Flag"; export { isFlag } from "./Flag"; export type { Goal, GoalTarget } from "./Goal"; @@ -215,7 +210,6 @@ export type { MessageHeader, MessageHeaderDestination, MessageHeaderResponse, Me export { isMessageHeader } from "./MessageHeader"; export type { Meta } from "./Meta"; export type { MetadataResource } from "./MetadataResource"; -export { isMetadataResource } from "./MetadataResource"; export type { MolecularSequence, MolecularSequenceQuality, MolecularSequenceQualityRoc, MolecularSequenceReferenceSeq, MolecularSequenceRepository, MolecularSequenceStructureVariant, MolecularSequenceStructureVariantInner, MolecularSequenceStructureVariantOuter, MolecularSequenceVariant } from "./MolecularSequence"; export { isMolecularSequence } from "./MolecularSequence"; export type { Money } from "./Money"; @@ -273,7 +267,6 @@ export type { RelatedArtifact } from "./RelatedArtifact"; export type { RelatedPerson, RelatedPersonCommunication } from "./RelatedPerson"; export { isRelatedPerson } from "./RelatedPerson"; export type { Request } from "./Request"; -export { isRequest } from "./Request"; export type { RequestGroup, RequestGroupAction, RequestGroupActionCondition, RequestGroupActionRelatedAction } from "./RequestGroup"; export { isRequestGroup } from "./RequestGroup"; export type { ResearchDefinition } from "./ResearchDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts new file mode 100644 index 000000000..77fb6597f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ActivityDefinition } from "../../hl7-fhir-r4-examples/ActivityDefinition"; + +export interface Shareable_ActivityDefinition extends ActivityDefinition { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_ActivityDefinitionProfileParams = { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition (pkg: hl7.fhir.r4.examples#4.0.1) +export class Shareable_ActivityDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition" + + private resource: ActivityDefinition + + constructor (resource: ActivityDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition") + } + + static from (resource: ActivityDefinition) : Shareable_ActivityDefinitionProfile { + return new Shareable_ActivityDefinitionProfile(resource) + } + + static createResource (args: Shareable_ActivityDefinitionProfileParams) : ActivityDefinition { + const resource: ActivityDefinition = { + resourceType: "ActivityDefinition", + url: args.url, + version: args.version, + name: args.name, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition"] }, + } as unknown as ActivityDefinition + return resource + } + + static create (args: Shareable_ActivityDefinitionProfileParams) : Shareable_ActivityDefinitionProfile { + return Shareable_ActivityDefinitionProfile.from(Shareable_ActivityDefinitionProfile.createResource(args)) + } + + toResource () : ActivityDefinition { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_ActivityDefinition { + return this.resource as Shareable_ActivityDefinition + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable ActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable ActivityDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActualGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActualGroup.ts deleted file mode 100644 index 9e4f40f23..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActualGroup.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Group } from "../../hl7-fhir-r4-examples/Group"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/actualgroup -export class Actual_GroupProfile { - private resource: Group - - constructor (resource: Group) { - this.resource = resource - } - - toResource () : Group { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts new file mode 100644 index 000000000..d0581a36d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { AuditEvent } from "../../hl7-fhir-r4-examples/AuditEvent"; +import type { AuditEventAgent } from "../../hl7-fhir-r4-examples/AuditEvent"; +import type { AuditEventSource } from "../../hl7-fhir-r4-examples/AuditEvent"; +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EHRS_FM_Record_Lifecycle_Event___Audit_EventProfileParams = { + type: Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)>; + recorded: string; + agent: AuditEventAgent[]; + source: AuditEventSource; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent (pkg: hl7.fhir.r4.examples#4.0.1) +export class EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent" + + private resource: AuditEvent + + constructor (resource: AuditEvent) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent")) profiles.push("http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent") + } + + static from (resource: AuditEvent) : EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile { + return new EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile(resource) + } + + static createResource (args: EHRS_FM_Record_Lifecycle_Event___Audit_EventProfileParams) : AuditEvent { + const resource: AuditEvent = { + resourceType: "AuditEvent", + type: args.type, + recorded: args.recorded, + agent: args.agent, + source: args.source, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent"] }, + } as unknown as AuditEvent + return resource + } + + static create (args: EHRS_FM_Record_Lifecycle_Event___Audit_EventProfileParams) : EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile { + return EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile.from(EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile.createResource(args)) + } + + toResource () : AuditEvent { + return this.resource + } + + getType () : Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)> | undefined { + return this.resource.type as Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)> | undefined + } + + setType (value: Coding<("110100" | "110101" | "110102" | "110103" | "110104" | "110105" | "110106" | "110107" | "110108" | "110109" | "110110" | "110111" | "110112" | "110113" | "110114" | "rest" | "access" | "hold" | "amend" | "archive" | "attest" | "decrypt" | "deidentify" | "deprecate" | "destroy" | "disclose" | "encrypt" | "extract" | "link" | "merge" | "originate" | "pseudonymize" | "reactivate" | "receive" | "reidentify" | "unhold" | "report" | "restore" | "transform" | "transmit" | "unlink" | "unmerge" | "verify" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getRecorded () : string | undefined { + return this.resource.recorded as string | undefined + } + + setRecorded (value: string) : this { + Object.assign(this.resource, { recorded: value }) + return this + } + + getAgent () : AuditEventAgent[] | undefined { + return this.resource.agent as AuditEventAgent[] | undefined + } + + setAgent (value: AuditEventAgent[]) : this { + Object.assign(this.resource, { agent: value }) + return this + } + + getSource () : AuditEventSource | undefined { + return this.resource.source as AuditEventSource | undefined + } + + setSource (value: AuditEventSource) : this { + Object.assign(this.resource, { source: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + { const e = validateEnum(r["action"], ["C","R","U","D","E"], "action", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + { const e = validateRequired(r, "recorded", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + { const e = validateRequired(r, "agent", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + { const e = validateRequired(r, "source", "EHRS FM Record Lifecycle Event - Audit Event"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksGuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksGuidanceResponse.ts deleted file mode 100644 index 210cf54ce..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksGuidanceResponse.ts +++ /dev/null @@ -1,48 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; -import type { GuidanceResponse } from "../../hl7-fhir-r4-examples/GuidanceResponse"; -import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse -export interface CDS_Hooks_GuidanceResponse extends GuidanceResponse { - requestIdentifier: Identifier; - identifier: Identifier[]; - moduleUri: string; -} - -export class CDS_Hooks_GuidanceResponseProfile { - private resource: GuidanceResponse - - constructor (resource: GuidanceResponse) { - this.resource = resource - } - - toResource () : GuidanceResponse { - return this.resource - } - - toProfile () : CDS_Hooks_GuidanceResponse { - return this.resource as CDS_Hooks_GuidanceResponse - } - - public setCdsHooksEndpoint (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value }) - return this - } - - public getCdsHooksEndpoint (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - return ext?.valueUri - } - - public getCdsHooksEndpointExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksRequestGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksRequestGroup.ts deleted file mode 100644 index bc91fcdbf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksRequestGroup.ts +++ /dev/null @@ -1,30 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; -import type { RequestGroup } from "../../hl7-fhir-r4-examples/RequestGroup"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup -export interface CDS_Hooks_RequestGroup extends RequestGroup { - identifier: Identifier[]; - instantiatesUri: string[]; -} - -export class CDS_Hooks_RequestGroupProfile { - private resource: RequestGroup - - constructor (resource: RequestGroup) { - this.resource = resource - } - - toResource () : RequestGroup { - return this.resource - } - - toProfile () : CDS_Hooks_RequestGroup { - return this.resource as CDS_Hooks_RequestGroup - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksServicePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksServicePlanDefinition.ts deleted file mode 100644 index eafcd86fd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CdsHooksServicePlanDefinition.ts +++ /dev/null @@ -1,37 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; -import type { PlanDefinition } from "../../hl7-fhir-r4-examples/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition -export class CDS_Hooks_Service_PlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - public setCdsHooksEndpoint (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value }) - return this - } - - public getCdsHooksEndpoint (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - return ext?.valueUri - } - - public getCdsHooksEndpointExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ClinicalDocument.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ClinicalDocument.ts deleted file mode 100644 index 9030a1b0b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ClinicalDocument.ts +++ /dev/null @@ -1,37 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Composition } from "../../hl7-fhir-r4-examples/Composition"; -import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/clinicaldocument -export class Clinical_DocumentProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - - public setVersionNumber (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", valueString: value }) - return this - } - - public getVersionNumber (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber") - return ext?.valueString - } - - public getVersionNumberExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CodeSystem_Shareable_CodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CodeSystem_Shareable_CodeSystem.ts new file mode 100644 index 000000000..069c63698 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CodeSystem_Shareable_CodeSystem.ts @@ -0,0 +1,165 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeSystem } from "../../hl7-fhir-r4-examples/CodeSystem"; +import type { CodeSystemConcept } from "../../hl7-fhir-r4-examples/CodeSystem"; + +export interface Shareable_CodeSystem extends CodeSystem { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; + concept: CodeSystemConcept[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_CodeSystemProfileParams = { + url: string; + version: string; + name: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + publisher: string; + description: string; + concept: CodeSystemConcept[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablecodesystem (pkg: hl7.fhir.r4.examples#4.0.1) +export class Shareable_CodeSystemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" + + private resource: CodeSystem + + constructor (resource: CodeSystem) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablecodesystem")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablecodesystem") + } + + static from (resource: CodeSystem) : Shareable_CodeSystemProfile { + return new Shareable_CodeSystemProfile(resource) + } + + static createResource (args: Shareable_CodeSystemProfileParams) : CodeSystem { + const resource: CodeSystem = { + resourceType: "CodeSystem", + url: args.url, + version: args.version, + name: args.name, + status: args.status, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + concept: args.concept, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"] }, + } as unknown as CodeSystem + return resource + } + + static create (args: Shareable_CodeSystemProfileParams) : Shareable_CodeSystemProfile { + return Shareable_CodeSystemProfile.from(Shareable_CodeSystemProfile.createResource(args)) + } + + toResource () : CodeSystem { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getConcept () : CodeSystemConcept[] | undefined { + return this.resource.concept as CodeSystemConcept[] | undefined + } + + setConcept (value: CodeSystemConcept[]) : this { + Object.assign(this.resource, { concept: value }) + return this + } + + toProfile () : Shareable_CodeSystem { + return this.resource as Shareable_CodeSystem + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable CodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "concept", "Shareable CodeSystem"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Clinical_Document.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Clinical_Document.ts new file mode 100644 index 000000000..c40e98da1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Clinical_Document.ts @@ -0,0 +1,68 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Composition } from "../../hl7-fhir-r4-examples/Composition"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/clinicaldocument (pkg: hl7.fhir.r4.examples#4.0.1) +export class Clinical_DocumentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/clinicaldocument" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/clinicaldocument")) profiles.push("http://hl7.org/fhir/StructureDefinition/clinicaldocument") + } + + static from (resource: Composition) : Clinical_DocumentProfile { + return new Clinical_DocumentProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/clinicaldocument"] }, + } as unknown as Composition + return resource + } + + static create () : Clinical_DocumentProfile { + return Clinical_DocumentProfile.from(Clinical_DocumentProfile.createResource()) + } + + toResource () : Composition { + return this.resource + } + + public setVersionNumber (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", valueString: value } as Extension) + return this + } + + public getVersionNumber (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getVersionNumberExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateReference(r["subject"], ["Device","Group","Location","Patient","Practitioner"], "subject", "Clinical Document"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DocumentSectionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentSectionLibrary.ts similarity index 79% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DocumentSectionLibrary.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentSectionLibrary.ts index 4fc7706de..ea1a6c5de 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DocumentSectionLibrary.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentSectionLibrary.ts @@ -5,18 +5,40 @@ import type { Composition } from "../../hl7-fhir-r4-examples/Composition"; import type { CompositionSection } from "../../hl7-fhir-r4-examples/Composition"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-section-library export type DocumentSectionLibrary_Section_ProcedureSliceInput = Omit & Required>; export type DocumentSectionLibrary_Section_MedicationsSliceInput = Omit & Required>; export type DocumentSectionLibrary_Section_PlanSliceInput = Omit & Required>; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-section-library (pkg: hl7.fhir.r4.examples#4.0.1) export class DocumentSectionLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/example-section-library" + private resource: Composition constructor (resource: Composition) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/example-section-library")) profiles.push("http://hl7.org/fhir/StructureDefinition/example-section-library") + } + + static from (resource: Composition) : DocumentSectionLibraryProfile { + return new DocumentSectionLibraryProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/example-section-library"] }, + } as unknown as Composition + return resource + } + + static create () : DocumentSectionLibraryProfile { + return DocumentSectionLibraryProfile.from(DocumentSectionLibraryProfile.createResource()) } toResource () : Composition { @@ -113,5 +135,11 @@ export class DocumentSectionLibraryProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentStructure.ts new file mode 100644 index 000000000..b7b819052 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentStructure.ts @@ -0,0 +1,50 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Composition } from "../../hl7-fhir-r4-examples/Composition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-composition (pkg: hl7.fhir.r4.examples#4.0.1) +export class DocumentStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/example-composition" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/example-composition")) profiles.push("http://hl7.org/fhir/StructureDefinition/example-composition") + } + + static from (resource: Composition) : DocumentStructureProfile { + return new DocumentStructureProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/example-composition"] }, + } as unknown as Composition + return resource + } + + static create () : DocumentStructureProfile { + return DocumentStructureProfile.from(DocumentStructureProfile.createResource()) + } + + toResource () : Composition { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Profile_for_Catalog.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Profile_for_Catalog.ts new file mode 100644 index 000000000..db5d61571 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Profile_for_Catalog.ts @@ -0,0 +1,116 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Composition } from "../../hl7-fhir-r4-examples/Composition"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +export interface Profile_for_Catalog extends Composition { + category: CodeableConcept[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Profile_for_CatalogProfileParams = { + category: CodeableConcept[]; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/catalog (pkg: hl7.fhir.r4.examples#4.0.1) +export class Profile_for_CatalogProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/catalog" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/catalog")) profiles.push("http://hl7.org/fhir/StructureDefinition/catalog") + } + + static from (resource: Composition) : Profile_for_CatalogProfile { + return new Profile_for_CatalogProfile(resource) + } + + static createResource (args: Profile_for_CatalogProfileParams) : Composition { + const resource: Composition = { + resourceType: "Composition", + type: {"text":"Catalog"}, + category: args.category, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/catalog"] }, + } as unknown as Composition + return resource + } + + static create (args: Profile_for_CatalogProfileParams) : Profile_for_CatalogProfile { + return Profile_for_CatalogProfile.from(Profile_for_CatalogProfile.createResource(args)) + } + + toResource () : Composition { + return this.resource + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category as CodeableConcept[] | undefined + } + + setCategory (value: CodeableConcept[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + getType () : CodeableConcept | undefined { + return this.resource.type as CodeableConcept | undefined + } + + setType (value: CodeableConcept) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : Profile_for_Catalog { + return this.resource as Profile_for_Catalog + } + + public setValidityPeriod (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", valueDateTime: value } as Extension) + return this + } + + public getValidityPeriod (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getValidityPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "Profile for Catalog"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"text":"Catalog"}, "Profile for Catalog"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Profile for Catalog"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Resource"], "subject", "Profile for Catalog"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "Profile for Catalog"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ComputablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ComputablePlanDefinition.ts deleted file mode 100644 index db1eea3e2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ComputablePlanDefinition.ts +++ /dev/null @@ -1,28 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { PlanDefinition } from "../../hl7-fhir-r4-examples/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/computableplandefinition -export interface Computable_PlanDefinition extends PlanDefinition { - library: string[]; -} - -export class Computable_PlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - toProfile () : Computable_PlanDefinition { - return this.resource as Computable_PlanDefinition - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CqfQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CqfQuestionnaire.ts deleted file mode 100644 index 7241562d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CqfQuestionnaire.ts +++ /dev/null @@ -1,37 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; -import type { Questionnaire } from "../../hl7-fhir-r4-examples/Questionnaire"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-questionnaire -export class CQF_QuestionnaireProfile { - private resource: Questionnaire - - constructor (resource: Questionnaire) { - this.resource = resource - } - - toResource () : Questionnaire { - return this.resource - } - - public setLibrary (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value }) - return this - } - - public getLibrary (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") - return ext?.valueCanonical - } - - public getLibraryExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CqlLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CqlLibrary.ts deleted file mode 100644 index b7d80f647..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CqlLibrary.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Library } from "../../hl7-fhir-r4-examples/Library"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqllibrary -export class CQL_LibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DeviceMetricObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DeviceMetricObservationProfile.ts deleted file mode 100644 index 753d1a4c5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DeviceMetricObservationProfile.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicemetricobservation -export interface Device_Metric_Observation_Profile extends Observation { - subject: Reference<"Device" | "Patient">; - effectiveDateTime: string; - device: Reference<"DeviceMetric">; - hasMember?: Reference<"Observation">[]; - derivedFrom?: Reference<"Observation">[]; -} - -export class Device_Metric_Observation_ProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Device_Metric_Observation_Profile { - return this.resource as Device_Metric_Observation_Profile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReportGenetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts similarity index 76% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReportGenetics.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts index 2967cf69b..6d15b8e2a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReportGenetics.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts @@ -7,7 +7,6 @@ import type { DiagnosticReport } from "../../hl7-fhir-r4-examples/DiagnosticRepo import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics export type DiagnosticReport_Genetics_AnalysisInput = { type: CodeableConcept; interpretation?: CodeableConcept; @@ -19,13 +18,36 @@ export type DiagnosticReport_Genetics_ReferencesInput = { type?: CodeableConcept; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics (pkg: hl7.fhir.r4.examples#4.0.1) export class DiagnosticReport_GeneticsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics" + private resource: DiagnosticReport constructor (resource: DiagnosticReport) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics")) profiles.push("http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics") + } + + static from (resource: DiagnosticReport) : DiagnosticReport_GeneticsProfile { + return new DiagnosticReport_GeneticsProfile(resource) + } + + static createResource () : DiagnosticReport { + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics"] }, + } as unknown as DiagnosticReport + return resource + } + + static create () : DiagnosticReport_GeneticsProfile { + return DiagnosticReport_GeneticsProfile.from(DiagnosticReport_GeneticsProfile.createResource()) } toResource () : DiagnosticReport { @@ -34,13 +56,13 @@ export class DiagnosticReport_GeneticsProfile { public setAssessedCondition (value: Reference): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition", valueReference: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition", valueReference: value } as Extension) return this } public setFamilyMemberHistory (value: Reference): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory", valueReference: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory", valueReference: value } as Extension) return this } @@ -77,7 +99,7 @@ export class DiagnosticReport_GeneticsProfile { public getAssessedCondition (): Reference | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition") - return ext?.valueReference + return (ext as Record | undefined)?.valueReference as Reference | undefined } public getAssessedConditionExtension (): Extension | undefined { @@ -87,7 +109,7 @@ export class DiagnosticReport_GeneticsProfile { public getFamilyMemberHistory (): Reference | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory") - return ext?.valueReference + return (ext as Record | undefined)?.valueReference as Reference | undefined } public getFamilyMemberHistoryExtension (): Extension | undefined { @@ -119,5 +141,11 @@ export class DiagnosticReport_GeneticsProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Example_Lipid_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Example_Lipid_Profile.ts new file mode 100644 index 000000000..be67226ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Example_Lipid_Profile.ts @@ -0,0 +1,64 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { DiagnosticReport } from "../../hl7-fhir-r4-examples/DiagnosticReport"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/lipidprofile (pkg: hl7.fhir.r4.examples#4.0.1) +export class Example_Lipid_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/lipidprofile" + + private resource: DiagnosticReport + + constructor (resource: DiagnosticReport) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/lipidprofile")) profiles.push("http://hl7.org/fhir/StructureDefinition/lipidprofile") + } + + static from (resource: DiagnosticReport) : Example_Lipid_ProfileProfile { + return new Example_Lipid_ProfileProfile(resource) + } + + static createResource () : DiagnosticReport { + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + code: {"coding":[{"system":"http://loinc.org","code":"57698-3","display":"Lipid panel with direct LDL - Serum or Plasma"}]}, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/lipidprofile"] }, + } as unknown as DiagnosticReport + return resource + } + + static create () : Example_Lipid_ProfileProfile { + return Example_Lipid_ProfileProfile.from(Example_Lipid_ProfileProfile.createResource()) + } + + toResource () : DiagnosticReport { + return this.resource + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"57698-3","display":"Lipid panel with direct LDL - Serum or Plasma"}]}, "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateReference(r["result"], ["Observation"], "result", "Example Lipid Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProfileForHlaGenotypingResults.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts similarity index 75% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProfileForHlaGenotypingResults.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts index 01b2de764..b5f07a410 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProfileForHlaGenotypingResults.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts @@ -6,7 +6,6 @@ import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept import type { DiagnosticReport } from "../../hl7-fhir-r4-examples/DiagnosticReport"; import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hlaresult export type Profile_for_HLA_Genotyping_Results_GlstringInput = { url?: string; text?: string; @@ -18,13 +17,36 @@ export type Profile_for_HLA_Genotyping_Results_HaploidInput = { method?: CodeableConcept; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hlaresult (pkg: hl7.fhir.r4.examples#4.0.1) export class Profile_for_HLA_Genotyping_ResultsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/hlaresult" + private resource: DiagnosticReport constructor (resource: DiagnosticReport) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/hlaresult")) profiles.push("http://hl7.org/fhir/StructureDefinition/hlaresult") + } + + static from (resource: DiagnosticReport) : Profile_for_HLA_Genotyping_ResultsProfile { + return new Profile_for_HLA_Genotyping_ResultsProfile(resource) + } + + static createResource () : DiagnosticReport { + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/hlaresult"] }, + } as unknown as DiagnosticReport + return resource + } + + static create () : Profile_for_HLA_Genotyping_ResultsProfile { + return Profile_for_HLA_Genotyping_ResultsProfile.from(Profile_for_HLA_Genotyping_ResultsProfile.createResource()) } toResource () : DiagnosticReport { @@ -33,7 +55,7 @@ export class Profile_for_HLA_Genotyping_ResultsProfile { public setAlleleDatabase (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database", valueCodeableConcept: value } as Extension) return this } @@ -68,13 +90,13 @@ export class Profile_for_HLA_Genotyping_ResultsProfile { public setMethod (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method", valueCodeableConcept: value } as Extension) return this } public getAlleleDatabase (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getAlleleDatabaseExtension (): Extension | undefined { @@ -108,7 +130,7 @@ export class Profile_for_HLA_Genotyping_ResultsProfile { public getMethod (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getMethodExtension (): Extension | undefined { @@ -116,5 +138,11 @@ export class Profile_for_HLA_Genotyping_ResultsProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DocumentStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DocumentStructure.ts deleted file mode 100644 index ae1ca0a48..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DocumentStructure.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Composition } from "../../hl7-fhir-r4-examples/Composition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-composition -export class DocumentStructureProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EhrsFmRecordLifecycleEventAuditEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EhrsFmRecordLifecycleEventAuditEvent.ts deleted file mode 100644 index f9d5bcbbc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EhrsFmRecordLifecycleEventAuditEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { AuditEvent } from "../../hl7-fhir-r4-examples/AuditEvent"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent -export class EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile { - private resource: AuditEvent - - constructor (resource: AuditEvent) { - this.resource = resource - } - - toResource () : AuditEvent { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EhrsFmRecordLifecycleEventProvenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EhrsFmRecordLifecycleEventProvenance.ts deleted file mode 100644 index f88cd0fe8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EhrsFmRecordLifecycleEventProvenance.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Provenance } from "../../hl7-fhir-r4-examples/Provenance"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance -export class EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile { - private resource: Provenance - - constructor (resource: Provenance) { - this.resource = resource - } - - toResource () : Provenance { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts new file mode 100644 index 000000000..8a6e05dee --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts @@ -0,0 +1,72 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ElementDefinition } from "../../hl7-fhir-r4-examples/ElementDefinition"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-de (pkg: hl7.fhir.r4.examples#4.0.1) +export class DataElement_constraint_on_ElementDefinition_data_typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-de" + + private resource: ElementDefinition + + constructor (resource: ElementDefinition) { + this.resource = resource + } + + static from (resource: ElementDefinition) : DataElement_constraint_on_ElementDefinition_data_typeProfile { + return new DataElement_constraint_on_ElementDefinition_data_typeProfile(resource) + } + + static createResource () : ElementDefinition { + const resource: ElementDefinition = { + } as unknown as ElementDefinition + return resource + } + + static create () : DataElement_constraint_on_ElementDefinition_data_typeProfile { + return DataElement_constraint_on_ElementDefinition_data_typeProfile.from(DataElement_constraint_on_ElementDefinition_data_typeProfile.createResource()) + } + + toResource () : ElementDefinition { + return this.resource + } + + public setQuestion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", valueString: value } as Extension) + return this + } + + public setAllowedUnits (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", ...value }) + return this + } + + public getQuestion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-question") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getQuestionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-question") + return ext + } + + public getAllowedUnits (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["representation"], ["xmlAttr","xmlText","typeAttr","cdaText","xhtml"], "representation", "DataElement constraint on ElementDefinition data type"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceSynthesisProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceSynthesisProfile.ts deleted file mode 100644 index d3d31af56..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceSynthesisProfile.ts +++ /dev/null @@ -1,30 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Evidence } from "../../hl7-fhir-r4-examples/Evidence"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/synthesis -export interface Evidence_Synthesis_Profile extends Evidence { - exposureVariant: Reference<'EvidenceVariable'>[]; - outcome: Reference<'EvidenceVariable'>[]; -} - -export class Evidence_Synthesis_ProfileProfile { - private resource: Evidence - - constructor (resource: Evidence) { - this.resource = resource - } - - toResource () : Evidence { - return this.resource - } - - toProfile () : Evidence_Synthesis_Profile { - return this.resource as Evidence_Synthesis_Profile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceVariable_PICO_Element_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceVariable_PICO_Element_Profile.ts new file mode 100644 index 000000000..ddd147811 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceVariable_PICO_Element_Profile.ts @@ -0,0 +1,67 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { EvidenceVariable } from "../../hl7-fhir-r4-examples/EvidenceVariable"; +import type { EvidenceVariableCharacteristic } from "../../hl7-fhir-r4-examples/EvidenceVariable"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PICO_Element_ProfileProfileParams = { + characteristic: EvidenceVariableCharacteristic[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/picoelement (pkg: hl7.fhir.r4.examples#4.0.1) +export class PICO_Element_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/picoelement" + + private resource: EvidenceVariable + + constructor (resource: EvidenceVariable) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/picoelement")) profiles.push("http://hl7.org/fhir/StructureDefinition/picoelement") + } + + static from (resource: EvidenceVariable) : PICO_Element_ProfileProfile { + return new PICO_Element_ProfileProfile(resource) + } + + static createResource (args: PICO_Element_ProfileProfileParams) : EvidenceVariable { + const resource: EvidenceVariable = { + resourceType: "EvidenceVariable", + characteristic: args.characteristic, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/picoelement"] }, + } as unknown as EvidenceVariable + return resource + } + + static create (args: PICO_Element_ProfileProfileParams) : PICO_Element_ProfileProfile { + return PICO_Element_ProfileProfile.from(PICO_Element_ProfileProfile.createResource(args)) + } + + toResource () : EvidenceVariable { + return this.resource + } + + getCharacteristic () : EvidenceVariableCharacteristic[] | undefined { + return this.resource.characteristic as EvidenceVariableCharacteristic[] | undefined + } + + setCharacteristic (value: EvidenceVariableCharacteristic[]) : this { + Object.assign(this.resource, { characteristic: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["type"], ["dichotomous","continuous","descriptive"], "type", "PICO Element Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "characteristic", "PICO Element Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Evidence_Evidence_Synthesis_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Evidence_Evidence_Synthesis_Profile.ts new file mode 100644 index 000000000..17c0b954e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Evidence_Evidence_Synthesis_Profile.ts @@ -0,0 +1,115 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Evidence } from "../../hl7-fhir-r4-examples/Evidence"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface Evidence_Synthesis_Profile extends Evidence { + exposureVariant: Reference<'EvidenceVariable'>[]; + outcome: Reference<'EvidenceVariable'>[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Evidence_Synthesis_ProfileProfileParams = { + status: ("draft" | "active" | "retired" | "unknown"); + exposureBackground: Reference<"EvidenceVariable">; + exposureVariant: Reference<"EvidenceVariable">[]; + outcome: Reference<"EvidenceVariable">[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/synthesis (pkg: hl7.fhir.r4.examples#4.0.1) +export class Evidence_Synthesis_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/synthesis" + + private resource: Evidence + + constructor (resource: Evidence) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/synthesis")) profiles.push("http://hl7.org/fhir/StructureDefinition/synthesis") + } + + static from (resource: Evidence) : Evidence_Synthesis_ProfileProfile { + return new Evidence_Synthesis_ProfileProfile(resource) + } + + static createResource (args: Evidence_Synthesis_ProfileProfileParams) : Evidence { + const resource: Evidence = { + resourceType: "Evidence", + status: args.status, + exposureBackground: args.exposureBackground, + exposureVariant: args.exposureVariant, + outcome: args.outcome, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/synthesis"] }, + } as unknown as Evidence + return resource + } + + static create (args: Evidence_Synthesis_ProfileProfileParams) : Evidence_Synthesis_ProfileProfile { + return Evidence_Synthesis_ProfileProfile.from(Evidence_Synthesis_ProfileProfile.createResource(args)) + } + + toResource () : Evidence { + return this.resource + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExposureBackground () : Reference<"EvidenceVariable"> | undefined { + return this.resource.exposureBackground as Reference<"EvidenceVariable"> | undefined + } + + setExposureBackground (value: Reference<"EvidenceVariable">) : this { + Object.assign(this.resource, { exposureBackground: value }) + return this + } + + getExposureVariant () : Reference<"EvidenceVariable">[] | undefined { + return this.resource.exposureVariant as Reference<"EvidenceVariable">[] | undefined + } + + setExposureVariant (value: Reference<"EvidenceVariable">[]) : this { + Object.assign(this.resource, { exposureVariant: value }) + return this + } + + getOutcome () : Reference<"EvidenceVariable">[] | undefined { + return this.resource.outcome as Reference<"EvidenceVariable">[] | undefined + } + + setOutcome (value: Reference<"EvidenceVariable">[]) : this { + Object.assign(this.resource, { outcome: value }) + return this + } + + toProfile () : Evidence_Synthesis_Profile { + return this.resource as Evidence_Synthesis_Profile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "exposureBackground", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateReference(r["exposureBackground"], ["EvidenceVariable"], "exposureBackground", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "exposureVariant", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateReference(r["exposureVariant"], ["EvidenceVariable"], "exposureVariant", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "outcome", "Evidence Synthesis Profile"); if (e) errors.push(e) } + { const e = validateReference(r["outcome"], ["EvidenceVariable"], "outcome", "Evidence Synthesis Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ExampleLipidProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ExampleLipidProfile.ts deleted file mode 100644 index 3378126b1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ExampleLipidProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { ObservationReferenceRange } from "../../hl7-fhir-r4-examples/Observation"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ldlcholesterol -export interface Example_Lipid_Profile extends Observation { - referenceRange: ObservationReferenceRange[]; -} - -export class Example_Lipid_ProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Example_Lipid_Profile { - return this.resource as Example_Lipid_Profile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_additionalLocator.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_additionalLocator.ts new file mode 100644 index 000000000..23b794018 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_additionalLocator.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_additionalLocatorProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_additionalLocatorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_additionalLocatorProfile { + return new ADXP_additionalLocatorProfile(resource) + } + + static createResource (args: ADXP_additionalLocatorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_additionalLocatorProfileParams) : ADXP_additionalLocatorProfile { + return ADXP_additionalLocatorProfile.from(ADXP_additionalLocatorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-additionalLocator"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator", "ADXP-additionalLocator"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_buildingNumberSuffix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_buildingNumberSuffix.ts new file mode 100644 index 000000000..70340976e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_buildingNumberSuffix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_buildingNumberSuffixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_buildingNumberSuffixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_buildingNumberSuffixProfile { + return new ADXP_buildingNumberSuffixProfile(resource) + } + + static createResource (args: ADXP_buildingNumberSuffixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_buildingNumberSuffixProfileParams) : ADXP_buildingNumberSuffixProfile { + return ADXP_buildingNumberSuffixProfile.from(ADXP_buildingNumberSuffixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-buildingNumberSuffix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix", "ADXP-buildingNumberSuffix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_careOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_careOf.ts new file mode 100644 index 000000000..452770adb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_careOf.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_careOfProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_careOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_careOfProfile { + return new ADXP_careOfProfile(resource) + } + + static createResource (args: ADXP_careOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_careOfProfileParams) : ADXP_careOfProfile { + return ADXP_careOfProfile.from(ADXP_careOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-careOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf", "ADXP-careOf"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_censusTract.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_censusTract.ts new file mode 100644 index 000000000..688632a98 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_censusTract.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_censusTractProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_censusTractProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_censusTractProfile { + return new ADXP_censusTractProfile(resource) + } + + static createResource (args: ADXP_censusTractProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_censusTractProfileParams) : ADXP_censusTractProfile { + return ADXP_censusTractProfile.from(ADXP_censusTractProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-censusTract"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", "ADXP-censusTract"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_delimiter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_delimiter.ts new file mode 100644 index 000000000..74fc253bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_delimiter.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_delimiterProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_delimiterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_delimiterProfile { + return new ADXP_delimiterProfile(resource) + } + + static createResource (args: ADXP_delimiterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_delimiterProfileParams) : ADXP_delimiterProfile { + return ADXP_delimiterProfile.from(ADXP_delimiterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-delimiter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter", "ADXP-delimiter"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryAddressLine.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryAddressLine.ts new file mode 100644 index 000000000..1f0e573f7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryAddressLine.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryAddressLineProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_deliveryAddressLineProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryAddressLineProfile { + return new ADXP_deliveryAddressLineProfile(resource) + } + + static createResource (args: ADXP_deliveryAddressLineProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryAddressLineProfileParams) : ADXP_deliveryAddressLineProfile { + return ADXP_deliveryAddressLineProfile.from(ADXP_deliveryAddressLineProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryAddressLine"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine", "ADXP-deliveryAddressLine"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationArea.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationArea.ts new file mode 100644 index 000000000..0a920a2a8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationArea.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryInstallationAreaProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_deliveryInstallationAreaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryInstallationAreaProfile { + return new ADXP_deliveryInstallationAreaProfile(resource) + } + + static createResource (args: ADXP_deliveryInstallationAreaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryInstallationAreaProfileParams) : ADXP_deliveryInstallationAreaProfile { + return ADXP_deliveryInstallationAreaProfile.from(ADXP_deliveryInstallationAreaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryInstallationArea"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea", "ADXP-deliveryInstallationArea"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationQualifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationQualifier.ts new file mode 100644 index 000000000..2d19cfc70 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationQualifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryInstallationQualifierProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_deliveryInstallationQualifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryInstallationQualifierProfile { + return new ADXP_deliveryInstallationQualifierProfile(resource) + } + + static createResource (args: ADXP_deliveryInstallationQualifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryInstallationQualifierProfileParams) : ADXP_deliveryInstallationQualifierProfile { + return ADXP_deliveryInstallationQualifierProfile.from(ADXP_deliveryInstallationQualifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryInstallationQualifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier", "ADXP-deliveryInstallationQualifier"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationType.ts new file mode 100644 index 000000000..a75ecab4c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryInstallationTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_deliveryInstallationTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryInstallationTypeProfile { + return new ADXP_deliveryInstallationTypeProfile(resource) + } + + static createResource (args: ADXP_deliveryInstallationTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryInstallationTypeProfileParams) : ADXP_deliveryInstallationTypeProfile { + return ADXP_deliveryInstallationTypeProfile.from(ADXP_deliveryInstallationTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryInstallationType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType", "ADXP-deliveryInstallationType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryMode.ts new file mode 100644 index 000000000..b111e80bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryModeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_deliveryModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryModeProfile { + return new ADXP_deliveryModeProfile(resource) + } + + static createResource (args: ADXP_deliveryModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryModeProfileParams) : ADXP_deliveryModeProfile { + return ADXP_deliveryModeProfile.from(ADXP_deliveryModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode", "ADXP-deliveryMode"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryModeIdentifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryModeIdentifier.ts new file mode 100644 index 000000000..a383f9051 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryModeIdentifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_deliveryModeIdentifierProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_deliveryModeIdentifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_deliveryModeIdentifierProfile { + return new ADXP_deliveryModeIdentifierProfile(resource) + } + + static createResource (args: ADXP_deliveryModeIdentifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_deliveryModeIdentifierProfileParams) : ADXP_deliveryModeIdentifierProfile { + return ADXP_deliveryModeIdentifierProfile.from(ADXP_deliveryModeIdentifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-deliveryModeIdentifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier", "ADXP-deliveryModeIdentifier"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_direction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_direction.ts new file mode 100644 index 000000000..87a423562 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_direction.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_directionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_directionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_directionProfile { + return new ADXP_directionProfile(resource) + } + + static createResource (args: ADXP_directionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_directionProfileParams) : ADXP_directionProfile { + return ADXP_directionProfile.from(ADXP_directionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-direction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction", "ADXP-direction"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumber.ts new file mode 100644 index 000000000..057c53ce4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_houseNumberProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_houseNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_houseNumberProfile { + return new ADXP_houseNumberProfile(resource) + } + + static createResource (args: ADXP_houseNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_houseNumberProfileParams) : ADXP_houseNumberProfile { + return ADXP_houseNumberProfile.from(ADXP_houseNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-houseNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", "ADXP-houseNumber"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumberNumeric.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumberNumeric.ts new file mode 100644 index 000000000..017d363b2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumberNumeric.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_houseNumberNumericProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_houseNumberNumericProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_houseNumberNumericProfile { + return new ADXP_houseNumberNumericProfile(resource) + } + + static createResource (args: ADXP_houseNumberNumericProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_houseNumberNumericProfileParams) : ADXP_houseNumberNumericProfile { + return ADXP_houseNumberNumericProfile.from(ADXP_houseNumberNumericProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-houseNumberNumeric"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric", "ADXP-houseNumberNumeric"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_postBox.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_postBox.ts new file mode 100644 index 000000000..a14ad3699 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_postBox.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_postBoxProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_postBoxProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_postBoxProfile { + return new ADXP_postBoxProfile(resource) + } + + static createResource (args: ADXP_postBoxProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_postBoxProfileParams) : ADXP_postBoxProfile { + return ADXP_postBoxProfile.from(ADXP_postBoxProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-postBox"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox", "ADXP-postBox"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_precinct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_precinct.ts new file mode 100644 index 000000000..db15f3e9f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_precinct.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_precinctProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_precinctProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_precinctProfile { + return new ADXP_precinctProfile(resource) + } + + static createResource (args: ADXP_precinctProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_precinctProfileParams) : ADXP_precinctProfile { + return ADXP_precinctProfile.from(ADXP_precinctProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-precinct"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct", "ADXP-precinct"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetAddressLine.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetAddressLine.ts new file mode 100644 index 000000000..ab14265e8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetAddressLine.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_streetAddressLineProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_streetAddressLineProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_streetAddressLineProfile { + return new ADXP_streetAddressLineProfile(resource) + } + + static createResource (args: ADXP_streetAddressLineProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_streetAddressLineProfileParams) : ADXP_streetAddressLineProfile { + return ADXP_streetAddressLineProfile.from(ADXP_streetAddressLineProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-streetAddressLine"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine", "ADXP-streetAddressLine"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetName.ts new file mode 100644 index 000000000..4d896b6c2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_streetNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_streetNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_streetNameProfile { + return new ADXP_streetNameProfile(resource) + } + + static createResource (args: ADXP_streetNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_streetNameProfileParams) : ADXP_streetNameProfile { + return ADXP_streetNameProfile.from(ADXP_streetNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-streetName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", "ADXP-streetName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameBase.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameBase.ts new file mode 100644 index 000000000..8a4a6f2b1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameBase.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_streetNameBaseProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_streetNameBaseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_streetNameBaseProfile { + return new ADXP_streetNameBaseProfile(resource) + } + + static createResource (args: ADXP_streetNameBaseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_streetNameBaseProfileParams) : ADXP_streetNameBaseProfile { + return ADXP_streetNameBaseProfile.from(ADXP_streetNameBaseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-streetNameBase"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase", "ADXP-streetNameBase"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameType.ts new file mode 100644 index 000000000..cbe3a0d89 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_streetNameTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_streetNameTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_streetNameTypeProfile { + return new ADXP_streetNameTypeProfile(resource) + } + + static createResource (args: ADXP_streetNameTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_streetNameTypeProfileParams) : ADXP_streetNameTypeProfile { + return ADXP_streetNameTypeProfile.from(ADXP_streetNameTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-streetNameType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType", "ADXP-streetNameType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitID.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitID.ts new file mode 100644 index 000000000..24867c913 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitID.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_unitIDProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_unitIDProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_unitIDProfile { + return new ADXP_unitIDProfile(resource) + } + + static createResource (args: ADXP_unitIDProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_unitIDProfileParams) : ADXP_unitIDProfile { + return ADXP_unitIDProfile.from(ADXP_unitIDProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-unitID"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID", "ADXP-unitID"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitType.ts new file mode 100644 index 000000000..e8fc1e7aa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXP_unitTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType (pkg: hl7.fhir.r4.examples#4.0.1) +export class ADXP_unitTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXP_unitTypeProfile { + return new ADXP_unitTypeProfile(resource) + } + + static createResource (args: ADXP_unitTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXP_unitTypeProfileParams) : ADXP_unitTypeProfile { + return ADXP_unitTypeProfile.from(ADXP_unitTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXP-unitType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType", "ADXP-unitType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AD_use.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AD_use.ts new file mode 100644 index 000000000..93a58cea7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AD_use.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AD_useProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-AD-use (pkg: hl7.fhir.r4.examples#4.0.1) +export class AD_useProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AD_useProfile { + return new AD_useProfile(resource) + } + + static createResource (args: AD_useProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: AD_useProfileParams) : AD_useProfile { + return AD_useProfile.from(AD_useProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AD-use"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use", "AD-use"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Accession.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Accession.ts new file mode 100644 index 000000000..e99eb590a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Accession.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AccessionProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Accession (pkg: hl7.fhir.r4.examples#4.0.1) +export class AccessionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Accession" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AccessionProfile { + return new AccessionProfile(resource) + } + + static createResource (args: AccessionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Accession", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AccessionProfileParams) : AccessionProfile { + return AccessionProfile.from(AccessionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Accession"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Accession", "Accession"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Allele.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Allele.ts new file mode 100644 index 000000000..642a7f304 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Allele.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele (pkg: hl7.fhir.r4.examples#4.0.1) +export class AlleleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlleleProfile { + return new AlleleProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele", + } as unknown as Extension + return resource + } + + static create () : AlleleProfile { + return AlleleProfile.from(AlleleProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Name", valueCodeableConcept: value } as Extension) + return this + } + + public setState (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "State", valueCodeableConcept: value } as Extension) + return this + } + + public setFrequency (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Frequency", valueDecimal: value } as Extension) + return this + } + + public getName (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return ext + } + + public getState (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "State") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getStateExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "State") + return ext + } + + public getFrequency (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "Frequency") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getFrequencyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Frequency") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Allele"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele", "Allele"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AminoAcidChange.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AminoAcidChange.ts new file mode 100644 index 000000000..15fb9a705 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AminoAcidChange.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange (pkg: hl7.fhir.r4.examples#4.0.1) +export class AminoAcidChangeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AminoAcidChangeProfile { + return new AminoAcidChangeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange", + } as unknown as Extension + return resource + } + + static create () : AminoAcidChangeProfile { + return AminoAcidChangeProfile.from(AminoAcidChangeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Name", valueCodeableConcept: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Type", valueCodeableConcept: value } as Extension) + return this + } + + public getName (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AminoAcidChange"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange", "AminoAcidChange"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Analysis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Analysis.ts new file mode 100644 index 000000000..bc578ef7b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Analysis.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AnalysisProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis (pkg: hl7.fhir.r4.examples#4.0.1) +export class AnalysisProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AnalysisProfile { + return new AnalysisProfile(resource) + } + + static createResource (args: AnalysisProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: AnalysisProfileParams) : AnalysisProfile { + return AnalysisProfile.from(AnalysisProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setInterpretation (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "interpretation", valueCodeableConcept: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getInterpretation (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "interpretation") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getInterpretationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "interpretation") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Analysis"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Analysis"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis", "Analysis"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ancestry.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ancestry.ts new file mode 100644 index 000000000..7aa5c02d8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ancestry.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AncestryProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry (pkg: hl7.fhir.r4.examples#4.0.1) +export class AncestryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AncestryProfile { + return new AncestryProfile(resource) + } + + static createResource (args: AncestryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: AncestryProfileParams) : AncestryProfile { + return AncestryProfile.from(AncestryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Name", valueCodeableConcept: value } as Extension) + return this + } + + public setPercentage (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Percentage", valueDecimal: value } as Extension) + return this + } + + public setSource (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Source", valueCodeableConcept: value } as Extension) + return this + } + + public getName (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return ext + } + + public getPercentage (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "Percentage") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getPercentageExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Percentage") + return ext + } + + public getSource (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Source") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Source") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Ancestry"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Ancestry"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry", "Ancestry"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Anonymized.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Anonymized.ts new file mode 100644 index 000000000..1a15e2296 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Anonymized.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AnonymizedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized (pkg: hl7.fhir.r4.examples#4.0.1) +export class AnonymizedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AnonymizedProfile { + return new AnonymizedProfile(resource) + } + + static createResource (args: AnonymizedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: AnonymizedProfileParams) : AnonymizedProfile { + return AnonymizedProfile.from(AnonymizedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Anonymized"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized", "Anonymized"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AssessedCondition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AssessedCondition.ts new file mode 100644 index 000000000..49337129b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AssessedCondition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AssessedConditionProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition (pkg: hl7.fhir.r4.examples#4.0.1) +export class AssessedConditionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssessedConditionProfile { + return new AssessedConditionProfile(resource) + } + + static createResource (args: AssessedConditionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AssessedConditionProfileParams) : AssessedConditionProfile { + return AssessedConditionProfile.from(AssessedConditionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssessedCondition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition", "AssessedCondition"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_BodyStructure_Reference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_BodyStructure_Reference.ts new file mode 100644 index 000000000..1c7e69aa9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_BodyStructure_Reference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BodyStructure_ReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodySite (pkg: hl7.fhir.r4.examples#4.0.1) +export class BodyStructure_ReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodySite" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BodyStructure_ReferenceProfile { + return new BodyStructure_ReferenceProfile(resource) + } + + static createResource (args: BodyStructure_ReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/bodySite", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: BodyStructure_ReferenceProfileParams) : BodyStructure_ReferenceProfile { + return BodyStructure_ReferenceProfile.from(BodyStructure_ReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BodyStructure Reference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/bodySite", "BodyStructure Reference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_CopyNumberEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_CopyNumberEvent.ts new file mode 100644 index 000000000..974b63f14 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_CopyNumberEvent.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CopyNumberEventProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent (pkg: hl7.fhir.r4.examples#4.0.1) +export class CopyNumberEventProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CopyNumberEventProfile { + return new CopyNumberEventProfile(resource) + } + + static createResource (args: CopyNumberEventProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: CopyNumberEventProfileParams) : CopyNumberEventProfile { + return CopyNumberEventProfile.from(CopyNumberEventProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CopyNumberEvent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent", "CopyNumberEvent"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_DNARegionName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_DNARegionName.ts new file mode 100644 index 000000000..d31ba455d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_DNARegionName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DNARegionNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName (pkg: hl7.fhir.r4.examples#4.0.1) +export class DNARegionNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DNARegionNameProfile { + return new DNARegionNameProfile(resource) + } + + static createResource (args: DNARegionNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: DNARegionNameProfileParams) : DNARegionNameProfile { + return DNARegionNameProfile.from(DNARegionNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DNARegionName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName", "DNARegionName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Data_Absent_Reason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Data_Absent_Reason.ts new file mode 100644 index 000000000..08b80a070 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Data_Absent_Reason.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Data_Absent_ReasonProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/data-absent-reason (pkg: hl7.fhir.r4.examples#4.0.1) +export class Data_Absent_ReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Data_Absent_ReasonProfile { + return new Data_Absent_ReasonProfile(resource) + } + + static createResource (args: Data_Absent_ReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: Data_Absent_ReasonProfileParams) : Data_Absent_ReasonProfile { + return Data_Absent_ReasonProfile.from(Data_Absent_ReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Data Absent Reason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "Data Absent Reason"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Design_Note.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Design_Note.ts new file mode 100644 index 000000000..e8a4a3629 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Design_Note.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Design_NoteProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/designNote (pkg: hl7.fhir.r4.examples#4.0.1) +export class Design_NoteProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/designNote" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Design_NoteProfile { + return new Design_NoteProfile(resource) + } + + static createResource (args: Design_NoteProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/designNote", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: Design_NoteProfileParams) : Design_NoteProfile { + return Design_NoteProfile.from(Design_NoteProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Design Note"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/designNote", "Design Note"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Display_Name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Display_Name.ts new file mode 100644 index 000000000..da4e3b12a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Display_Name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Display_NameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/display (pkg: hl7.fhir.r4.examples#4.0.1) +export class Display_NameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/display" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Display_NameProfile { + return new Display_NameProfile(resource) + } + + static createResource (args: Display_NameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/display", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: Display_NameProfileParams) : Display_NameProfile { + return Display_NameProfile.from(Display_NameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Display Name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/display", "Display Name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_qualifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_qualifier.ts new file mode 100644 index 000000000..31c8be5b9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_qualifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EN_qualifierProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier (pkg: hl7.fhir.r4.examples#4.0.1) +export class EN_qualifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EN_qualifierProfile { + return new EN_qualifierProfile(resource) + } + + static createResource (args: EN_qualifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: EN_qualifierProfileParams) : EN_qualifierProfile { + return EN_qualifierProfile.from(EN_qualifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EN-qualifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", "EN-qualifier"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_representation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_representation.ts new file mode 100644 index 000000000..76d855181 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_representation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EN_representationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation (pkg: hl7.fhir.r4.examples#4.0.1) +export class EN_representationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EN_representationProfile { + return new EN_representationProfile(resource) + } + + static createResource (args: EN_representationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: EN_representationProfileParams) : EN_representationProfile { + return EN_representationProfile.from(EN_representationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EN-representation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation", "EN-representation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_use.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_use.ts new file mode 100644 index 000000000..47e699b4b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_use.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EN_useProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-use (pkg: hl7.fhir.r4.examples#4.0.1) +export class EN_useProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EN_useProfile { + return new EN_useProfile(resource) + } + + static createResource (args: EN_useProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: EN_useProfileParams) : EN_useProfile { + return EN_useProfile.from(EN_useProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EN-use"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use", "EN-use"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Encrypted.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Encrypted.ts new file mode 100644 index 000000000..26014caa6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Encrypted.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EncryptedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted (pkg: hl7.fhir.r4.examples#4.0.1) +export class EncryptedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EncryptedProfile { + return new EncryptedProfile(resource) + } + + static createResource (args: EncryptedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: EncryptedProfileParams) : EncryptedProfile { + return EncryptedProfile.from(EncryptedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Encrypted"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted", "Encrypted"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_FamilyMemberHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_FamilyMemberHistory.ts new file mode 100644 index 000000000..7f14d75cb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_FamilyMemberHistory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FamilyMemberHistoryProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory (pkg: hl7.fhir.r4.examples#4.0.1) +export class FamilyMemberHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FamilyMemberHistoryProfile { + return new FamilyMemberHistoryProfile(resource) + } + + static createResource (args: FamilyMemberHistoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: FamilyMemberHistoryProfileParams) : FamilyMemberHistoryProfile { + return FamilyMemberHistoryProfile.from(FamilyMemberHistoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FamilyMemberHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory", "FamilyMemberHistory"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Gene.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Gene.ts new file mode 100644 index 000000000..f17718274 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Gene.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GeneProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsGene (pkg: hl7.fhir.r4.examples#4.0.1) +export class GeneProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GeneProfile { + return new GeneProfile(resource) + } + + static createResource (args: GeneProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: GeneProfileParams) : GeneProfile { + return GeneProfile.from(GeneProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Gene"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", "Gene"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_GenomicSourceClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_GenomicSourceClass.ts new file mode 100644 index 000000000..c0066a96e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_GenomicSourceClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GenomicSourceClassProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass (pkg: hl7.fhir.r4.examples#4.0.1) +export class GenomicSourceClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GenomicSourceClassProfile { + return new GenomicSourceClassProfile(resource) + } + + static createResource (args: GenomicSourceClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: GenomicSourceClassProfileParams) : GenomicSourceClassProfile { + return GenomicSourceClassProfile.from(GenomicSourceClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "GenomicSourceClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass", "GenomicSourceClass"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Geolocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Geolocation.ts new file mode 100644 index 000000000..3410c843e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Geolocation.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GeolocationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/geolocation (pkg: hl7.fhir.r4.examples#4.0.1) +export class GeolocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/geolocation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GeolocationProfile { + return new GeolocationProfile(resource) + } + + static createResource (args: GeolocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/geolocation", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: GeolocationProfileParams) : GeolocationProfile { + return GeolocationProfile.from(GeolocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLatitude (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "latitude", valueDecimal: value } as Extension) + return this + } + + public setLongitude (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "longitude", valueDecimal: value } as Extension) + return this + } + + public getLatitude (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "latitude") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getLatitudeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "latitude") + return ext + } + + public getLongitude (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "longitude") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getLongitudeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "longitude") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Geolocation"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Geolocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/geolocation", "Geolocation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Human_Language.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Human_Language.ts new file mode 100644 index 000000000..3b4676ee4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Human_Language.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Human_LanguageProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/language (pkg: hl7.fhir.r4.examples#4.0.1) +export class Human_LanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/language" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Human_LanguageProfile { + return new Human_LanguageProfile(resource) + } + + static createResource (args: Human_LanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/language", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: Human_LanguageProfileParams) : Human_LanguageProfile { + return Human_LanguageProfile.from(Human_LanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Human Language"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/language", "Human Language"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Instance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Instance.ts new file mode 100644 index 000000000..a488720ce --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Instance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InstanceProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Instance (pkg: hl7.fhir.r4.examples#4.0.1) +export class InstanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Instance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InstanceProfile { + return new InstanceProfile(resource) + } + + static createResource (args: InstanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Instance", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: InstanceProfileParams) : InstanceProfile { + return InstanceProfile.from(InstanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Instance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Instance", "Instance"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Interpretation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Interpretation.ts new file mode 100644 index 000000000..6b66a6670 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Interpretation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InterpretationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation (pkg: hl7.fhir.r4.examples#4.0.1) +export class InterpretationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InterpretationProfile { + return new InterpretationProfile(resource) + } + + static createResource (args: InterpretationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: InterpretationProfileParams) : InterpretationProfile { + return InterpretationProfile.from(InterpretationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Interpretation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation", "Interpretation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Item.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Item.ts new file mode 100644 index 000000000..8e5ab182b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Item.ts @@ -0,0 +1,137 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ItemProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem (pkg: hl7.fhir.r4.examples#4.0.1) +export class ItemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ItemProfile { + return new ItemProfile(resource) + } + + static createResource (args: ItemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ItemProfileParams) : ItemProfile { + return ItemProfile.from(ItemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value } as Extension) + return this + } + + public setGeneticsObservation (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "geneticsObservation", valueReference: value } as Extension) + return this + } + + public setSpecimen (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "specimen", valueReference: value } as Extension) + return this + } + + public setStatus (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "status", valueCode: value } as Extension) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getGeneticsObservation (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "geneticsObservation") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getGeneticsObservationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "geneticsObservation") + return ext + } + + public getSpecimen (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "specimen") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getSpecimenExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "specimen") + return ext + } + + public getStatus (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStatusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Item"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Item"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem", "Item"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_MPPS.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_MPPS.ts new file mode 100644 index 000000000..d801035b4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_MPPS.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MPPSProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-MPPS (pkg: hl7.fhir.r4.examples#4.0.1) +export class MPPSProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MPPSProfile { + return new MPPSProfile(resource) + } + + static createResource (args: MPPSProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: MPPSProfileParams) : MPPSProfile { + return MPPSProfile.from(MPPSProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MPPS"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS", "MPPS"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Narrative_Link.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Narrative_Link.ts new file mode 100644 index 000000000..424407629 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Narrative_Link.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Narrative_LinkProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/narrativeLink (pkg: hl7.fhir.r4.examples#4.0.1) +export class Narrative_LinkProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/narrativeLink" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Narrative_LinkProfile { + return new Narrative_LinkProfile(resource) + } + + static createResource (args: Narrative_LinkProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/narrativeLink", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: Narrative_LinkProfileParams) : Narrative_LinkProfile { + return Narrative_LinkProfile.from(Narrative_LinkProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Narrative Link"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/narrativeLink", "Narrative Link"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NotificationEndpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NotificationEndpoint.ts new file mode 100644 index 000000000..eaf0758c0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NotificationEndpoint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NotificationEndpointProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint (pkg: hl7.fhir.r4.examples#4.0.1) +export class NotificationEndpointProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NotificationEndpointProfile { + return new NotificationEndpointProfile(resource) + } + + static createResource (args: NotificationEndpointProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: NotificationEndpointProfileParams) : NotificationEndpointProfile { + return NotificationEndpointProfile.from(NotificationEndpointProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NotificationEndpoint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint", "NotificationEndpoint"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NumberOfInstances.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NumberOfInstances.ts new file mode 100644 index 000000000..ebe57033a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NumberOfInstances.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NumberOfInstancesProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances (pkg: hl7.fhir.r4.examples#4.0.1) +export class NumberOfInstancesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NumberOfInstancesProfile { + return new NumberOfInstancesProfile(resource) + } + + static createResource (args: NumberOfInstancesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: NumberOfInstancesProfileParams) : NumberOfInstancesProfile { + return NumberOfInstancesProfile.from(NumberOfInstancesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NumberOfInstances"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances", "NumberOfInstances"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ordinal_Value.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ordinal_Value.ts new file mode 100644 index 000000000..06b235a73 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ordinal_Value.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Ordinal_ValueProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ordinalValue (pkg: hl7.fhir.r4.examples#4.0.1) +export class Ordinal_ValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ordinalValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Ordinal_ValueProfile { + return new Ordinal_ValueProfile(resource) + } + + static createResource (args: Ordinal_ValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/ordinalValue", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: Ordinal_ValueProfileParams) : Ordinal_ValueProfile { + return Ordinal_ValueProfile.from(Ordinal_ValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Ordinal Value"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/ordinalValue", "Ordinal Value"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Original_Text.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Original_Text.ts new file mode 100644 index 000000000..3503603a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Original_Text.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Original_TextProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/originalText (pkg: hl7.fhir.r4.examples#4.0.1) +export class Original_TextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/originalText" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Original_TextProfile { + return new Original_TextProfile(resource) + } + + static createResource (args: Original_TextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/originalText", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: Original_TextProfileParams) : Original_TextProfile { + return Original_TextProfile.from(Original_TextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Original Text"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/originalText", "Original Text"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PQ_translation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PQ_translation.ts new file mode 100644 index 000000000..5ef512ff7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PQ_translation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PQ_translationProfileParams = { + valueQuantity: Quantity; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation (pkg: hl7.fhir.r4.examples#4.0.1) +export class PQ_translationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PQ_translationProfile { + return new PQ_translationProfile(resource) + } + + static createResource (args: PQ_translationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation", + valueQuantity: args.valueQuantity, + } as unknown as Extension + return resource + } + + static create (args: PQ_translationProfileParams) : PQ_translationProfile { + return PQ_translationProfile.from(PQ_translationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PQ-translation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation", "PQ-translation"); if (e) errors.push(e) } + if (!(r["valueQuantity"] !== undefined)) { + errors.push("value: at least one of valueQuantity is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ParticipantObjectContainsStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ParticipantObjectContainsStudy.ts new file mode 100644 index 000000000..ec482308b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ParticipantObjectContainsStudy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ParticipantObjectContainsStudyProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy (pkg: hl7.fhir.r4.examples#4.0.1) +export class ParticipantObjectContainsStudyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ParticipantObjectContainsStudyProfile { + return new ParticipantObjectContainsStudyProfile(resource) + } + + static createResource (args: ParticipantObjectContainsStudyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: ParticipantObjectContainsStudyProfileParams) : ParticipantObjectContainsStudyProfile { + return ParticipantObjectContainsStudyProfile.from(ParticipantObjectContainsStudyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ParticipantObjectContainsStudy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy", "ParticipantObjectContainsStudy"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PhaseSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PhaseSet.ts new file mode 100644 index 000000000..10595b224 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PhaseSet.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet (pkg: hl7.fhir.r4.examples#4.0.1) +export class PhaseSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PhaseSetProfile { + return new PhaseSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet", + } as unknown as Extension + return resource + } + + static create () : PhaseSetProfile { + return PhaseSetProfile.from(PhaseSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Id", valueUri: value } as Extension) + return this + } + + public setMolecularSequence (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "MolecularSequence", valueReference: value } as Extension) + return this + } + + public getId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "Id") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Id") + return ext + } + + public getMolecularSequence (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "MolecularSequence") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getMolecularSequenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "MolecularSequence") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PhaseSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet", "PhaseSet"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_References.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_References.ts new file mode 100644 index 000000000..f0824b2d2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_References.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences (pkg: hl7.fhir.r4.examples#4.0.1) +export class ReferencesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReferencesProfile { + return new ReferencesProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences", + } as unknown as Extension + return resource + } + + static create () : ReferencesProfile { + return ReferencesProfile.from(ReferencesProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public setReference (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueUri: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + public getReference (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "References"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences", "References"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Relative_Date_Criteria.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Relative_Date_Criteria.ts new file mode 100644 index 000000000..ee36d34ab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Relative_Date_Criteria.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-examples/Duration"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Relative_Date_CriteriaProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/relative-date (pkg: hl7.fhir.r4.examples#4.0.1) +export class Relative_Date_CriteriaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/relative-date" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Relative_Date_CriteriaProfile { + return new Relative_Date_CriteriaProfile(resource) + } + + static createResource (args: Relative_Date_CriteriaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/relative-date", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: Relative_Date_CriteriaProfileParams) : Relative_Date_CriteriaProfile { + return Relative_Date_CriteriaProfile.from(Relative_Date_CriteriaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setEvent (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "event", valueReference: value } as Extension) + return this + } + + public setRelationship (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "relationship", valueCode: value } as Extension) + return this + } + + public setOffset (value: Duration): this { + const list = (this.resource.extension ??= []) + list.push({ url: "offset", valueDuration: value } as Extension) + return this + } + + public getEvent (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "event") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getEventExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "event") + return ext + } + + public getRelationship (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getRelationshipExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return ext + } + + public getOffset (): Duration | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return (ext as Record | undefined)?.valueDuration as Duration | undefined + } + + public getOffsetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Relative Date Criteria"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Relative Date Criteria"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/relative-date", "Relative Date Criteria"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Rendered_Value.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Rendered_Value.ts new file mode 100644 index 000000000..71ce388a1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Rendered_Value.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Rendered_ValueProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendered-value (pkg: hl7.fhir.r4.examples#4.0.1) +export class Rendered_ValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendered-value" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Rendered_ValueProfile { + return new Rendered_ValueProfile(resource) + } + + static createResource (args: Rendered_ValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendered-value", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: Rendered_ValueProfileParams) : Rendered_ValueProfile { + return Rendered_ValueProfile.from(Rendered_ValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Rendered Value"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendered-value", "Rendered Value"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SC_coding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SC_coding.ts new file mode 100644 index 000000000..3506af79b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SC_coding.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SC_codingProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding (pkg: hl7.fhir.r4.examples#4.0.1) +export class SC_codingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SC_codingProfile { + return new SC_codingProfile(resource) + } + + static createResource (args: SC_codingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: SC_codingProfileParams) : SC_codingProfile { + return SC_codingProfile.from(SC_codingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SC-coding"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding", "SC-coding"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SOPClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SOPClass.ts new file mode 100644 index 000000000..b0e04b73e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SOPClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SOPClassProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass (pkg: hl7.fhir.r4.examples#4.0.1) +export class SOPClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SOPClassProfile { + return new SOPClassProfile(resource) + } + + static createResource (args: SOPClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: SOPClassProfileParams) : SOPClassProfile { + return SOPClassProfile.from(SOPClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SOPClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass", "SOPClass"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_TEL_address.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_TEL_address.ts new file mode 100644 index 000000000..d97dc89a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_TEL_address.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TEL_addressProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address (pkg: hl7.fhir.r4.examples#4.0.1) +export class TEL_addressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TEL_addressProfile { + return new TEL_addressProfile(resource) + } + + static createResource (args: TEL_addressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: TEL_addressProfileParams) : TEL_addressProfile { + return TEL_addressProfile.from(TEL_addressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TEL-address"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address", "TEL-address"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Code.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Code.ts new file mode 100644 index 000000000..dbe215758 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Code.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Timezone_CodeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/tz-code (pkg: hl7.fhir.r4.examples#4.0.1) +export class Timezone_CodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/tz-code" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Timezone_CodeProfile { + return new Timezone_CodeProfile(resource) + } + + static createResource (args: Timezone_CodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/tz-code", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: Timezone_CodeProfileParams) : Timezone_CodeProfile { + return Timezone_CodeProfile.from(Timezone_CodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Timezone Code"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/tz-code", "Timezone Code"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Offset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Offset.ts new file mode 100644 index 000000000..a04a645d0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Offset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Timezone_OffsetProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/tz-offset (pkg: hl7.fhir.r4.examples#4.0.1) +export class Timezone_OffsetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/tz-offset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : Timezone_OffsetProfile { + return new Timezone_OffsetProfile(resource) + } + + static createResource (args: Timezone_OffsetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/tz-offset", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: Timezone_OffsetProfileParams) : Timezone_OffsetProfile { + return Timezone_OffsetProfile.from(Timezone_OffsetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Timezone Offset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/tz-offset", "Timezone Offset"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Transcriber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Transcriber.ts new file mode 100644 index 000000000..c654a7b77 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Transcriber.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TranscriberProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-Transcriber (pkg: hl7.fhir.r4.examples#4.0.1) +export class TranscriberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-Transcriber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TranscriberProfile { + return new TranscriberProfile(resource) + } + + static createResource (args: TranscriberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-Transcriber", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: TranscriberProfileParams) : TranscriberProfile { + return TranscriberProfile.from(TranscriberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Transcriber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-Transcriber", "Transcriber"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Translation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Translation.ts new file mode 100644 index 000000000..d98bd4d68 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Translation.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TranslationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/translation (pkg: hl7.fhir.r4.examples#4.0.1) +export class TranslationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/translation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TranslationProfile { + return new TranslationProfile(resource) + } + + static createResource (args: TranslationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/translation", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: TranslationProfileParams) : TranslationProfile { + return TranslationProfile.from(TranslationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLang (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "lang", valueCode: value } as Extension) + return this + } + + public setContent (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "content", valueString: value } as Extension) + return this + } + + public getLang (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getLangExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return ext + } + + public getContent (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getContentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Translation"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Translation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/translation", "Translation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ValidityPeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ValidityPeriod.ts new file mode 100644 index 000000000..e6a522c3b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ValidityPeriod.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ValidityPeriodProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod (pkg: hl7.fhir.r4.examples#4.0.1) +export class ValidityPeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ValidityPeriodProfile { + return new ValidityPeriodProfile(resource) + } + + static createResource (args: ValidityPeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ValidityPeriodProfileParams) : ValidityPeriodProfile { + return ValidityPeriodProfile.from(ValidityPeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ValidityPeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", "ValidityPeriod"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variable.ts new file mode 100644 index 000000000..0075c88b5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variable.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-examples/Expression"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VariableProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/variable (pkg: hl7.fhir.r4.examples#4.0.1) +export class VariableProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/variable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VariableProfile { + return new VariableProfile(resource) + } + + static createResource (args: VariableProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/variable", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: VariableProfileParams) : VariableProfile { + return VariableProfile.from(VariableProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Variable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/variable", "Variable"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variant.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variant.ts new file mode 100644 index 000000000..02001b633 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variant.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant (pkg: hl7.fhir.r4.examples#4.0.1) +export class VariantProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VariantProfile { + return new VariantProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant", + } as unknown as Extension + return resource + } + + static create () : VariantProfile { + return VariantProfile.from(VariantProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Name", valueCodeableConcept: value } as Extension) + return this + } + + public setId (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Id", valueCodeableConcept: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "Type", valueCodeableConcept: value } as Extension) + return this + } + + public getName (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Name") + return ext + } + + public getId (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Id") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Id") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "Type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "Type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Variant"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant", "Variant"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Witness.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Witness.ts new file mode 100644 index 000000000..024560608 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Witness.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type WitnessProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-Witness (pkg: hl7.fhir.r4.examples#4.0.1) +export class WitnessProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-Witness" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : WitnessProfile { + return new WitnessProfile(resource) + } + + static createResource (args: WitnessProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-Witness", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: WitnessProfileParams) : WitnessProfile { + return WitnessProfile.from(WitnessProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Witness"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-Witness", "Witness"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_abatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_abatement.ts new file mode 100644 index 000000000..eb11d44dc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_abatement.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-examples/Age"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement (pkg: hl7.fhir.r4.examples#4.0.1) +export class abatementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : abatementProfile { + return new abatementProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", + } as unknown as Extension + return resource + } + + static create () : abatementProfile { + return abatementProfile.from(abatementProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueAge () : Age | undefined { + return this.resource.valueAge as Age | undefined + } + + setValueAge (value: Age) : this { + Object.assign(this.resource, { valueAge: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "abatement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", "abatement"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueAge"] !== undefined || r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueDate, valueAge, valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_acceptance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_acceptance.ts new file mode 100644 index 000000000..ed531bad5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_acceptance.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type acceptanceProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-acceptance (pkg: hl7.fhir.r4.examples#4.0.1) +export class acceptanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-acceptance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : acceptanceProfile { + return new acceptanceProfile(resource) + } + + static createResource (args: acceptanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-acceptance", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: acceptanceProfileParams) : acceptanceProfile { + return acceptanceProfile.from(acceptanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setIndividual (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "individual", valueReference: value } as Extension) + return this + } + + public setStatus (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "status", valueCode: value } as Extension) + return this + } + + public setPriority (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "priority", valueCodeableConcept: value } as Extension) + return this + } + + public getIndividual (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "individual") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getIndividualExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "individual") + return ext + } + + public getStatus (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStatusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return ext + } + + public getPriority (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "priority") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getPriorityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "priority") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "acceptance"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "acceptance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-acceptance", "acceptance"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activityStatusDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activityStatusDate.ts new file mode 100644 index 000000000..ded3cad92 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activityStatusDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type activityStatusDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate (pkg: hl7.fhir.r4.examples#4.0.1) +export class activityStatusDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : activityStatusDateProfile { + return new activityStatusDateProfile(resource) + } + + static createResource (args: activityStatusDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: activityStatusDateProfileParams) : activityStatusDateProfile { + return activityStatusDateProfile.from(activityStatusDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "activityStatusDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate", "activityStatusDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activity_title.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activity_title.ts new file mode 100644 index 000000000..af9684822 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activity_title.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type activity_titleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/careplan-activity-title (pkg: hl7.fhir.r4.examples#4.0.1) +export class activity_titleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/careplan-activity-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : activity_titleProfile { + return new activity_titleProfile(resource) + } + + static createResource (args: activity_titleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/careplan-activity-title", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: activity_titleProfileParams) : activity_titleProfile { + return activity_titleProfile.from(activity_titleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "activity-title"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/careplan-activity-title", "activity-title"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adaptiveFeedingDevice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adaptiveFeedingDevice.ts new file mode 100644 index 000000000..0803ffbf4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adaptiveFeedingDevice.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type adaptiveFeedingDeviceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice (pkg: hl7.fhir.r4.examples#4.0.1) +export class adaptiveFeedingDeviceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : adaptiveFeedingDeviceProfile { + return new adaptiveFeedingDeviceProfile(resource) + } + + static createResource (args: adaptiveFeedingDeviceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: adaptiveFeedingDeviceProfileParams) : adaptiveFeedingDeviceProfile { + return adaptiveFeedingDeviceProfile.from(adaptiveFeedingDeviceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "adaptiveFeedingDevice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice", "adaptiveFeedingDevice"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_addendumOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_addendumOf.ts new file mode 100644 index 000000000..50cfd3cc6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_addendumOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type addendumOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf (pkg: hl7.fhir.r4.examples#4.0.1) +export class addendumOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : addendumOfProfile { + return new addendumOfProfile(resource) + } + + static createResource (args: addendumOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: addendumOfProfileParams) : addendumOfProfile { + return addendumOfProfile.from(addendumOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "addendumOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf", "addendumOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_administration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_administration.ts new file mode 100644 index 000000000..ad1729cae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_administration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type administrationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-administration (pkg: hl7.fhir.r4.examples#4.0.1) +export class administrationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-administration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : administrationProfile { + return new administrationProfile(resource) + } + + static createResource (args: administrationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-administration", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: administrationProfileParams) : administrationProfile { + return administrationProfile.from(administrationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "administration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-administration", "administration"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adoptionInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adoptionInfo.ts new file mode 100644 index 000000000..59e2dc940 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adoptionInfo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type adoptionInfoProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo (pkg: hl7.fhir.r4.examples#4.0.1) +export class adoptionInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : adoptionInfoProfile { + return new adoptionInfoProfile(resource) + } + + static createResource (args: adoptionInfoProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: adoptionInfoProfileParams) : adoptionInfoProfile { + return adoptionInfoProfile.from(adoptionInfoProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "adoptionInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo", "adoptionInfo"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allele_database.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allele_database.ts new file mode 100644 index 000000000..3f46765d6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allele_database.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type allele_databaseProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database (pkg: hl7.fhir.r4.examples#4.0.1) +export class allele_databaseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : allele_databaseProfile { + return new allele_databaseProfile(resource) + } + + static createResource (args: allele_databaseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: allele_databaseProfileParams) : allele_databaseProfile { + return allele_databaseProfile.from(allele_databaseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "allele-database"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database", "allele-database"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowedUnits.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowedUnits.ts new file mode 100644 index 000000000..7dae9075b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowedUnits.ts @@ -0,0 +1,78 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits (pkg: hl7.fhir.r4.examples#4.0.1) +export class allowedUnitsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : allowedUnitsProfile { + return new allowedUnitsProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", + } as unknown as Extension + return resource + } + + static create () : allowedUnitsProfile { + return allowedUnitsProfile.from(allowedUnitsProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "allowedUnits"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", "allowedUnits"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowed_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowed_type.ts new file mode 100644 index 000000000..e665c00cf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowed_type.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type allowed_typeProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type (pkg: hl7.fhir.r4.examples#4.0.1) +export class allowed_typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : allowed_typeProfile { + return new allowed_typeProfile(resource) + } + + static createResource (args: allowed_typeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: allowed_typeProfileParams) : allowed_typeProfile { + return allowed_typeProfile.from(allowed_typeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "allowed-type"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type", "allowed-type"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_alternate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_alternate.ts new file mode 100644 index 000000000..ec231b935 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_alternate.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type alternateProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-alternate (pkg: hl7.fhir.r4.examples#4.0.1) +export class alternateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-alternate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : alternateProfile { + return new alternateProfile(resource) + } + + static createResource (args: alternateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-alternate", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: alternateProfileParams) : alternateProfile { + return alternateProfile.from(alternateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCode: value } as Extension) + return this + } + + public setUse (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "use", valueCoding: value } as Extension) + return this + } + + public getCode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getUse (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getUseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "alternate"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "alternate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-alternate", "alternate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ancestor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ancestor.ts new file mode 100644 index 000000000..a63cf8d39 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ancestor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ancestorProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor (pkg: hl7.fhir.r4.examples#4.0.1) +export class ancestorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ancestorProfile { + return new ancestorProfile(resource) + } + + static createResource (args: ancestorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: ancestorProfileParams) : ancestorProfile { + return ancestorProfile.from(ancestorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ancestor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor", "ancestor"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animal.ts new file mode 100644 index 000000000..3a398a126 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animal.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type animalProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-animal (pkg: hl7.fhir.r4.examples#4.0.1) +export class animalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-animal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : animalProfile { + return new animalProfile(resource) + } + + static createResource (args: animalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-animal", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: animalProfileParams) : animalProfile { + return animalProfile.from(animalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setSpecies (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "species", valueCodeableConcept: value } as Extension) + return this + } + + public setBreed (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "breed", valueCodeableConcept: value } as Extension) + return this + } + + public setGenderStatus (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "genderStatus", valueCodeableConcept: value } as Extension) + return this + } + + public getSpecies (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "species") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSpeciesExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "species") + return ext + } + + public getBreed (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "breed") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getBreedExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "breed") + return ext + } + + public getGenderStatus (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderStatus") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getGenderStatusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderStatus") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "animal"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "animal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-animal", "animal"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animalSpecies.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animalSpecies.ts new file mode 100644 index 000000000..a386f69ba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animalSpecies.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type animalSpeciesProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies (pkg: hl7.fhir.r4.examples#4.0.1) +export class animalSpeciesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : animalSpeciesProfile { + return new animalSpeciesProfile(resource) + } + + static createResource (args: animalSpeciesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: animalSpeciesProfileParams) : animalSpeciesProfile { + return animalSpeciesProfile.from(animalSpeciesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "animalSpecies"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies", "animalSpecies"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_applicable_version.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_applicable_version.ts new file mode 100644 index 000000000..358b2d2af --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_applicable_version.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type applicable_versionProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version (pkg: hl7.fhir.r4.examples#4.0.1) +export class applicable_versionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : applicable_versionProfile { + return new applicable_versionProfile(resource) + } + + static createResource (args: applicable_versionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: applicable_versionProfileParams) : applicable_versionProfile { + return applicable_versionProfile.from(applicable_versionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "applicable-version"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version", "applicable-version"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approachBodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approachBodyStructure.ts new file mode 100644 index 000000000..36c9e279f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approachBodyStructure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type approachBodyStructureProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure (pkg: hl7.fhir.r4.examples#4.0.1) +export class approachBodyStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : approachBodyStructureProfile { + return new approachBodyStructureProfile(resource) + } + + static createResource (args: approachBodyStructureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: approachBodyStructureProfileParams) : approachBodyStructureProfile { + return approachBodyStructureProfile.from(approachBodyStructureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "approachBodyStructure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure", "approachBodyStructure"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approvalDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approvalDate.ts new file mode 100644 index 000000000..767ffda8a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approvalDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type approvalDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-approvalDate (pkg: hl7.fhir.r4.examples#4.0.1) +export class approvalDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-approvalDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : approvalDateProfile { + return new approvalDateProfile(resource) + } + + static createResource (args: approvalDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-approvalDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: approvalDateProfileParams) : approvalDateProfile { + return approvalDateProfile.from(approvalDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "approvalDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-approvalDate", "approvalDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_area.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_area.ts new file mode 100644 index 000000000..bbe58afd3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_area.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type areaProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-area (pkg: hl7.fhir.r4.examples#4.0.1) +export class areaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-area" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : areaProfile { + return new areaProfile(resource) + } + + static createResource (args: areaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-area", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: areaProfileParams) : areaProfile { + return areaProfile.from(areaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "area"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-area", "area"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assembly_order.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assembly_order.ts new file mode 100644 index 000000000..d3dbaf1bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assembly_order.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type assembly_orderProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-assembly-order (pkg: hl7.fhir.r4.examples#4.0.1) +export class assembly_orderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : assembly_orderProfile { + return new assembly_orderProfile(resource) + } + + static createResource (args: assembly_orderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: assembly_orderProfileParams) : assembly_orderProfile { + return assembly_orderProfile.from(assembly_orderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "assembly-order"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order", "assembly-order"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assertedDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assertedDate.ts new file mode 100644 index 000000000..60b6c6926 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assertedDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type assertedDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate (pkg: hl7.fhir.r4.examples#4.0.1) +export class assertedDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : assertedDateProfile { + return new assertedDateProfile(resource) + } + + static createResource (args: assertedDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: assertedDateProfileParams) : assertedDateProfile { + return assertedDateProfile.from(assertedDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "assertedDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", "assertedDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_associatedEncounter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_associatedEncounter.ts new file mode 100644 index 000000000..fabbb061a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_associatedEncounter.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type associatedEncounterProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter (pkg: hl7.fhir.r4.examples#4.0.1) +export class associatedEncounterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : associatedEncounterProfile { + return new associatedEncounterProfile(resource) + } + + static createResource (args: associatedEncounterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: associatedEncounterProfileParams) : associatedEncounterProfile { + return associatedEncounterProfile.from(associatedEncounterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "associatedEncounter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter", "associatedEncounter"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_author.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_author.ts new file mode 100644 index 000000000..3518f2f65 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_author.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-examples/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type authorProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-author (pkg: hl7.fhir.r4.examples#4.0.1) +export class authorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-author" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : authorProfile { + return new authorProfile(resource) + } + + static createResource (args: authorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-author", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: authorProfileParams) : authorProfile { + return authorProfile.from(authorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "author"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-author", "author"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authoritativeSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authoritativeSource.ts new file mode 100644 index 000000000..093132ab7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authoritativeSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type authoritativeSourceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource (pkg: hl7.fhir.r4.examples#4.0.1) +export class authoritativeSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : authoritativeSourceProfile { + return new authoritativeSourceProfile(resource) + } + + static createResource (args: authoritativeSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: authoritativeSourceProfileParams) : authoritativeSourceProfile { + return authoritativeSourceProfile.from(authoritativeSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "authoritativeSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", "authoritativeSource"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authority.ts new file mode 100644 index 000000000..47956f462 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authority.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type authorityProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-authority (pkg: hl7.fhir.r4.examples#4.0.1) +export class authorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : authorityProfile { + return new authorityProfile(resource) + } + + static createResource (args: authorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: authorityProfileParams) : authorityProfile { + return authorityProfile.from(authorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "authority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority", "authority"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_baseType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_baseType.ts new file mode 100644 index 000000000..cd532f66d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_baseType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type baseTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-baseType (pkg: hl7.fhir.r4.examples#4.0.1) +export class baseTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : baseTypeProfile { + return new baseTypeProfile(resource) + } + + static createResource (args: baseTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: baseTypeProfileParams) : baseTypeProfile { + return baseTypeProfile.from(baseTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "baseType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType", "baseType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_basedOn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_basedOn.ts new file mode 100644 index 000000000..41269ab16 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_basedOn.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type basedOnProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-basedOn (pkg: hl7.fhir.r4.examples#4.0.1) +export class basedOnProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-basedOn" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : basedOnProfile { + return new basedOnProfile(resource) + } + + static createResource (args: basedOnProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-basedOn", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: basedOnProfileParams) : basedOnProfile { + return basedOnProfile.from(basedOnProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "basedOn"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-basedOn", "basedOn"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice.ts new file mode 100644 index 000000000..29c48a292 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice.ts @@ -0,0 +1,78 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice (pkg: hl7.fhir.r4.examples#4.0.1) +export class bestpracticeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bestpracticeProfile { + return new bestpracticeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + } as unknown as Extension + return resource + } + + static create () : bestpracticeProfile { + return bestpracticeProfile.from(bestpracticeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bestpractice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "bestpractice"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined || r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueBoolean, valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice_explanation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice_explanation.ts new file mode 100644 index 000000000..0e5c46e55 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice_explanation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type bestpractice_explanationProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation (pkg: hl7.fhir.r4.examples#4.0.1) +export class bestpractice_explanationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bestpractice_explanationProfile { + return new bestpractice_explanationProfile(resource) + } + + static createResource (args: bestpractice_explanationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: bestpractice_explanationProfileParams) : bestpractice_explanationProfile { + return bestpractice_explanationProfile.from(bestpractice_explanationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bestpractice-explanation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "bestpractice-explanation"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bidirectional.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bidirectional.ts new file mode 100644 index 000000000..55e80fb5d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bidirectional.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type bidirectionalProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/concept-bidirectional (pkg: hl7.fhir.r4.examples#4.0.1) +export class bidirectionalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/concept-bidirectional" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bidirectionalProfile { + return new bidirectionalProfile(resource) + } + + static createResource (args: bidirectionalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/concept-bidirectional", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: bidirectionalProfileParams) : bidirectionalProfile { + return bidirectionalProfile.from(bidirectionalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bidirectional"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/concept-bidirectional", "bidirectional"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bindingName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bindingName.ts new file mode 100644 index 000000000..4fbef4f07 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bindingName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type bindingNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName (pkg: hl7.fhir.r4.examples#4.0.1) +export class bindingNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bindingNameProfile { + return new bindingNameProfile(resource) + } + + static createResource (args: bindingNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: bindingNameProfileParams) : bindingNameProfile { + return bindingNameProfile.from(bindingNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bindingName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "bindingName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthPlace.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthPlace.ts new file mode 100644 index 000000000..77d449ede --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthPlace.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Address } from "../../hl7-fhir-r4-examples/Address"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type birthPlaceProfileParams = { + valueAddress: Address; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace (pkg: hl7.fhir.r4.examples#4.0.1) +export class birthPlaceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : birthPlaceProfile { + return new birthPlaceProfile(resource) + } + + static createResource (args: birthPlaceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + valueAddress: args.valueAddress, + } as unknown as Extension + return resource + } + + static create (args: birthPlaceProfileParams) : birthPlaceProfile { + return birthPlaceProfile.from(birthPlaceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAddress () : Address | undefined { + return this.resource.valueAddress as Address | undefined + } + + setValueAddress (value: Address) : this { + Object.assign(this.resource, { valueAddress: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "birthPlace"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", "birthPlace"); if (e) errors.push(e) } + if (!(r["valueAddress"] !== undefined)) { + errors.push("value: at least one of valueAddress is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthTime.ts new file mode 100644 index 000000000..2df8e13ff --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type birthTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthTime (pkg: hl7.fhir.r4.examples#4.0.1) +export class birthTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-birthTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : birthTimeProfile { + return new birthTimeProfile(resource) + } + + static createResource (args: birthTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: birthTimeProfileParams) : birthTimeProfile { + return birthTimeProfile.from(birthTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "birthTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-birthTime", "birthTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bodyPosition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bodyPosition.ts new file mode 100644 index 000000000..e466402a1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bodyPosition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type bodyPositionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-bodyPosition (pkg: hl7.fhir.r4.examples#4.0.1) +export class bodyPositionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : bodyPositionProfile { + return new bodyPositionProfile(resource) + } + + static createResource (args: bodyPositionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: bodyPositionProfileParams) : bodyPositionProfile { + return bodyPositionProfile.from(bodyPositionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "bodyPosition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition", "bodyPosition"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_boundary_geojson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_boundary_geojson.ts new file mode 100644 index 000000000..5817867fb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_boundary_geojson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r4-examples/Attachment"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type boundary_geojsonProfileParams = { + valueAttachment: Attachment; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/location-boundary-geojson (pkg: hl7.fhir.r4.examples#4.0.1) +export class boundary_geojsonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : boundary_geojsonProfile { + return new boundary_geojsonProfile(resource) + } + + static createResource (args: boundary_geojsonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson", + valueAttachment: args.valueAttachment, + } as unknown as Extension + return resource + } + + static create (args: boundary_geojsonProfileParams) : boundary_geojsonProfile { + return boundary_geojsonProfile.from(boundary_geojsonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAttachment () : Attachment | undefined { + return this.resource.valueAttachment as Attachment | undefined + } + + setValueAttachment (value: Attachment) : this { + Object.assign(this.resource, { valueAttachment: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "boundary-geojson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson", "boundary-geojson"); if (e) errors.push(e) } + if (!(r["valueAttachment"] !== undefined)) { + errors.push("value: at least one of valueAttachment is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cadavericDonor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cadavericDonor.ts new file mode 100644 index 000000000..ae15cdf47 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cadavericDonor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type cadavericDonorProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor (pkg: hl7.fhir.r4.examples#4.0.1) +export class cadavericDonorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : cadavericDonorProfile { + return new cadavericDonorProfile(resource) + } + + static createResource (args: cadavericDonorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: cadavericDonorProfileParams) : cadavericDonorProfile { + return cadavericDonorProfile.from(cadavericDonorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "cadavericDonor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor", "cadavericDonor"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_calculatedValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_calculatedValue.ts new file mode 100644 index 000000000..a015bbd69 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_calculatedValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type calculatedValueProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue (pkg: hl7.fhir.r4.examples#4.0.1) +export class calculatedValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : calculatedValueProfile { + return new calculatedValueProfile(resource) + } + + static createResource (args: calculatedValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: calculatedValueProfileParams) : calculatedValueProfile { + return calculatedValueProfile.from(calculatedValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "calculatedValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue", "calculatedValue"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_candidateList.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_candidateList.ts new file mode 100644 index 000000000..4332015ef --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_candidateList.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type candidateListProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/task-candidateList (pkg: hl7.fhir.r4.examples#4.0.1) +export class candidateListProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/task-candidateList" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : candidateListProfile { + return new candidateListProfile(resource) + } + + static createResource (args: candidateListProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/task-candidateList", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: candidateListProfileParams) : candidateListProfile { + return candidateListProfile.from(candidateListProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "candidateList"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/task-candidateList", "candidateList"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_capabilities.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_capabilities.ts new file mode 100644 index 000000000..f2d9b2c49 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_capabilities.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type capabilitiesProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities (pkg: hl7.fhir.r4.examples#4.0.1) +export class capabilitiesProfile { + static readonly canonicalUrl = "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : capabilitiesProfile { + return new capabilitiesProfile(resource) + } + + static createResource (args: capabilitiesProfileParams) : Extension { + const resource: Extension = { + url: "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: capabilitiesProfileParams) : capabilitiesProfile { + return capabilitiesProfile.from(capabilitiesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "capabilities"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities", "capabilities"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_careplan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_careplan.ts new file mode 100644 index 000000000..c5baca3ee --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_careplan.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type careplanProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-careplan (pkg: hl7.fhir.r4.examples#4.0.1) +export class careplanProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-careplan" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : careplanProfile { + return new careplanProfile(resource) + } + + static createResource (args: careplanProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-careplan", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: careplanProfileParams) : careplanProfile { + return careplanProfile.from(careplanProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "careplan"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-careplan", "careplan"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_caseSensitive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_caseSensitive.ts new file mode 100644 index 000000000..370477ccf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_caseSensitive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type caseSensitiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive (pkg: hl7.fhir.r4.examples#4.0.1) +export class caseSensitiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : caseSensitiveProfile { + return new caseSensitiveProfile(resource) + } + + static createResource (args: caseSensitiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: caseSensitiveProfileParams) : caseSensitiveProfile { + return caseSensitiveProfile.from(caseSensitiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "caseSensitive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive", "caseSensitive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_category.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_category.ts new file mode 100644 index 000000000..cc48ba4e9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_category.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type categoryProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-category (pkg: hl7.fhir.r4.examples#4.0.1) +export class categoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : categoryProfile { + return new categoryProfile(resource) + } + + static createResource (args: categoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: categoryProfileParams) : categoryProfile { + return categoryProfile.from(categoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "category"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "category"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_causedBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_causedBy.ts new file mode 100644 index 000000000..0d4e4e62b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_causedBy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type causedByProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-causedBy (pkg: hl7.fhir.r4.examples#4.0.1) +export class causedByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-causedBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : causedByProfile { + return new causedByProfile(resource) + } + + static createResource (args: causedByProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-causedBy", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: causedByProfileParams) : causedByProfile { + return causedByProfile.from(causedByProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "causedBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-causedBy", "causedBy"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cdsHooksEndpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cdsHooksEndpoint.ts new file mode 100644 index 000000000..90886f68e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cdsHooksEndpoint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type cdsHooksEndpointProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint (pkg: hl7.fhir.r4.examples#4.0.1) +export class cdsHooksEndpointProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : cdsHooksEndpointProfile { + return new cdsHooksEndpointProfile(resource) + } + + static createResource (args: cdsHooksEndpointProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: cdsHooksEndpointProfileParams) : cdsHooksEndpointProfile { + return cdsHooksEndpointProfile.from(cdsHooksEndpointProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "cdsHooksEndpoint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", "cdsHooksEndpoint"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_certainty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_certainty.ts new file mode 100644 index 000000000..29feb6f73 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_certainty.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type certaintyProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty (pkg: hl7.fhir.r4.examples#4.0.1) +export class certaintyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : certaintyProfile { + return new certaintyProfile(resource) + } + + static createResource (args: certaintyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: certaintyProfileParams) : certaintyProfile { + return certaintyProfile.from(certaintyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "certainty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty", "certainty"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_changeBase.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_changeBase.ts new file mode 100644 index 000000000..245910bde --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_changeBase.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type changeBaseProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/list-changeBase (pkg: hl7.fhir.r4.examples#4.0.1) +export class changeBaseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/list-changeBase" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : changeBaseProfile { + return new changeBaseProfile(resource) + } + + static createResource (args: changeBaseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/list-changeBase", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: changeBaseProfileParams) : changeBaseProfile { + return changeBaseProfile.from(changeBaseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "changeBase"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/list-changeBase", "changeBase"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_choiceOrientation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_choiceOrientation.ts new file mode 100644 index 000000000..4f8f0be4f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_choiceOrientation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type choiceOrientationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation (pkg: hl7.fhir.r4.examples#4.0.1) +export class choiceOrientationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : choiceOrientationProfile { + return new choiceOrientationProfile(resource) + } + + static createResource (args: choiceOrientationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: choiceOrientationProfileParams) : choiceOrientationProfile { + return choiceOrientationProfile.from(choiceOrientationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "choiceOrientation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", "choiceOrientation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citation.ts new file mode 100644 index 000000000..e4e9524e5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type citationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-citation (pkg: hl7.fhir.r4.examples#4.0.1) +export class citationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-citation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : citationProfile { + return new citationProfile(resource) + } + + static createResource (args: citationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-citation", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: citationProfileParams) : citationProfile { + return citationProfile.from(citationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "citation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-citation", "citation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citizenship.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citizenship.ts new file mode 100644 index 000000000..f450bd86b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citizenship.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-citizenship (pkg: hl7.fhir.r4.examples#4.0.1) +export class citizenshipProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-citizenship" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : citizenshipProfile { + return new citizenshipProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + } as unknown as Extension + return resource + } + + static create () : citizenshipProfile { + return citizenshipProfile.from(citizenshipProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "citizenship"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-citizenship", "citizenship"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_codegen_super.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_codegen_super.ts new file mode 100644 index 000000000..a25e082ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_codegen_super.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type codegen_superProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super (pkg: hl7.fhir.r4.examples#4.0.1) +export class codegen_superProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : codegen_superProfile { + return new codegen_superProfile(resource) + } + + static createResource (args: codegen_superProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: codegen_superProfileParams) : codegen_superProfile { + return codegen_superProfile.from(codegen_superProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "codegen-super"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "codegen-super"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_collectionPriority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_collectionPriority.ts new file mode 100644 index 000000000..584db673c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_collectionPriority.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type collectionPriorityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority (pkg: hl7.fhir.r4.examples#4.0.1) +export class collectionPriorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : collectionPriorityProfile { + return new collectionPriorityProfile(resource) + } + + static createResource (args: collectionPriorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: collectionPriorityProfileParams) : collectionPriorityProfile { + return collectionPriorityProfile.from(collectionPriorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "collectionPriority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority", "collectionPriority"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_completionMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_completionMode.ts new file mode 100644 index 000000000..0211c8d53 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_completionMode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type completionModeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode (pkg: hl7.fhir.r4.examples#4.0.1) +export class completionModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : completionModeProfile { + return new completionModeProfile(resource) + } + + static createResource (args: completionModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: completionModeProfileParams) : completionModeProfile { + return completionModeProfile.from(completionModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "completionMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", "completionMode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_conceptOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_conceptOrder.ts new file mode 100644 index 000000000..6948b4fa9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_conceptOrder.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type conceptOrderProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder (pkg: hl7.fhir.r4.examples#4.0.1) +export class conceptOrderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : conceptOrderProfile { + return new conceptOrderProfile(resource) + } + + static createResource (args: conceptOrderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: conceptOrderProfileParams) : conceptOrderProfile { + return conceptOrderProfile.from(conceptOrderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "conceptOrder"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", "conceptOrder"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_comments.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_comments.ts new file mode 100644 index 000000000..9a586cfff --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_comments.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type concept_commentsProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-concept-comments (pkg: hl7.fhir.r4.examples#4.0.1) +export class concept_commentsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : concept_commentsProfile { + return new concept_commentsProfile(resource) + } + + static createResource (args: concept_commentsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: concept_commentsProfileParams) : concept_commentsProfile { + return concept_commentsProfile.from(concept_commentsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "concept-comments"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments", "concept-comments"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_definition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_definition.ts new file mode 100644 index 000000000..19c28d974 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_definition.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type concept_definitionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-concept-definition (pkg: hl7.fhir.r4.examples#4.0.1) +export class concept_definitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : concept_definitionProfile { + return new concept_definitionProfile(resource) + } + + static createResource (args: concept_definitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: concept_definitionProfileParams) : concept_definitionProfile { + return concept_definitionProfile.from(concept_definitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "concept-definition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition", "concept-definition"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_congregation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_congregation.ts new file mode 100644 index 000000000..60a379fb0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_congregation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type congregationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-congregation (pkg: hl7.fhir.r4.examples#4.0.1) +export class congregationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-congregation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : congregationProfile { + return new congregationProfile(resource) + } + + static createResource (args: congregationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-congregation", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: congregationProfileParams) : congregationProfile { + return congregationProfile.from(congregationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "congregation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-congregation", "congregation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_constraint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_constraint.ts new file mode 100644 index 000000000..9344fa660 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_constraint.ts @@ -0,0 +1,167 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type constraintProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint (pkg: hl7.fhir.r4.examples#4.0.1) +export class constraintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : constraintProfile { + return new constraintProfile(resource) + } + + static createResource (args: constraintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: constraintProfileParams) : constraintProfile { + return constraintProfile.from(constraintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setKey (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "key", valueId: value } as Extension) + return this + } + + public setRequirements (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "requirements", valueString: value } as Extension) + return this + } + + public setSeverity (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "severity", valueCode: value } as Extension) + return this + } + + public setExpression (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expression", valueString: value } as Extension) + return this + } + + public setHuman (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "human", valueString: value } as Extension) + return this + } + + public setLocation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "location", valueString: value } as Extension) + return this + } + + public getKey (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getKeyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return ext + } + + public getRequirements (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRequirementsExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return ext + } + + public getSeverity (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getSeverityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return ext + } + + public getExpression (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return ext + } + + public getHuman (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "human") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getHumanExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "human") + return ext + } + + public getLocation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLocationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "constraint"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "constraint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint", "constraint"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_country.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_country.ts new file mode 100644 index 000000000..c57a8538a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_country.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type countryProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-country (pkg: hl7.fhir.r4.examples#4.0.1) +export class countryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-country" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : countryProfile { + return new countryProfile(resource) + } + + static createResource (args: countryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-country", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: countryProfileParams) : countryProfile { + return countryProfile.from(countryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "country"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-country", "country"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dayOfMonth.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dayOfMonth.ts new file mode 100644 index 000000000..fda47e3bb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dayOfMonth.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type dayOfMonthProfileParams = { + valuePositiveInt: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth (pkg: hl7.fhir.r4.examples#4.0.1) +export class dayOfMonthProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : dayOfMonthProfile { + return new dayOfMonthProfile(resource) + } + + static createResource (args: dayOfMonthProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth", + valuePositiveInt: args.valuePositiveInt, + } as unknown as Extension + return resource + } + + static create (args: dayOfMonthProfileParams) : dayOfMonthProfile { + return dayOfMonthProfile.from(dayOfMonthProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePositiveInt () : number | undefined { + return this.resource.valuePositiveInt as number | undefined + } + + setValuePositiveInt (value: number) : this { + Object.assign(this.resource, { valuePositiveInt: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "dayOfMonth"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth", "dayOfMonth"); if (e) errors.push(e) } + if (!(r["valuePositiveInt"] !== undefined)) { + errors.push("value: at least one of valuePositiveInt is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_daysOfCycle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_daysOfCycle.ts new file mode 100644 index 000000000..c76442dba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_daysOfCycle.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type daysOfCycleProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle (pkg: hl7.fhir.r4.examples#4.0.1) +export class daysOfCycleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : daysOfCycleProfile { + return new daysOfCycleProfile(resource) + } + + static createResource (args: daysOfCycleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: daysOfCycleProfileParams) : daysOfCycleProfile { + return daysOfCycleProfile.from(daysOfCycleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDay (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "day", valueInteger: value } as Extension) + return this + } + + public getDay (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "day") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getDayExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "day") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "daysOfCycle"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "daysOfCycle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle", "daysOfCycle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_delta.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_delta.ts new file mode 100644 index 000000000..3e5ed5d6e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_delta.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type deltaProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-delta (pkg: hl7.fhir.r4.examples#4.0.1) +export class deltaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-delta" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : deltaProfile { + return new deltaProfile(resource) + } + + static createResource (args: deltaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-delta", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: deltaProfileParams) : deltaProfile { + return deltaProfile.from(deltaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "delta"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-delta", "delta"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dependencies.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dependencies.ts new file mode 100644 index 000000000..84a3e8f01 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dependencies.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type dependenciesProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies (pkg: hl7.fhir.r4.examples#4.0.1) +export class dependenciesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : dependenciesProfile { + return new dependenciesProfile(resource) + } + + static createResource (args: dependenciesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: dependenciesProfileParams) : dependenciesProfile { + return dependenciesProfile.from(dependenciesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "dependencies"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies", "dependencies"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deprecated.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deprecated.ts new file mode 100644 index 000000000..3b7412248 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deprecated.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type deprecatedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-deprecated (pkg: hl7.fhir.r4.examples#4.0.1) +export class deprecatedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-deprecated" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : deprecatedProfile { + return new deprecatedProfile(resource) + } + + static createResource (args: deprecatedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-deprecated", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: deprecatedProfileParams) : deprecatedProfile { + return deprecatedProfile.from(deprecatedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "deprecated"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-deprecated", "deprecated"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detail.ts new file mode 100644 index 000000000..36d862de8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detail.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type detailProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/flag-detail (pkg: hl7.fhir.r4.examples#4.0.1) +export class detailProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/flag-detail" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : detailProfile { + return new detailProfile(resource) + } + + static createResource (args: detailProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/flag-detail", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: detailProfileParams) : detailProfile { + return detailProfile.from(detailProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "detail"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/flag-detail", "detail"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detectedIssue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detectedIssue.ts new file mode 100644 index 000000000..1153c7338 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detectedIssue.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type detectedIssueProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue (pkg: hl7.fhir.r4.examples#4.0.1) +export class detectedIssueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : detectedIssueProfile { + return new detectedIssueProfile(resource) + } + + static createResource (args: detectedIssueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: detectedIssueProfileParams) : detectedIssueProfile { + return detectedIssueProfile.from(detectedIssueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "detectedIssue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue", "detectedIssue"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deviceCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deviceCode.ts new file mode 100644 index 000000000..686b6bcde --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deviceCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type deviceCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-deviceCode (pkg: hl7.fhir.r4.examples#4.0.1) +export class deviceCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-deviceCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : deviceCodeProfile { + return new deviceCodeProfile(resource) + } + + static createResource (args: deviceCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-deviceCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: deviceCodeProfileParams) : deviceCodeProfile { + return deviceCodeProfile.from(deviceCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "deviceCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-deviceCode", "deviceCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_directedBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_directedBy.ts new file mode 100644 index 000000000..73073acb1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_directedBy.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-directedBy (pkg: hl7.fhir.r4.examples#4.0.1) +export class directedByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-directedBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : directedByProfile { + return new directedByProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-directedBy", + } as unknown as Extension + return resource + } + + static create () : directedByProfile { + return directedByProfile.from(directedByProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "directedBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-directedBy", "directedBy"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_disability.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_disability.ts new file mode 100644 index 000000000..b8f733ee6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_disability.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type disabilityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-disability (pkg: hl7.fhir.r4.examples#4.0.1) +export class disabilityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-disability" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : disabilityProfile { + return new disabilityProfile(resource) + } + + static createResource (args: disabilityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-disability", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: disabilityProfileParams) : disabilityProfile { + return disabilityProfile.from(disabilityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "disability"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-disability", "disability"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_displayCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_displayCategory.ts new file mode 100644 index 000000000..ba7951883 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_displayCategory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type displayCategoryProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory (pkg: hl7.fhir.r4.examples#4.0.1) +export class displayCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : displayCategoryProfile { + return new displayCategoryProfile(resource) + } + + static createResource (args: displayCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: displayCategoryProfileParams) : displayCategoryProfile { + return displayCategoryProfile.from(displayCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "displayCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", "displayCategory"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_display_hint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_display_hint.ts new file mode 100644 index 000000000..fa5d5e0f6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_display_hint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type display_hintProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint (pkg: hl7.fhir.r4.examples#4.0.1) +export class display_hintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : display_hintProfile { + return new display_hintProfile(resource) + } + + static createResource (args: display_hintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: display_hintProfileParams) : display_hintProfile { + return display_hintProfile.from(display_hintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "display-hint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "display-hint"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_doNotPerform.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_doNotPerform.ts new file mode 100644 index 000000000..e0a3177aa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_doNotPerform.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type doNotPerformProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-doNotPerform (pkg: hl7.fhir.r4.examples#4.0.1) +export class doNotPerformProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-doNotPerform" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : doNotPerformProfile { + return new doNotPerformProfile(resource) + } + + static createResource (args: doNotPerformProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-doNotPerform", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: doNotPerformProfileParams) : doNotPerformProfile { + return doNotPerformProfile.from(doNotPerformProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "doNotPerform"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-doNotPerform", "doNotPerform"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dueTo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dueTo.ts new file mode 100644 index 000000000..f6cf6c24c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dueTo.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-dueTo (pkg: hl7.fhir.r4.examples#4.0.1) +export class dueToProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-dueTo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : dueToProfile { + return new dueToProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + } as unknown as Extension + return resource + } + + static create () : dueToProfile { + return dueToProfile.from(dueToProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "dueTo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "dueTo"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_duration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_duration.ts new file mode 100644 index 000000000..0b7e3939d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_duration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-examples/Duration"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type durationProfileParams = { + valueDuration: Duration; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration (pkg: hl7.fhir.r4.examples#4.0.1) +export class durationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : durationProfile { + return new durationProfile(resource) + } + + static createResource (args: durationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration", + valueDuration: args.valueDuration, + } as unknown as Extension + return resource + } + + static create (args: durationProfileParams) : durationProfile { + return durationProfile.from(durationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "duration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration", "duration"); if (e) errors.push(e) } + if (!(r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectiveDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectiveDate.ts new file mode 100644 index 000000000..4f81aa6ba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectiveDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type effectiveDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate (pkg: hl7.fhir.r4.examples#4.0.1) +export class effectiveDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : effectiveDateProfile { + return new effectiveDateProfile(resource) + } + + static createResource (args: effectiveDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: effectiveDateProfileParams) : effectiveDateProfile { + return effectiveDateProfile.from(effectiveDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "effectiveDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate", "effectiveDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectivePeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectivePeriod.ts new file mode 100644 index 000000000..889549a30 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectivePeriod.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type effectivePeriodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod (pkg: hl7.fhir.r4.examples#4.0.1) +export class effectivePeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : effectivePeriodProfile { + return new effectivePeriodProfile(resource) + } + + static createResource (args: effectivePeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: effectivePeriodProfileParams) : effectivePeriodProfile { + return effectivePeriodProfile.from(effectivePeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "effectivePeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod", "effectivePeriod"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterClass.ts new file mode 100644 index 000000000..db5196e08 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type encounterClassProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-encounterClass (pkg: hl7.fhir.r4.examples#4.0.1) +export class encounterClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : encounterClassProfile { + return new encounterClassProfile(resource) + } + + static createResource (args: encounterClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: encounterClassProfileParams) : encounterClassProfile { + return encounterClassProfile.from(encounterClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "encounterClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass", "encounterClass"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterType.ts new file mode 100644 index 000000000..2eb39a148 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type encounterTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-encounterType (pkg: hl7.fhir.r4.examples#4.0.1) +export class encounterTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-encounterType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : encounterTypeProfile { + return new encounterTypeProfile(resource) + } + + static createResource (args: encounterTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-encounterType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: encounterTypeProfileParams) : encounterTypeProfile { + return encounterTypeProfile.from(encounterTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "encounterType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-encounterType", "encounterType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_entryFormat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_entryFormat.ts new file mode 100644 index 000000000..f8486f8f5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_entryFormat.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type entryFormatProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/entryFormat (pkg: hl7.fhir.r4.examples#4.0.1) +export class entryFormatProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/entryFormat" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : entryFormatProfile { + return new entryFormatProfile(resource) + } + + static createResource (args: entryFormatProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/entryFormat", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: entryFormatProfileParams) : entryFormatProfile { + return entryFormatProfile.from(entryFormatProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "entryFormat"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/entryFormat", "entryFormat"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_episodeOfCare.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_episodeOfCare.ts new file mode 100644 index 000000000..0624716c8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_episodeOfCare.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type episodeOfCareProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare (pkg: hl7.fhir.r4.examples#4.0.1) +export class episodeOfCareProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : episodeOfCareProfile { + return new episodeOfCareProfile(resource) + } + + static createResource (args: episodeOfCareProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: episodeOfCareProfileParams) : episodeOfCareProfile { + return episodeOfCareProfile.from(episodeOfCareProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "episodeOfCare"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", "episodeOfCare"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_equivalence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_equivalence.ts new file mode 100644 index 000000000..d4a05a050 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_equivalence.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type equivalenceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence (pkg: hl7.fhir.r4.examples#4.0.1) +export class equivalenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : equivalenceProfile { + return new equivalenceProfile(resource) + } + + static createResource (args: equivalenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: equivalenceProfileParams) : equivalenceProfile { + return equivalenceProfile.from(equivalenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "equivalence"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence", "equivalence"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_eventHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_eventHistory.ts new file mode 100644 index 000000000..c60d7d917 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_eventHistory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type eventHistoryProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-eventHistory (pkg: hl7.fhir.r4.examples#4.0.1) +export class eventHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-eventHistory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : eventHistoryProfile { + return new eventHistoryProfile(resource) + } + + static createResource (args: eventHistoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-eventHistory", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: eventHistoryProfileParams) : eventHistoryProfile { + return eventHistoryProfile.from(eventHistoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "eventHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-eventHistory", "eventHistory"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exact.ts new file mode 100644 index 000000000..22438adeb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exact.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type exactProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-exact (pkg: hl7.fhir.r4.examples#4.0.1) +export class exactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-exact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : exactProfile { + return new exactProfile(resource) + } + + static createResource (args: exactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-exact", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: exactProfileParams) : exactProfile { + return exactProfile.from(exactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "exact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-exact", "exact"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_group.ts new file mode 100644 index 000000000..1a0457acd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_group.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expand-group (pkg: hl7.fhir.r4.examples#4.0.1) +export class expand_groupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expand-group" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expand_groupProfile { + return new expand_groupProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expand-group", + } as unknown as Extension + return resource + } + + static create () : expand_groupProfile { + return expand_groupProfile.from(expand_groupProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCode: value } as Extension) + return this + } + + public setDisplay (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "display", valueString: value } as Extension) + return this + } + + public setMember (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "member", valueCode: value } as Extension) + return this + } + + public getCode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getDisplay (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "display") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDisplayExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "display") + return ext + } + + public getMember (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "member") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getMemberExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "member") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expand-group"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expand-group", "expand-group"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_rules.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_rules.ts new file mode 100644 index 000000000..7ac8fc7e1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_rules.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expand_rulesProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expand-rules (pkg: hl7.fhir.r4.examples#4.0.1) +export class expand_rulesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expand_rulesProfile { + return new expand_rulesProfile(resource) + } + + static createResource (args: expand_rulesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: expand_rulesProfileParams) : expand_rulesProfile { + return expand_rulesProfile.from(expand_rulesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expand-rules"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules", "expand-rules"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expansionSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expansionSource.ts new file mode 100644 index 000000000..188e9a3bd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expansionSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expansionSourceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expansionSource (pkg: hl7.fhir.r4.examples#4.0.1) +export class expansionSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expansionSourceProfile { + return new expansionSourceProfile(resource) + } + + static createResource (args: expansionSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: expansionSourceProfileParams) : expansionSourceProfile { + return expansionSourceProfile.from(expansionSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expansionSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource", "expansionSource"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expectation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expectation.ts new file mode 100644 index 000000000..e574e532c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expectation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expectationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation (pkg: hl7.fhir.r4.examples#4.0.1) +export class expectationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expectationProfile { + return new expectationProfile(resource) + } + + static createResource (args: expectationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: expectationProfileParams) : expectationProfile { + return expectationProfile.from(expectationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expectation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", "expectation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expirationDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expirationDate.ts new file mode 100644 index 000000000..cc4eb3a4a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expirationDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expirationDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expirationDate (pkg: hl7.fhir.r4.examples#4.0.1) +export class expirationDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expirationDateProfile { + return new expirationDateProfile(resource) + } + + static createResource (args: expirationDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: expirationDateProfileParams) : expirationDateProfile { + return expirationDateProfile.from(expirationDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expirationDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate", "expirationDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_explicit_type_name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_explicit_type_name.ts new file mode 100644 index 000000000..bdbfdce0d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_explicit_type_name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type explicit_type_nameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name (pkg: hl7.fhir.r4.examples#4.0.1) +export class explicit_type_nameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : explicit_type_nameProfile { + return new explicit_type_nameProfile(resource) + } + + static createResource (args: explicit_type_nameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: explicit_type_nameProfileParams) : explicit_type_nameProfile { + return explicit_type_nameProfile.from(explicit_type_nameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "explicit-type-name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "explicit-type-name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDate.ts new file mode 100644 index 000000000..497456658 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type exposureDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate (pkg: hl7.fhir.r4.examples#4.0.1) +export class exposureDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : exposureDateProfile { + return new exposureDateProfile(resource) + } + + static createResource (args: exposureDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: exposureDateProfileParams) : exposureDateProfile { + return exposureDateProfile.from(exposureDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "exposureDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate", "exposureDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDescription.ts new file mode 100644 index 000000000..d320c7989 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type exposureDescriptionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription (pkg: hl7.fhir.r4.examples#4.0.1) +export class exposureDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : exposureDescriptionProfile { + return new exposureDescriptionProfile(resource) + } + + static createResource (args: exposureDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: exposureDescriptionProfileParams) : exposureDescriptionProfile { + return exposureDescriptionProfile.from(exposureDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "exposureDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription", "exposureDescription"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDuration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDuration.ts new file mode 100644 index 000000000..bf58c6df6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDuration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-examples/Duration"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type exposureDurationProfileParams = { + valueDuration: Duration; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration (pkg: hl7.fhir.r4.examples#4.0.1) +export class exposureDurationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : exposureDurationProfile { + return new exposureDurationProfile(resource) + } + + static createResource (args: exposureDurationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration", + valueDuration: args.valueDuration, + } as unknown as Extension + return resource + } + + static create (args: exposureDurationProfileParams) : exposureDurationProfile { + return exposureDurationProfile.from(exposureDurationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "exposureDuration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration", "exposureDuration"); if (e) errors.push(e) } + if (!(r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expression.ts new file mode 100644 index 000000000..997e0b256 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expression.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-examples/Expression"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type expressionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expression (pkg: hl7.fhir.r4.examples#4.0.1) +export class expressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : expressionProfile { + return new expressionProfile(resource) + } + + static createResource (args: expressionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: expressionProfileParams) : expressionProfile { + return expressionProfile.from(expressionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "expression"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expression", "expression"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extends.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extends.ts new file mode 100644 index 000000000..996e8b1f4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extends.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type extendsProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends (pkg: hl7.fhir.r4.examples#4.0.1) +export class extendsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : extendsProfile { + return new extendsProfile(resource) + } + + static createResource (args: extendsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: extendsProfileParams) : extendsProfile { + return extendsProfile.from(extendsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "extends"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends", "extends"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extensible.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extensible.ts new file mode 100644 index 000000000..1c928dbf5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extensible.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type extensibleProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-extensible (pkg: hl7.fhir.r4.examples#4.0.1) +export class extensibleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-extensible" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : extensibleProfile { + return new extensibleProfile(resource) + } + + static createResource (args: extensibleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-extensible", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: extensibleProfileParams) : extensibleProfile { + return extensibleProfile.from(extensibleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "extensible"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-extensible", "extensible"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extension.ts new file mode 100644 index 000000000..7e25199a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extension.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type extensionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-extension (pkg: hl7.fhir.r4.examples#4.0.1) +export class extensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-extension" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : extensionProfile { + return new extensionProfile(resource) + } + + static createResource (args: extensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-extension", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: extensionProfileParams) : extensionProfile { + return extensionProfile.from(extensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "extension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-extension", "extension"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fathers_family.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fathers_family.ts new file mode 100644 index 000000000..43cf0d557 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fathers_family.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fathers_familyProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-fathers-family (pkg: hl7.fhir.r4.examples#4.0.1) +export class fathers_familyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fathers_familyProfile { + return new fathers_familyProfile(resource) + } + + static createResource (args: fathers_familyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: fathers_familyProfileParams) : fathers_familyProfile { + return fathers_familyProfile.from(fathers_familyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fathers-family"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family", "fathers-family"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhirType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhirType.ts new file mode 100644 index 000000000..ff0720b1c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhirType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fhirTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType (pkg: hl7.fhir.r4.examples#4.0.1) +export class fhirTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fhirTypeProfile { + return new fhirTypeProfile(resource) + } + + static createResource (args: fhirTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: fhirTypeProfileParams) : fhirTypeProfile { + return fhirTypeProfile.from(fhirTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fhirType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "fhirType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhir_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhir_type.ts new file mode 100644 index 000000000..eb9a75bc4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhir_type.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fhir_typeProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type (pkg: hl7.fhir.r4.examples#4.0.1) +export class fhir_typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fhir_typeProfile { + return new fhir_typeProfile(resource) + } + + static createResource (args: fhir_typeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: fhir_typeProfileParams) : fhir_typeProfile { + return fhir_typeProfile.from(fhir_typeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fhir-type"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "fhir-type"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm.ts new file mode 100644 index 000000000..8b0442d2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fmmProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm (pkg: hl7.fhir.r4.examples#4.0.1) +export class fmmProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fmmProfile { + return new fmmProfile(resource) + } + + static createResource (args: fmmProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: fmmProfileParams) : fmmProfile { + return fmmProfile.from(fmmProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fmm"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "fmm"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm_no_warnings.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm_no_warnings.ts new file mode 100644 index 000000000..1285d0c7c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm_no_warnings.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fmm_no_warningsProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings (pkg: hl7.fhir.r4.examples#4.0.1) +export class fmm_no_warningsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fmm_no_warningsProfile { + return new fmm_no_warningsProfile(resource) + } + + static createResource (args: fmm_no_warningsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: fmm_no_warningsProfileParams) : fmm_no_warningsProfile { + return fmm_no_warningsProfile.from(fmm_no_warningsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fmm-no-warnings"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings", "fmm-no-warnings"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_focusCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_focusCode.ts new file mode 100644 index 000000000..e26a8da74 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_focusCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type focusCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-focusCode (pkg: hl7.fhir.r4.examples#4.0.1) +export class focusCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-focusCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : focusCodeProfile { + return new focusCodeProfile(resource) + } + + static createResource (args: focusCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-focusCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: focusCodeProfileParams) : focusCodeProfile { + return focusCodeProfile.from(focusCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "focusCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-focusCode", "focusCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fullUrl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fullUrl.ts new file mode 100644 index 000000000..9539bcf9a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fullUrl.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type fullUrlProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/parameters-fullUrl (pkg: hl7.fhir.r4.examples#4.0.1) +export class fullUrlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : fullUrlProfile { + return new fullUrlProfile(resource) + } + + static createResource (args: fullUrlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: fullUrlProfileParams) : fullUrlProfile { + return fullUrlProfile.from(fullUrlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "fullUrl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl", "fullUrl"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_gatewayDevice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_gatewayDevice.ts new file mode 100644 index 000000000..d35ce4e99 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_gatewayDevice.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type gatewayDeviceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice (pkg: hl7.fhir.r4.examples#4.0.1) +export class gatewayDeviceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : gatewayDeviceProfile { + return new gatewayDeviceProfile(resource) + } + + static createResource (args: gatewayDeviceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: gatewayDeviceProfileParams) : gatewayDeviceProfile { + return gatewayDeviceProfile.from(gatewayDeviceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "gatewayDevice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice", "gatewayDevice"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_genderIdentity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_genderIdentity.ts new file mode 100644 index 000000000..954ac7243 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_genderIdentity.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type genderIdentityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity (pkg: hl7.fhir.r4.examples#4.0.1) +export class genderIdentityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : genderIdentityProfile { + return new genderIdentityProfile(resource) + } + + static createResource (args: genderIdentityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: genderIdentityProfileParams) : genderIdentityProfile { + return genderIdentityProfile.from(genderIdentityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "genderIdentity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity", "genderIdentity"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_glstring.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_glstring.ts new file mode 100644 index 000000000..1a8583b55 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_glstring.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring (pkg: hl7.fhir.r4.examples#4.0.1) +export class glstringProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : glstringProfile { + return new glstringProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring", + } as unknown as Extension + return resource + } + + static create () : glstringProfile { + return glstringProfile.from(glstringProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + public setUrl (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "url", valueUri: value } as Extension) + return this + } + + public setText (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "text", valueString: value } as Extension) + return this + } + + public getUrl (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "url") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getUrlExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "url") + return ext + } + + public getText (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "text") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTextExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "text") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "glstring"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring", "glstring"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_group.ts new file mode 100644 index 000000000..137338fe9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_group.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type groupProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/usagecontext-group (pkg: hl7.fhir.r4.examples#4.0.1) +export class groupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/usagecontext-group" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : groupProfile { + return new groupProfile(resource) + } + + static createResource (args: groupProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/usagecontext-group", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: groupProfileParams) : groupProfile { + return groupProfile.from(groupProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "group"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/usagecontext-group", "group"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_haploid.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_haploid.ts new file mode 100644 index 000000000..77e5155bf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_haploid.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid (pkg: hl7.fhir.r4.examples#4.0.1) +export class haploidProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : haploidProfile { + return new haploidProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid", + } as unknown as Extension + return resource + } + + static create () : haploidProfile { + return haploidProfile.from(haploidProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLocus (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "locus", valueCodeableConcept: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setMethod (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "method", valueCodeableConcept: value } as Extension) + return this + } + + public getLocus (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "locus") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getLocusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "locus") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getMethod (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "method") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getMethodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "method") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "haploid"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid", "haploid"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hidden.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hidden.ts new file mode 100644 index 000000000..182b8b40b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hidden.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type hiddenProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden (pkg: hl7.fhir.r4.examples#4.0.1) +export class hiddenProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : hiddenProfile { + return new hiddenProfile(resource) + } + + static createResource (args: hiddenProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: hiddenProfileParams) : hiddenProfile { + return hiddenProfile.from(hiddenProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "hidden"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", "hidden"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hierarchy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hierarchy.ts new file mode 100644 index 000000000..ac140692d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hierarchy.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type hierarchyProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy (pkg: hl7.fhir.r4.examples#4.0.1) +export class hierarchyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : hierarchyProfile { + return new hierarchyProfile(resource) + } + + static createResource (args: hierarchyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: hierarchyProfileParams) : hierarchyProfile { + return hierarchyProfile.from(hierarchyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "hierarchy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", "hierarchy"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_history.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_history.ts new file mode 100644 index 000000000..c28983a15 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_history.ts @@ -0,0 +1,82 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-history (pkg: hl7.fhir.r4.examples#4.0.1) +export class historyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-history" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : historyProfile { + return new historyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-history", + } as unknown as Extension + return resource + } + + static create () : historyProfile { + return historyProfile.from(historyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setRevision (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "revision", ...value }) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getRevision (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "revision") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "history"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-history", "history"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_http_response_header.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_http_response_header.ts new file mode 100644 index 000000000..28855bbb1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_http_response_header.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type http_response_headerProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/http-response-header (pkg: hl7.fhir.r4.examples#4.0.1) +export class http_response_headerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/http-response-header" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : http_response_headerProfile { + return new http_response_headerProfile(resource) + } + + static createResource (args: http_response_headerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/http-response-header", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: http_response_headerProfileParams) : http_response_headerProfile { + return http_response_headerProfile.from(http_response_headerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "http-response-header"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/http-response-header", "http-response-header"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_identifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_identifier.ts new file mode 100644 index 000000000..aafbd0dbf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_identifier.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type identifierProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier (pkg: hl7.fhir.r4.examples#4.0.1) +export class identifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : identifierProfile { + return new identifierProfile(resource) + } + + static createResource (args: identifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: identifierProfileParams) : identifierProfile { + return identifierProfile.from(identifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "identifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier", "identifier"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_implantStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_implantStatus.ts new file mode 100644 index 000000000..7a0c1bbf8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_implantStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type implantStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-implantStatus (pkg: hl7.fhir.r4.examples#4.0.1) +export class implantStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-implantStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : implantStatusProfile { + return new implantStatusProfile(resource) + } + + static createResource (args: implantStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-implantStatus", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: implantStatusProfileParams) : implantStatusProfile { + return implantStatusProfile.from(implantStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "implantStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-implantStatus", "implantStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_importance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_importance.ts new file mode 100644 index 000000000..6fdec9c2e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_importance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type importanceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-importance (pkg: hl7.fhir.r4.examples#4.0.1) +export class importanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-importance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : importanceProfile { + return new importanceProfile(resource) + } + + static createResource (args: importanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-importance", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: importanceProfileParams) : importanceProfile { + return importanceProfile.from(importanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "importance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-importance", "importance"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_incisionDateTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_incisionDateTime.ts new file mode 100644 index 000000000..b4a1d2ffd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_incisionDateTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type incisionDateTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime (pkg: hl7.fhir.r4.examples#4.0.1) +export class incisionDateTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : incisionDateTimeProfile { + return new incisionDateTimeProfile(resource) + } + + static createResource (args: incisionDateTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: incisionDateTimeProfileParams) : incisionDateTimeProfile { + return incisionDateTimeProfile.from(incisionDateTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "incisionDateTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime", "incisionDateTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_inheritedExtensibleValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_inheritedExtensibleValueSet.ts new file mode 100644 index 000000000..b4519ccfb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_inheritedExtensibleValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet (pkg: hl7.fhir.r4.examples#4.0.1) +export class inheritedExtensibleValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : inheritedExtensibleValueSetProfile { + return new inheritedExtensibleValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet", + } as unknown as Extension + return resource + } + + static create () : inheritedExtensibleValueSetProfile { + return inheritedExtensibleValueSetProfile.from(inheritedExtensibleValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "inheritedExtensibleValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet", "inheritedExtensibleValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initialValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initialValue.ts new file mode 100644 index 000000000..509c9d189 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initialValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type initialValueProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initialValue (pkg: hl7.fhir.r4.examples#4.0.1) +export class initialValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initialValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : initialValueProfile { + return new initialValueProfile(resource) + } + + static createResource (args: initialValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initialValue", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: initialValueProfileParams) : initialValueProfile { + return initialValueProfile.from(initialValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "initialValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initialValue", "initialValue"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingLocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingLocation.ts new file mode 100644 index 000000000..17e63395c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingLocation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type initiatingLocationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation (pkg: hl7.fhir.r4.examples#4.0.1) +export class initiatingLocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : initiatingLocationProfile { + return new initiatingLocationProfile(resource) + } + + static createResource (args: initiatingLocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: initiatingLocationProfileParams) : initiatingLocationProfile { + return initiatingLocationProfile.from(initiatingLocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "initiatingLocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation", "initiatingLocation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingOrganization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingOrganization.ts new file mode 100644 index 000000000..f245c15c0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingOrganization.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type initiatingOrganizationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization (pkg: hl7.fhir.r4.examples#4.0.1) +export class initiatingOrganizationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : initiatingOrganizationProfile { + return new initiatingOrganizationProfile(resource) + } + + static createResource (args: initiatingOrganizationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: initiatingOrganizationProfileParams) : initiatingOrganizationProfile { + return initiatingOrganizationProfile.from(initiatingOrganizationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "initiatingOrganization"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization", "initiatingOrganization"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingPerson.ts new file mode 100644 index 000000000..656fab330 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type initiatingPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson (pkg: hl7.fhir.r4.examples#4.0.1) +export class initiatingPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : initiatingPersonProfile { + return new initiatingPersonProfile(resource) + } + + static createResource (args: initiatingPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: initiatingPersonProfileParams) : initiatingPersonProfile { + return initiatingPersonProfile.from(initiatingPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "initiatingPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson", "initiatingPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesCanonical.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesCanonical.ts new file mode 100644 index 000000000..7cbbac088 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesCanonical.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type instantiatesCanonicalProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical (pkg: hl7.fhir.r4.examples#4.0.1) +export class instantiatesCanonicalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : instantiatesCanonicalProfile { + return new instantiatesCanonicalProfile(resource) + } + + static createResource (args: instantiatesCanonicalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: instantiatesCanonicalProfileParams) : instantiatesCanonicalProfile { + return instantiatesCanonicalProfile.from(instantiatesCanonicalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "instantiatesCanonical"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical", "instantiatesCanonical"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesUri.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesUri.ts new file mode 100644 index 000000000..02ed54773 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesUri.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type instantiatesUriProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri (pkg: hl7.fhir.r4.examples#4.0.1) +export class instantiatesUriProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : instantiatesUriProfile { + return new instantiatesUriProfile(resource) + } + + static createResource (args: instantiatesUriProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: instantiatesUriProfileParams) : instantiatesUriProfile { + return instantiatesUriProfile.from(instantiatesUriProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "instantiatesUri"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri", "instantiatesUri"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_insurance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_insurance.ts new file mode 100644 index 000000000..c970da0be --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_insurance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type insuranceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-insurance (pkg: hl7.fhir.r4.examples#4.0.1) +export class insuranceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-insurance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : insuranceProfile { + return new insuranceProfile(resource) + } + + static createResource (args: insuranceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-insurance", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: insuranceProfileParams) : insuranceProfile { + return insuranceProfile.from(insuranceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "insurance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-insurance", "insurance"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_interpreterRequired.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_interpreterRequired.ts new file mode 100644 index 000000000..32bc2ebeb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_interpreterRequired.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type interpreterRequiredProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired (pkg: hl7.fhir.r4.examples#4.0.1) +export class interpreterRequiredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : interpreterRequiredProfile { + return new interpreterRequiredProfile(resource) + } + + static createResource (args: interpreterRequiredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: interpreterRequiredProfileParams) : interpreterRequiredProfile { + return interpreterRequiredProfile.from(interpreterRequiredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "interpreterRequired"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired", "interpreterRequired"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isCommonBinding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isCommonBinding.ts new file mode 100644 index 000000000..d3ebb2b05 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isCommonBinding.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type isCommonBindingProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding (pkg: hl7.fhir.r4.examples#4.0.1) +export class isCommonBindingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : isCommonBindingProfile { + return new isCommonBindingProfile(resource) + } + + static createResource (args: isCommonBindingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: isCommonBindingProfileParams) : isCommonBindingProfile { + return isCommonBindingProfile.from(isCommonBindingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "isCommonBinding"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "isCommonBinding"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isDryWeight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isDryWeight.ts new file mode 100644 index 000000000..481aebfd0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isDryWeight.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type isDryWeightProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight (pkg: hl7.fhir.r4.examples#4.0.1) +export class isDryWeightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : isDryWeightProfile { + return new isDryWeightProfile(resource) + } + + static createResource (args: isDryWeightProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: isDryWeightProfileParams) : isDryWeightProfile { + return isDryWeightProfile.from(isDryWeightProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "isDryWeight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight", "isDryWeight"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_issue_source.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_issue_source.ts new file mode 100644 index 000000000..19d7bbf7f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_issue_source.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type issue_sourceProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source (pkg: hl7.fhir.r4.examples#4.0.1) +export class issue_sourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : issue_sourceProfile { + return new issue_sourceProfile(resource) + } + + static createResource (args: issue_sourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: issue_sourceProfileParams) : issue_sourceProfile { + return issue_sourceProfile.from(issue_sourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "issue-source"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source", "issue-source"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_itemControl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_itemControl.ts new file mode 100644 index 000000000..c60579704 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_itemControl.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type itemControlProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl (pkg: hl7.fhir.r4.examples#4.0.1) +export class itemControlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : itemControlProfile { + return new itemControlProfile(resource) + } + + static createResource (args: itemControlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: itemControlProfileParams) : itemControlProfile { + return itemControlProfile.from(itemControlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "itemControl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "itemControl"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_keyWord.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_keyWord.ts new file mode 100644 index 000000000..fea117921 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_keyWord.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type keyWordProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-keyWord (pkg: hl7.fhir.r4.examples#4.0.1) +export class keyWordProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-keyWord" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : keyWordProfile { + return new keyWordProfile(resource) + } + + static createResource (args: keyWordProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-keyWord", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: keyWordProfileParams) : keyWordProfile { + return keyWordProfile.from(keyWordProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "keyWord"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-keyWord", "keyWord"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_label.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_label.ts new file mode 100644 index 000000000..6815972e2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_label.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type labelProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-label (pkg: hl7.fhir.r4.examples#4.0.1) +export class labelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-label" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : labelProfile { + return new labelProfile(resource) + } + + static createResource (args: labelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-label", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: labelProfileParams) : labelProfile { + return labelProfile.from(labelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "label"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-label", "label"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_lastReviewDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_lastReviewDate.ts new file mode 100644 index 000000000..a0e407b4b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_lastReviewDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type lastReviewDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate (pkg: hl7.fhir.r4.examples#4.0.1) +export class lastReviewDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : lastReviewDateProfile { + return new lastReviewDateProfile(resource) + } + + static createResource (args: lastReviewDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: lastReviewDateProfileParams) : lastReviewDateProfile { + return lastReviewDateProfile.from(lastReviewDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "lastReviewDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate", "lastReviewDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_library.ts new file mode 100644 index 000000000..9a7e6a284 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_library.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type libraryProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-library (pkg: hl7.fhir.r4.examples#4.0.1) +export class libraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-library" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : libraryProfile { + return new libraryProfile(resource) + } + + static createResource (args: libraryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-library", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: libraryProfileParams) : libraryProfile { + return libraryProfile.from(libraryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "library"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-library", "library"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_local.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_local.ts new file mode 100644 index 000000000..317d59590 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_local.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type localProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-local (pkg: hl7.fhir.r4.examples#4.0.1) +export class localProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-local" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : localProfile { + return new localProfile(resource) + } + + static createResource (args: localProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-local", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: localProfileParams) : localProfile { + return localProfile.from(localProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "local"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-local", "local"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location.ts new file mode 100644 index 000000000..ce8fbe908 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type locationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-location (pkg: hl7.fhir.r4.examples#4.0.1) +export class locationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-location" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : locationProfile { + return new locationProfile(resource) + } + + static createResource (args: locationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-location", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: locationProfileParams) : locationProfile { + return locationProfile.from(locationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "location"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-location", "location"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_locationPerformed.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_locationPerformed.ts new file mode 100644 index 000000000..9a3c3b0b8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_locationPerformed.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type locationPerformedProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed (pkg: hl7.fhir.r4.examples#4.0.1) +export class locationPerformedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : locationPerformedProfile { + return new locationPerformedProfile(resource) + } + + static createResource (args: locationPerformedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: locationPerformedProfileParams) : locationPerformedProfile { + return locationPerformedProfile.from(locationPerformedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "locationPerformed"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed", "locationPerformed"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location_distance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location_distance.ts new file mode 100644 index 000000000..070639a3a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location_distance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Distance } from "../../hl7-fhir-r4-examples/Distance"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type location_distanceProfileParams = { + valueDistance: Distance; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/location-distance (pkg: hl7.fhir.r4.examples#4.0.1) +export class location_distanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/location-distance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : location_distanceProfile { + return new location_distanceProfile(resource) + } + + static createResource (args: location_distanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/location-distance", + valueDistance: args.valueDistance, + } as unknown as Extension + return resource + } + + static create (args: location_distanceProfileParams) : location_distanceProfile { + return location_distanceProfile.from(location_distanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDistance () : Distance | undefined { + return this.resource.valueDistance as Distance | undefined + } + + setValueDistance (value: Distance) : this { + Object.assign(this.resource, { valueDistance: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "location-distance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/location-distance", "location-distance"); if (e) errors.push(e) } + if (!(r["valueDistance"] !== undefined)) { + errors.push("value: at least one of valueDistance is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_management.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_management.ts new file mode 100644 index 000000000..c496051fe --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_management.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type managementProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-management (pkg: hl7.fhir.r4.examples#4.0.1) +export class managementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-management" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : managementProfile { + return new managementProfile(resource) + } + + static createResource (args: managementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-management", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: managementProfileParams) : managementProfile { + return managementProfile.from(managementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "management"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-management", "management"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_map.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_map.ts new file mode 100644 index 000000000..a77564130 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_map.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-map (pkg: hl7.fhir.r4.examples#4.0.1) +export class mapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-map" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mapProfile { + return new mapProfile(resource) + } + + static createResource (args: mapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-map", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: mapProfileParams) : mapProfile { + return mapProfile.from(mapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "map"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-map", "map"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_markdown.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_markdown.ts new file mode 100644 index 000000000..31fe5c031 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_markdown.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type markdownProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-markdown (pkg: hl7.fhir.r4.examples#4.0.1) +export class markdownProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-markdown" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : markdownProfile { + return new markdownProfile(resource) + } + + static createResource (args: markdownProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-markdown", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: markdownProfileParams) : markdownProfile { + return markdownProfile.from(markdownProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "markdown"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-markdown", "markdown"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_match_grade.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_match_grade.ts new file mode 100644 index 000000000..edb3d4daf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_match_grade.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type match_gradeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/match-grade (pkg: hl7.fhir.r4.examples#4.0.1) +export class match_gradeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/match-grade" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : match_gradeProfile { + return new match_gradeProfile(resource) + } + + static createResource (args: match_gradeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/match-grade", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: match_gradeProfileParams) : match_gradeProfile { + return match_gradeProfile.from(match_gradeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "match-grade"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/match-grade", "match-grade"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxDecimalPlaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxDecimalPlaces.ts new file mode 100644 index 000000000..d2724c103 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxDecimalPlaces.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type maxDecimalPlacesProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces (pkg: hl7.fhir.r4.examples#4.0.1) +export class maxDecimalPlacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxDecimalPlacesProfile { + return new maxDecimalPlacesProfile(resource) + } + + static createResource (args: maxDecimalPlacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: maxDecimalPlacesProfileParams) : maxDecimalPlacesProfile { + return maxDecimalPlacesProfile.from(maxDecimalPlacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxDecimalPlaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces", "maxDecimalPlaces"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxOccurs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxOccurs.ts new file mode 100644 index 000000000..fd1375469 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxOccurs.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type maxOccursProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs (pkg: hl7.fhir.r4.examples#4.0.1) +export class maxOccursProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxOccursProfile { + return new maxOccursProfile(resource) + } + + static createResource (args: maxOccursProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: maxOccursProfileParams) : maxOccursProfile { + return maxOccursProfile.from(maxOccursProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxOccurs"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "maxOccurs"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxSize.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxSize.ts new file mode 100644 index 000000000..b5fb0af01 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxSize.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type maxSizeProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxSize (pkg: hl7.fhir.r4.examples#4.0.1) +export class maxSizeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxSize" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxSizeProfile { + return new maxSizeProfile(resource) + } + + static createResource (args: maxSizeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxSize", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: maxSizeProfileParams) : maxSizeProfile { + return maxSizeProfile.from(maxSizeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxSize"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxSize", "maxSize"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValue.ts new file mode 100644 index 000000000..f2830df23 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValue.ts @@ -0,0 +1,113 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxValue (pkg: hl7.fhir.r4.examples#4.0.1) +export class maxValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxValueProfile { + return new maxValueProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxValue", + } as unknown as Extension + return resource + } + + static create () : maxValueProfile { + return maxValueProfile.from(maxValueProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueInstant () : string | undefined { + return this.resource.valueInstant as string | undefined + } + + setValueInstant (value: string) : this { + Object.assign(this.resource, { valueInstant: value }) + return this + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxValue", "maxValue"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueDateTime"] !== undefined || r["valueTime"] !== undefined || r["valueInstant"] !== undefined || r["valueDecimal"] !== undefined || r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueDate, valueDateTime, valueTime, valueInstant, valueDecimal, valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValueSet.ts new file mode 100644 index 000000000..df4dcfb5e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet (pkg: hl7.fhir.r4.examples#4.0.1) +export class maxValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : maxValueSetProfile { + return new maxValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + } as unknown as Extension + return resource + } + + static create () : maxValueSetProfile { + return maxValueSetProfile.from(maxValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "maxValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "maxValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_measureInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_measureInfo.ts new file mode 100644 index 000000000..ec38ff71c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_measureInfo.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-measureInfo (pkg: hl7.fhir.r4.examples#4.0.1) +export class measureInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : measureInfoProfile { + return new measureInfoProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", + } as unknown as Extension + return resource + } + + static create () : measureInfoProfile { + return measureInfoProfile.from(measureInfoProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMeasure (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "measure", valueCanonical: value } as Extension) + return this + } + + public setGroupId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "groupId", valueString: value } as Extension) + return this + } + + public setPopulationId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "populationId", valueString: value } as Extension) + return this + } + + public getMeasure (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "measure") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getMeasureExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "measure") + return ext + } + + public getGroupId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "groupId") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getGroupIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "groupId") + return ext + } + + public getPopulationId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "populationId") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPopulationIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "populationId") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "measureInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", "measureInfo"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_media.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_media.ts new file mode 100644 index 000000000..9f01aa866 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_media.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r4-examples/Attachment"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mediaProfileParams = { + valueAttachment: Attachment; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/communication-media (pkg: hl7.fhir.r4.examples#4.0.1) +export class mediaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/communication-media" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mediaProfile { + return new mediaProfile(resource) + } + + static createResource (args: mediaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/communication-media", + valueAttachment: args.valueAttachment, + } as unknown as Extension + return resource + } + + static create (args: mediaProfileParams) : mediaProfile { + return mediaProfile.from(mediaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAttachment () : Attachment | undefined { + return this.resource.valueAttachment as Attachment | undefined + } + + setValueAttachment (value: Attachment) : this { + Object.assign(this.resource, { valueAttachment: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "media"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/communication-media", "media"); if (e) errors.push(e) } + if (!(r["valueAttachment"] !== undefined)) { + errors.push("value: at least one of valueAttachment is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_messageheader_response_request.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_messageheader_response_request.ts new file mode 100644 index 000000000..3c07b924d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_messageheader_response_request.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type messageheader_response_requestProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/messageheader-response-request (pkg: hl7.fhir.r4.examples#4.0.1) +export class messageheader_response_requestProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/messageheader-response-request" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : messageheader_response_requestProfile { + return new messageheader_response_requestProfile(resource) + } + + static createResource (args: messageheader_response_requestProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/messageheader-response-request", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: messageheader_response_requestProfileParams) : messageheader_response_requestProfile { + return messageheader_response_requestProfile.from(messageheader_response_requestProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "messageheader-response-request"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/messageheader-response-request", "messageheader-response-request"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_method.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_method.ts new file mode 100644 index 000000000..d76455c11 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_method.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type methodProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-method (pkg: hl7.fhir.r4.examples#4.0.1) +export class methodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-method" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : methodProfile { + return new methodProfile(resource) + } + + static createResource (args: methodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-method", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: methodProfileParams) : methodProfile { + return methodProfile.from(methodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "method"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-method", "method"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mimeType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mimeType.ts new file mode 100644 index 000000000..db6a39a51 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mimeType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mimeTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/mimeType (pkg: hl7.fhir.r4.examples#4.0.1) +export class mimeTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/mimeType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mimeTypeProfile { + return new mimeTypeProfile(resource) + } + + static createResource (args: mimeTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/mimeType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: mimeTypeProfileParams) : mimeTypeProfile { + return mimeTypeProfile.from(mimeTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "mimeType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/mimeType", "mimeType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minLength.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minLength.ts new file mode 100644 index 000000000..00b3c8148 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minLength.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type minLengthProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/minLength (pkg: hl7.fhir.r4.examples#4.0.1) +export class minLengthProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/minLength" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : minLengthProfile { + return new minLengthProfile(resource) + } + + static createResource (args: minLengthProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/minLength", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: minLengthProfileParams) : minLengthProfile { + return minLengthProfile.from(minLengthProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "minLength"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/minLength", "minLength"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minOccurs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minOccurs.ts new file mode 100644 index 000000000..bdc525110 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minOccurs.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type minOccursProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs (pkg: hl7.fhir.r4.examples#4.0.1) +export class minOccursProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : minOccursProfile { + return new minOccursProfile(resource) + } + + static createResource (args: minOccursProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: minOccursProfileParams) : minOccursProfile { + return minOccursProfile.from(minOccursProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "minOccurs"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "minOccurs"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValue.ts new file mode 100644 index 000000000..9ba985c73 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValue.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/minValue (pkg: hl7.fhir.r4.examples#4.0.1) +export class minValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/minValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : minValueProfile { + return new minValueProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/minValue", + } as unknown as Extension + return resource + } + + static create () : minValueProfile { + return minValueProfile.from(minValueProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "minValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/minValue", "minValue"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueDateTime"] !== undefined || r["valueTime"] !== undefined || r["valueDecimal"] !== undefined || r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueDate, valueDateTime, valueTime, valueDecimal, valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValueSet.ts new file mode 100644 index 000000000..819e37259 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet (pkg: hl7.fhir.r4.examples#4.0.1) +export class minValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : minValueSetProfile { + return new minValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + } as unknown as Extension + return resource + } + + static create () : minValueSetProfile { + return minValueSetProfile.from(minValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "minValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", "minValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_modeOfArrival.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_modeOfArrival.ts new file mode 100644 index 000000000..f8a0d0ac0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_modeOfArrival.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type modeOfArrivalProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival (pkg: hl7.fhir.r4.examples#4.0.1) +export class modeOfArrivalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : modeOfArrivalProfile { + return new modeOfArrivalProfile(resource) + } + + static createResource (args: modeOfArrivalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: modeOfArrivalProfileParams) : modeOfArrivalProfile { + return modeOfArrivalProfile.from(modeOfArrivalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "modeOfArrival"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", "modeOfArrival"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothersMaidenName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothersMaidenName.ts new file mode 100644 index 000000000..67e1ef235 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothersMaidenName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mothersMaidenNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName (pkg: hl7.fhir.r4.examples#4.0.1) +export class mothersMaidenNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mothersMaidenNameProfile { + return new mothersMaidenNameProfile(resource) + } + + static createResource (args: mothersMaidenNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: mothersMaidenNameProfileParams) : mothersMaidenNameProfile { + return mothersMaidenNameProfile.from(mothersMaidenNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "mothersMaidenName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", "mothersMaidenName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothers_family.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothers_family.ts new file mode 100644 index 000000000..a34d8e808 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothers_family.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type mothers_familyProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-mothers-family (pkg: hl7.fhir.r4.examples#4.0.1) +export class mothers_familyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : mothers_familyProfile { + return new mothers_familyProfile(resource) + } + + static createResource (args: mothers_familyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: mothers_familyProfileParams) : mothers_familyProfile { + return mothers_familyProfile.from(mothers_familyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "mothers-family"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family", "mothers-family"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_namespace.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_namespace.ts new file mode 100644 index 000000000..2510aefb9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_namespace.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type namespaceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace (pkg: hl7.fhir.r4.examples#4.0.1) +export class namespaceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : namespaceProfile { + return new namespaceProfile(resource) + } + + static createResource (args: namespaceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: namespaceProfileParams) : namespaceProfile { + return namespaceProfile.from(namespaceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "namespace"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace", "namespace"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nationality.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nationality.ts new file mode 100644 index 000000000..933f1f1b9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nationality.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-nationality (pkg: hl7.fhir.r4.examples#4.0.1) +export class nationalityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-nationality" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : nationalityProfile { + return new nationalityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-nationality", + } as unknown as Extension + return resource + } + + static create () : nationalityProfile { + return nationalityProfile.from(nationalityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "nationality"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-nationality", "nationality"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_normative_version.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_normative_version.ts new file mode 100644 index 000000000..530427e1f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_normative_version.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type normative_versionProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version (pkg: hl7.fhir.r4.examples#4.0.1) +export class normative_versionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : normative_versionProfile { + return new normative_versionProfile(resource) + } + + static createResource (args: normative_versionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: normative_versionProfileParams) : normative_versionProfile { + return normative_versionProfile.from(normative_versionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "normative-version"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "normative-version"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nullFlavor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nullFlavor.ts new file mode 100644 index 000000000..d2a153a9d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nullFlavor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type nullFlavorProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor (pkg: hl7.fhir.r4.examples#4.0.1) +export class nullFlavorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : nullFlavorProfile { + return new nullFlavorProfile(resource) + } + + static createResource (args: nullFlavorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: nullFlavorProfileParams) : nullFlavorProfile { + return nullFlavorProfile.from(nullFlavorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "nullFlavor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor", "nullFlavor"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_oauth_uris.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_oauth_uris.ts new file mode 100644 index 000000000..4d2b1204f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_oauth_uris.ts @@ -0,0 +1,135 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type oauth_urisProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris (pkg: hl7.fhir.r4.examples#4.0.1) +export class oauth_urisProfile { + static readonly canonicalUrl = "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : oauth_urisProfile { + return new oauth_urisProfile(resource) + } + + static createResource (args: oauth_urisProfileParams) : Extension { + const resource: Extension = { + url: "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: oauth_urisProfileParams) : oauth_urisProfile { + return oauth_urisProfile.from(oauth_urisProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setAuthorize (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "authorize", valueUri: value } as Extension) + return this + } + + public setToken (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "token", valueUri: value } as Extension) + return this + } + + public setRegister (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "register", valueUri: value } as Extension) + return this + } + + public setManage (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "manage", valueUri: value } as Extension) + return this + } + + public getAuthorize (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "authorize") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getAuthorizeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "authorize") + return ext + } + + public getToken (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "token") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getTokenExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "token") + return ext + } + + public getRegister (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "register") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getRegisterExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "register") + return ext + } + + public getManage (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "manage") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getManageExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "manage") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "oauth-uris"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "oauth-uris"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", "oauth-uris"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClass.ts new file mode 100644 index 000000000..9f9adbe7f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type objectClassProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-objectClass (pkg: hl7.fhir.r4.examples#4.0.1) +export class objectClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-objectClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : objectClassProfile { + return new objectClassProfile(resource) + } + + static createResource (args: objectClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-objectClass", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: objectClassProfileParams) : objectClassProfile { + return objectClassProfile.from(objectClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "objectClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-objectClass", "objectClass"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClassProperty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClassProperty.ts new file mode 100644 index 000000000..840e2aebd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClassProperty.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type objectClassPropertyProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty (pkg: hl7.fhir.r4.examples#4.0.1) +export class objectClassPropertyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : objectClassPropertyProfile { + return new objectClassPropertyProfile(resource) + } + + static createResource (args: objectClassPropertyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: objectClassPropertyProfileParams) : objectClassPropertyProfile { + return objectClassPropertyProfile.from(objectClassPropertyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "objectClassProperty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty", "objectClassProperty"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_observation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_observation.ts new file mode 100644 index 000000000..4ea2e4f1b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_observation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation (pkg: hl7.fhir.r4.examples#4.0.1) +export class observationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : observationProfile { + return new observationProfile(resource) + } + + static createResource (args: observationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: observationProfileParams) : observationProfile { + return observationProfile.from(observationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "observation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", "observation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_occurredFollowing.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_occurredFollowing.ts new file mode 100644 index 000000000..ec30d68b0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_occurredFollowing.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing (pkg: hl7.fhir.r4.examples#4.0.1) +export class occurredFollowingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : occurredFollowingProfile { + return new occurredFollowingProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing", + } as unknown as Extension + return resource + } + + static create () : occurredFollowingProfile { + return occurredFollowingProfile.from(occurredFollowingProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "occurredFollowing"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing", "occurredFollowing"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionExclusive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionExclusive.ts new file mode 100644 index 000000000..cb45dfe8a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionExclusive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type optionExclusiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive (pkg: hl7.fhir.r4.examples#4.0.1) +export class optionExclusiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : optionExclusiveProfile { + return new optionExclusiveProfile(resource) + } + + static createResource (args: optionExclusiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: optionExclusiveProfileParams) : optionExclusiveProfile { + return optionExclusiveProfile.from(optionExclusiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "optionExclusive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive", "optionExclusive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionPrefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionPrefix.ts new file mode 100644 index 000000000..4e4630e2e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionPrefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type optionPrefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix (pkg: hl7.fhir.r4.examples#4.0.1) +export class optionPrefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : optionPrefixProfile { + return new optionPrefixProfile(resource) + } + + static createResource (args: optionPrefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: optionPrefixProfileParams) : optionPrefixProfile { + return optionPrefixProfile.from(optionPrefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "optionPrefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", "optionPrefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherConfidentiality.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherConfidentiality.ts new file mode 100644 index 000000000..76e5a9d09 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherConfidentiality.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type otherConfidentialityProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality (pkg: hl7.fhir.r4.examples#4.0.1) +export class otherConfidentialityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : otherConfidentialityProfile { + return new otherConfidentialityProfile(resource) + } + + static createResource (args: otherConfidentialityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: otherConfidentialityProfileParams) : otherConfidentialityProfile { + return otherConfidentialityProfile.from(otherConfidentialityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "otherConfidentiality"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality", "otherConfidentiality"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherName.ts new file mode 100644 index 000000000..685cac129 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherName.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type otherNameProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-otherName (pkg: hl7.fhir.r4.examples#4.0.1) +export class otherNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-otherName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : otherNameProfile { + return new otherNameProfile(resource) + } + + static createResource (args: otherNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-otherName", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: otherNameProfileParams) : otherNameProfile { + return otherNameProfile.from(otherNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setPreferred (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "preferred", valueBoolean: value } as Extension) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getPreferred (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getPreferredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "otherName"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "otherName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-otherName", "otherName"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_outcome.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_outcome.ts new file mode 100644 index 000000000..34734cb2e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_outcome.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type outcomeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-outcome (pkg: hl7.fhir.r4.examples#4.0.1) +export class outcomeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-outcome" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : outcomeProfile { + return new outcomeProfile(resource) + } + + static createResource (args: outcomeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-outcome", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: outcomeProfileParams) : outcomeProfile { + return outcomeProfile.from(outcomeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "outcome"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-outcome", "outcome"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_name.ts new file mode 100644 index 000000000..eb944a940 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type own_nameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-own-name (pkg: hl7.fhir.r4.examples#4.0.1) +export class own_nameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-own-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : own_nameProfile { + return new own_nameProfile(resource) + } + + static createResource (args: own_nameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-own-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: own_nameProfileParams) : own_nameProfile { + return own_nameProfile.from(own_nameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "own-name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-own-name", "own-name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_prefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_prefix.ts new file mode 100644 index 000000000..135405544 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_prefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type own_prefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-own-prefix (pkg: hl7.fhir.r4.examples#4.0.1) +export class own_prefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : own_prefixProfile { + return new own_prefixProfile(resource) + } + + static createResource (args: own_prefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: own_prefixProfileParams) : own_prefixProfile { + return own_prefixProfile.from(own_prefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "own-prefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", "own-prefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parameterSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parameterSource.ts new file mode 100644 index 000000000..c67557b68 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parameterSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type parameterSourceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-parameterSource (pkg: hl7.fhir.r4.examples#4.0.1) +export class parameterSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : parameterSourceProfile { + return new parameterSourceProfile(resource) + } + + static createResource (args: parameterSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: parameterSourceProfileParams) : parameterSourceProfile { + return parameterSourceProfile.from(parameterSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "parameterSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource", "parameterSource"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parent.ts new file mode 100644 index 000000000..3aa29ed11 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parent.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type parentProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent (pkg: hl7.fhir.r4.examples#4.0.1) +export class parentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : parentProfile { + return new parentProfile(resource) + } + + static createResource (args: parentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: parentProfileParams) : parentProfile { + return parentProfile.from(parentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "parent"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "parent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", "parent"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partOf.ts new file mode 100644 index 000000000..3a9142539 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type partOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-partOf (pkg: hl7.fhir.r4.examples#4.0.1) +export class partOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-partOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : partOfProfile { + return new partOfProfile(resource) + } + + static createResource (args: partOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-partOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: partOfProfileParams) : partOfProfile { + return partOfProfile.from(partOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "partOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-partOf", "partOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_name.ts new file mode 100644 index 000000000..06991cac4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type partner_nameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-partner-name (pkg: hl7.fhir.r4.examples#4.0.1) +export class partner_nameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-partner-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : partner_nameProfile { + return new partner_nameProfile(resource) + } + + static createResource (args: partner_nameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-partner-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: partner_nameProfileParams) : partner_nameProfile { + return partner_nameProfile.from(partner_nameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "partner-name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-partner-name", "partner-name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_prefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_prefix.ts new file mode 100644 index 000000000..7b6a13ae9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_prefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type partner_prefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix (pkg: hl7.fhir.r4.examples#4.0.1) +export class partner_prefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : partner_prefixProfile { + return new partner_prefixProfile(resource) + } + + static createResource (args: partner_prefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: partner_prefixProfileParams) : partner_prefixProfile { + return partner_prefixProfile.from(partner_prefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "partner-prefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix", "partner-prefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patientInstruction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patientInstruction.ts new file mode 100644 index 000000000..84084e05c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patientInstruction.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type patientInstructionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction (pkg: hl7.fhir.r4.examples#4.0.1) +export class patientInstructionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : patientInstructionProfile { + return new patientInstructionProfile(resource) + } + + static createResource (args: patientInstructionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: patientInstructionProfileParams) : patientInstructionProfile { + return patientInstructionProfile.from(patientInstructionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLang (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "lang", valueCode: value } as Extension) + return this + } + + public setContent (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "content", valueString: value } as Extension) + return this + } + + public getLang (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getLangExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return ext + } + + public getContent (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getContentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "patientInstruction"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "patientInstruction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction", "patientInstruction"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patient_record.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patient_record.ts new file mode 100644 index 000000000..27ec3b8ae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patient_record.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type patient_recordProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record (pkg: hl7.fhir.r4.examples#4.0.1) +export class patient_recordProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : patient_recordProfile { + return new patient_recordProfile(resource) + } + + static createResource (args: patient_recordProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: patient_recordProfileParams) : patient_recordProfile { + return patient_recordProfile.from(patient_recordProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "patient-record"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record", "patient-record"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerFunction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerFunction.ts new file mode 100644 index 000000000..877776996 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerFunction.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type performerFunctionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-performerFunction (pkg: hl7.fhir.r4.examples#4.0.1) +export class performerFunctionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-performerFunction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : performerFunctionProfile { + return new performerFunctionProfile(resource) + } + + static createResource (args: performerFunctionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-performerFunction", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: performerFunctionProfileParams) : performerFunctionProfile { + return performerFunctionProfile.from(performerFunctionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "performerFunction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-performerFunction", "performerFunction"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerOrder.ts new file mode 100644 index 000000000..c7faedff5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerOrder.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type performerOrderProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-performerOrder (pkg: hl7.fhir.r4.examples#4.0.1) +export class performerOrderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-performerOrder" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : performerOrderProfile { + return new performerOrderProfile(resource) + } + + static createResource (args: performerOrderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-performerOrder", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: performerOrderProfileParams) : performerOrderProfile { + return performerOrderProfile.from(performerOrderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "performerOrder"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-performerOrder", "performerOrder"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_period.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_period.ts new file mode 100644 index 000000000..eec1b28be --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_period.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type periodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-period (pkg: hl7.fhir.r4.examples#4.0.1) +export class periodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-period" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : periodProfile { + return new periodProfile(resource) + } + + static createResource (args: periodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-period", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: periodProfileParams) : periodProfile { + return periodProfile.from(periodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "period"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-period", "period"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_conceptmap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_conceptmap.ts new file mode 100644 index 000000000..12aecbcff --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_conceptmap.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type permitted_value_conceptmapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap (pkg: hl7.fhir.r4.examples#4.0.1) +export class permitted_value_conceptmapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : permitted_value_conceptmapProfile { + return new permitted_value_conceptmapProfile(resource) + } + + static createResource (args: permitted_value_conceptmapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: permitted_value_conceptmapProfileParams) : permitted_value_conceptmapProfile { + return permitted_value_conceptmapProfile.from(permitted_value_conceptmapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "permitted-value-conceptmap"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap", "permitted-value-conceptmap"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_valueset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_valueset.ts new file mode 100644 index 000000000..1c5c6b0ec --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_valueset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type permitted_value_valuesetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset (pkg: hl7.fhir.r4.examples#4.0.1) +export class permitted_value_valuesetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : permitted_value_valuesetProfile { + return new permitted_value_valuesetProfile(resource) + } + + static createResource (args: permitted_value_valuesetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: permitted_value_valuesetProfileParams) : permitted_value_valuesetProfile { + return permitted_value_valuesetProfile.from(permitted_value_valuesetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "permitted-value-valueset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset", "permitted-value-valueset"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_pertainsToGoal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_pertainsToGoal.ts new file mode 100644 index 000000000..21ac52dac --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_pertainsToGoal.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type pertainsToGoalProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal (pkg: hl7.fhir.r4.examples#4.0.1) +export class pertainsToGoalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : pertainsToGoalProfile { + return new pertainsToGoalProfile(resource) + } + + static createResource (args: pertainsToGoalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: pertainsToGoalProfileParams) : pertainsToGoalProfile { + return pertainsToGoalProfile.from(pertainsToGoalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "pertainsToGoal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal", "pertainsToGoal"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precision.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precision.ts new file mode 100644 index 000000000..4ebbfdd26 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precision.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type precisionProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/quantity-precision (pkg: hl7.fhir.r4.examples#4.0.1) +export class precisionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/quantity-precision" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : precisionProfile { + return new precisionProfile(resource) + } + + static createResource (args: precisionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/quantity-precision", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: precisionProfileParams) : precisionProfile { + return precisionProfile.from(precisionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "precision"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/quantity-precision", "precision"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precondition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precondition.ts new file mode 100644 index 000000000..8bb6535ab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precondition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type preconditionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-precondition (pkg: hl7.fhir.r4.examples#4.0.1) +export class preconditionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : preconditionProfile { + return new preconditionProfile(resource) + } + + static createResource (args: preconditionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: preconditionProfileParams) : preconditionProfile { + return preconditionProfile.from(preconditionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "precondition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition", "precondition"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferenceType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferenceType.ts new file mode 100644 index 000000000..8bdf6a412 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferenceType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type preferenceTypeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-preferenceType (pkg: hl7.fhir.r4.examples#4.0.1) +export class preferenceTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-preferenceType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : preferenceTypeProfile { + return new preferenceTypeProfile(resource) + } + + static createResource (args: preferenceTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-preferenceType", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: preferenceTypeProfileParams) : preferenceTypeProfile { + return preferenceTypeProfile.from(preferenceTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "preferenceType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-preferenceType", "preferenceType"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferred.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferred.ts new file mode 100644 index 000000000..81d00c89e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferred.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type preferredProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-preferred (pkg: hl7.fhir.r4.examples#4.0.1) +export class preferredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-preferred" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : preferredProfile { + return new preferredProfile(resource) + } + + static createResource (args: preferredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-preferred", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: preferredProfileParams) : preferredProfile { + return preferredProfile.from(preferredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "preferred"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-preferred", "preferred"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferredContact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferredContact.ts new file mode 100644 index 000000000..05365621f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferredContact.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type preferredContactProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-preferredContact (pkg: hl7.fhir.r4.examples#4.0.1) +export class preferredContactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-preferredContact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : preferredContactProfile { + return new preferredContactProfile(resource) + } + + static createResource (args: preferredContactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-preferredContact", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: preferredContactProfileParams) : preferredContactProfile { + return preferredContactProfile.from(preferredContactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "preferredContact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-preferredContact", "preferredContact"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_primaryInd.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_primaryInd.ts new file mode 100644 index 000000000..e637aa6a0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_primaryInd.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type primaryIndProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd (pkg: hl7.fhir.r4.examples#4.0.1) +export class primaryIndProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : primaryIndProfile { + return new primaryIndProfile(resource) + } + + static createResource (args: primaryIndProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: primaryIndProfileParams) : primaryIndProfile { + return primaryIndProfile.from(primaryIndProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "primaryInd"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd", "primaryInd"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_priority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_priority.ts new file mode 100644 index 000000000..dc164e0d8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_priority.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type priorityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/flag-priority (pkg: hl7.fhir.r4.examples#4.0.1) +export class priorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/flag-priority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : priorityProfile { + return new priorityProfile(resource) + } + + static createResource (args: priorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/flag-priority", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: priorityProfileParams) : priorityProfile { + return priorityProfile.from(priorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "priority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/flag-priority", "priority"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_processingTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_processingTime.ts new file mode 100644 index 000000000..d17532989 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_processingTime.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-examples/Duration"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-processingTime (pkg: hl7.fhir.r4.examples#4.0.1) +export class processingTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-processingTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : processingTimeProfile { + return new processingTimeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-processingTime", + } as unknown as Extension + return resource + } + + static create () : processingTimeProfile { + return processingTimeProfile.from(processingTimeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "processingTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-processingTime", "processingTime"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined || r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valuePeriod, valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_proficiency.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_proficiency.ts new file mode 100644 index 000000000..e77414fc6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_proficiency.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-proficiency (pkg: hl7.fhir.r4.examples#4.0.1) +export class proficiencyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-proficiency" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : proficiencyProfile { + return new proficiencyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-proficiency", + } as unknown as Extension + return resource + } + + static create () : proficiencyProfile { + return proficiencyProfile.from(proficiencyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLevel (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "level", valueCoding: value } as Extension) + return this + } + + public setType (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCoding: value } as Extension) + return this + } + + public getLevel (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "level") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "level") + return ext + } + + public getType (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "proficiency"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-proficiency", "proficiency"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile.ts new file mode 100644 index 000000000..1871405f6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type profileProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationdefinition-profile (pkg: hl7.fhir.r4.examples#4.0.1) +export class profileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : profileProfile { + return new profileProfile(resource) + } + + static createResource (args: profileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: profileProfileParams) : profileProfile { + return profileProfile.from(profileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "profile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile", "profile"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile_element.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile_element.ts new file mode 100644 index 000000000..53d202cc9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile_element.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type profile_elementProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element (pkg: hl7.fhir.r4.examples#4.0.1) +export class profile_elementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : profile_elementProfile { + return new profile_elementProfile(resource) + } + + static createResource (args: profile_elementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: profile_elementProfileParams) : profile_elementProfile { + return profile_elementProfile.from(profile_elementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "profile-element"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element", "profile-element"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_progressStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_progressStatus.ts new file mode 100644 index 000000000..9d6db57ae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_progressStatus.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type progressStatusProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-progressStatus (pkg: hl7.fhir.r4.examples#4.0.1) +export class progressStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : progressStatusProfile { + return new progressStatusProfile(resource) + } + + static createResource (args: progressStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: progressStatusProfileParams) : progressStatusProfile { + return progressStatusProfile.from(progressStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "progressStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus", "progressStatus"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_prohibited.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_prohibited.ts new file mode 100644 index 000000000..f5e6c04b8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_prohibited.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type prohibitedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited (pkg: hl7.fhir.r4.examples#4.0.1) +export class prohibitedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : prohibitedProfile { + return new prohibitedProfile(resource) + } + + static createResource (args: prohibitedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: prohibitedProfileParams) : prohibitedProfile { + return prohibitedProfile.from(prohibitedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "prohibited"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited", "prohibited"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_qualityOfEvidence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_qualityOfEvidence.ts new file mode 100644 index 000000000..147cc6eee --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_qualityOfEvidence.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type qualityOfEvidenceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence (pkg: hl7.fhir.r4.examples#4.0.1) +export class qualityOfEvidenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : qualityOfEvidenceProfile { + return new qualityOfEvidenceProfile(resource) + } + + static createResource (args: qualityOfEvidenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: qualityOfEvidenceProfileParams) : qualityOfEvidenceProfile { + return qualityOfEvidenceProfile.from(qualityOfEvidenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "qualityOfEvidence"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence", "qualityOfEvidence"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_question.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_question.ts new file mode 100644 index 000000000..2e1b9ccc0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_question.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type questionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question (pkg: hl7.fhir.r4.examples#4.0.1) +export class questionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-question" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : questionProfile { + return new questionProfile(resource) + } + + static createResource (args: questionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: questionProfileParams) : questionProfile { + return questionProfile.from(questionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "question"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", "question"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_questionnaireRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_questionnaireRequest.ts new file mode 100644 index 000000000..f8978f918 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_questionnaireRequest.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type questionnaireRequestProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest (pkg: hl7.fhir.r4.examples#4.0.1) +export class questionnaireRequestProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : questionnaireRequestProfile { + return new questionnaireRequestProfile(resource) + } + + static createResource (args: questionnaireRequestProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: questionnaireRequestProfileParams) : questionnaireRequestProfile { + return questionnaireRequestProfile.from(questionnaireRequestProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "questionnaireRequest"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest", "questionnaireRequest"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reagent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reagent.ts new file mode 100644 index 000000000..483abed95 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reagent.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reagentProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-reagent (pkg: hl7.fhir.r4.examples#4.0.1) +export class reagentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-reagent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reagentProfile { + return new reagentProfile(resource) + } + + static createResource (args: reagentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-reagent", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: reagentProfileParams) : reagentProfile { + return reagentProfile.from(reagentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reagent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-reagent", "reagent"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reason.ts new file mode 100644 index 000000000..fd4fcaf4b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason (pkg: hl7.fhir.r4.examples#4.0.1) +export class reasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonProfile { + return new reasonProfile(resource) + } + + static createResource (args: reasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonProfileParams) : reasonProfile { + return reasonProfile.from(reasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason", "reason"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCancelled.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCancelled.ts new file mode 100644 index 000000000..eeeda0232 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCancelled.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonCancelledProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled (pkg: hl7.fhir.r4.examples#4.0.1) +export class reasonCancelledProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonCancelledProfile { + return new reasonCancelledProfile(resource) + } + + static createResource (args: reasonCancelledProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonCancelledProfileParams) : reasonCancelledProfile { + return reasonCancelledProfile.from(reasonCancelledProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonCancelled"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled", "reasonCancelled"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCode.ts new file mode 100644 index 000000000..42b5575a2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-reasonCode (pkg: hl7.fhir.r4.examples#4.0.1) +export class reasonCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonCodeProfile { + return new reasonCodeProfile(resource) + } + + static createResource (args: reasonCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonCodeProfileParams) : reasonCodeProfile { + return reasonCodeProfile.from(reasonCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode", "reasonCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonReference.ts new file mode 100644 index 000000000..8a4c5bd7a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-reasonReference (pkg: hl7.fhir.r4.examples#4.0.1) +export class reasonReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonReferenceProfile { + return new reasonReferenceProfile(resource) + } + + static createResource (args: reasonReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: reasonReferenceProfileParams) : reasonReferenceProfile { + return reasonReferenceProfile.from(reasonReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference", "reasonReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRefuted.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRefuted.ts new file mode 100644 index 000000000..9a3274e44 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRefuted.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonRefutedProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted (pkg: hl7.fhir.r4.examples#4.0.1) +export class reasonRefutedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonRefutedProfile { + return new reasonRefutedProfile(resource) + } + + static createResource (args: reasonRefutedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonRefutedProfileParams) : reasonRefutedProfile { + return reasonRefutedProfile.from(reasonRefutedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonRefuted"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted", "reasonRefuted"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRejected.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRejected.ts new file mode 100644 index 000000000..59bf25fbd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRejected.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reasonRejectedProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-reasonRejected (pkg: hl7.fhir.r4.examples#4.0.1) +export class reasonRejectedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reasonRejectedProfile { + return new reasonRejectedProfile(resource) + } + + static createResource (args: reasonRejectedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: reasonRejectedProfileParams) : reasonRejectedProfile { + return reasonRejectedProfile.from(reasonRejectedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reasonRejected"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected", "reasonRejected"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingOrganization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingOrganization.ts new file mode 100644 index 000000000..9cf01182e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingOrganization.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type receivingOrganizationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization (pkg: hl7.fhir.r4.examples#4.0.1) +export class receivingOrganizationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : receivingOrganizationProfile { + return new receivingOrganizationProfile(resource) + } + + static createResource (args: receivingOrganizationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: receivingOrganizationProfileParams) : receivingOrganizationProfile { + return receivingOrganizationProfile.from(receivingOrganizationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "receivingOrganization"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization", "receivingOrganization"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingPerson.ts new file mode 100644 index 000000000..a176749cf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type receivingPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson (pkg: hl7.fhir.r4.examples#4.0.1) +export class receivingPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : receivingPersonProfile { + return new receivingPersonProfile(resource) + } + + static createResource (args: receivingPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: receivingPersonProfileParams) : receivingPersonProfile { + return receivingPersonProfile.from(receivingPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "receivingPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson", "receivingPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientLanguage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientLanguage.ts new file mode 100644 index 000000000..a4f35281b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientLanguage.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type recipientLanguageProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage (pkg: hl7.fhir.r4.examples#4.0.1) +export class recipientLanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : recipientLanguageProfile { + return new recipientLanguageProfile(resource) + } + + static createResource (args: recipientLanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: recipientLanguageProfileParams) : recipientLanguageProfile { + return recipientLanguageProfile.from(recipientLanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "recipientLanguage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage", "recipientLanguage"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientType.ts new file mode 100644 index 000000000..b64033b37 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type recipientTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-recipientType (pkg: hl7.fhir.r4.examples#4.0.1) +export class recipientTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-recipientType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : recipientTypeProfile { + return new recipientTypeProfile(resource) + } + + static createResource (args: recipientTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-recipientType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: recipientTypeProfileParams) : recipientTypeProfile { + return recipientTypeProfile.from(recipientTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "recipientType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-recipientType", "recipientType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reference.ts new file mode 100644 index 000000000..4bd586712 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type referenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-reference (pkg: hl7.fhir.r4.examples#4.0.1) +export class referenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : referenceProfile { + return new referenceProfile(resource) + } + + static createResource (args: referenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-reference", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: referenceProfileParams) : referenceProfile { + return referenceProfile.from(referenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-reference", "reference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceFilter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceFilter.ts new file mode 100644 index 000000000..4a6d2fe52 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceFilter.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type referenceFilterProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter (pkg: hl7.fhir.r4.examples#4.0.1) +export class referenceFilterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : referenceFilterProfile { + return new referenceFilterProfile(resource) + } + + static createResource (args: referenceFilterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: referenceFilterProfileParams) : referenceFilterProfile { + return referenceFilterProfile.from(referenceFilterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "referenceFilter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", "referenceFilter"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceProfile.ts new file mode 100644 index 000000000..cce740cec --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type referenceProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile (pkg: hl7.fhir.r4.examples#4.0.1) +export class referenceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : referenceProfileProfile { + return new referenceProfileProfile(resource) + } + + static createResource (args: referenceProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: referenceProfileProfileParams) : referenceProfileProfile { + return referenceProfileProfile.from(referenceProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "referenceProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile", "referenceProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceResource.ts new file mode 100644 index 000000000..63fcb33bf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceResource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type referenceResourceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource (pkg: hl7.fhir.r4.examples#4.0.1) +export class referenceResourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : referenceResourceProfile { + return new referenceResourceProfile(resource) + } + + static createResource (args: referenceResourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: referenceResourceProfileParams) : referenceResourceProfile { + return referenceResourceProfile.from(referenceResourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "referenceResource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource", "referenceResource"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_regex.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_regex.ts new file mode 100644 index 000000000..2eb02121c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_regex.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type regexProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/regex (pkg: hl7.fhir.r4.examples#4.0.1) +export class regexProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/regex" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : regexProfile { + return new regexProfile(resource) + } + + static createResource (args: regexProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/regex", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: regexProfileParams) : regexProfile { + return regexProfile.from(regexProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "regex"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/regex", "regex"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_related.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_related.ts new file mode 100644 index 000000000..94f5ddb65 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_related.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relatedProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-related (pkg: hl7.fhir.r4.examples#4.0.1) +export class relatedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-related" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relatedProfile { + return new relatedProfile(resource) + } + + static createResource (args: relatedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-related", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: relatedProfileParams) : relatedProfile { + return relatedProfile.from(relatedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "related"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-related", "related"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedArtifact.ts new file mode 100644 index 000000000..f02dcaa67 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedArtifact.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { RelatedArtifact } from "../../hl7-fhir-r4-examples/RelatedArtifact"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relatedArtifactProfileParams = { + valueRelatedArtifact: RelatedArtifact; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact (pkg: hl7.fhir.r4.examples#4.0.1) +export class relatedArtifactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relatedArtifactProfile { + return new relatedArtifactProfile(resource) + } + + static createResource (args: relatedArtifactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact", + valueRelatedArtifact: args.valueRelatedArtifact, + } as unknown as Extension + return resource + } + + static create (args: relatedArtifactProfileParams) : relatedArtifactProfile { + return relatedArtifactProfile.from(relatedArtifactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueRelatedArtifact () : RelatedArtifact | undefined { + return this.resource.valueRelatedArtifact as RelatedArtifact | undefined + } + + setValueRelatedArtifact (value: RelatedArtifact) : this { + Object.assign(this.resource, { valueRelatedArtifact: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "relatedArtifact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact", "relatedArtifact"); if (e) errors.push(e) } + if (!(r["valueRelatedArtifact"] !== undefined)) { + errors.push("value: at least one of valueRelatedArtifact is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedPerson.ts new file mode 100644 index 000000000..24136898e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relatedPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-relatedPerson (pkg: hl7.fhir.r4.examples#4.0.1) +export class relatedPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relatedPersonProfile { + return new relatedPersonProfile(resource) + } + + static createResource (args: relatedPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: relatedPersonProfileParams) : relatedPersonProfile { + return relatedPersonProfile.from(relatedPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "relatedPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson", "relatedPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relationship.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relationship.ts new file mode 100644 index 000000000..8b4bf5f2b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relationship.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relationshipProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-relationship (pkg: hl7.fhir.r4.examples#4.0.1) +export class relationshipProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-relationship" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relationshipProfile { + return new relationshipProfile(resource) + } + + static createResource (args: relationshipProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-relationship", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: relationshipProfileParams) : relationshipProfile { + return relationshipProfile.from(relationshipProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setTarget (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "target", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getTarget (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getTargetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "relationship"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "relationship"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-relationship", "relationship"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relativeDateTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relativeDateTime.ts new file mode 100644 index 000000000..fbe6fa003 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relativeDateTime.ts @@ -0,0 +1,137 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-examples/Duration"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relativeDateTimeProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime (pkg: hl7.fhir.r4.examples#4.0.1) +export class relativeDateTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relativeDateTimeProfile { + return new relativeDateTimeProfile(resource) + } + + static createResource (args: relativeDateTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: relativeDateTimeProfileParams) : relativeDateTimeProfile { + return relativeDateTimeProfile.from(relativeDateTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTarget (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "target", valueReference: value } as Extension) + return this + } + + public setTargetPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "targetPath", valueString: value } as Extension) + return this + } + + public setRelationship (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "relationship", valueCode: value } as Extension) + return this + } + + public setOffset (value: Duration): this { + const list = (this.resource.extension ??= []) + list.push({ url: "offset", valueDuration: value } as Extension) + return this + } + + public getTarget (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getTargetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return ext + } + + public getTargetPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetPath") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTargetPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetPath") + return ext + } + + public getRelationship (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getRelationshipExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return ext + } + + public getOffset (): Duration | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return (ext as Record | undefined)?.valueDuration as Duration | undefined + } + + public getOffsetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "relativeDateTime"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "relativeDateTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime", "relativeDateTime"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relevantHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relevantHistory.ts new file mode 100644 index 000000000..136c8ba55 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relevantHistory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type relevantHistoryProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-relevantHistory (pkg: hl7.fhir.r4.examples#4.0.1) +export class relevantHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-relevantHistory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : relevantHistoryProfile { + return new relevantHistoryProfile(resource) + } + + static createResource (args: relevantHistoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-relevantHistory", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: relevantHistoryProfileParams) : relevantHistoryProfile { + return relevantHistoryProfile.from(relevantHistoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "relevantHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-relevantHistory", "relevantHistory"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_religion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_religion.ts new file mode 100644 index 000000000..ce6098402 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_religion.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type religionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-religion (pkg: hl7.fhir.r4.examples#4.0.1) +export class religionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-religion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : religionProfile { + return new religionProfile(resource) + } + + static createResource (args: religionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-religion", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: religionProfileParams) : religionProfile { + return religionProfile.from(religionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "religion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-religion", "religion"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replacedby.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replacedby.ts new file mode 100644 index 000000000..124b3964d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replacedby.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type replacedbyProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-replacedby (pkg: hl7.fhir.r4.examples#4.0.1) +export class replacedbyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : replacedbyProfile { + return new replacedbyProfile(resource) + } + + static createResource (args: replacedbyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: replacedbyProfileParams) : replacedbyProfile { + return replacedbyProfile.from(replacedbyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "replacedby"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", "replacedby"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replaces.ts new file mode 100644 index 000000000..53a7e3a91 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replaces.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type replacesProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/task-replaces (pkg: hl7.fhir.r4.examples#4.0.1) +export class replacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/task-replaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : replacesProfile { + return new replacesProfile(resource) + } + + static createResource (args: replacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/task-replaces", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: replacesProfileParams) : replacesProfile { + return replacesProfile.from(replacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "replaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/task-replaces", "replaces"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_researchStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_researchStudy.ts new file mode 100644 index 000000000..e7ecb7d42 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_researchStudy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type researchStudyProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy (pkg: hl7.fhir.r4.examples#4.0.1) +export class researchStudyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : researchStudyProfile { + return new researchStudyProfile(resource) + } + + static createResource (args: researchStudyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: researchStudyProfileParams) : researchStudyProfile { + return researchStudyProfile.from(researchStudyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "researchStudy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy", "researchStudy"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_resolutionAge.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_resolutionAge.ts new file mode 100644 index 000000000..aba0a4439 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_resolutionAge.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-examples/Age"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type resolutionAgeProfileParams = { + valueAge: Age; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge (pkg: hl7.fhir.r4.examples#4.0.1) +export class resolutionAgeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : resolutionAgeProfile { + return new resolutionAgeProfile(resource) + } + + static createResource (args: resolutionAgeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge", + valueAge: args.valueAge, + } as unknown as Extension + return resource + } + + static create (args: resolutionAgeProfileParams) : resolutionAgeProfile { + return resolutionAgeProfile.from(resolutionAgeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAge () : Age | undefined { + return this.resource.valueAge as Age | undefined + } + + setValueAge (value: Age) : this { + Object.assign(this.resource, { valueAge: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "resolutionAge"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge", "resolutionAge"); if (e) errors.push(e) } + if (!(r["valueAge"] !== undefined)) { + errors.push("value: at least one of valueAge is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reviewer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reviewer.ts new file mode 100644 index 000000000..3e13f6eb8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reviewer.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type reviewerProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer (pkg: hl7.fhir.r4.examples#4.0.1) +export class reviewerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : reviewerProfile { + return new reviewerProfile(resource) + } + + static createResource (args: reviewerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: reviewerProfileParams) : reviewerProfile { + return reviewerProfile.from(reviewerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "reviewer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer", "reviewer"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_risk.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_risk.ts new file mode 100644 index 000000000..952823d4c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_risk.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type riskProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk (pkg: hl7.fhir.r4.examples#4.0.1) +export class riskProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : riskProfile { + return new riskProfile(resource) + } + + static createResource (args: riskProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: riskProfileParams) : riskProfile { + return riskProfile.from(riskProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "risk"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk", "risk"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ruledOut.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ruledOut.ts new file mode 100644 index 000000000..ae4cf1cb3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ruledOut.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ruledOutProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-ruledOut (pkg: hl7.fhir.r4.examples#4.0.1) +export class ruledOutProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-ruledOut" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ruledOutProfile { + return new ruledOutProfile(resource) + } + + static createResource (args: ruledOutProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-ruledOut", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ruledOutProfileParams) : ruledOutProfile { + return ruledOutProfile.from(ruledOutProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ruledOut"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-ruledOut", "ruledOut"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_rules_text.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_rules_text.ts new file mode 100644 index 000000000..2eeea445d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_rules_text.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type rules_textProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-rules-text (pkg: hl7.fhir.r4.examples#4.0.1) +export class rules_textProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-rules-text" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : rules_textProfile { + return new rules_textProfile(resource) + } + + static createResource (args: rules_textProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-rules-text", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: rules_textProfileParams) : rules_textProfile { + return rules_textProfile.from(rules_textProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "rules-text"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-rules-text", "rules-text"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_schedule.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_schedule.ts new file mode 100644 index 000000000..37310f3cc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_schedule.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Timing } from "../../hl7-fhir-r4-examples/Timing"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type scheduleProfileParams = { + valueTiming: Timing; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-schedule (pkg: hl7.fhir.r4.examples#4.0.1) +export class scheduleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-schedule" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : scheduleProfile { + return new scheduleProfile(resource) + } + + static createResource (args: scheduleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-schedule", + valueTiming: args.valueTiming, + } as unknown as Extension + return resource + } + + static create (args: scheduleProfileParams) : scheduleProfile { + return scheduleProfile.from(scheduleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueTiming () : Timing | undefined { + return this.resource.valueTiming as Timing | undefined + } + + setValueTiming (value: Timing) : this { + Object.assign(this.resource, { valueTiming: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "schedule"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-schedule", "schedule"); if (e) errors.push(e) } + if (!(r["valueTiming"] !== undefined)) { + errors.push("value: at least one of valueTiming is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sctdescid.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sctdescid.ts new file mode 100644 index 000000000..cfc05f887 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sctdescid.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sctdescidProfileParams = { + valueId: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/coding-sctdescid (pkg: hl7.fhir.r4.examples#4.0.1) +export class sctdescidProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/coding-sctdescid" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sctdescidProfile { + return new sctdescidProfile(resource) + } + + static createResource (args: sctdescidProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/coding-sctdescid", + valueId: args.valueId, + } as unknown as Extension + return resource + } + + static create (args: sctdescidProfileParams) : sctdescidProfile { + return sctdescidProfile.from(sctdescidProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueId () : string | undefined { + return this.resource.valueId as string | undefined + } + + setValueId (value: string) : this { + Object.assign(this.resource, { valueId: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sctdescid"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/coding-sctdescid", "sctdescid"); if (e) errors.push(e) } + if (!(r["valueId"] !== undefined)) { + errors.push("value: at least one of valueId is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_search_parameter_combination.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_search_parameter_combination.ts new file mode 100644 index 000000000..acea4c9ee --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_search_parameter_combination.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type search_parameter_combinationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination (pkg: hl7.fhir.r4.examples#4.0.1) +export class search_parameter_combinationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : search_parameter_combinationProfile { + return new search_parameter_combinationProfile(resource) + } + + static createResource (args: search_parameter_combinationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: search_parameter_combinationProfileParams) : search_parameter_combinationProfile { + return search_parameter_combinationProfile.from(search_parameter_combinationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setRequired (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "required", valueString: value } as Extension) + return this + } + + public setOptional (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "optional", valueString: value } as Extension) + return this + } + + public getRequired (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "required") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRequiredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "required") + return ext + } + + public getOptional (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "optional") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getOptionalExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "optional") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "search-parameter-combination"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "search-parameter-combination"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", "search-parameter-combination"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_secondaryFinding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_secondaryFinding.ts new file mode 100644 index 000000000..ed20a0835 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_secondaryFinding.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type secondaryFindingProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding (pkg: hl7.fhir.r4.examples#4.0.1) +export class secondaryFindingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : secondaryFindingProfile { + return new secondaryFindingProfile(resource) + } + + static createResource (args: secondaryFindingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: secondaryFindingProfileParams) : secondaryFindingProfile { + return secondaryFindingProfile.from(secondaryFindingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "secondaryFinding"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding", "secondaryFinding"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_section_subject.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_section_subject.ts new file mode 100644 index 000000000..2bf6bbc3b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_section_subject.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type section_subjectProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/composition-section-subject (pkg: hl7.fhir.r4.examples#4.0.1) +export class section_subjectProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/composition-section-subject" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : section_subjectProfile { + return new section_subjectProfile(resource) + } + + static createResource (args: section_subjectProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/composition-section-subject", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: section_subjectProfileParams) : section_subjectProfile { + return section_subjectProfile.from(section_subjectProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "section-subject"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/composition-section-subject", "section-subject"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_security_category.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_security_category.ts new file mode 100644 index 000000000..d82f53604 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_security_category.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type security_categoryProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category (pkg: hl7.fhir.r4.examples#4.0.1) +export class security_categoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : security_categoryProfile { + return new security_categoryProfile(resource) + } + + static createResource (args: security_categoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: security_categoryProfileParams) : security_categoryProfile { + return security_categoryProfile.from(security_categoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "security-category"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", "security-category"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_selector.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_selector.ts new file mode 100644 index 000000000..e25cdae77 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_selector.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type selectorProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-selector (pkg: hl7.fhir.r4.examples#4.0.1) +export class selectorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : selectorProfile { + return new selectorProfile(resource) + } + + static createResource (args: selectorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: selectorProfileParams) : selectorProfile { + return selectorProfile.from(selectorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "selector"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector", "selector"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequelTo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequelTo.ts new file mode 100644 index 000000000..187f5bb92 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequelTo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sequelToProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-sequelTo (pkg: hl7.fhir.r4.examples#4.0.1) +export class sequelToProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-sequelTo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sequelToProfile { + return new sequelToProfile(resource) + } + + static createResource (args: sequelToProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-sequelTo", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: sequelToProfileParams) : sequelToProfile { + return sequelToProfile.from(sequelToProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sequelTo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-sequelTo", "sequelTo"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequenceNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequenceNumber.ts new file mode 100644 index 000000000..3f75178ca --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequenceNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sequenceNumberProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber (pkg: hl7.fhir.r4.examples#4.0.1) +export class sequenceNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sequenceNumberProfile { + return new sequenceNumberProfile(resource) + } + + static createResource (args: sequenceNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: sequenceNumberProfileParams) : sequenceNumberProfile { + return sequenceNumberProfile.from(sequenceNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sequenceNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber", "sequenceNumber"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_severity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_severity.ts new file mode 100644 index 000000000..a25289c0b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_severity.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type severityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity (pkg: hl7.fhir.r4.examples#4.0.1) +export class severityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : severityProfile { + return new severityProfile(resource) + } + + static createResource (args: severityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: severityProfileParams) : severityProfile { + return severityProfile.from(severityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "severity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity", "severity"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sibling.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sibling.ts new file mode 100644 index 000000000..0d2be07a1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sibling.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type siblingProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling (pkg: hl7.fhir.r4.examples#4.0.1) +export class siblingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : siblingProfile { + return new siblingProfile(resource) + } + + static createResource (args: siblingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: siblingProfileParams) : siblingProfile { + return siblingProfile.from(siblingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "sibling"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "sibling"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", "sibling"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signature.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signature.ts new file mode 100644 index 000000000..1229ebd3f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signature.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Signature } from "../../hl7-fhir-r4-examples/Signature"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type signatureProfileParams = { + valueSignature: Signature; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature (pkg: hl7.fhir.r4.examples#4.0.1) +export class signatureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : signatureProfile { + return new signatureProfile(resource) + } + + static createResource (args: signatureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", + valueSignature: args.valueSignature, + } as unknown as Extension + return resource + } + + static create (args: signatureProfileParams) : signatureProfile { + return signatureProfile.from(signatureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueSignature () : Signature | undefined { + return this.resource.valueSignature as Signature | undefined + } + + setValueSignature (value: Signature) : this { + Object.assign(this.resource, { valueSignature: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "signature"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", "signature"); if (e) errors.push(e) } + if (!(r["valueSignature"] !== undefined)) { + errors.push("value: at least one of valueSignature is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signatureRequired.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signatureRequired.ts new file mode 100644 index 000000000..586a8f264 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signatureRequired.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type signatureRequiredProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired (pkg: hl7.fhir.r4.examples#4.0.1) +export class signatureRequiredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : signatureRequiredProfile { + return new signatureRequiredProfile(resource) + } + + static createResource (args: signatureRequiredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: signatureRequiredProfileParams) : signatureRequiredProfile { + return signatureRequiredProfile.from(signatureRequiredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "signatureRequired"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", "signatureRequired"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sliderStepValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sliderStepValue.ts new file mode 100644 index 000000000..5b1964e9d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sliderStepValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sliderStepValueProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue (pkg: hl7.fhir.r4.examples#4.0.1) +export class sliderStepValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sliderStepValueProfile { + return new sliderStepValueProfile(resource) + } + + static createResource (args: sliderStepValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: sliderStepValueProfileParams) : sliderStepValueProfile { + return sliderStepValueProfile.from(sliderStepValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sliderStepValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", "sliderStepValue"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sourceReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sourceReference.ts new file mode 100644 index 000000000..670ddc3e3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sourceReference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type sourceReferenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-sourceReference (pkg: hl7.fhir.r4.examples#4.0.1) +export class sourceReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : sourceReferenceProfile { + return new sourceReferenceProfile(resource) + } + + static createResource (args: sourceReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: sourceReferenceProfileParams) : sourceReferenceProfile { + return sourceReferenceProfile.from(sourceReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "sourceReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference", "sourceReference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specialHandling.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specialHandling.ts new file mode 100644 index 000000000..031c74cf3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specialHandling.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type specialHandlingProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-specialHandling (pkg: hl7.fhir.r4.examples#4.0.1) +export class specialHandlingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : specialHandlingProfile { + return new specialHandlingProfile(resource) + } + + static createResource (args: specialHandlingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: specialHandlingProfileParams) : specialHandlingProfile { + return specialHandlingProfile.from(specialHandlingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "specialHandling"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", "specialHandling"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_special_status.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_special_status.ts new file mode 100644 index 000000000..cd468f75f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_special_status.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type special_statusProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-special-status (pkg: hl7.fhir.r4.examples#4.0.1) +export class special_statusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-special-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : special_statusProfile { + return new special_statusProfile(resource) + } + + static createResource (args: special_statusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-special-status", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: special_statusProfileParams) : special_statusProfile { + return special_statusProfile.from(special_statusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "special-status"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-special-status", "special-status"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specimenCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specimenCode.ts new file mode 100644 index 000000000..5bb5c4f35 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specimenCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type specimenCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-specimenCode (pkg: hl7.fhir.r4.examples#4.0.1) +export class specimenCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-specimenCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : specimenCodeProfile { + return new specimenCodeProfile(resource) + } + + static createResource (args: specimenCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-specimenCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: specimenCodeProfileParams) : specimenCodeProfile { + return specimenCodeProfile.from(specimenCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "specimenCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-specimenCode", "specimenCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_standards_status.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_standards_status.ts new file mode 100644 index 000000000..00d833169 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_standards_status.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type standards_statusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status (pkg: hl7.fhir.r4.examples#4.0.1) +export class standards_statusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : standards_statusProfile { + return new standards_statusProfile(resource) + } + + static createResource (args: standards_statusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: standards_statusProfileParams) : standards_statusProfile { + return standards_statusProfile.from(standards_statusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "standards-status"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "standards-status"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_statusReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_statusReason.ts new file mode 100644 index 000000000..968baa7be --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_statusReason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type statusReasonProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-statusReason (pkg: hl7.fhir.r4.examples#4.0.1) +export class statusReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-statusReason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : statusReasonProfile { + return new statusReasonProfile(resource) + } + + static createResource (args: statusReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-statusReason", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: statusReasonProfileParams) : statusReasonProfile { + return statusReasonProfile.from(statusReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "statusReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-statusReason", "statusReason"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_steward.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_steward.ts new file mode 100644 index 000000000..59f655a56 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_steward.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-examples/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type stewardProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-steward (pkg: hl7.fhir.r4.examples#4.0.1) +export class stewardProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-steward" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : stewardProfile { + return new stewardProfile(resource) + } + + static createResource (args: stewardProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-steward", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: stewardProfileParams) : stewardProfile { + return stewardProfile.from(stewardProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "steward"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-steward", "steward"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_strengthOfRecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_strengthOfRecommendation.ts new file mode 100644 index 000000000..aea6ccf67 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_strengthOfRecommendation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type strengthOfRecommendationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation (pkg: hl7.fhir.r4.examples#4.0.1) +export class strengthOfRecommendationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : strengthOfRecommendationProfile { + return new strengthOfRecommendationProfile(resource) + } + + static createResource (args: strengthOfRecommendationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: strengthOfRecommendationProfileParams) : strengthOfRecommendationProfile { + return strengthOfRecommendationProfile.from(strengthOfRecommendationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "strengthOfRecommendation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation", "strengthOfRecommendation"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_style.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_style.ts new file mode 100644 index 000000000..64a70d718 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_style.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type styleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-style (pkg: hl7.fhir.r4.examples#4.0.1) +export class styleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-style" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : styleProfile { + return new styleProfile(resource) + } + + static createResource (args: styleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-style", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: styleProfileParams) : styleProfile { + return styleProfile.from(styleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "style"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-style", "style"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_styleSensitive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_styleSensitive.ts new file mode 100644 index 000000000..133081457 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_styleSensitive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type styleSensitiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive (pkg: hl7.fhir.r4.examples#4.0.1) +export class styleSensitiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : styleSensitiveProfile { + return new styleSensitiveProfile(resource) + } + + static createResource (args: styleSensitiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: styleSensitiveProfileParams) : styleSensitiveProfile { + return styleSensitiveProfile.from(styleSensitiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "styleSensitive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", "styleSensitive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_substanceExposureRisk.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_substanceExposureRisk.ts new file mode 100644 index 000000000..398fb9fb3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_substanceExposureRisk.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type substanceExposureRiskProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk (pkg: hl7.fhir.r4.examples#4.0.1) +export class substanceExposureRiskProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : substanceExposureRiskProfile { + return new substanceExposureRiskProfile(resource) + } + + static createResource (args: substanceExposureRiskProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: substanceExposureRiskProfileParams) : substanceExposureRiskProfile { + return substanceExposureRiskProfile.from(substanceExposureRiskProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setSubstance (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "substance", valueCodeableConcept: value } as Extension) + return this + } + + public setExposureRisk (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "exposureRisk", valueCodeableConcept: value } as Extension) + return this + } + + public getSubstance (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "substance") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSubstanceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "substance") + return ext + } + + public getExposureRisk (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "exposureRisk") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getExposureRiskExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "exposureRisk") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "substanceExposureRisk"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "substanceExposureRisk"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk", "substanceExposureRisk"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summary.ts new file mode 100644 index 000000000..416cfadcf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summary.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type summaryProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-summary (pkg: hl7.fhir.r4.examples#4.0.1) +export class summaryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : summaryProfile { + return new summaryProfile(resource) + } + + static createResource (args: summaryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: summaryProfileParams) : summaryProfile { + return summaryProfile.from(summaryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "summary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary", "summary"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summaryOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summaryOf.ts new file mode 100644 index 000000000..c3e1da7ce --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summaryOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type summaryOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf (pkg: hl7.fhir.r4.examples#4.0.1) +export class summaryOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : summaryOfProfile { + return new summaryOfProfile(resource) + } + + static createResource (args: summaryOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: summaryOfProfileParams) : summaryOfProfile { + return summaryOfProfile.from(summaryOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "summaryOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf", "summaryOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supplement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supplement.ts new file mode 100644 index 000000000..93f01c983 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supplement.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type supplementProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-supplement (pkg: hl7.fhir.r4.examples#4.0.1) +export class supplementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-supplement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : supplementProfile { + return new supplementProfile(resource) + } + + static createResource (args: supplementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: supplementProfileParams) : supplementProfile { + return supplementProfile.from(supplementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "supplement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-supplement", "supplement"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportLink.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportLink.ts new file mode 100644 index 000000000..459300e15 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportLink.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type supportLinkProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink (pkg: hl7.fhir.r4.examples#4.0.1) +export class supportLinkProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : supportLinkProfile { + return new supportLinkProfile(resource) + } + + static createResource (args: supportLinkProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: supportLinkProfileParams) : supportLinkProfile { + return supportLinkProfile.from(supportLinkProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "supportLink"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink", "supportLink"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supported_system.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supported_system.ts new file mode 100644 index 000000000..7b940637f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supported_system.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type supported_systemProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system (pkg: hl7.fhir.r4.examples#4.0.1) +export class supported_systemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : supported_systemProfile { + return new supported_systemProfile(resource) + } + + static createResource (args: supported_systemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: supported_systemProfileParams) : supported_systemProfile { + return supported_systemProfile.from(supported_systemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "supported-system"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system", "supported-system"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportingInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportingInfo.ts new file mode 100644 index 000000000..2f3f3f987 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportingInfo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type supportingInfoProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo (pkg: hl7.fhir.r4.examples#4.0.1) +export class supportingInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : supportingInfoProfile { + return new supportingInfoProfile(resource) + } + + static createResource (args: supportingInfoProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: supportingInfoProfileParams) : supportingInfoProfile { + return supportingInfoProfile.from(supportingInfoProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "supportingInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", "supportingInfo"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_system.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_system.ts new file mode 100644 index 000000000..3d2cebbf3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_system.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-system (pkg: hl7.fhir.r4.examples#4.0.1) +export class systemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-system" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemProfile { + return new systemProfile(resource) + } + + static createResource (args: systemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-system", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: systemProfileParams) : systemProfile { + return systemProfile.from(systemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "system"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-system", "system"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemName.ts new file mode 100644 index 000000000..9babf3504 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-systemName (pkg: hl7.fhir.r4.examples#4.0.1) +export class systemNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-systemName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemNameProfile { + return new systemNameProfile(resource) + } + + static createResource (args: systemNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-systemName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: systemNameProfileParams) : systemNameProfile { + return systemNameProfile.from(systemNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-systemName", "systemName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemRef.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemRef.ts new file mode 100644 index 000000000..fbc9b19c4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemRef.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemRefProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-systemRef (pkg: hl7.fhir.r4.examples#4.0.1) +export class systemRefProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-systemRef" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemRefProfile { + return new systemRefProfile(resource) + } + + static createResource (args: systemRefProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-systemRef", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: systemRefProfileParams) : systemRefProfile { + return systemRefProfile.from(systemRefProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemRef"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-systemRef", "systemRef"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserLanguage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserLanguage.ts new file mode 100644 index 000000000..fe849e555 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserLanguage.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemUserLanguageProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage (pkg: hl7.fhir.r4.examples#4.0.1) +export class systemUserLanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemUserLanguageProfile { + return new systemUserLanguageProfile(resource) + } + + static createResource (args: systemUserLanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: systemUserLanguageProfileParams) : systemUserLanguageProfile { + return systemUserLanguageProfile.from(systemUserLanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemUserLanguage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage", "systemUserLanguage"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserTaskContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserTaskContext.ts new file mode 100644 index 000000000..c62f77a5c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserTaskContext.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemUserTaskContextProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext (pkg: hl7.fhir.r4.examples#4.0.1) +export class systemUserTaskContextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemUserTaskContextProfile { + return new systemUserTaskContextProfile(resource) + } + + static createResource (args: systemUserTaskContextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: systemUserTaskContextProfileParams) : systemUserTaskContextProfile { + return systemUserTaskContextProfile.from(systemUserTaskContextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemUserTaskContext"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext", "systemUserTaskContext"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserType.ts new file mode 100644 index 000000000..42957f5ef --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type systemUserTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserType (pkg: hl7.fhir.r4.examples#4.0.1) +export class systemUserTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : systemUserTypeProfile { + return new systemUserTypeProfile(resource) + } + + static createResource (args: systemUserTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: systemUserTypeProfileParams) : systemUserTypeProfile { + return systemUserTypeProfile.from(systemUserTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "systemUserType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType", "systemUserType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_table_name.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_table_name.ts new file mode 100644 index 000000000..13435a1b6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_table_name.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type table_nameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name (pkg: hl7.fhir.r4.examples#4.0.1) +export class table_nameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : table_nameProfile { + return new table_nameProfile(resource) + } + + static createResource (args: table_nameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: table_nameProfileParams) : table_nameProfile { + return table_nameProfile.from(table_nameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "table-name"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name", "table-name"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_targetBodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_targetBodyStructure.ts new file mode 100644 index 000000000..3868c9dd9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_targetBodyStructure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type targetBodyStructureProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure (pkg: hl7.fhir.r4.examples#4.0.1) +export class targetBodyStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : targetBodyStructureProfile { + return new targetBodyStructureProfile(resource) + } + + static createResource (args: targetBodyStructureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: targetBodyStructureProfileParams) : targetBodyStructureProfile { + return targetBodyStructureProfile.from(targetBodyStructureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "targetBodyStructure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure", "targetBodyStructure"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_template_status.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_template_status.ts new file mode 100644 index 000000000..50bbcc0e8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_template_status.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type template_statusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status (pkg: hl7.fhir.r4.examples#4.0.1) +export class template_statusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : template_statusProfile { + return new template_statusProfile(resource) + } + + static createResource (args: template_statusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: template_statusProfileParams) : template_statusProfile { + return template_statusProfile.from(template_statusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "template-status"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status", "template-status"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_test.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_test.ts new file mode 100644 index 000000000..117ccf557 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_test.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type testProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-test (pkg: hl7.fhir.r4.examples#4.0.1) +export class testProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-test" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : testProfile { + return new testProfile(resource) + } + + static createResource (args: testProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-test", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: testProfileParams) : testProfile { + return testProfile.from(testProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "test"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-test", "test"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_timeOffset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_timeOffset.ts new file mode 100644 index 000000000..0495f51df --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_timeOffset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type timeOffsetProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-timeOffset (pkg: hl7.fhir.r4.examples#4.0.1) +export class timeOffsetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-timeOffset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : timeOffsetProfile { + return new timeOffsetProfile(resource) + } + + static createResource (args: timeOffsetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-timeOffset", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: timeOffsetProfileParams) : timeOffsetProfile { + return timeOffsetProfile.from(timeOffsetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "timeOffset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-timeOffset", "timeOffset"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_toocostly.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_toocostly.ts new file mode 100644 index 000000000..2078d02da --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_toocostly.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type toocostlyProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-toocostly (pkg: hl7.fhir.r4.examples#4.0.1) +export class toocostlyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-toocostly" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : toocostlyProfile { + return new toocostlyProfile(resource) + } + + static createResource (args: toocostlyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-toocostly", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: toocostlyProfileParams) : toocostlyProfile { + return toocostlyProfile.from(toocostlyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "toocostly"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-toocostly", "toocostly"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_translatable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_translatable.ts new file mode 100644 index 000000000..3830637d8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_translatable.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type translatableProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable (pkg: hl7.fhir.r4.examples#4.0.1) +export class translatableProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : translatableProfile { + return new translatableProfile(resource) + } + + static createResource (args: translatableProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: translatableProfileParams) : translatableProfile { + return translatableProfile.from(translatableProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "translatable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "translatable"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_trusted_expansion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_trusted_expansion.ts new file mode 100644 index 000000000..3ee7365f8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_trusted_expansion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type trusted_expansionProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion (pkg: hl7.fhir.r4.examples#4.0.1) +export class trusted_expansionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : trusted_expansionProfile { + return new trusted_expansionProfile(resource) + } + + static createResource (args: trusted_expansionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: trusted_expansionProfileParams) : trusted_expansionProfile { + return trusted_expansionProfile.from(trusted_expansionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "trusted-expansion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion", "trusted-expansion"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_type.ts new file mode 100644 index 000000000..41239538a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_type.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type typeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-type (pkg: hl7.fhir.r4.examples#4.0.1) +export class typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : typeProfile { + return new typeProfile(resource) + } + + static createResource (args: typeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: typeProfileParams) : typeProfile { + return typeProfile.from(typeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "type"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type", "type"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertainty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertainty.ts new file mode 100644 index 000000000..aa722f35f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertainty.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type uncertaintyProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty (pkg: hl7.fhir.r4.examples#4.0.1) +export class uncertaintyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : uncertaintyProfile { + return new uncertaintyProfile(resource) + } + + static createResource (args: uncertaintyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: uncertaintyProfileParams) : uncertaintyProfile { + return uncertaintyProfile.from(uncertaintyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "uncertainty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty", "uncertainty"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertaintyType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertaintyType.ts new file mode 100644 index 000000000..91aa12a41 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertaintyType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type uncertaintyTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType (pkg: hl7.fhir.r4.examples#4.0.1) +export class uncertaintyTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : uncertaintyTypeProfile { + return new uncertaintyTypeProfile(resource) + } + + static createResource (args: uncertaintyTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: uncertaintyTypeProfileParams) : uncertaintyTypeProfile { + return uncertaintyTypeProfile.from(uncertaintyTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "uncertaintyType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType", "uncertaintyType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unclosed.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unclosed.ts new file mode 100644 index 000000000..95d1e6892 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unclosed.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type unclosedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-unclosed (pkg: hl7.fhir.r4.examples#4.0.1) +export class unclosedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-unclosed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : unclosedProfile { + return new unclosedProfile(resource) + } + + static createResource (args: unclosedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-unclosed", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: unclosedProfileParams) : unclosedProfile { + return unclosedProfile.from(unclosedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "unclosed"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-unclosed", "unclosed"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unit.ts new file mode 100644 index 000000000..23a58ecee --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unit.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type unitProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unit (pkg: hl7.fhir.r4.examples#4.0.1) +export class unitProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : unitProfile { + return new unitProfile(resource) + } + + static createResource (args: unitProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: unitProfileParams) : unitProfile { + return unitProfile.from(unitProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "unit"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", "unit"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitOption.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitOption.ts new file mode 100644 index 000000000..7dca7f260 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitOption.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-examples/Coding"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type unitOptionProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption (pkg: hl7.fhir.r4.examples#4.0.1) +export class unitOptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : unitOptionProfile { + return new unitOptionProfile(resource) + } + + static createResource (args: unitOptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: unitOptionProfileParams) : unitOptionProfile { + return unitOptionProfile.from(unitOptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "unitOption"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", "unitOption"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitValueSet.ts new file mode 100644 index 000000000..fca75d46b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitValueSet.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type unitValueSetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet (pkg: hl7.fhir.r4.examples#4.0.1) +export class unitValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : unitValueSetProfile { + return new unitValueSetProfile(resource) + } + + static createResource (args: unitValueSetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: unitValueSetProfileParams) : unitValueSetProfile { + return unitValueSetProfile.from(unitValueSetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "unitValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet", "unitValueSet"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usage.ts new file mode 100644 index 000000000..885b20b5b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usage.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type usageProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-usage (pkg: hl7.fhir.r4.examples#4.0.1) +export class usageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-usage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : usageProfile { + return new usageProfile(resource) + } + + static createResource (args: usageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-usage", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: usageProfileParams) : usageProfile { + return usageProfile.from(usageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setUser (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "user", valueString: value } as Extension) + return this + } + + public setUse (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "use", valueString: value } as Extension) + return this + } + + public getUser (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUserExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return ext + } + + public getUse (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "usage"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "usage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-usage", "usage"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usageMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usageMode.ts new file mode 100644 index 000000000..e8c4a5ff7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usageMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type usageModeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode (pkg: hl7.fhir.r4.examples#4.0.1) +export class usageModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : usageModeProfile { + return new usageModeProfile(resource) + } + + static createResource (args: usageModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: usageModeProfileParams) : usageModeProfile { + return usageModeProfile.from(usageModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "usageMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode", "usageMode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_validDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_validDate.ts new file mode 100644 index 000000000..925f9c0f7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_validDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type validDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/identifier-validDate (pkg: hl7.fhir.r4.examples#4.0.1) +export class validDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/identifier-validDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : validDateProfile { + return new validDateProfile(resource) + } + + static createResource (args: validDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/identifier-validDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: validDateProfileParams) : validDateProfile { + return validDateProfile.from(validDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "validDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/identifier-validDate", "validDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_versionNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_versionNumber.ts new file mode 100644 index 000000000..7d44de3e3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_versionNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type versionNumberProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber (pkg: hl7.fhir.r4.examples#4.0.1) +export class versionNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : versionNumberProfile { + return new versionNumberProfile(resource) + } + + static createResource (args: versionNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: versionNumberProfileParams) : versionNumberProfile { + return versionNumberProfile.from(versionNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "versionNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", "versionNumber"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_warning.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_warning.ts new file mode 100644 index 000000000..0d4f39446 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_warning.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type warningProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-warning (pkg: hl7.fhir.r4.examples#4.0.1) +export class warningProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-warning" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : warningProfile { + return new warningProfile(resource) + } + + static createResource (args: warningProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-warning", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: warningProfileParams) : warningProfile { + return warningProfile.from(warningProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "warning"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-warning", "warning"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_websocket.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_websocket.ts new file mode 100644 index 000000000..6c106dcb0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_websocket.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type websocketProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket (pkg: hl7.fhir.r4.examples#4.0.1) +export class websocketProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : websocketProfile { + return new websocketProfile(resource) + } + + static createResource (args: websocketProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: websocketProfileParams) : websocketProfile { + return websocketProfile.from(websocketProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "websocket"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket", "websocket"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_wg.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_wg.ts new file mode 100644 index 000000000..830260ec2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_wg.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type wgProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg (pkg: hl7.fhir.r4.examples#4.0.1) +export class wgProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : wgProfile { + return new wgProfile(resource) + } + + static createResource (args: wgProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: wgProfileParams) : wgProfile { + return wgProfile.from(wgProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "wg"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "wg"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_workflowStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_workflowStatus.ts new file mode 100644 index 000000000..1fcc939e3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_workflowStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type workflowStatusProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus (pkg: hl7.fhir.r4.examples#4.0.1) +export class workflowStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : workflowStatusProfile { + return new workflowStatusProfile(resource) + } + + static createResource (args: workflowStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: workflowStatusProfileParams) : workflowStatusProfile { + return workflowStatusProfile.from(workflowStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "workflowStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus", "workflowStatus"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xhtml.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xhtml.ts new file mode 100644 index 000000000..621511018 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xhtml.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type xhtmlProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml (pkg: hl7.fhir.r4.examples#4.0.1) +export class xhtmlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-xhtml" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : xhtmlProfile { + return new xhtmlProfile(resource) + } + + static createResource (args: xhtmlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: xhtmlProfileParams) : xhtmlProfile { + return xhtmlProfile.from(xhtmlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "xhtml"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", "xhtml"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xml_no_order.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xml_no_order.ts new file mode 100644 index 000000000..34a4747d1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xml_no_order.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type xml_no_orderProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order (pkg: hl7.fhir.r4.examples#4.0.1) +export class xml_no_orderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : xml_no_orderProfile { + return new xml_no_orderProfile(resource) + } + + static createResource (args: xml_no_orderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: xml_no_orderProfileParams) : xml_no_orderProfile { + return xml_no_orderProfile.from(xml_no_orderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "xml-no-order"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order", "xml-no-order"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts deleted file mode 100644 index a7de471bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts +++ /dev/null @@ -1,101 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; -import type { FamilyMemberHistory } from "../../hl7-fhir-r4-examples/FamilyMemberHistory"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic -export type Family_member_history_for_genetics_analysis_ParentInput = { - type: CodeableConcept; - reference: Reference; -} - -export type Family_member_history_for_genetics_analysis_SiblingInput = { - type: CodeableConcept; - reference: Reference; -} - -import { extractComplexExtension } from "../../profile-helpers"; - -export class Family_member_history_for_genetics_analysisProfile { - private resource: FamilyMemberHistory - - constructor (resource: FamilyMemberHistory) { - this.resource = resource - } - - toResource () : FamilyMemberHistory { - return this.resource - } - - public setParent (input: Family_member_history_for_genetics_analysis_ParentInput): this { - const subExtensions: Extension[] = [] - if (input.type !== undefined) { - subExtensions.push({ url: "type", valueCodeableConcept: input.type }) - } - if (input.reference !== undefined) { - subExtensions.push({ url: "reference", valueReference: input.reference }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", extension: subExtensions }) - return this - } - - public setSibling (input: Family_member_history_for_genetics_analysis_SiblingInput): this { - const subExtensions: Extension[] = [] - if (input.type !== undefined) { - subExtensions.push({ url: "type", valueCodeableConcept: input.type }) - } - if (input.reference !== undefined) { - subExtensions.push({ url: "reference", valueReference: input.reference }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", extension: subExtensions }) - return this - } - - public setObservation (value: Reference): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", valueReference: value }) - return this - } - - public getParent (): Family_member_history_for_genetics_analysis_ParentInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent") - if (!ext) return undefined - const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "reference", valueField: "valueReference", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Family_member_history_for_genetics_analysis_ParentInput - } - - public getParentExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent") - return ext - } - - public getSibling (): Family_member_history_for_genetics_analysis_SiblingInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling") - if (!ext) return undefined - const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "reference", valueField: "valueReference", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Family_member_history_for_genetics_analysis_SiblingInput - } - - public getSiblingExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling") - return ext - } - - public getObservation (): Reference | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") - return ext?.valueReference - } - - public getObservationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts new file mode 100644 index 000000000..7f9d65aab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts @@ -0,0 +1,246 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-examples/Age"; +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { FamilyMemberHistory } from "../../hl7-fhir-r4-examples/FamilyMemberHistory"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Range } from "../../hl7-fhir-r4-examples/Range"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export type Family_member_history_for_genetics_analysis_ParentInput = { + type: CodeableConcept; + reference: Reference; +} + +export type Family_member_history_for_genetics_analysis_SiblingInput = { + type: CodeableConcept; + reference: Reference; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Family_member_history_for_genetics_analysisProfileParams = { + relationship: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic (pkg: hl7.fhir.r4.examples#4.0.1) +export class Family_member_history_for_genetics_analysisProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic" + + private resource: FamilyMemberHistory + + constructor (resource: FamilyMemberHistory) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic")) profiles.push("http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic") + } + + static from (resource: FamilyMemberHistory) : Family_member_history_for_genetics_analysisProfile { + return new Family_member_history_for_genetics_analysisProfile(resource) + } + + static createResource (args: Family_member_history_for_genetics_analysisProfileParams) : FamilyMemberHistory { + const resource: FamilyMemberHistory = { + resourceType: "FamilyMemberHistory", + relationship: args.relationship, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic"] }, + } as unknown as FamilyMemberHistory + return resource + } + + static create (args: Family_member_history_for_genetics_analysisProfileParams) : Family_member_history_for_genetics_analysisProfile { + return Family_member_history_for_genetics_analysisProfile.from(Family_member_history_for_genetics_analysisProfile.createResource(args)) + } + + toResource () : FamilyMemberHistory { + return this.resource + } + + getRelationship () : CodeableConcept | undefined { + return this.resource.relationship as CodeableConcept | undefined + } + + setRelationship (value: CodeableConcept) : this { + Object.assign(this.resource, { relationship: value }) + return this + } + + getBornPeriod () : Period | undefined { + return this.resource.bornPeriod as Period | undefined + } + + setBornPeriod (value: Period) : this { + Object.assign(this.resource, { bornPeriod: value }) + return this + } + + getBornDate () : string | undefined { + return this.resource.bornDate as string | undefined + } + + setBornDate (value: string) : this { + Object.assign(this.resource, { bornDate: value }) + return this + } + + getBornString () : string | undefined { + return this.resource.bornString as string | undefined + } + + setBornString (value: string) : this { + Object.assign(this.resource, { bornString: value }) + return this + } + + getAgeAge () : Age | undefined { + return this.resource.ageAge as Age | undefined + } + + setAgeAge (value: Age) : this { + Object.assign(this.resource, { ageAge: value }) + return this + } + + getAgeRange () : Range | undefined { + return this.resource.ageRange as Range | undefined + } + + setAgeRange (value: Range) : this { + Object.assign(this.resource, { ageRange: value }) + return this + } + + getAgeString () : string | undefined { + return this.resource.ageString as string | undefined + } + + setAgeString (value: string) : this { + Object.assign(this.resource, { ageString: value }) + return this + } + + getDeceasedBoolean () : boolean | undefined { + return this.resource.deceasedBoolean as boolean | undefined + } + + setDeceasedBoolean (value: boolean) : this { + Object.assign(this.resource, { deceasedBoolean: value }) + return this + } + + getDeceasedAge () : Age | undefined { + return this.resource.deceasedAge as Age | undefined + } + + setDeceasedAge (value: Age) : this { + Object.assign(this.resource, { deceasedAge: value }) + return this + } + + getDeceasedRange () : Range | undefined { + return this.resource.deceasedRange as Range | undefined + } + + setDeceasedRange (value: Range) : this { + Object.assign(this.resource, { deceasedRange: value }) + return this + } + + getDeceasedDate () : string | undefined { + return this.resource.deceasedDate as string | undefined + } + + setDeceasedDate (value: string) : this { + Object.assign(this.resource, { deceasedDate: value }) + return this + } + + getDeceasedString () : string | undefined { + return this.resource.deceasedString as string | undefined + } + + setDeceasedString (value: string) : this { + Object.assign(this.resource, { deceasedString: value }) + return this + } + + public setParent (input: Family_member_history_for_genetics_analysis_ParentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCodeableConcept: input.type }) + } + if (input.reference !== undefined) { + subExtensions.push({ url: "reference", valueReference: input.reference }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", extension: subExtensions }) + return this + } + + public setSibling (input: Family_member_history_for_genetics_analysis_SiblingInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCodeableConcept: input.type }) + } + if (input.reference !== undefined) { + subExtensions.push({ url: "reference", valueReference: input.reference }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", extension: subExtensions }) + return this + } + + public setObservation (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", valueReference: value } as Extension) + return this + } + + public getParent (): Family_member_history_for_genetics_analysis_ParentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "reference", valueField: "valueReference", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Family_member_history_for_genetics_analysis_ParentInput + } + + public getParentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent") + return ext + } + + public getSibling (): Family_member_history_for_genetics_analysis_SiblingInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "reference", valueField: "valueReference", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Family_member_history_for_genetics_analysis_SiblingInput + } + + public getSiblingExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling") + return ext + } + + public getObservation (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getObservationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "relationship", "Family member history for genetics analysis"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GroupDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GroupDefinition.ts deleted file mode 100644 index 16a3d0513..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GroupDefinition.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Group } from "../../hl7-fhir-r4-examples/Group"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/groupdefinition -export class Group_DefinitionProfile { - private resource: Group - - constructor (resource: Group) { - this.resource = resource - } - - toResource () : Group { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Actual_Group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Actual_Group.ts new file mode 100644 index 000000000..1030fb816 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Actual_Group.ts @@ -0,0 +1,62 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Group } from "../../hl7-fhir-r4-examples/Group"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/actualgroup (pkg: hl7.fhir.r4.examples#4.0.1) +export class Actual_GroupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/actualgroup" + + private resource: Group + + constructor (resource: Group) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/actualgroup")) profiles.push("http://hl7.org/fhir/StructureDefinition/actualgroup") + } + + static from (resource: Group) : Actual_GroupProfile { + return new Actual_GroupProfile(resource) + } + + static createResource () : Group { + const resource: Group = { + resourceType: "Group", + actual: true, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/actualgroup"] }, + } as unknown as Group + return resource + } + + static create () : Actual_GroupProfile { + return Actual_GroupProfile.from(Actual_GroupProfile.createResource()) + } + + toResource () : Group { + return this.resource + } + + getActual () : boolean | undefined { + return this.resource.actual as boolean | undefined + } + + setActual (value: boolean) : this { + Object.assign(this.resource, { actual: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "actual", "Actual Group"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "actual", true, "Actual Group"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Group_Definition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Group_Definition.ts new file mode 100644 index 000000000..21220ca2b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Group_Definition.ts @@ -0,0 +1,62 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Group } from "../../hl7-fhir-r4-examples/Group"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/groupdefinition (pkg: hl7.fhir.r4.examples#4.0.1) +export class Group_DefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/groupdefinition" + + private resource: Group + + constructor (resource: Group) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/groupdefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/groupdefinition") + } + + static from (resource: Group) : Group_DefinitionProfile { + return new Group_DefinitionProfile(resource) + } + + static createResource () : Group { + const resource: Group = { + resourceType: "Group", + actual: false, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/groupdefinition"] }, + } as unknown as Group + return resource + } + + static create () : Group_DefinitionProfile { + return Group_DefinitionProfile.from(Group_DefinitionProfile.createResource()) + } + + toResource () : Group { + return this.resource + } + + getActual () : boolean | undefined { + return this.resource.actual as boolean | undefined + } + + setActual (value: boolean) : this { + Object.assign(this.resource, { actual: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "actual", "Group Definition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "actual", false, "Group Definition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts new file mode 100644 index 000000000..300526dec --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts @@ -0,0 +1,117 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { GuidanceResponse } from "../../hl7-fhir-r4-examples/GuidanceResponse"; +import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; + +export interface CDS_Hooks_GuidanceResponse extends GuidanceResponse { + requestIdentifier: Identifier; + identifier: Identifier[]; + moduleUri: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CDS_Hooks_GuidanceResponseProfileParams = { + requestIdentifier: Identifier; + identifier: Identifier[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse (pkg: hl7.fhir.r4.examples#4.0.1) +export class CDS_Hooks_GuidanceResponseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse" + + private resource: GuidanceResponse + + constructor (resource: GuidanceResponse) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse") + } + + static from (resource: GuidanceResponse) : CDS_Hooks_GuidanceResponseProfile { + return new CDS_Hooks_GuidanceResponseProfile(resource) + } + + static createResource (args: CDS_Hooks_GuidanceResponseProfileParams) : GuidanceResponse { + const resource: GuidanceResponse = { + resourceType: "GuidanceResponse", + requestIdentifier: args.requestIdentifier, + identifier: args.identifier, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse"] }, + } as unknown as GuidanceResponse + return resource + } + + static create (args: CDS_Hooks_GuidanceResponseProfileParams) : CDS_Hooks_GuidanceResponseProfile { + return CDS_Hooks_GuidanceResponseProfile.from(CDS_Hooks_GuidanceResponseProfile.createResource(args)) + } + + toResource () : GuidanceResponse { + return this.resource + } + + getRequestIdentifier () : Identifier | undefined { + return this.resource.requestIdentifier as Identifier | undefined + } + + setRequestIdentifier (value: Identifier) : this { + Object.assign(this.resource, { requestIdentifier: value }) + return this + } + + getIdentifier () : Identifier[] | undefined { + return this.resource.identifier as Identifier[] | undefined + } + + setIdentifier (value: Identifier[]) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getModuleUri () : string | undefined { + return this.resource.moduleUri as string | undefined + } + + setModuleUri (value: string) : this { + Object.assign(this.resource, { moduleUri: value }) + return this + } + + toProfile () : CDS_Hooks_GuidanceResponse { + return this.resource as CDS_Hooks_GuidanceResponse + } + + public setCdsHooksEndpoint (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value } as Extension) + return this + } + + public getCdsHooksEndpoint (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getCdsHooksEndpointExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "requestIdentifier", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + { const e = validateRequired(r, "identifier", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","Patient"], "subject", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["Device"], "performer", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["result"], ["CarePlan","RequestGroup"], "result", "CDS Hooks GuidanceResponse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_CQL_Library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_CQL_Library.ts new file mode 100644 index 000000000..5ca3f6c17 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_CQL_Library.ts @@ -0,0 +1,63 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Library } from "../../hl7-fhir-r4-examples/Library"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqllibrary (pkg: hl7.fhir.r4.examples#4.0.1) +export class CQL_LibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqllibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cqllibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/cqllibrary") + } + + static from (resource: Library) : CQL_LibraryProfile { + return new CQL_LibraryProfile(resource) + } + + static createResource () : Library { + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library","display":"Logic Library"}]}, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cqllibrary"] }, + } as unknown as Library + return resource + } + + static create () : CQL_LibraryProfile { + return CQL_LibraryProfile.from(CQL_LibraryProfile.createResource()) + } + + toResource () : Library { + return this.resource + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "CQL Library"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library","display":"Logic Library"}]}, "CQL Library"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_Shareable_Library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_Shareable_Library.ts new file mode 100644 index 000000000..94f3ebaf5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_Shareable_Library.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Library } from "../../hl7-fhir-r4-examples/Library"; + +export interface Shareable_Library extends Library { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_LibraryProfileParams = { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablelibrary (pkg: hl7.fhir.r4.examples#4.0.1) +export class Shareable_LibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablelibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablelibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablelibrary") + } + + static from (resource: Library) : Shareable_LibraryProfile { + return new Shareable_LibraryProfile(resource) + } + + static createResource (args: Shareable_LibraryProfileParams) : Library { + const resource: Library = { + resourceType: "Library", + url: args.url, + version: args.version, + name: args.name, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablelibrary"] }, + } as unknown as Library + return resource + } + + static create (args: Shareable_LibraryProfileParams) : Shareable_LibraryProfile { + return Shareable_LibraryProfile.from(Shareable_LibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_Library { + return this.resource as Shareable_Library + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable Library"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable Library"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Measure_Shareable_Measure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Measure_Shareable_Measure.ts new file mode 100644 index 000000000..55996ef38 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Measure_Shareable_Measure.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Measure } from "../../hl7-fhir-r4-examples/Measure"; + +export interface Shareable_Measure extends Measure { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_MeasureProfileParams = { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablemeasure (pkg: hl7.fhir.r4.examples#4.0.1) +export class Shareable_MeasureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablemeasure" + + private resource: Measure + + constructor (resource: Measure) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablemeasure")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablemeasure") + } + + static from (resource: Measure) : Shareable_MeasureProfile { + return new Shareable_MeasureProfile(resource) + } + + static createResource (args: Shareable_MeasureProfileParams) : Measure { + const resource: Measure = { + resourceType: "Measure", + url: args.url, + version: args.version, + name: args.name, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablemeasure"] }, + } as unknown as Measure + return resource + } + + static create (args: Shareable_MeasureProfileParams) : Shareable_MeasureProfile { + return Shareable_MeasureProfile.from(Shareable_MeasureProfile.createResource(args)) + } + + toResource () : Measure { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_Measure { + return this.resource as Shareable_Measure + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable Measure"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable Measure"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBmi.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBmi.ts deleted file mode 100644 index a7f2d63d9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBmi.ts +++ /dev/null @@ -1,67 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bmi -export interface observation_bmi extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - valueQuantity: Quantity; -} - -export type Observation_bmi_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bmiProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bmi { - return this.resource as observation_bmi - } - - public setVscat (input?: Observation_bmi_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bmi_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bmi_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodyheight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodyheight.ts deleted file mode 100644 index 546c21c61..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodyheight.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyheight -export interface observation_bodyheight extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_bodyheight_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bodyheightProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bodyheight { - return this.resource as observation_bodyheight - } - - public setVscat (input?: Observation_bodyheight_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bodyheight_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodyheight_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodytemp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodytemp.ts deleted file mode 100644 index a92a53d2e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodytemp.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodytemp -export interface observation_bodytemp extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_bodytemp_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bodytempProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bodytemp { - return this.resource as observation_bodytemp - } - - public setVscat (input?: Observation_bodytemp_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bodytemp_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodytemp_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodyweight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodyweight.ts deleted file mode 100644 index f78a1e50e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBodyweight.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyweight -export interface observation_bodyweight extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_bodyweight_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bodyweightProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bodyweight { - return this.resource as observation_bodyweight - } - - public setVscat (input?: Observation_bodyweight_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bodyweight_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodyweight_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBp.ts deleted file mode 100644 index 48f282939..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationBp.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bp -export interface observation_bp extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_bp_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_bpProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_bp { - return this.resource as observation_bp - } - - public setVscat (input?: Observation_bp_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_bp_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bp_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationHeadcircum.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationHeadcircum.ts deleted file mode 100644 index daec3c3ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationHeadcircum.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/headcircum -export interface observation_headcircum extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_headcircum_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_headcircumProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_headcircum { - return this.resource as observation_headcircum - } - - public setVscat (input?: Observation_headcircum_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_headcircum_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_headcircum_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationHeartrate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationHeartrate.ts deleted file mode 100644 index a51961dc9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationHeartrate.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/heartrate -export interface observation_heartrate extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_heartrate_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_heartrateProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_heartrate { - return this.resource as observation_heartrate - } - - public setVscat (input?: Observation_heartrate_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_heartrate_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_heartrate_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationOxygensat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationOxygensat.ts deleted file mode 100644 index bba62b56c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationOxygensat.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/oxygensat -export interface observation_oxygensat extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_oxygensat_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_oxygensatProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_oxygensat { - return this.resource as observation_oxygensat - } - - public setVscat (input?: Observation_oxygensat_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_oxygensat_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_oxygensat_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationResprate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationResprate.ts deleted file mode 100644 index b2f7fa16f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationResprate.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resprate -export interface observation_resprate extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_resprate_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_resprateProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_resprate { - return this.resource as observation_resprate - } - - public setVscat (input?: Observation_resprate_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_resprate_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_resprate_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationVitalsigns.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationVitalsigns.ts deleted file mode 100644 index 5aa73527e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationVitalsigns.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalsigns -export interface observation_vitalsigns extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type Observation_vitalsigns_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_vitalsignsProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_vitalsigns { - return this.resource as observation_vitalsigns - } - - public setVscat (input?: Observation_vitalsigns_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_vitalsigns_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_vitalsigns_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationVitalspanel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationVitalspanel.ts deleted file mode 100644 index 9efcc7960..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationVitalspanel.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalspanel -export interface observation_vitalspanel extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - hasMember: Reference<'MolecularSequence' | 'QuestionnaireResponse' | "Observation" /*observation-vitalsigns*/>[]; -} - -export type Observation_vitalspanel_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Observation_vitalspanelProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : observation_vitalspanel { - return this.resource as observation_vitalspanel - } - - public setVscat (input?: Observation_vitalspanel_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observation_vitalspanel_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_vitalspanel_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Device_Metric_Observation_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Device_Metric_Observation_Profile.ts new file mode 100644 index 000000000..bd334236f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Device_Metric_Observation_Profile.ts @@ -0,0 +1,217 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Range } from "../../hl7-fhir-r4-examples/Range"; +import type { Ratio } from "../../hl7-fhir-r4-examples/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-examples/SampledData"; + +export interface Device_Metric_Observation_Profile extends Observation { + subject: Reference<"Device" | "Patient">; + effectiveDateTime: string; + device: Reference<"DeviceMetric">; + hasMember?: Reference<"Observation">[]; + derivedFrom?: Reference<"Observation">[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Device_Metric_Observation_ProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept; + subject: Reference<"Device" | "Patient">; + device: Reference<"DeviceMetric">; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicemetricobservation (pkg: hl7.fhir.r4.examples#4.0.1) +export class Device_Metric_Observation_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/devicemetricobservation" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/devicemetricobservation")) profiles.push("http://hl7.org/fhir/StructureDefinition/devicemetricobservation") + } + + static from (resource: Observation) : Device_Metric_Observation_ProfileProfile { + return new Device_Metric_Observation_ProfileProfile(resource) + } + + static createResource (args: Device_Metric_Observation_ProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + status: args.status, + code: args.code, + subject: args.subject, + device: args.device, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/devicemetricobservation"] }, + } as unknown as Observation + return resource + } + + static create (args: Device_Metric_Observation_ProfileProfileParams) : Device_Metric_Observation_ProfileProfile { + return Device_Metric_Observation_ProfileProfile.from(Device_Metric_Observation_ProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Patient"> | undefined { + return this.resource.subject as Reference<"Device" | "Patient"> | undefined + } + + setSubject (value: Reference<"Device" | "Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getDevice () : Reference<"DeviceMetric"> | undefined { + return this.resource.device as Reference<"DeviceMetric"> | undefined + } + + setDevice (value: Reference<"DeviceMetric">) : this { + Object.assign(this.resource, { device: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : Device_Metric_Observation_Profile { + return this.resource as Device_Metric_Observation_Profile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Patient"], "subject", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["Encounter"], "encounter", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["specimen"], ["Specimen"], "specimen", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "device", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["device"], ["DeviceMetric"], "device", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["Observation"], "hasMember", "Device Metric Observation Profile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["Observation"], "derivedFrom", "Device Metric Observation Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Example_Lipid_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Example_Lipid_Profile.ts new file mode 100644 index 000000000..1cc64b874 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Example_Lipid_Profile.ts @@ -0,0 +1,100 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { ObservationReferenceRange } from "../../hl7-fhir-r4-examples/Observation"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; + +export interface Example_Lipid_Profile extends Observation { + referenceRange: ObservationReferenceRange[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Example_Lipid_ProfileProfileParams = { + code: CodeableConcept<("18262-6" | "13457-7")>; + referenceRange: ObservationReferenceRange[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ldlcholesterol (pkg: hl7.fhir.r4.examples#4.0.1) +export class Example_Lipid_ProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ldlcholesterol" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/ldlcholesterol")) profiles.push("http://hl7.org/fhir/StructureDefinition/ldlcholesterol") + } + + static from (resource: Observation) : Example_Lipid_ProfileProfile { + return new Example_Lipid_ProfileProfile(resource) + } + + static createResource (args: Example_Lipid_ProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: args.code, + referenceRange: args.referenceRange, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/ldlcholesterol"] }, + } as unknown as Observation + return resource + } + + static create (args: Example_Lipid_ProfileProfileParams) : Example_Lipid_ProfileProfile { + return Example_Lipid_ProfileProfile.from(Example_Lipid_ProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getCode () : CodeableConcept<("18262-6" | "13457-7")> | undefined { + return this.resource.code as CodeableConcept<("18262-6" | "13457-7")> | undefined + } + + setCode (value: CodeableConcept<("18262-6" | "13457-7")>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getReferenceRange () : ObservationReferenceRange[] | undefined { + return this.resource.referenceRange as ObservationReferenceRange[] | undefined + } + + setReferenceRange (value: ObservationReferenceRange[]) : this { + Object.assign(this.resource, { referenceRange: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Example_Lipid_Profile { + return this.resource as Example_Lipid_Profile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateEnum(r["code"], ["18262-6","13457-7"], "code", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateRequired(r, "referenceRange", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["MolecularSequence","Observation","QuestionnaireResponse"], "hasMember", "Example Lipid Profile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","Observation","QuestionnaireResponse"], "derivedFrom", "Example Lipid Profile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationGenetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Observation_genetics.ts similarity index 84% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationGenetics.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Observation_genetics.ts index 501ab1267..0093da6b2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ObservationGenetics.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Observation_genetics.ts @@ -7,7 +7,6 @@ import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-genetics export type Observation_genetics_VariantInput = { Name?: CodeableConcept; Id?: CodeableConcept; @@ -36,13 +35,36 @@ export type Observation_genetics_PhaseSetInput = { MolecularSequence: Reference[]; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-genetics (pkg: hl7.fhir.r4.examples#4.0.1) export class Observation_geneticsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-genetics" + private resource: Observation constructor (resource: Observation) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/observation-genetics")) profiles.push("http://hl7.org/fhir/StructureDefinition/observation-genetics") + } + + static from (resource: Observation) : Observation_geneticsProfile { + return new Observation_geneticsProfile(resource) + } + + static createResource () : Observation { + const resource: Observation = { + resourceType: "Observation", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/observation-genetics"] }, + } as unknown as Observation + return resource + } + + static create () : Observation_geneticsProfile { + return Observation_geneticsProfile.from(Observation_geneticsProfile.createResource()) } toResource () : Observation { @@ -51,31 +73,31 @@ export class Observation_geneticsProfile { public setGene (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", valueCodeableConcept: value } as Extension) return this } public setDnaregionName (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName", valueString: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName", valueString: value } as Extension) return this } public setCopyNumberEvent (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent", valueCodeableConcept: value } as Extension) return this } public setGenomicSourceClass (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass", valueCodeableConcept: value } as Extension) return this } public setInterpretation (value: Reference): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation", valueReference: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation", valueReference: value } as Extension) return this } @@ -157,7 +179,7 @@ export class Observation_geneticsProfile { public getGene (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getGeneExtension (): Extension | undefined { @@ -167,7 +189,7 @@ export class Observation_geneticsProfile { public getDnaregionName (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getDnaregionNameExtension (): Extension | undefined { @@ -177,7 +199,7 @@ export class Observation_geneticsProfile { public getCopyNumberEvent (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getCopyNumberEventExtension (): Extension | undefined { @@ -187,7 +209,7 @@ export class Observation_geneticsProfile { public getGenomicSourceClass (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getGenomicSourceClassExtension (): Extension | undefined { @@ -197,7 +219,7 @@ export class Observation_geneticsProfile { public getInterpretation (): Reference | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation") - return ext?.valueReference + return (ext as Record | undefined)?.valueReference as Reference | undefined } public getInterpretationExtension (): Extension | undefined { @@ -265,5 +287,11 @@ export class Observation_geneticsProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bmi.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bmi.ts new file mode 100644 index 000000000..917528ce1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bmi.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_bmi extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + valueQuantity: Quantity; +} + +export type Observation_bmi_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bmiProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bmi (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_bmiProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bmi" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bmi")) profiles.push("http://hl7.org/fhir/StructureDefinition/bmi") + } + + static from (resource: Observation) : observation_bmiProfile { + return new observation_bmiProfile(resource) + } + + static createResource (args: observation_bmiProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"39156-5","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bmi"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bmiProfileParams) : observation_bmiProfile { + return observation_bmiProfile.from(observation_bmiProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bmi { + return this.resource as observation_bmi + } + + public setVSCat (input?: Observation_bmi_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bmi_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bmi_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bmi"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bmi"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bmi"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bmi.category")) + { const e = validateRequired(r, "code", "observation-bmi"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"39156-5","system":"http://loinc.org"}]}, "observation-bmi"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bmi"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bmi"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bmi"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bmi"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyheight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyheight.ts new file mode 100644 index 000000000..de65a757c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyheight.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_bodyheight extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_bodyheight_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bodyheightProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyheight (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_bodyheightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodyheight" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodyheight")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodyheight") + } + + static from (resource: Observation) : observation_bodyheightProfile { + return new observation_bodyheightProfile(resource) + } + + static createResource (args: observation_bodyheightProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8302-2","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodyheight"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bodyheightProfileParams) : observation_bodyheightProfile { + return observation_bodyheightProfile.from(observation_bodyheightProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bodyheight { + return this.resource as observation_bodyheight + } + + public setVSCat (input?: Observation_bodyheight_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bodyheight_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodyheight_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bodyheight"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bodyheight.category")) + { const e = validateRequired(r, "code", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8302-2","system":"http://loinc.org"}]}, "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bodyheight"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bodyheight"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bodyheight"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodytemp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodytemp.ts new file mode 100644 index 000000000..a93c237e0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodytemp.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_bodytemp extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_bodytemp_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bodytempProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodytemp (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_bodytempProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodytemp" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodytemp")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodytemp") + } + + static from (resource: Observation) : observation_bodytempProfile { + return new observation_bodytempProfile(resource) + } + + static createResource (args: observation_bodytempProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8310-5","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodytemp"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bodytempProfileParams) : observation_bodytempProfile { + return observation_bodytempProfile.from(observation_bodytempProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bodytemp { + return this.resource as observation_bodytemp + } + + public setVSCat (input?: Observation_bodytemp_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bodytemp_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodytemp_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bodytemp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bodytemp.category")) + { const e = validateRequired(r, "code", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8310-5","system":"http://loinc.org"}]}, "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bodytemp"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bodytemp"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bodytemp"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyweight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyweight.ts new file mode 100644 index 000000000..6e6767bc2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyweight.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_bodyweight extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_bodyweight_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bodyweightProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyweight (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_bodyweightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodyweight" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodyweight")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodyweight") + } + + static from (resource: Observation) : observation_bodyweightProfile { + return new observation_bodyweightProfile(resource) + } + + static createResource (args: observation_bodyweightProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"29463-7","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodyweight"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bodyweightProfileParams) : observation_bodyweightProfile { + return observation_bodyweightProfile.from(observation_bodyweightProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bodyweight { + return this.resource as observation_bodyweight + } + + public setVSCat (input?: Observation_bodyweight_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bodyweight_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bodyweight_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bodyweight"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bodyweight.category")) + { const e = validateRequired(r, "code", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"29463-7","system":"http://loinc.org"}]}, "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bodyweight"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bodyweight"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bodyweight"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bp.ts new file mode 100644 index 000000000..03372bd6c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bp.ts @@ -0,0 +1,264 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { ObservationComponent } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_bp extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_bp_Category_VSCatSliceInput = Omit; +export type Observation_bp_Component_SystolicBPSliceInput = Omit; +export type Observation_bp_Component_DiastolicBPSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_bpProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + component?: ObservationComponent[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bp (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_bpProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bp" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bp")) profiles.push("http://hl7.org/fhir/StructureDefinition/bp") + } + + static from (resource: Observation) : observation_bpProfile { + return new observation_bpProfile(resource) + } + + static createResource (args: observation_bpProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const componentDefaults = [{"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}},{"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}}] as unknown[] + const componentWithDefaults = [...(args.component ?? [])] as unknown[] + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record))) componentWithDefaults.push(componentDefaults[0]!) + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record))) componentWithDefaults.push(componentDefaults[1]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"85354-9","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + component: componentWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bp"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_bpProfileParams) : observation_bpProfile { + return observation_bpProfile.from(observation_bpProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getComponent () : ObservationComponent[] | undefined { + return this.resource.component as ObservationComponent[] | undefined + } + + setComponent (value: ObservationComponent[]) : this { + Object.assign(this.resource, { component: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_bp { + return this.resource as observation_bp + } + + public setVSCat (input?: Observation_bp_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSystolicBP (input?: Observation_bp_Component_SystolicBPSliceInput): this { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setDiastolicBP (input?: Observation_bp_Component_DiastolicBPSliceInput): this { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_bp_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_bp_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getSystolicBP (): Observation_bp_Component_SystolicBPSliceInput | undefined { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as Observation_bp_Component_SystolicBPSliceInput + } + + public getSystolicBPRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getDiastolicBP (): Observation_bp_Component_DiastolicBPSliceInput | undefined { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as Observation_bp_Component_DiastolicBPSliceInput + } + + public getDiastolicBPRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-bp"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-bp"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-bp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-bp.category")) + { const e = validateRequired(r, "code", "observation-bp"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"85354-9","system":"http://loinc.org"}]}, "observation-bp"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-bp"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-bp"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-bp"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-bp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}}, "SystolicBP", 1, 1, "observation-bp.component")) + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}}, "DiastolicBP", 1, 1, "observation-bp.component")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_headcircum.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_headcircum.ts new file mode 100644 index 000000000..8381d3b09 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_headcircum.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_headcircum extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_headcircum_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_headcircumProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/headcircum (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_headcircumProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/headcircum" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/headcircum")) profiles.push("http://hl7.org/fhir/StructureDefinition/headcircum") + } + + static from (resource: Observation) : observation_headcircumProfile { + return new observation_headcircumProfile(resource) + } + + static createResource (args: observation_headcircumProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"9843-4","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/headcircum"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_headcircumProfileParams) : observation_headcircumProfile { + return observation_headcircumProfile.from(observation_headcircumProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_headcircum { + return this.resource as observation_headcircum + } + + public setVSCat (input?: Observation_headcircum_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_headcircum_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_headcircum_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-headcircum"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-headcircum.category")) + { const e = validateRequired(r, "code", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"9843-4","system":"http://loinc.org"}]}, "observation-headcircum"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-headcircum"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-headcircum"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-headcircum"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_heartrate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_heartrate.ts new file mode 100644 index 000000000..996517eeb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_heartrate.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_heartrate extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_heartrate_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_heartrateProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/heartrate (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_heartrateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/heartrate" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/heartrate")) profiles.push("http://hl7.org/fhir/StructureDefinition/heartrate") + } + + static from (resource: Observation) : observation_heartrateProfile { + return new observation_heartrateProfile(resource) + } + + static createResource (args: observation_heartrateProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8867-4","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/heartrate"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_heartrateProfileParams) : observation_heartrateProfile { + return observation_heartrateProfile.from(observation_heartrateProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_heartrate { + return this.resource as observation_heartrate + } + + public setVSCat (input?: Observation_heartrate_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_heartrate_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_heartrate_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-heartrate"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-heartrate.category")) + { const e = validateRequired(r, "code", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8867-4","system":"http://loinc.org"}]}, "observation-heartrate"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-heartrate"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-heartrate"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-heartrate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_oxygensat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_oxygensat.ts new file mode 100644 index 000000000..d44cb1b9c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_oxygensat.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_oxygensat extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_oxygensat_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_oxygensatProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/oxygensat (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_oxygensatProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/oxygensat" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/oxygensat")) profiles.push("http://hl7.org/fhir/StructureDefinition/oxygensat") + } + + static from (resource: Observation) : observation_oxygensatProfile { + return new observation_oxygensatProfile(resource) + } + + static createResource (args: observation_oxygensatProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"2708-6","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/oxygensat"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_oxygensatProfileParams) : observation_oxygensatProfile { + return observation_oxygensatProfile.from(observation_oxygensatProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_oxygensat { + return this.resource as observation_oxygensat + } + + public setVSCat (input?: Observation_oxygensat_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_oxygensat_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_oxygensat_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-oxygensat"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-oxygensat.category")) + { const e = validateRequired(r, "code", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"2708-6","system":"http://loinc.org"}]}, "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-oxygensat"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-oxygensat"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-oxygensat"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_resprate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_resprate.ts new file mode 100644 index 000000000..5424faff6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_resprate.ts @@ -0,0 +1,184 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_resprate extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_resprate_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_resprateProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resprate (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_resprateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resprate" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/resprate")) profiles.push("http://hl7.org/fhir/StructureDefinition/resprate") + } + + static from (resource: Observation) : observation_resprateProfile { + return new observation_resprateProfile(resource) + } + + static createResource (args: observation_resprateProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"9279-1","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/resprate"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_resprateProfileParams) : observation_resprateProfile { + return observation_resprateProfile.from(observation_resprateProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : observation_resprate { + return this.resource as observation_resprate + } + + public setVSCat (input?: Observation_resprate_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_resprate_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_resprate_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-resprate"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-resprate"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-resprate"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-resprate.category")) + { const e = validateRequired(r, "code", "observation-resprate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"9279-1","system":"http://loinc.org"}]}, "observation-resprate"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-resprate"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-resprate"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-resprate"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-resprate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalsigns.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalsigns.ts new file mode 100644 index 000000000..921af554d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalsigns.ts @@ -0,0 +1,174 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_vitalsigns extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type Observation_vitalsigns_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_vitalsignsProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>; + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalsigns (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_vitalsignsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/vitalsigns" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/vitalsigns")) profiles.push("http://hl7.org/fhir/StructureDefinition/vitalsigns") + } + + static from (resource: Observation) : observation_vitalsignsProfile { + return new observation_vitalsignsProfile(resource) + } + + static createResource (args: observation_vitalsignsProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/vitalsigns"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_vitalsignsProfileParams) : observation_vitalsignsProfile { + return observation_vitalsignsProfile.from(observation_vitalsignsProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : observation_vitalsigns { + return this.resource as observation_vitalsigns + } + + public setVSCat (input?: Observation_vitalsigns_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_vitalsigns_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_vitalsigns_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-vitalsigns"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-vitalsigns.category")) + { const e = validateRequired(r, "code", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-vitalsigns"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-vitalsigns"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-vitalsigns"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalspanel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalspanel.ts new file mode 100644 index 000000000..3f370a364 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalspanel.ts @@ -0,0 +1,187 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-examples/Observation"; +import type { Period } from "../../hl7-fhir-r4-examples/Period"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface observation_vitalspanel extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + hasMember: Reference<'MolecularSequence' | 'QuestionnaireResponse' | "Observation" /*observation-vitalsigns*/>[]; +} + +export type Observation_vitalspanel_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type observation_vitalspanelProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>; + subject: Reference<"Patient">; + hasMember: Reference<"MolecularSequence" | "QuestionnaireResponse" | "observation-vitalsigns">[]; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalspanel (pkg: hl7.fhir.r4.examples#4.0.1) +export class observation_vitalspanelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/vitalspanel" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/vitalspanel")) profiles.push("http://hl7.org/fhir/StructureDefinition/vitalspanel") + } + + static from (resource: Observation) : observation_vitalspanelProfile { + return new observation_vitalspanelProfile(resource) + } + + static createResource (args: observation_vitalspanelProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + hasMember: args.hasMember, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/vitalspanel"] }, + } as unknown as Observation + return resource + } + + static create (args: observation_vitalspanelProfileParams) : observation_vitalspanelProfile { + return observation_vitalspanelProfile.from(observation_vitalspanelProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getHasMember () : Reference<"MolecularSequence" | "QuestionnaireResponse" | "observation-vitalsigns">[] | undefined { + return this.resource.hasMember as Reference<"MolecularSequence" | "QuestionnaireResponse" | "observation-vitalsigns">[] | undefined + } + + setHasMember (value: Reference<"MolecularSequence" | "QuestionnaireResponse" | "observation-vitalsigns">[]) : this { + Object.assign(this.resource, { hasMember: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : observation_vitalspanel { + return this.resource as observation_vitalspanel + } + + public setVSCat (input?: Observation_vitalspanel_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observation_vitalspanel_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observation_vitalspanel_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "observation-vitalspanel"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "observation-vitalspanel.category")) + { const e = validateRequired(r, "code", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "observation-vitalspanel"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateRequired(r, "hasMember", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "observation-vitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "observation-vitalspanel"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PicoElementProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PicoElementProfile.ts deleted file mode 100644 index 3040408a6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PicoElementProfile.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { EvidenceVariable } from "../../hl7-fhir-r4-examples/EvidenceVariable"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/picoelement -export class PICO_Element_ProfileProfile { - private resource: EvidenceVariable - - constructor (resource: EvidenceVariable) { - this.resource = resource - } - - toResource () : EvidenceVariable { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts new file mode 100644 index 000000000..90fc38f84 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts @@ -0,0 +1,67 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { PlanDefinition } from "../../hl7-fhir-r4-examples/PlanDefinition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition (pkg: hl7.fhir.r4.examples#4.0.1) +export class CDS_Hooks_Service_PlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition") + } + + static from (resource: PlanDefinition) : CDS_Hooks_Service_PlanDefinitionProfile { + return new CDS_Hooks_Service_PlanDefinitionProfile(resource) + } + + static createResource () : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create () : CDS_Hooks_Service_PlanDefinitionProfile { + return CDS_Hooks_Service_PlanDefinitionProfile.from(CDS_Hooks_Service_PlanDefinitionProfile.createResource()) + } + + toResource () : PlanDefinition { + return this.resource + } + + public setCdsHooksEndpoint (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value } as Extension) + return this + } + + public getCdsHooksEndpoint (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getCdsHooksEndpointExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Computable_PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Computable_PlanDefinition.ts new file mode 100644 index 000000000..ef00f0f25 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Computable_PlanDefinition.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { PlanDefinition } from "../../hl7-fhir-r4-examples/PlanDefinition"; + +export interface Computable_PlanDefinition extends PlanDefinition { + library: string[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Computable_PlanDefinitionProfileParams = { + library: string[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/computableplandefinition (pkg: hl7.fhir.r4.examples#4.0.1) +export class Computable_PlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/computableplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/computableplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/computableplandefinition") + } + + static from (resource: PlanDefinition) : Computable_PlanDefinitionProfile { + return new Computable_PlanDefinitionProfile(resource) + } + + static createResource (args: Computable_PlanDefinitionProfileParams) : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + library: args.library, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/computableplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create (args: Computable_PlanDefinitionProfileParams) : Computable_PlanDefinitionProfile { + return Computable_PlanDefinitionProfile.from(Computable_PlanDefinitionProfile.createResource(args)) + } + + toResource () : PlanDefinition { + return this.resource + } + + getLibrary () : string[] | undefined { + return this.resource.library as string[] | undefined + } + + setLibrary (value: string[]) : this { + Object.assign(this.resource, { library: value }) + return this + } + + toProfile () : Computable_PlanDefinition { + return this.resource as Computable_PlanDefinition + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "library", "Computable PlanDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Shareable_PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Shareable_PlanDefinition.ts new file mode 100644 index 000000000..ff267c9f2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Shareable_PlanDefinition.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { PlanDefinition } from "../../hl7-fhir-r4-examples/PlanDefinition"; + +export interface Shareable_PlanDefinition extends PlanDefinition { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_PlanDefinitionProfileParams = { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableplandefinition (pkg: hl7.fhir.r4.examples#4.0.1) +export class Shareable_PlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareableplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareableplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareableplandefinition") + } + + static from (resource: PlanDefinition) : Shareable_PlanDefinitionProfile { + return new Shareable_PlanDefinitionProfile(resource) + } + + static createResource (args: Shareable_PlanDefinitionProfileParams) : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + url: args.url, + version: args.version, + name: args.name, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareableplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create (args: Shareable_PlanDefinitionProfileParams) : Shareable_PlanDefinitionProfile { + return Shareable_PlanDefinitionProfile.from(Shareable_PlanDefinitionProfile.createResource(args)) + } + + toResource () : PlanDefinition { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_PlanDefinition { + return this.resource as Shareable_PlanDefinition + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable PlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable PlanDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProfileForCatalog.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProfileForCatalog.ts deleted file mode 100644 index edfa91776..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProfileForCatalog.ts +++ /dev/null @@ -1,46 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Composition } from "../../hl7-fhir-r4-examples/Composition"; -import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/catalog -export interface Profile_for_Catalog extends Composition { - category: CodeableConcept[]; -} - -export class Profile_for_CatalogProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - - toProfile () : Profile_for_Catalog { - return this.resource as Profile_for_Catalog - } - - public setValidityPeriod (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", valueDateTime: value }) - return this - } - - public getValidityPeriod (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") - return ext?.valueDateTime - } - - public getValidityPeriodExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProvenanceRelevantHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProvenanceRelevantHistory.ts deleted file mode 100644 index 163043388..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ProvenanceRelevantHistory.ts +++ /dev/null @@ -1,64 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; -import type { Provenance } from "../../hl7-fhir-r4-examples/Provenance"; -import type { ProvenanceAgent } from "../../hl7-fhir-r4-examples/Provenance"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history -export interface Provenance_Relevant_History extends Provenance { - activity: CodeableConcept; -} - -export type Provenance_Relevant_History_Agent_AuthorSliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class Provenance_Relevant_HistoryProfile { - private resource: Provenance - - constructor (resource: Provenance) { - this.resource = resource - } - - toResource () : Provenance { - return this.resource - } - - toProfile () : Provenance_Relevant_History { - return this.resource as Provenance_Relevant_History - } - - public setAuthor (input: Provenance_Relevant_History_Agent_AuthorSliceInput): this { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as ProvenanceAgent - const list = (this.resource.agent ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getAuthor (): Provenance_Relevant_History_Agent_AuthorSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const list = this.resource.agent - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as Provenance_Relevant_History_Agent_AuthorSliceInput - } - - public getAuthorRaw (): ProvenanceAgent | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const list = this.resource.agent - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts new file mode 100644 index 000000000..f62e573f2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts @@ -0,0 +1,93 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Provenance } from "../../hl7-fhir-r4-examples/Provenance"; +import type { ProvenanceAgent } from "../../hl7-fhir-r4-examples/Provenance"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EHRS_FM_Record_Lifecycle_Event___ProvenanceProfileParams = { + target: Reference<"Resource">[]; + recorded: string; + agent: ProvenanceAgent[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance (pkg: hl7.fhir.r4.examples#4.0.1) +export class EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance" + + private resource: Provenance + + constructor (resource: Provenance) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance")) profiles.push("http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance") + } + + static from (resource: Provenance) : EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile { + return new EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile(resource) + } + + static createResource (args: EHRS_FM_Record_Lifecycle_Event___ProvenanceProfileParams) : Provenance { + const resource: Provenance = { + resourceType: "Provenance", + target: args.target, + recorded: args.recorded, + agent: args.agent, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance"] }, + } as unknown as Provenance + return resource + } + + static create (args: EHRS_FM_Record_Lifecycle_Event___ProvenanceProfileParams) : EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile { + return EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile.from(EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile.createResource(args)) + } + + toResource () : Provenance { + return this.resource + } + + getTarget () : Reference<"Resource">[] | undefined { + return this.resource.target as Reference<"Resource">[] | undefined + } + + setTarget (value: Reference<"Resource">[]) : this { + Object.assign(this.resource, { target: value }) + return this + } + + getRecorded () : string | undefined { + return this.resource.recorded as string | undefined + } + + setRecorded (value: string) : this { + Object.assign(this.resource, { recorded: value }) + return this + } + + getAgent () : ProvenanceAgent[] | undefined { + return this.resource.agent as ProvenanceAgent[] | undefined + } + + setAgent (value: ProvenanceAgent[]) : this { + Object.assign(this.resource, { agent: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "target", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + { const e = validateReference(r["target"], ["Resource"], "target", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + { const e = validateRequired(r, "recorded", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + { const e = validateReference(r["location"], ["Location"], "location", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + { const e = validateRequired(r, "agent", "EHRS FM Record Lifecycle Event - Provenance"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_Provenance_Relevant_History.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_Provenance_Relevant_History.ts new file mode 100644 index 000000000..0aff5bd32 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_Provenance_Relevant_History.ts @@ -0,0 +1,148 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-examples/CodeableConcept"; +import type { Provenance } from "../../hl7-fhir-r4-examples/Provenance"; +import type { ProvenanceAgent } from "../../hl7-fhir-r4-examples/Provenance"; +import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; + +export interface Provenance_Relevant_History extends Provenance { + activity: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>; +} + +export type Provenance_Relevant_History_Agent_AuthorSliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Provenance_Relevant_HistoryProfileParams = { + target: Reference<"Resource">[]; + occurredDateTime: string; + activity: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>; + agent: ProvenanceAgent[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history (pkg: hl7.fhir.r4.examples#4.0.1) +export class Provenance_Relevant_HistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history" + + private resource: Provenance + + constructor (resource: Provenance) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/provenance-relevant-history")) profiles.push("http://hl7.org/fhir/StructureDefinition/provenance-relevant-history") + } + + static from (resource: Provenance) : Provenance_Relevant_HistoryProfile { + return new Provenance_Relevant_HistoryProfile(resource) + } + + static createResource (args: Provenance_Relevant_HistoryProfileParams) : Provenance { + const resource: Provenance = { + resourceType: "Provenance", + target: args.target, + occurredDateTime: args.occurredDateTime, + activity: args.activity, + agent: args.agent, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/provenance-relevant-history"] }, + } as unknown as Provenance + return resource + } + + static create (args: Provenance_Relevant_HistoryProfileParams) : Provenance_Relevant_HistoryProfile { + return Provenance_Relevant_HistoryProfile.from(Provenance_Relevant_HistoryProfile.createResource(args)) + } + + toResource () : Provenance { + return this.resource + } + + getTarget () : Reference<"Resource">[] | undefined { + return this.resource.target as Reference<"Resource">[] | undefined + } + + setTarget (value: Reference<"Resource">[]) : this { + Object.assign(this.resource, { target: value }) + return this + } + + getOccurredDateTime () : string | undefined { + return this.resource.occurredDateTime as string | undefined + } + + setOccurredDateTime (value: string) : this { + Object.assign(this.resource, { occurredDateTime: value }) + return this + } + + getActivity () : CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)> | undefined { + return this.resource.activity as CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)> | undefined + } + + setActivity (value: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>) : this { + Object.assign(this.resource, { activity: value }) + return this + } + + getAgent () : ProvenanceAgent[] | undefined { + return this.resource.agent as ProvenanceAgent[] | undefined + } + + setAgent (value: ProvenanceAgent[]) : this { + Object.assign(this.resource, { agent: value }) + return this + } + + toProfile () : Provenance_Relevant_History { + return this.resource as Provenance_Relevant_History + } + + public setAuthor (input: Provenance_Relevant_History_Agent_AuthorSliceInput): this { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const value = applySliceMatch(input as Record, match) as unknown as ProvenanceAgent + const list = (this.resource.agent ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getAuthor (): Provenance_Relevant_History_Agent_AuthorSliceInput | undefined { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const list = this.resource.agent + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as Provenance_Relevant_History_Agent_AuthorSliceInput + } + + public getAuthorRaw (): ProvenanceAgent | undefined { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const list = this.resource.agent + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "target", "Provenance Relevant History"); if (e) errors.push(e) } + { const e = validateReference(r["target"], ["Resource"], "target", "Provenance Relevant History"); if (e) errors.push(e) } + if (!(r["occurredDateTime"] !== undefined)) { + errors.push("occurred: at least one of occurredDateTime is required") + } + { const e = validateRequired(r, "activity", "Provenance Relevant History"); if (e) errors.push(e) } + { const e = validateRequired(r, "agent", "Provenance Relevant History"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["agent"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}}, "Author", 0, 1, "Provenance Relevant History.agent")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_MoneyQuantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_MoneyQuantity.ts new file mode 100644 index 000000000..6a931647c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_MoneyQuantity.ts @@ -0,0 +1,42 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MoneyQuantity (pkg: hl7.fhir.r4.examples#4.0.1) +export class MoneyQuantityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/MoneyQuantity" + + private resource: Quantity + + constructor (resource: Quantity) { + this.resource = resource + } + + static from (resource: Quantity) : MoneyQuantityProfile { + return new MoneyQuantityProfile(resource) + } + + static createResource () : Quantity { + const resource: Quantity = { + } as unknown as Quantity + return resource + } + + static create () : MoneyQuantityProfile { + return MoneyQuantityProfile.from(MoneyQuantityProfile.createResource()) + } + + toResource () : Quantity { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_SimpleQuantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_SimpleQuantity.ts new file mode 100644 index 000000000..504a4bfc0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_SimpleQuantity.ts @@ -0,0 +1,45 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../../hl7-fhir-r4-examples/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SimpleQuantity (pkg: hl7.fhir.r4.examples#4.0.1) +export class SimpleQuantityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + + private resource: Quantity + + constructor (resource: Quantity) { + this.resource = resource + } + + static from (resource: Quantity) : SimpleQuantityProfile { + return new SimpleQuantityProfile(resource) + } + + static createResource () : Quantity { + const resource: Quantity = { + } as unknown as Quantity + return resource + } + + static create () : SimpleQuantityProfile { + return SimpleQuantityProfile.from(SimpleQuantityProfile.createResource()) + } + + toResource () : Quantity { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["comparator"], ["<","<=",">=",">"], "comparator", "SimpleQuantity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Questionnaire_CQF_Questionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Questionnaire_CQF_Questionnaire.ts new file mode 100644 index 000000000..7abc99398 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Questionnaire_CQF_Questionnaire.ts @@ -0,0 +1,67 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; +import type { Questionnaire } from "../../hl7-fhir-r4-examples/Questionnaire"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-questionnaire (pkg: hl7.fhir.r4.examples#4.0.1) +export class CQF_QuestionnaireProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-questionnaire" + + private resource: Questionnaire + + constructor (resource: Questionnaire) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cqf-questionnaire")) profiles.push("http://hl7.org/fhir/StructureDefinition/cqf-questionnaire") + } + + static from (resource: Questionnaire) : CQF_QuestionnaireProfile { + return new CQF_QuestionnaireProfile(resource) + } + + static createResource () : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cqf-questionnaire"] }, + } as unknown as Questionnaire + return resource + } + + static create () : CQF_QuestionnaireProfile { + return CQF_QuestionnaireProfile.from(CQF_QuestionnaireProfile.createResource()) + } + + toResource () : Questionnaire { + return this.resource + } + + public setLibrary (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value } as Extension) + return this + } + + public getLibrary (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getLibraryExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts new file mode 100644 index 000000000..82f33fee1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Identifier } from "../../hl7-fhir-r4-examples/Identifier"; +import type { RequestGroup } from "../../hl7-fhir-r4-examples/RequestGroup"; + +export interface CDS_Hooks_RequestGroup extends RequestGroup { + identifier: Identifier[]; + instantiatesUri: string[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CDS_Hooks_RequestGroupProfileParams = { + identifier: Identifier[]; + instantiatesUri: string[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup (pkg: hl7.fhir.r4.examples#4.0.1) +export class CDS_Hooks_RequestGroupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup" + + private resource: RequestGroup + + constructor (resource: RequestGroup) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup") + } + + static from (resource: RequestGroup) : CDS_Hooks_RequestGroupProfile { + return new CDS_Hooks_RequestGroupProfile(resource) + } + + static createResource (args: CDS_Hooks_RequestGroupProfileParams) : RequestGroup { + const resource: RequestGroup = { + resourceType: "RequestGroup", + identifier: args.identifier, + instantiatesUri: args.instantiatesUri, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup"] }, + } as unknown as RequestGroup + return resource + } + + static create (args: CDS_Hooks_RequestGroupProfileParams) : CDS_Hooks_RequestGroupProfile { + return CDS_Hooks_RequestGroupProfile.from(CDS_Hooks_RequestGroupProfile.createResource(args)) + } + + toResource () : RequestGroup { + return this.resource + } + + getIdentifier () : Identifier[] | undefined { + return this.resource.identifier as Identifier[] | undefined + } + + setIdentifier (value: Identifier[]) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getInstantiatesUri () : string[] | undefined { + return this.resource.instantiatesUri as string[] | undefined + } + + setInstantiatesUri (value: string[]) : this { + Object.assign(this.resource, { instantiatesUri: value }) + return this + } + + toProfile () : CDS_Hooks_RequestGroup { + return this.resource as CDS_Hooks_RequestGroup + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "identifier", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + { const e = validateRequired(r, "instantiatesUri", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + { const e = validateEnum(r["priority"], ["routine","urgent","asap","stat"], "priority", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","Patient"], "subject", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + { const e = validateReference(r["author"], ["Device","Practitioner","PractitionerRole"], "author", "CDS Hooks RequestGroup"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ServiceRequestGenetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ServiceRequest_ServiceRequest_Genetics.ts similarity index 65% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ServiceRequestGenetics.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ServiceRequest_ServiceRequest_Genetics.ts index aeecbb71b..66a28ace7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ServiceRequestGenetics.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ServiceRequest_ServiceRequest_Genetics.ts @@ -7,7 +7,6 @@ import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; import type { ServiceRequest } from "../../hl7-fhir-r4-examples/ServiceRequest"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-genetics export type ServiceRequest_Genetics_ItemInput = { code: CodeableConcept; geneticsObservation?: Reference; @@ -15,13 +14,36 @@ export type ServiceRequest_Genetics_ItemInput = { status?: string; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-genetics (pkg: hl7.fhir.r4.examples#4.0.1) export class ServiceRequest_GeneticsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-genetics" + private resource: ServiceRequest constructor (resource: ServiceRequest) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/servicerequest-genetics")) profiles.push("http://hl7.org/fhir/StructureDefinition/servicerequest-genetics") + } + + static from (resource: ServiceRequest) : ServiceRequest_GeneticsProfile { + return new ServiceRequest_GeneticsProfile(resource) + } + + static createResource () : ServiceRequest { + const resource: ServiceRequest = { + resourceType: "ServiceRequest", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/servicerequest-genetics"] }, + } as unknown as ServiceRequest + return resource + } + + static create () : ServiceRequest_GeneticsProfile { + return ServiceRequest_GeneticsProfile.from(ServiceRequest_GeneticsProfile.createResource()) } toResource () : ServiceRequest { @@ -59,5 +81,11 @@ export class ServiceRequest_GeneticsProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableActivityDefinition.ts deleted file mode 100644 index 8357ddfb4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableActivityDefinition.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ActivityDefinition } from "../../hl7-fhir-r4-examples/ActivityDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition -export interface Shareable_ActivityDefinition extends ActivityDefinition { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_ActivityDefinitionProfile { - private resource: ActivityDefinition - - constructor (resource: ActivityDefinition) { - this.resource = resource - } - - toResource () : ActivityDefinition { - return this.resource - } - - toProfile () : Shareable_ActivityDefinition { - return this.resource as Shareable_ActivityDefinition - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableCodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableCodeSystem.ts deleted file mode 100644 index 76033d4c2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableCodeSystem.ts +++ /dev/null @@ -1,35 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeSystem } from "../../hl7-fhir-r4-examples/CodeSystem"; -import type { CodeSystemConcept } from "../../hl7-fhir-r4-examples/CodeSystem"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablecodesystem -export interface Shareable_CodeSystem extends CodeSystem { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; - concept: CodeSystemConcept[]; -} - -export class Shareable_CodeSystemProfile { - private resource: CodeSystem - - constructor (resource: CodeSystem) { - this.resource = resource - } - - toResource () : CodeSystem { - return this.resource - } - - toProfile () : Shareable_CodeSystem { - return this.resource as Shareable_CodeSystem - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableLibrary.ts deleted file mode 100644 index c4babd846..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableLibrary.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Library } from "../../hl7-fhir-r4-examples/Library"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablelibrary -export interface Shareable_Library extends Library { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_LibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : Shareable_Library { - return this.resource as Shareable_Library - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableMeasure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableMeasure.ts deleted file mode 100644 index a86d0c85e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableMeasure.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Measure } from "../../hl7-fhir-r4-examples/Measure"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablemeasure -export interface Shareable_Measure extends Measure { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_MeasureProfile { - private resource: Measure - - constructor (resource: Measure) { - this.resource = resource - } - - toResource () : Measure { - return this.resource - } - - toProfile () : Shareable_Measure { - return this.resource as Shareable_Measure - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareablePlanDefinition.ts deleted file mode 100644 index 01fb9e04e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareablePlanDefinition.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { PlanDefinition } from "../../hl7-fhir-r4-examples/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableplandefinition -export interface Shareable_PlanDefinition extends PlanDefinition { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_PlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - toProfile () : Shareable_PlanDefinition { - return this.resource as Shareable_PlanDefinition - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableValueSet.ts deleted file mode 100644 index 2f1d11b9a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ShareableValueSet.ts +++ /dev/null @@ -1,33 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ValueSet } from "../../hl7-fhir-r4-examples/ValueSet"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablevalueset -export interface Shareable_ValueSet extends ValueSet { - url: string; - version: string; - name: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class Shareable_ValueSetProfile { - private resource: ValueSet - - constructor (resource: ValueSet) { - this.resource = resource - } - - toResource () : ValueSet { - return this.resource - } - - toProfile () : Shareable_ValueSet { - return this.resource as Shareable_ValueSet - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ValueSet_Shareable_ValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ValueSet_Shareable_ValueSet.ts new file mode 100644 index 000000000..ef64d6713 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ValueSet_Shareable_ValueSet.ts @@ -0,0 +1,151 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ValueSet } from "../../hl7-fhir-r4-examples/ValueSet"; + +export interface Shareable_ValueSet extends ValueSet { + url: string; + version: string; + name: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type Shareable_ValueSetProfileParams = { + url: string; + version: string; + name: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablevalueset (pkg: hl7.fhir.r4.examples#4.0.1) +export class Shareable_ValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + + private resource: ValueSet + + constructor (resource: ValueSet) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablevalueset")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablevalueset") + } + + static from (resource: ValueSet) : Shareable_ValueSetProfile { + return new Shareable_ValueSetProfile(resource) + } + + static createResource (args: Shareable_ValueSetProfileParams) : ValueSet { + const resource: ValueSet = { + resourceType: "ValueSet", + url: args.url, + version: args.version, + name: args.name, + status: args.status, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"] }, + } as unknown as ValueSet + return resource + } + + static create (args: Shareable_ValueSetProfileParams) : Shareable_ValueSetProfile { + return Shareable_ValueSetProfile.from(Shareable_ValueSetProfile.createResource(args)) + } + + toResource () : ValueSet { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : Shareable_ValueSet { + return this.resource as Shareable_ValueSet + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "Shareable ValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "Shareable ValueSet"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/index.ts index 4c9619337..775aafe53 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/index.ts @@ -1,41 +1,427 @@ -export { Actual_GroupProfile } from "./ActualGroup"; -export { CDS_Hooks_GuidanceResponseProfile } from "./CdsHooksGuidanceResponse"; -export { CDS_Hooks_RequestGroupProfile } from "./CdsHooksRequestGroup"; -export { CDS_Hooks_Service_PlanDefinitionProfile } from "./CdsHooksServicePlanDefinition"; -export { Clinical_DocumentProfile } from "./ClinicalDocument"; -export { Computable_PlanDefinitionProfile } from "./ComputablePlanDefinition"; -export { CQF_QuestionnaireProfile } from "./CqfQuestionnaire"; -export { CQL_LibraryProfile } from "./CqlLibrary"; -export { Device_Metric_Observation_ProfileProfile } from "./DeviceMetricObservationProfile"; -export { DiagnosticReport_GeneticsProfile } from "./DiagnosticReportGenetics"; -export { DocumentSectionLibraryProfile } from "./DocumentSectionLibrary"; -export { DocumentStructureProfile } from "./DocumentStructure"; -export { EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile } from "./EhrsFmRecordLifecycleEventAuditEvent"; -export { EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile } from "./EhrsFmRecordLifecycleEventProvenance"; -export { Evidence_Synthesis_ProfileProfile } from "./EvidenceSynthesisProfile"; -export { Example_Lipid_ProfileProfile } from "./ExampleLipidProfile"; -export { Family_member_history_for_genetics_analysisProfile } from "./FamilyMemberHistoryForGeneticsAnalysis"; -export { Group_DefinitionProfile } from "./GroupDefinition"; -export { Observation_bmiProfile } from "./ObservationBmi"; -export { Observation_bodyheightProfile } from "./ObservationBodyheight"; -export { Observation_bodytempProfile } from "./ObservationBodytemp"; -export { Observation_bodyweightProfile } from "./ObservationBodyweight"; -export { Observation_bpProfile } from "./ObservationBp"; -export { Observation_geneticsProfile } from "./ObservationGenetics"; -export { Observation_headcircumProfile } from "./ObservationHeadcircum"; -export { Observation_heartrateProfile } from "./ObservationHeartrate"; -export { Observation_oxygensatProfile } from "./ObservationOxygensat"; -export { Observation_resprateProfile } from "./ObservationResprate"; -export { Observation_vitalsignsProfile } from "./ObservationVitalsigns"; -export { Observation_vitalspanelProfile } from "./ObservationVitalspanel"; -export { PICO_Element_ProfileProfile } from "./PicoElementProfile"; -export { Profile_for_CatalogProfile } from "./ProfileForCatalog"; -export { Profile_for_HLA_Genotyping_ResultsProfile } from "./ProfileForHlaGenotypingResults"; -export { Provenance_Relevant_HistoryProfile } from "./ProvenanceRelevantHistory"; -export { ServiceRequest_GeneticsProfile } from "./ServiceRequestGenetics"; -export { Shareable_ActivityDefinitionProfile } from "./ShareableActivityDefinition"; -export { Shareable_CodeSystemProfile } from "./ShareableCodeSystem"; -export { Shareable_LibraryProfile } from "./ShareableLibrary"; -export { Shareable_MeasureProfile } from "./ShareableMeasure"; -export { Shareable_PlanDefinitionProfile } from "./ShareablePlanDefinition"; -export { Shareable_ValueSetProfile } from "./ShareableValueSet"; +export type { CDS_Hooks_GuidanceResponse } from "./GuidanceResponse_CDS_Hooks_GuidanceResponse"; +export type { CDS_Hooks_RequestGroup } from "./RequestGroup_CDS_Hooks_RequestGroup"; +export type { Computable_PlanDefinition } from "./PlanDefinition_Computable_PlanDefinition"; +export type { Device_Metric_Observation_Profile } from "./Observation_Device_Metric_Observation_Profile"; +export type { Evidence_Synthesis_Profile } from "./Evidence_Evidence_Synthesis_Profile"; +export type { Example_Lipid_Profile } from "./Observation_Example_Lipid_Profile"; +export type { Profile_for_Catalog } from "./Composition_Profile_for_Catalog"; +export type { Provenance_Relevant_History } from "./Provenance_Provenance_Relevant_History"; +export type { Shareable_ActivityDefinition } from "./ActivityDefinition_Shareable_ActivityDefinition"; +export type { Shareable_CodeSystem } from "./CodeSystem_Shareable_CodeSystem"; +export type { Shareable_Library } from "./Library_Shareable_Library"; +export type { Shareable_Measure } from "./Measure_Shareable_Measure"; +export type { Shareable_PlanDefinition } from "./PlanDefinition_Shareable_PlanDefinition"; +export type { Shareable_ValueSet } from "./ValueSet_Shareable_ValueSet"; +export type { observation_bmi } from "./Observation_observation_bmi"; +export type { observation_vitalsigns } from "./Observation_observation_vitalsigns"; +export type { observation_vitalspanel } from "./Observation_observation_vitalspanel"; +export { ADXP_additionalLocatorProfile } from "./Extension_ADXP_additionalLocator"; +export { ADXP_buildingNumberSuffixProfile } from "./Extension_ADXP_buildingNumberSuffix"; +export { ADXP_careOfProfile } from "./Extension_ADXP_careOf"; +export { ADXP_censusTractProfile } from "./Extension_ADXP_censusTract"; +export { ADXP_delimiterProfile } from "./Extension_ADXP_delimiter"; +export { ADXP_deliveryAddressLineProfile } from "./Extension_ADXP_deliveryAddressLine"; +export { ADXP_deliveryInstallationAreaProfile } from "./Extension_ADXP_deliveryInstallationArea"; +export { ADXP_deliveryInstallationQualifierProfile } from "./Extension_ADXP_deliveryInstallationQualifier"; +export { ADXP_deliveryInstallationTypeProfile } from "./Extension_ADXP_deliveryInstallationType"; +export { ADXP_deliveryModeIdentifierProfile } from "./Extension_ADXP_deliveryModeIdentifier"; +export { ADXP_deliveryModeProfile } from "./Extension_ADXP_deliveryMode"; +export { ADXP_directionProfile } from "./Extension_ADXP_direction"; +export { ADXP_houseNumberNumericProfile } from "./Extension_ADXP_houseNumberNumeric"; +export { ADXP_houseNumberProfile } from "./Extension_ADXP_houseNumber"; +export { ADXP_postBoxProfile } from "./Extension_ADXP_postBox"; +export { ADXP_precinctProfile } from "./Extension_ADXP_precinct"; +export { ADXP_streetAddressLineProfile } from "./Extension_ADXP_streetAddressLine"; +export { ADXP_streetNameBaseProfile } from "./Extension_ADXP_streetNameBase"; +export { ADXP_streetNameProfile } from "./Extension_ADXP_streetName"; +export { ADXP_streetNameTypeProfile } from "./Extension_ADXP_streetNameType"; +export { ADXP_unitIDProfile } from "./Extension_ADXP_unitID"; +export { ADXP_unitTypeProfile } from "./Extension_ADXP_unitType"; +export { AD_useProfile } from "./Extension_AD_use"; +export { AccessionProfile } from "./Extension_Accession"; +export { Actual_GroupProfile } from "./Group_Actual_Group"; +export { AlleleProfile } from "./Extension_Allele"; +export { AminoAcidChangeProfile } from "./Extension_AminoAcidChange"; +export { AnalysisProfile } from "./Extension_Analysis"; +export { AncestryProfile } from "./Extension_Ancestry"; +export { AnonymizedProfile } from "./Extension_Anonymized"; +export { AssessedConditionProfile } from "./Extension_AssessedCondition"; +export { BodyStructure_ReferenceProfile } from "./Extension_BodyStructure_Reference"; +export { CDS_Hooks_GuidanceResponseProfile } from "./GuidanceResponse_CDS_Hooks_GuidanceResponse"; +export { CDS_Hooks_RequestGroupProfile } from "./RequestGroup_CDS_Hooks_RequestGroup"; +export { CDS_Hooks_Service_PlanDefinitionProfile } from "./PlanDefinition_CDS_Hooks_Service_PlanDefinition"; +export { CQF_QuestionnaireProfile } from "./Questionnaire_CQF_Questionnaire"; +export { CQL_LibraryProfile } from "./Library_CQL_Library"; +export { Clinical_DocumentProfile } from "./Composition_Clinical_Document"; +export { Computable_PlanDefinitionProfile } from "./PlanDefinition_Computable_PlanDefinition"; +export { CopyNumberEventProfile } from "./Extension_CopyNumberEvent"; +export { DNARegionNameProfile } from "./Extension_DNARegionName"; +export { DataElement_constraint_on_ElementDefinition_data_typeProfile } from "./ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type"; +export { Data_Absent_ReasonProfile } from "./Extension_Data_Absent_Reason"; +export { Design_NoteProfile } from "./Extension_Design_Note"; +export { Device_Metric_Observation_ProfileProfile } from "./Observation_Device_Metric_Observation_Profile"; +export { DiagnosticReport_GeneticsProfile } from "./DiagnosticReport_DiagnosticReport_Genetics"; +export { Display_NameProfile } from "./Extension_Display_Name"; +export { DocumentSectionLibraryProfile } from "./Composition_DocumentSectionLibrary"; +export { DocumentStructureProfile } from "./Composition_DocumentStructure"; +export { EHRS_FM_Record_Lifecycle_Event___Audit_EventProfile } from "./AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event"; +export { EHRS_FM_Record_Lifecycle_Event___ProvenanceProfile } from "./Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance"; +export { EN_qualifierProfile } from "./Extension_EN_qualifier"; +export { EN_representationProfile } from "./Extension_EN_representation"; +export { EN_useProfile } from "./Extension_EN_use"; +export { EncryptedProfile } from "./Extension_Encrypted"; +export { Evidence_Synthesis_ProfileProfile } from "./Evidence_Evidence_Synthesis_Profile"; +export { Example_Lipid_ProfileProfile } from "./Observation_Example_Lipid_Profile"; +export { FamilyMemberHistoryProfile } from "./Extension_FamilyMemberHistory"; +export { Family_member_history_for_genetics_analysisProfile } from "./FamilyMemberHistory_Family_member_history_for_genetics_analysis"; +export { GeneProfile } from "./Extension_Gene"; +export { GenomicSourceClassProfile } from "./Extension_GenomicSourceClass"; +export { GeolocationProfile } from "./Extension_Geolocation"; +export { Group_DefinitionProfile } from "./Group_Group_Definition"; +export { Human_LanguageProfile } from "./Extension_Human_Language"; +export { InstanceProfile } from "./Extension_Instance"; +export { InterpretationProfile } from "./Extension_Interpretation"; +export { ItemProfile } from "./Extension_Item"; +export { MPPSProfile } from "./Extension_MPPS"; +export { MoneyQuantityProfile } from "./Quantity_MoneyQuantity"; +export { Narrative_LinkProfile } from "./Extension_Narrative_Link"; +export { NotificationEndpointProfile } from "./Extension_NotificationEndpoint"; +export { NumberOfInstancesProfile } from "./Extension_NumberOfInstances"; +export { Observation_geneticsProfile } from "./Observation_Observation_genetics"; +export { Ordinal_ValueProfile } from "./Extension_Ordinal_Value"; +export { Original_TextProfile } from "./Extension_Original_Text"; +export { PICO_Element_ProfileProfile } from "./EvidenceVariable_PICO_Element_Profile"; +export { PQ_translationProfile } from "./Extension_PQ_translation"; +export { ParticipantObjectContainsStudyProfile } from "./Extension_ParticipantObjectContainsStudy"; +export { PhaseSetProfile } from "./Extension_PhaseSet"; +export { Profile_for_CatalogProfile } from "./Composition_Profile_for_Catalog"; +export { Profile_for_HLA_Genotyping_ResultsProfile } from "./DiagnosticReport_Profile_for_HLA_Genotyping_Results"; +export { Provenance_Relevant_HistoryProfile } from "./Provenance_Provenance_Relevant_History"; +export { ReferencesProfile } from "./Extension_References"; +export { Relative_Date_CriteriaProfile } from "./Extension_Relative_Date_Criteria"; +export { Rendered_ValueProfile } from "./Extension_Rendered_Value"; +export { SC_codingProfile } from "./Extension_SC_coding"; +export { SOPClassProfile } from "./Extension_SOPClass"; +export { ServiceRequest_GeneticsProfile } from "./ServiceRequest_ServiceRequest_Genetics"; +export { Shareable_ActivityDefinitionProfile } from "./ActivityDefinition_Shareable_ActivityDefinition"; +export { Shareable_CodeSystemProfile } from "./CodeSystem_Shareable_CodeSystem"; +export { Shareable_LibraryProfile } from "./Library_Shareable_Library"; +export { Shareable_MeasureProfile } from "./Measure_Shareable_Measure"; +export { Shareable_PlanDefinitionProfile } from "./PlanDefinition_Shareable_PlanDefinition"; +export { Shareable_ValueSetProfile } from "./ValueSet_Shareable_ValueSet"; +export { SimpleQuantityProfile } from "./Quantity_SimpleQuantity"; +export { TEL_addressProfile } from "./Extension_TEL_address"; +export { Timezone_CodeProfile } from "./Extension_Timezone_Code"; +export { Timezone_OffsetProfile } from "./Extension_Timezone_Offset"; +export { TranscriberProfile } from "./Extension_Transcriber"; +export { TranslationProfile } from "./Extension_Translation"; +export { ValidityPeriodProfile } from "./Extension_ValidityPeriod"; +export { VariableProfile } from "./Extension_Variable"; +export { VariantProfile } from "./Extension_Variant"; +export { WitnessProfile } from "./Extension_Witness"; +export { abatementProfile } from "./Extension_abatement"; +export { acceptanceProfile } from "./Extension_acceptance"; +export { activityStatusDateProfile } from "./Extension_activityStatusDate"; +export { activity_titleProfile } from "./Extension_activity_title"; +export { adaptiveFeedingDeviceProfile } from "./Extension_adaptiveFeedingDevice"; +export { addendumOfProfile } from "./Extension_addendumOf"; +export { administrationProfile } from "./Extension_administration"; +export { adoptionInfoProfile } from "./Extension_adoptionInfo"; +export { allele_databaseProfile } from "./Extension_allele_database"; +export { allowedUnitsProfile } from "./Extension_allowedUnits"; +export { allowed_typeProfile } from "./Extension_allowed_type"; +export { alternateProfile } from "./Extension_alternate"; +export { ancestorProfile } from "./Extension_ancestor"; +export { animalProfile } from "./Extension_animal"; +export { animalSpeciesProfile } from "./Extension_animalSpecies"; +export { applicable_versionProfile } from "./Extension_applicable_version"; +export { approachBodyStructureProfile } from "./Extension_approachBodyStructure"; +export { approvalDateProfile } from "./Extension_approvalDate"; +export { areaProfile } from "./Extension_area"; +export { assembly_orderProfile } from "./Extension_assembly_order"; +export { assertedDateProfile } from "./Extension_assertedDate"; +export { associatedEncounterProfile } from "./Extension_associatedEncounter"; +export { authorProfile } from "./Extension_author"; +export { authoritativeSourceProfile } from "./Extension_authoritativeSource"; +export { authorityProfile } from "./Extension_authority"; +export { baseTypeProfile } from "./Extension_baseType"; +export { basedOnProfile } from "./Extension_basedOn"; +export { bestpracticeProfile } from "./Extension_bestpractice"; +export { bestpractice_explanationProfile } from "./Extension_bestpractice_explanation"; +export { bidirectionalProfile } from "./Extension_bidirectional"; +export { bindingNameProfile } from "./Extension_bindingName"; +export { birthPlaceProfile } from "./Extension_birthPlace"; +export { birthTimeProfile } from "./Extension_birthTime"; +export { bodyPositionProfile } from "./Extension_bodyPosition"; +export { boundary_geojsonProfile } from "./Extension_boundary_geojson"; +export { cadavericDonorProfile } from "./Extension_cadavericDonor"; +export { calculatedValueProfile } from "./Extension_calculatedValue"; +export { candidateListProfile } from "./Extension_candidateList"; +export { capabilitiesProfile } from "./Extension_capabilities"; +export { careplanProfile } from "./Extension_careplan"; +export { caseSensitiveProfile } from "./Extension_caseSensitive"; +export { categoryProfile } from "./Extension_category"; +export { causedByProfile } from "./Extension_causedBy"; +export { cdsHooksEndpointProfile } from "./Extension_cdsHooksEndpoint"; +export { certaintyProfile } from "./Extension_certainty"; +export { changeBaseProfile } from "./Extension_changeBase"; +export { choiceOrientationProfile } from "./Extension_choiceOrientation"; +export { citationProfile } from "./Extension_citation"; +export { citizenshipProfile } from "./Extension_citizenship"; +export { codegen_superProfile } from "./Extension_codegen_super"; +export { collectionPriorityProfile } from "./Extension_collectionPriority"; +export { completionModeProfile } from "./Extension_completionMode"; +export { conceptOrderProfile } from "./Extension_conceptOrder"; +export { concept_commentsProfile } from "./Extension_concept_comments"; +export { concept_definitionProfile } from "./Extension_concept_definition"; +export { congregationProfile } from "./Extension_congregation"; +export { constraintProfile } from "./Extension_constraint"; +export { countryProfile } from "./Extension_country"; +export { dayOfMonthProfile } from "./Extension_dayOfMonth"; +export { daysOfCycleProfile } from "./Extension_daysOfCycle"; +export { deltaProfile } from "./Extension_delta"; +export { dependenciesProfile } from "./Extension_dependencies"; +export { deprecatedProfile } from "./Extension_deprecated"; +export { detailProfile } from "./Extension_detail"; +export { detectedIssueProfile } from "./Extension_detectedIssue"; +export { deviceCodeProfile } from "./Extension_deviceCode"; +export { directedByProfile } from "./Extension_directedBy"; +export { disabilityProfile } from "./Extension_disability"; +export { displayCategoryProfile } from "./Extension_displayCategory"; +export { display_hintProfile } from "./Extension_display_hint"; +export { doNotPerformProfile } from "./Extension_doNotPerform"; +export { dueToProfile } from "./Extension_dueTo"; +export { durationProfile } from "./Extension_duration"; +export { effectiveDateProfile } from "./Extension_effectiveDate"; +export { effectivePeriodProfile } from "./Extension_effectivePeriod"; +export { encounterClassProfile } from "./Extension_encounterClass"; +export { encounterTypeProfile } from "./Extension_encounterType"; +export { entryFormatProfile } from "./Extension_entryFormat"; +export { episodeOfCareProfile } from "./Extension_episodeOfCare"; +export { equivalenceProfile } from "./Extension_equivalence"; +export { eventHistoryProfile } from "./Extension_eventHistory"; +export { exactProfile } from "./Extension_exact"; +export { expand_groupProfile } from "./Extension_expand_group"; +export { expand_rulesProfile } from "./Extension_expand_rules"; +export { expansionSourceProfile } from "./Extension_expansionSource"; +export { expectationProfile } from "./Extension_expectation"; +export { expirationDateProfile } from "./Extension_expirationDate"; +export { explicit_type_nameProfile } from "./Extension_explicit_type_name"; +export { exposureDateProfile } from "./Extension_exposureDate"; +export { exposureDescriptionProfile } from "./Extension_exposureDescription"; +export { exposureDurationProfile } from "./Extension_exposureDuration"; +export { expressionProfile } from "./Extension_expression"; +export { extendsProfile } from "./Extension_extends"; +export { extensibleProfile } from "./Extension_extensible"; +export { extensionProfile } from "./Extension_extension"; +export { fathers_familyProfile } from "./Extension_fathers_family"; +export { fhirTypeProfile } from "./Extension_fhirType"; +export { fhir_typeProfile } from "./Extension_fhir_type"; +export { fmmProfile } from "./Extension_fmm"; +export { fmm_no_warningsProfile } from "./Extension_fmm_no_warnings"; +export { focusCodeProfile } from "./Extension_focusCode"; +export { fullUrlProfile } from "./Extension_fullUrl"; +export { gatewayDeviceProfile } from "./Extension_gatewayDevice"; +export { genderIdentityProfile } from "./Extension_genderIdentity"; +export { glstringProfile } from "./Extension_glstring"; +export { groupProfile } from "./Extension_group"; +export { haploidProfile } from "./Extension_haploid"; +export { hiddenProfile } from "./Extension_hidden"; +export { hierarchyProfile } from "./Extension_hierarchy"; +export { historyProfile } from "./Extension_history"; +export { http_response_headerProfile } from "./Extension_http_response_header"; +export { identifierProfile } from "./Extension_identifier"; +export { implantStatusProfile } from "./Extension_implantStatus"; +export { importanceProfile } from "./Extension_importance"; +export { incisionDateTimeProfile } from "./Extension_incisionDateTime"; +export { inheritedExtensibleValueSetProfile } from "./Extension_inheritedExtensibleValueSet"; +export { initialValueProfile } from "./Extension_initialValue"; +export { initiatingLocationProfile } from "./Extension_initiatingLocation"; +export { initiatingOrganizationProfile } from "./Extension_initiatingOrganization"; +export { initiatingPersonProfile } from "./Extension_initiatingPerson"; +export { instantiatesCanonicalProfile } from "./Extension_instantiatesCanonical"; +export { instantiatesUriProfile } from "./Extension_instantiatesUri"; +export { insuranceProfile } from "./Extension_insurance"; +export { interpreterRequiredProfile } from "./Extension_interpreterRequired"; +export { isCommonBindingProfile } from "./Extension_isCommonBinding"; +export { isDryWeightProfile } from "./Extension_isDryWeight"; +export { issue_sourceProfile } from "./Extension_issue_source"; +export { itemControlProfile } from "./Extension_itemControl"; +export { keyWordProfile } from "./Extension_keyWord"; +export { labelProfile } from "./Extension_label"; +export { lastReviewDateProfile } from "./Extension_lastReviewDate"; +export { libraryProfile } from "./Extension_library"; +export { localProfile } from "./Extension_local"; +export { locationPerformedProfile } from "./Extension_locationPerformed"; +export { locationProfile } from "./Extension_location"; +export { location_distanceProfile } from "./Extension_location_distance"; +export { managementProfile } from "./Extension_management"; +export { mapProfile } from "./Extension_map"; +export { markdownProfile } from "./Extension_markdown"; +export { match_gradeProfile } from "./Extension_match_grade"; +export { maxDecimalPlacesProfile } from "./Extension_maxDecimalPlaces"; +export { maxOccursProfile } from "./Extension_maxOccurs"; +export { maxSizeProfile } from "./Extension_maxSize"; +export { maxValueProfile } from "./Extension_maxValue"; +export { maxValueSetProfile } from "./Extension_maxValueSet"; +export { measureInfoProfile } from "./Extension_measureInfo"; +export { mediaProfile } from "./Extension_media"; +export { messageheader_response_requestProfile } from "./Extension_messageheader_response_request"; +export { methodProfile } from "./Extension_method"; +export { mimeTypeProfile } from "./Extension_mimeType"; +export { minLengthProfile } from "./Extension_minLength"; +export { minOccursProfile } from "./Extension_minOccurs"; +export { minValueProfile } from "./Extension_minValue"; +export { minValueSetProfile } from "./Extension_minValueSet"; +export { modeOfArrivalProfile } from "./Extension_modeOfArrival"; +export { mothersMaidenNameProfile } from "./Extension_mothersMaidenName"; +export { mothers_familyProfile } from "./Extension_mothers_family"; +export { namespaceProfile } from "./Extension_namespace"; +export { nationalityProfile } from "./Extension_nationality"; +export { normative_versionProfile } from "./Extension_normative_version"; +export { nullFlavorProfile } from "./Extension_nullFlavor"; +export { oauth_urisProfile } from "./Extension_oauth_uris"; +export { objectClassProfile } from "./Extension_objectClass"; +export { objectClassPropertyProfile } from "./Extension_objectClassProperty"; +export { observationProfile } from "./Extension_observation"; +export { observation_bmiProfile } from "./Observation_observation_bmi"; +export { observation_bodyheightProfile } from "./Observation_observation_bodyheight"; +export { observation_bodytempProfile } from "./Observation_observation_bodytemp"; +export { observation_bodyweightProfile } from "./Observation_observation_bodyweight"; +export { observation_bpProfile } from "./Observation_observation_bp"; +export { observation_headcircumProfile } from "./Observation_observation_headcircum"; +export { observation_heartrateProfile } from "./Observation_observation_heartrate"; +export { observation_oxygensatProfile } from "./Observation_observation_oxygensat"; +export { observation_resprateProfile } from "./Observation_observation_resprate"; +export { observation_vitalsignsProfile } from "./Observation_observation_vitalsigns"; +export { observation_vitalspanelProfile } from "./Observation_observation_vitalspanel"; +export { occurredFollowingProfile } from "./Extension_occurredFollowing"; +export { optionExclusiveProfile } from "./Extension_optionExclusive"; +export { optionPrefixProfile } from "./Extension_optionPrefix"; +export { otherConfidentialityProfile } from "./Extension_otherConfidentiality"; +export { otherNameProfile } from "./Extension_otherName"; +export { outcomeProfile } from "./Extension_outcome"; +export { own_nameProfile } from "./Extension_own_name"; +export { own_prefixProfile } from "./Extension_own_prefix"; +export { parameterSourceProfile } from "./Extension_parameterSource"; +export { parentProfile } from "./Extension_parent"; +export { partOfProfile } from "./Extension_partOf"; +export { partner_nameProfile } from "./Extension_partner_name"; +export { partner_prefixProfile } from "./Extension_partner_prefix"; +export { patientInstructionProfile } from "./Extension_patientInstruction"; +export { patient_recordProfile } from "./Extension_patient_record"; +export { performerFunctionProfile } from "./Extension_performerFunction"; +export { performerOrderProfile } from "./Extension_performerOrder"; +export { periodProfile } from "./Extension_period"; +export { permitted_value_conceptmapProfile } from "./Extension_permitted_value_conceptmap"; +export { permitted_value_valuesetProfile } from "./Extension_permitted_value_valueset"; +export { pertainsToGoalProfile } from "./Extension_pertainsToGoal"; +export { precisionProfile } from "./Extension_precision"; +export { preconditionProfile } from "./Extension_precondition"; +export { preferenceTypeProfile } from "./Extension_preferenceType"; +export { preferredContactProfile } from "./Extension_preferredContact"; +export { preferredProfile } from "./Extension_preferred"; +export { primaryIndProfile } from "./Extension_primaryInd"; +export { priorityProfile } from "./Extension_priority"; +export { processingTimeProfile } from "./Extension_processingTime"; +export { proficiencyProfile } from "./Extension_proficiency"; +export { profileProfile } from "./Extension_profile"; +export { profile_elementProfile } from "./Extension_profile_element"; +export { progressStatusProfile } from "./Extension_progressStatus"; +export { prohibitedProfile } from "./Extension_prohibited"; +export { qualityOfEvidenceProfile } from "./Extension_qualityOfEvidence"; +export { questionProfile } from "./Extension_question"; +export { questionnaireRequestProfile } from "./Extension_questionnaireRequest"; +export { reagentProfile } from "./Extension_reagent"; +export { reasonCancelledProfile } from "./Extension_reasonCancelled"; +export { reasonCodeProfile } from "./Extension_reasonCode"; +export { reasonProfile } from "./Extension_reason"; +export { reasonReferenceProfile } from "./Extension_reasonReference"; +export { reasonRefutedProfile } from "./Extension_reasonRefuted"; +export { reasonRejectedProfile } from "./Extension_reasonRejected"; +export { receivingOrganizationProfile } from "./Extension_receivingOrganization"; +export { receivingPersonProfile } from "./Extension_receivingPerson"; +export { recipientLanguageProfile } from "./Extension_recipientLanguage"; +export { recipientTypeProfile } from "./Extension_recipientType"; +export { referenceFilterProfile } from "./Extension_referenceFilter"; +export { referenceProfile } from "./Extension_reference"; +export { referenceProfileProfile } from "./Extension_referenceProfile"; +export { referenceResourceProfile } from "./Extension_referenceResource"; +export { regexProfile } from "./Extension_regex"; +export { relatedArtifactProfile } from "./Extension_relatedArtifact"; +export { relatedPersonProfile } from "./Extension_relatedPerson"; +export { relatedProfile } from "./Extension_related"; +export { relationshipProfile } from "./Extension_relationship"; +export { relativeDateTimeProfile } from "./Extension_relativeDateTime"; +export { relevantHistoryProfile } from "./Extension_relevantHistory"; +export { religionProfile } from "./Extension_religion"; +export { replacedbyProfile } from "./Extension_replacedby"; +export { replacesProfile } from "./Extension_replaces"; +export { researchStudyProfile } from "./Extension_researchStudy"; +export { resolutionAgeProfile } from "./Extension_resolutionAge"; +export { reviewerProfile } from "./Extension_reviewer"; +export { riskProfile } from "./Extension_risk"; +export { ruledOutProfile } from "./Extension_ruledOut"; +export { rules_textProfile } from "./Extension_rules_text"; +export { scheduleProfile } from "./Extension_schedule"; +export { sctdescidProfile } from "./Extension_sctdescid"; +export { search_parameter_combinationProfile } from "./Extension_search_parameter_combination"; +export { secondaryFindingProfile } from "./Extension_secondaryFinding"; +export { section_subjectProfile } from "./Extension_section_subject"; +export { security_categoryProfile } from "./Extension_security_category"; +export { selectorProfile } from "./Extension_selector"; +export { sequelToProfile } from "./Extension_sequelTo"; +export { sequenceNumberProfile } from "./Extension_sequenceNumber"; +export { severityProfile } from "./Extension_severity"; +export { siblingProfile } from "./Extension_sibling"; +export { signatureProfile } from "./Extension_signature"; +export { signatureRequiredProfile } from "./Extension_signatureRequired"; +export { sliderStepValueProfile } from "./Extension_sliderStepValue"; +export { sourceReferenceProfile } from "./Extension_sourceReference"; +export { specialHandlingProfile } from "./Extension_specialHandling"; +export { special_statusProfile } from "./Extension_special_status"; +export { specimenCodeProfile } from "./Extension_specimenCode"; +export { standards_statusProfile } from "./Extension_standards_status"; +export { statusReasonProfile } from "./Extension_statusReason"; +export { stewardProfile } from "./Extension_steward"; +export { strengthOfRecommendationProfile } from "./Extension_strengthOfRecommendation"; +export { styleProfile } from "./Extension_style"; +export { styleSensitiveProfile } from "./Extension_styleSensitive"; +export { substanceExposureRiskProfile } from "./Extension_substanceExposureRisk"; +export { summaryOfProfile } from "./Extension_summaryOf"; +export { summaryProfile } from "./Extension_summary"; +export { supplementProfile } from "./Extension_supplement"; +export { supportLinkProfile } from "./Extension_supportLink"; +export { supported_systemProfile } from "./Extension_supported_system"; +export { supportingInfoProfile } from "./Extension_supportingInfo"; +export { systemNameProfile } from "./Extension_systemName"; +export { systemProfile } from "./Extension_system"; +export { systemRefProfile } from "./Extension_systemRef"; +export { systemUserLanguageProfile } from "./Extension_systemUserLanguage"; +export { systemUserTaskContextProfile } from "./Extension_systemUserTaskContext"; +export { systemUserTypeProfile } from "./Extension_systemUserType"; +export { table_nameProfile } from "./Extension_table_name"; +export { targetBodyStructureProfile } from "./Extension_targetBodyStructure"; +export { template_statusProfile } from "./Extension_template_status"; +export { testProfile } from "./Extension_test"; +export { timeOffsetProfile } from "./Extension_timeOffset"; +export { toocostlyProfile } from "./Extension_toocostly"; +export { translatableProfile } from "./Extension_translatable"; +export { trusted_expansionProfile } from "./Extension_trusted_expansion"; +export { typeProfile } from "./Extension_type"; +export { uncertaintyProfile } from "./Extension_uncertainty"; +export { uncertaintyTypeProfile } from "./Extension_uncertaintyType"; +export { unclosedProfile } from "./Extension_unclosed"; +export { unitOptionProfile } from "./Extension_unitOption"; +export { unitProfile } from "./Extension_unit"; +export { unitValueSetProfile } from "./Extension_unitValueSet"; +export { usageModeProfile } from "./Extension_usageMode"; +export { usageProfile } from "./Extension_usage"; +export { validDateProfile } from "./Extension_validDate"; +export { versionNumberProfile } from "./Extension_versionNumber"; +export { warningProfile } from "./Extension_warning"; +export { websocketProfile } from "./Extension_websocket"; +export { wgProfile } from "./Extension_wg"; +export { workflowStatusProfile } from "./Extension_workflowStatus"; +export { xhtmlProfile } from "./Extension_xhtml"; +export { xml_no_orderProfile } from "./Extension_xml_no_order"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Account.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Account.ts index ec8671753..7688471ce 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Account.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Account.ts @@ -61,7 +61,7 @@ export interface AccountRelatedAccount extends BackboneElement { relationship?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account (pkg: hl7.fhir.r5.core#5.0.0) export interface Account extends DomainResource { resourceType: "Account"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActivityDefinition.ts index 4d3f20982..85409b842 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActivityDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActivityDefinition.ts @@ -53,7 +53,7 @@ export interface ActivityDefinitionParticipant extends BackboneElement { typeReference?: Reference<"CareTeam" | "Device" | "DeviceDefinition" | "Endpoint" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ActivityDefinition extends DomainResource { resourceType: "ActivityDefinition"; @@ -92,14 +92,14 @@ export interface ActivityDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; location?: CodeableReference; name?: string; _name?: Element; observationRequirement?: string[]; - _observationRequirement?: Element; + _observationRequirement?: (Element | null)[]; observationResultRequirement?: string[]; - _observationResultRequirement?: Element; + _observationResultRequirement?: (Element | null)[]; participant?: ActivityDefinitionParticipant[]; priority?: ("routine" | "urgent" | "asap" | "stat"); _priority?: Element; @@ -115,7 +115,7 @@ export interface ActivityDefinition extends DomainResource { relatedArtifact?: RelatedArtifact[]; reviewer?: ContactDetail[]; specimenRequirement?: string[]; - _specimenRequirement?: Element; + _specimenRequirement?: (Element | null)[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; subjectCanonical?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActorDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActorDefinition.ts index 8c42a68be..d37df5532 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActorDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActorDefinition.ts @@ -16,7 +16,7 @@ export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActorDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActorDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ActorDefinition extends DomainResource { resourceType: "ActorDefinition"; @@ -30,7 +30,7 @@ export interface ActorDefinition extends DomainResource { date?: string; _date?: Element; derivedFrom?: string[]; - _derivedFrom?: Element; + _derivedFrom?: (Element | null)[]; description?: string; _description?: Element; documentation?: string; @@ -46,7 +46,7 @@ export interface ActorDefinition extends DomainResource { purpose?: string; _purpose?: Element; reference?: string[]; - _reference?: Element; + _reference?: (Element | null)[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; title?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Address.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Address.ts index a8e142d30..0f2547dbf 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Address.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Address.ts @@ -9,7 +9,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Period } from "../hl7-fhir-r5-core/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Address +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Address (pkg: hl7.fhir.r5.core#5.0.0) export interface Address extends DataType { city?: string; _city?: Element; @@ -18,7 +18,7 @@ export interface Address extends DataType { district?: string; _district?: Element; line?: string[]; - _line?: Element; + _line?: (Element | null)[]; period?: Period; postalCode?: string; _postalCode?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdministrableProductDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdministrableProductDefinition.ts index cbcc1532d..f17c2bf92 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdministrableProductDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdministrableProductDefinition.ts @@ -23,7 +23,7 @@ export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; export interface AdministrableProductDefinitionProperty extends BackboneElement { - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown")>; type: CodeableConcept; valueAttachment?: Attachment; valueBoolean?: boolean; @@ -55,7 +55,7 @@ export interface AdministrableProductDefinitionRouteOfAdministrationTargetSpecie value: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface AdministrableProductDefinition extends DomainResource { resourceType: "AdministrableProductDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdverseEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdverseEvent.ts index c1739b6f8..194fb23b5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdverseEvent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdverseEvent.ts @@ -57,7 +57,7 @@ export interface AdverseEventSuspectEntityCausality extends BackboneElement { entityRelatedness?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdverseEvent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdverseEvent (pkg: hl7.fhir.r5.core#5.0.0) export interface AdverseEvent extends DomainResource { resourceType: "AdverseEvent"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Age.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Age.ts index 90e38e57e..7c019c0a3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Age.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Age.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Age +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Age (pkg: hl7.fhir.r5.core#5.0.0) export interface Age extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AllergyIntolerance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AllergyIntolerance.ts index 07b392870..0cebc9bc8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AllergyIntolerance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AllergyIntolerance.ts @@ -39,13 +39,13 @@ export interface AllergyIntoleranceReaction extends BackboneElement { substance?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance (pkg: hl7.fhir.r5.core#5.0.0) export interface AllergyIntolerance extends DomainResource { resourceType: "AllergyIntolerance"; category?: ("food" | "medication" | "environment" | "biologic")[]; - _category?: Element; - clinicalStatus?: CodeableConcept; + _category?: (Element | null)[]; + clinicalStatus?: CodeableConcept<("active" | "inactive" | "resolved")>; code?: CodeableConcept; criticality?: ("low" | "high" | "unable-to-assess"); _criticality?: Element; @@ -66,8 +66,8 @@ export interface AllergyIntolerance extends DomainResource { reaction?: AllergyIntoleranceReaction[]; recordedDate?: string; _recordedDate?: Element; - type?: CodeableConcept; - verificationStatus?: CodeableConcept; + type?: CodeableConcept<("allergy" | "intolerance" | string)>; + verificationStatus?: CodeableConcept<("unconfirmed" | "confirmed" | "refuted" | "entered-in-error")>; } export const isAllergyIntolerance = (resource: unknown): resource is AllergyIntolerance => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AllergyIntolerance"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Annotation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Annotation.ts index 863681c84..32458c831 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Annotation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Annotation.ts @@ -9,7 +9,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Annotation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Annotation (pkg: hl7.fhir.r5.core#5.0.0) export interface Annotation extends DataType { authorReference?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; authorString?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Appointment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Appointment.ts index ababfdfd1..b9b3ba89a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Appointment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Appointment.ts @@ -29,7 +29,7 @@ export interface AppointmentParticipant extends BackboneElement { period?: Period; required?: boolean; status: ("accepted" | "declined" | "tentative" | "needs-action"); - type?: CodeableConcept[]; + type?: CodeableConcept<("translator" | "emergency" | string)>[]; } export interface AppointmentRecurrenceTemplate extends BackboneElement { @@ -39,7 +39,7 @@ export interface AppointmentRecurrenceTemplate extends BackboneElement { monthlyTemplate?: AppointmentRecurrenceTemplateMonthlyTemplate; occurrenceCount?: number; occurrenceDate?: string[]; - recurrenceType: CodeableConcept; + recurrenceType: CodeableConcept<("d" | "wk" | "mo" | "a" | string)>; timezone?: CodeableConcept; weeklyTemplate?: AppointmentRecurrenceTemplateWeeklyTemplate; yearlyTemplate?: AppointmentRecurrenceTemplateYearlyTemplate; @@ -47,7 +47,7 @@ export interface AppointmentRecurrenceTemplate extends BackboneElement { export interface AppointmentRecurrenceTemplateMonthlyTemplate extends BackboneElement { dayOfMonth?: number; - dayOfWeek?: Coding; + dayOfWeek?: Coding<("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")>; monthInterval: number; nthWeekOfMonth?: Coding; } @@ -67,12 +67,12 @@ export interface AppointmentRecurrenceTemplateYearlyTemplate extends BackboneEle yearInterval: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Appointment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Appointment (pkg: hl7.fhir.r5.core#5.0.0) export interface Appointment extends DomainResource { resourceType: "Appointment"; account?: Reference<"Account">[]; - appointmentType?: CodeableConcept; + appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; basedOn?: Reference<"CarePlan" | "DeviceRequest" | "MedicationRequest" | "ServiceRequest">[]; cancellationDate?: string; _cancellationDate?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AppointmentResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AppointmentResponse.ts index 8a47ced6b..f77a37621 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AppointmentResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AppointmentResponse.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AppointmentResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AppointmentResponse (pkg: hl7.fhir.r5.core#5.0.0) export interface AppointmentResponse extends DomainResource { resourceType: "AppointmentResponse"; @@ -27,7 +27,7 @@ export interface AppointmentResponse extends DomainResource { _occurrenceDate?: Element; participantStatus: ("accepted" | "declined" | "tentative" | "needs-action" | "entered-in-error"); _participantStatus?: Element; - participantType?: CodeableConcept[]; + participantType?: CodeableConcept<("translator" | "emergency" | string)>[]; proposedNewTime?: boolean; _proposedNewTime?: Element; recurrenceId?: number; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ArtifactAssessment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ArtifactAssessment.ts index e1c495318..db5a34d4d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ArtifactAssessment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ArtifactAssessment.ts @@ -31,7 +31,7 @@ export interface ArtifactAssessmentContent extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ArtifactAssessment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ArtifactAssessment (pkg: hl7.fhir.r5.core#5.0.0) export interface ArtifactAssessment extends DomainResource { resourceType: "ArtifactAssessment"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Attachment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Attachment.ts index 72db13b6d..623c9ee45 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Attachment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Attachment.ts @@ -7,7 +7,7 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Attachment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Attachment (pkg: hl7.fhir.r5.core#5.0.0) export interface Attachment extends DataType { contentType?: string; _contentType?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AuditEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AuditEvent.ts index 14c09e0b1..07354ef36 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AuditEvent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AuditEvent.ts @@ -60,17 +60,17 @@ export interface AuditEventEntityDetail extends BackboneElement { } export interface AuditEventOutcome extends BackboneElement { - code: Coding; + code: Coding<("fatal" | "error" | "warning" | "information" | string)>; detail?: CodeableConcept[]; } export interface AuditEventSource extends BackboneElement { observer: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; site?: Reference<"Location">; - type?: CodeableConcept[]; + type?: CodeableConcept<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | string)>[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent (pkg: hl7.fhir.r5.core#5.0.0) export interface AuditEvent extends DomainResource { resourceType: "AuditEvent"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Availability.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Availability.ts index f881c3d54..7a93efd71 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Availability.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Availability.ts @@ -22,8 +22,8 @@ export interface AvailabilityNotAvailableTime extends Element { during?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Availability +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Availability (pkg: hl7.fhir.r5.core#5.0.0) export interface Availability extends DataType { - availableTime?: Element[]; - notAvailableTime?: Element[]; + availableTime?: AvailabilityAvailableTime[]; + notAvailableTime?: AvailabilityNotAvailableTime[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneElement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneElement.ts index 3dc6fdda0..2df17e3ef 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneElement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneElement.ts @@ -8,7 +8,7 @@ import type { Extension } from "../hl7-fhir-r5-core/Extension"; export type { Element } from "../hl7-fhir-r5-core/Element"; export type { Extension } from "../hl7-fhir-r5-core/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneElement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneElement (pkg: hl7.fhir.r5.core#5.0.0) export interface BackboneElement extends Element { modifierExtension?: Extension[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneType.ts index 9f9c62967..c02a7ea34 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneType.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneType.ts @@ -8,7 +8,7 @@ import type { Extension } from "../hl7-fhir-r5-core/Extension"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Extension } from "../hl7-fhir-r5-core/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneType +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneType (pkg: hl7.fhir.r5.core#5.0.0) export interface BackboneType extends DataType { modifierExtension?: Extension[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Base.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Base.ts index bf534ac88..cbbf1ddc3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Base.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Base.ts @@ -2,5 +2,5 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Base +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Base (pkg: hl7.fhir.r5.core#5.0.0) export type Base = object; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Basic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Basic.ts index 26986557b..68352b954 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Basic.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Basic.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Basic +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Basic (pkg: hl7.fhir.r5.core#5.0.0) export interface Basic extends DomainResource { resourceType: "Basic"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Binary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Binary.ts index 6355668eb..b16b9f420 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Binary.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Binary.ts @@ -8,7 +8,7 @@ import type { Resource } from "../hl7-fhir-r5-core/Resource"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Binary +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Binary (pkg: hl7.fhir.r5.core#5.0.0) export interface Binary extends Resource { resourceType: "Binary"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProduct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProduct.ts index 77fbd1a99..468db6c02 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProduct.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProduct.ts @@ -46,7 +46,7 @@ export interface BiologicallyDerivedProductProperty extends BackboneElement { valueString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct (pkg: hl7.fhir.r5.core#5.0.0) export interface BiologicallyDerivedProduct extends DomainResource { resourceType: "BiologicallyDerivedProduct"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProductDispense.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProductDispense.ts index fa334c65c..d7133fb58 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProductDispense.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProductDispense.ts @@ -23,7 +23,7 @@ export interface BiologicallyDerivedProductDispensePerformer extends BackboneEle "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProductDispense +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProductDispense (pkg: hl7.fhir.r5.core#5.0.0) export interface BiologicallyDerivedProductDispense extends DomainResource { resourceType: "BiologicallyDerivedProductDispense"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BodyStructure.ts index 3aef8efeb..80d87f605 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BodyStructure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BodyStructure.ts @@ -32,7 +32,7 @@ export interface BodyStructureIncludedStructureBodyLandmarkOrientation extends B clockFacePosition?: CodeableConcept[]; distanceFromLandmark?: BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFromLandmark[]; landmarkDescription?: CodeableConcept[]; - surfaceOrientation?: CodeableConcept[]; + surfaceOrientation?: CodeableConcept<("7771000" | "24028007" | "51440002" | "46053002" | "255554000" | "264147007" | "261183002" | "261122009" | "255561001" | "49370004" | "264217000" | "261089000" | "255551008" | "351726001" | "352730000" | string)>[]; } export interface BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFromLandmark extends BackboneElement { @@ -40,7 +40,7 @@ export interface BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFr value?: Quantity[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BodyStructure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BodyStructure (pkg: hl7.fhir.r5.core#5.0.0) export interface BodyStructure extends DomainResource { resourceType: "BodyStructure"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Bundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Bundle.ts index 3bbf9adaf..f6471ba06 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Bundle.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Bundle.ts @@ -48,7 +48,7 @@ export interface BundleLink extends BackboneElement { url: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle (pkg: hl7.fhir.r5.core#5.0.0) export interface Bundle extends Resource { resourceType: "Bundle"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CanonicalResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CanonicalResource.ts index 82d3bf931..d10d72d52 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CanonicalResource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CanonicalResource.ts @@ -16,7 +16,7 @@ export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CanonicalResource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CanonicalResource (pkg: hl7.fhir.r5.core#5.0.0) export interface CanonicalResource extends DomainResource { resourceType: "CanonicalResource"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CapabilityStatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CapabilityStatement.ts index 84e1d03a1..399a6072c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CapabilityStatement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CapabilityStatement.ts @@ -116,12 +116,12 @@ export interface CapabilityStatementSoftware extends BackboneElement { version?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CapabilityStatement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CapabilityStatement (pkg: hl7.fhir.r5.core#5.0.0) export interface CapabilityStatement extends DomainResource { resourceType: "CapabilityStatement"; acceptLanguage?: string[]; - _acceptLanguage?: Element; + _acceptLanguage?: (Element | null)[]; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; @@ -137,15 +137,15 @@ export interface CapabilityStatement extends DomainResource { fhirVersion: ("0.01" | "0.05" | "0.06" | "0.11" | "0.0.80" | "0.0.81" | "0.0.82" | "0.4.0" | "0.5.0" | "1.0.0" | "1.0.1" | "1.0.2" | "1.1.0" | "1.4.0" | "1.6.0" | "1.8.0" | "3.0.0" | "3.0.1" | "3.3.0" | "3.5.0" | "4.0.0" | "4.0.1"); _fhirVersion?: Element; format: string[]; - _format?: Element; + _format?: (Element | null)[]; identifier?: Identifier[]; implementation?: CapabilityStatementImplementation; implementationGuide?: string[]; - _implementationGuide?: Element; + _implementationGuide?: (Element | null)[]; imports?: string[]; - _imports?: Element; + _imports?: (Element | null)[]; instantiates?: string[]; - _instantiates?: Element; + _instantiates?: (Element | null)[]; jurisdiction?: CodeableConcept[]; kind: ("instance" | "capability" | "requirements"); _kind?: Element; @@ -153,7 +153,7 @@ export interface CapabilityStatement extends DomainResource { name?: string; _name?: Element; patchFormat?: string[]; - _patchFormat?: Element; + _patchFormat?: (Element | null)[]; publisher?: string; _publisher?: Element; purpose?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CarePlan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CarePlan.ts index 1ee519479..bc41da78e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CarePlan.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CarePlan.ts @@ -26,7 +26,7 @@ export interface CarePlanActivity extends BackboneElement { progress?: Annotation[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan (pkg: hl7.fhir.r5.core#5.0.0) export interface CarePlan extends DomainResource { resourceType: "CarePlan"; @@ -45,9 +45,9 @@ export interface CarePlan extends DomainResource { goal?: Reference<"Goal">[]; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "order" | "option" | "directive"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CareTeam.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CareTeam.ts index 2e933f19d..4feab016d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CareTeam.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CareTeam.ts @@ -32,7 +32,7 @@ export interface CareTeamParticipant extends BackboneElement { role?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam (pkg: hl7.fhir.r5.core#5.0.0) export interface CareTeam extends DomainResource { resourceType: "CareTeam"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItem.ts index f6657ab47..afce9f005 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItem.ts @@ -31,7 +31,7 @@ export interface ChargeItemPerformer extends BackboneElement { "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem (pkg: hl7.fhir.r5.core#5.0.0) export interface ChargeItem extends DomainResource { resourceType: "ChargeItem"; @@ -40,9 +40,9 @@ export interface ChargeItem extends DomainResource { code: CodeableConcept; costCenter?: Reference<"Organization">; definitionCanonical?: string[]; - _definitionCanonical?: Element; + _definitionCanonical?: (Element | null)[]; definitionUri?: string[]; - _definitionUri?: Element; + _definitionUri?: (Element | null)[]; encounter?: Reference<"Encounter">; enteredDate?: string; _enteredDate?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItemDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItemDefinition.ts index a0f4fc79a..fefeaedc7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItemDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItemDefinition.ts @@ -39,7 +39,7 @@ export interface ChargeItemDefinitionPropertyGroup extends BackboneElement { priceComponent?: MonetaryComponent[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ChargeItemDefinition extends DomainResource { resourceType: "ChargeItemDefinition"; @@ -55,7 +55,7 @@ export interface ChargeItemDefinition extends DomainResource { date?: string; _date?: Element; derivedFromUri?: string[]; - _derivedFromUri?: Element; + _derivedFromUri?: (Element | null)[]; description?: string; _description?: Element; experimental?: boolean; @@ -68,14 +68,14 @@ export interface ChargeItemDefinition extends DomainResource { name?: string; _name?: Element; partOf?: string[]; - _partOf?: Element; + _partOf?: (Element | null)[]; propertyGroup?: ChargeItemDefinitionPropertyGroup[]; publisher?: string; _publisher?: Element; purpose?: string; _purpose?: Element; replaces?: string[]; - _replaces?: Element; + _replaces?: (Element | null)[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; title?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Citation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Citation.ts index 371da9169..b80706e7b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Citation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Citation.ts @@ -48,7 +48,7 @@ export interface CitationCitedArtifact extends BackboneElement { export interface CitationCitedArtifactAbstract extends BackboneElement { copyright?: string; - language?: CodeableConcept; + language?: CodeableConcept<("ar" | "bg" | "bg-BG" | "bn" | "cs" | "cs-CZ" | "bs" | "bs-BA" | "da" | "da-DK" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "el-GR" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "et" | "et-EE" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fi-FI" | "fr-CA" | "fy" | "fy-NL" | "hi" | "hr" | "hr-HR" | "is" | "is-IS" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "lt" | "lt-LT" | "lv" | "lv-LV" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pl-PL" | "pt" | "pt-PT" | "pt-BR" | "ro" | "ro-RO" | "ru" | "ru-RU" | "sk" | "sk-SK" | "sl" | "sl-SI" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; text: string; type?: CodeableConcept; } @@ -101,7 +101,7 @@ export interface CitationCitedArtifactPublicationForm extends BackboneElement { copyright?: string; firstPage?: string; issue?: string; - language?: CodeableConcept[]; + language?: CodeableConcept<("ar" | "bg" | "bg-BG" | "bn" | "cs" | "cs-CZ" | "bs" | "bs-BA" | "da" | "da-DK" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "el-GR" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "et" | "et-EE" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fi-FI" | "fr-CA" | "fy" | "fy-NL" | "hi" | "hr" | "hr-HR" | "is" | "is-IS" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "lt" | "lt-LT" | "lv" | "lv-LV" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pl-PL" | "pt" | "pt-PT" | "pt-BR" | "ro" | "ro-RO" | "ru" | "ru-RU" | "sk" | "sk-SK" | "sl" | "sl-SI" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>[]; lastPage?: string; lastRevisionDate?: string; pageCount?: string; @@ -138,7 +138,7 @@ export interface CitationCitedArtifactStatusDate extends BackboneElement { } export interface CitationCitedArtifactTitle extends BackboneElement { - language?: CodeableConcept; + language?: CodeableConcept<("ar" | "bg" | "bg-BG" | "bn" | "cs" | "cs-CZ" | "bs" | "bs-BA" | "da" | "da-DK" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "el-GR" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "et" | "et-EE" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fi-FI" | "fr-CA" | "fy" | "fy-NL" | "hi" | "hr" | "hr-HR" | "is" | "is-IS" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "lt" | "lt-LT" | "lv" | "lv-LV" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pl-PL" | "pt" | "pt-PT" | "pt-BR" | "ro" | "ro-RO" | "ru" | "ru-RU" | "sk" | "sk-SK" | "sl" | "sl-SI" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; text: string; type?: CodeableConcept[]; } @@ -169,7 +169,7 @@ export interface CitationSummary extends BackboneElement { text: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Citation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Citation (pkg: hl7.fhir.r5.core#5.0.0) export interface Citation extends DomainResource { resourceType: "Citation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Claim.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Claim.ts index 806e14792..5b43265ec 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Claim.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Claim.ts @@ -173,7 +173,7 @@ export interface ClaimSupportingInfo extends BackboneElement { valueString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim (pkg: hl7.fhir.r5.core#5.0.0) export interface Claim extends DomainResource { resourceType: "Claim"; @@ -209,7 +209,7 @@ export interface Claim extends DomainResource { supportingInfo?: ClaimSupportingInfo[]; total?: Money; traceNumber?: Identifier[]; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClaimResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClaimResponse.ts index 68e7fd944..0b5b39025 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClaimResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClaimResponse.ts @@ -168,7 +168,7 @@ export interface ClaimResponseProcessNote extends BackboneElement { language?: CodeableConcept; number?: number; text: string; - type?: CodeableConcept; + type?: CodeableConcept<("display" | "print" | "printoper" | string)>; } export interface ClaimResponseTotal extends BackboneElement { @@ -176,7 +176,7 @@ export interface ClaimResponseTotal extends BackboneElement { category: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse (pkg: hl7.fhir.r5.core#5.0.0) export interface ClaimResponse extends DomainResource { resourceType: "ClaimResponse"; @@ -215,7 +215,7 @@ export interface ClaimResponse extends DomainResource { subType?: CodeableConcept; total?: ClaimResponseTotal[]; traceNumber?: Identifier[]; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalImpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalImpression.ts index 0e71287a3..08ddba536 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalImpression.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalImpression.ts @@ -25,7 +25,7 @@ export interface ClinicalImpressionFinding extends BackboneElement { item?: CodeableReference; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression (pkg: hl7.fhir.r5.core#5.0.0) export interface ClinicalImpression extends DomainResource { resourceType: "ClinicalImpression"; @@ -47,7 +47,7 @@ export interface ClinicalImpression extends DomainResource { prognosisCodeableConcept?: CodeableConcept[]; prognosisReference?: Reference<"RiskAssessment">[]; protocol?: string[]; - _protocol?: Element; + _protocol?: (Element | null)[]; status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); _status?: Element; statusReason?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalUseDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalUseDefinition.ts index 3d4384789..371740c31 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalUseDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalUseDefinition.ts @@ -70,7 +70,7 @@ export interface ClinicalUseDefinitionWarning extends BackboneElement { description?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalUseDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalUseDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ClinicalUseDefinition extends DomainResource { resourceType: "ClinicalUseDefinition"; @@ -80,9 +80,9 @@ export interface ClinicalUseDefinition extends DomainResource { indication?: ClinicalUseDefinitionIndication; interaction?: ClinicalUseDefinitionInteraction; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; population?: Reference<"Group">[]; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; subject?: Reference<"ActivityDefinition" | "BiologicallyDerivedProduct" | "Device" | "DeviceDefinition" | "Medication" | "MedicinalProductDefinition" | "NutritionProduct" | "PlanDefinition" | "Substance">[]; type: string; _type?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeSystem.ts index 845246743..c8abc20fa 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeSystem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeSystem.ts @@ -32,9 +32,9 @@ export interface CodeSystemConcept extends BackboneElement { } export interface CodeSystemConceptDesignation extends BackboneElement { - additionalUse?: Coding[]; + additionalUse?: Coding<("900000000000003001" | "900000000000013009" | string)>[]; language?: string; - use?: Coding; + use?: Coding<("900000000000003001" | "900000000000013009" | string)>; value: string; } @@ -63,7 +63,7 @@ export interface CodeSystemProperty extends BackboneElement { uri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem (pkg: hl7.fhir.r5.core#5.0.0) export interface CodeSystem extends DomainResource { resourceType: "CodeSystem"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableConcept.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableConcept.ts index 470109172..6c6c892ce 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableConcept.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableConcept.ts @@ -9,9 +9,9 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { Coding } from "../hl7-fhir-r5-core/Coding"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableConcept -export interface CodeableConcept extends DataType { - coding?: Coding[]; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableConcept (pkg: hl7.fhir.r5.core#5.0.0) +export interface CodeableConcept extends DataType { + coding?: Coding[]; text?: string; _text?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableReference.ts index 6c3fb67cf..2de4ded3d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableReference.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableReference.ts @@ -10,7 +10,7 @@ export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableReference +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableReference (pkg: hl7.fhir.r5.core#5.0.0) export interface CodeableReference extends DataType { concept?: CodeableConcept; reference?: Reference; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coding.ts index 9ae9992e7..03f9e3310 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coding.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coding.ts @@ -7,9 +7,9 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coding -export interface Coding extends DataType { - code?: string; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coding (pkg: hl7.fhir.r5.core#5.0.0) +export interface Coding extends DataType { + code?: T; _code?: Element; display?: string; _display?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Communication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Communication.ts index a2a7cefa6..4b9cfa747 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Communication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Communication.ts @@ -26,7 +26,7 @@ export interface CommunicationPayload extends BackboneElement { contentReference?: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication (pkg: hl7.fhir.r5.core#5.0.0) export interface Communication extends DomainResource { resourceType: "Communication"; @@ -37,9 +37,9 @@ export interface Communication extends DomainResource { identifier?: Identifier[]; inResponseTo?: Reference<"Communication">[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; medium?: CodeableConcept[]; note?: Annotation[]; partOf?: Reference<"Resource">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CommunicationRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CommunicationRequest.ts index 3562596e6..868676556 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CommunicationRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CommunicationRequest.ts @@ -28,7 +28,7 @@ export interface CommunicationRequestPayload extends BackboneElement { contentReference?: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest (pkg: hl7.fhir.r5.core#5.0.0) export interface CommunicationRequest extends DomainResource { resourceType: "CommunicationRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CompartmentDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CompartmentDefinition.ts index 8d493d3ec..8a0ac4bf7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CompartmentDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CompartmentDefinition.ts @@ -22,7 +22,7 @@ export interface CompartmentDefinitionResource extends BackboneElement { startParam?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface CompartmentDefinition extends DomainResource { resourceType: "CompartmentDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Composition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Composition.ts index 5f1d08a72..20ce6496a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Composition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Composition.ts @@ -27,7 +27,7 @@ export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; export interface CompositionAttester extends BackboneElement { - mode: CodeableConcept; + mode: CodeableConcept<("personal" | "professional" | "legal" | "official" | string)>; party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; time?: string; } @@ -40,16 +40,16 @@ export interface CompositionEvent extends BackboneElement { export interface CompositionSection extends BackboneElement { author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; code?: CodeableConcept; - emptyReason?: CodeableConcept; + emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; entry?: Reference<"Resource">[]; focus?: Reference<"Resource">; - orderedBy?: CodeableConcept; + orderedBy?: CodeableConcept<("user" | "system" | "event-date" | "entry-date" | "priority" | "alphabetic" | "category" | "patient" | string)>; section?: CompositionSection[]; text?: Narrative; title?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Composition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Composition (pkg: hl7.fhir.r5.core#5.0.0) export interface Composition extends DomainResource { resourceType: "Composition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConceptMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConceptMap.ts index 72c6e7493..41ef81522 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConceptMap.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConceptMap.ts @@ -95,7 +95,7 @@ export interface ConceptMapProperty extends BackboneElement { uri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap (pkg: hl7.fhir.r5.core#5.0.0) export interface ConceptMap extends DomainResource { resourceType: "ConceptMap"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Condition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Condition.ts index df4e3c72f..bcafc6d7e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Condition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Condition.ts @@ -35,7 +35,7 @@ export interface ConditionStage extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition (pkg: hl7.fhir.r5.core#5.0.0) export interface Condition extends DomainResource { resourceType: "Condition"; @@ -47,8 +47,8 @@ export interface Condition extends DomainResource { abatementString?: string; _abatementString?: Element; bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; - clinicalStatus: CodeableConcept; + category?: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; + clinicalStatus: CodeableConcept<("active" | "recurrence" | "relapse" | "inactive" | "remission" | "resolved")>; code?: CodeableConcept; encounter?: Reference<"Encounter">; evidence?: CodeableReference[]; @@ -64,10 +64,10 @@ export interface Condition extends DomainResource { participant?: ConditionParticipant[]; recordedDate?: string; _recordedDate?: Element; - severity?: CodeableConcept; + severity?: CodeableConcept<("24484000" | "6736007" | "255604002" | string)>; stage?: ConditionStage[]; subject: Reference<"Group" | "Patient">; - verificationStatus?: CodeableConcept; + verificationStatus?: CodeableConcept<("unconfirmed" | "provisional" | "differential" | "confirmed" | "refuted" | "entered-in-error")>; } export const isCondition = (resource: unknown): resource is Condition => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Condition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConditionDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConditionDefinition.ts index 1ddc42f50..547aaa8ce 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConditionDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConditionDefinition.ts @@ -28,7 +28,7 @@ export interface ConditionDefinitionMedication extends BackboneElement { } export interface ConditionDefinitionObservation extends BackboneElement { - category?: CodeableConcept; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>; code?: CodeableConcept; } @@ -49,7 +49,7 @@ export interface ConditionDefinitionQuestionnaire extends BackboneElement { reference: Reference<"Questionnaire">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConditionDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConditionDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ConditionDefinition extends DomainResource { resourceType: "ConditionDefinition"; @@ -59,7 +59,7 @@ export interface ConditionDefinition extends DomainResource { date?: string; _date?: Element; definition?: string[]; - _definition?: Element; + _definition?: (Element | null)[]; description?: string; _description?: Element; experimental?: boolean; @@ -81,7 +81,7 @@ export interface ConditionDefinition extends DomainResource { publisher?: string; _publisher?: Element; questionnaire?: ConditionDefinitionQuestionnaire[]; - severity?: CodeableConcept; + severity?: CodeableConcept<("24484000" | "6736007" | "255604002" | string)>; stage?: CodeableConcept; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Consent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Consent.ts index 2ad47b1c4..a5f67baf5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Consent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Consent.ts @@ -33,7 +33,7 @@ export interface ConsentProvision extends BackboneElement { code?: CodeableConcept[]; data?: ConsentProvisionData[]; dataPeriod?: Period; - documentType?: Coding[]; + documentType?: Coding<("http://hl7.org/fhir/StructureDefinition/lipidprofile" | "application/hl7-cda+xml" | string)>[]; expression?: Expression; period?: Period; provision?: ConsentProvision[]; @@ -60,7 +60,7 @@ export interface ConsentVerification extends BackboneElement { verifiedWith?: Reference<"Patient" | "RelatedPerson">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent (pkg: hl7.fhir.r5.core#5.0.0) export interface Consent extends DomainResource { resourceType: "Consent"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactDetail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactDetail.ts index 23d29a2a3..e9a073ad9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactDetail.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactDetail.ts @@ -9,7 +9,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactDetail +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactDetail (pkg: hl7.fhir.r5.core#5.0.0) export interface ContactDetail extends DataType { name?: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactPoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactPoint.ts index 55a18699f..5751c8f63 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactPoint.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactPoint.ts @@ -9,7 +9,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Period } from "../hl7-fhir-r5-core/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactPoint +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactPoint (pkg: hl7.fhir.r5.core#5.0.0) export interface ContactPoint extends DataType { period?: Period; rank?: number; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contract.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contract.ts index 800784929..4c2cc909f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contract.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contract.ts @@ -59,7 +59,7 @@ export interface ContractRule extends BackboneElement { export interface ContractSigner extends BackboneElement { party: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; signature: Signature[]; - type: Coding; + type: Coding<("AMENDER" | "AUTHN" | "AUT" | "AFFL" | "AGNT" | "ASSIGNED" | "CIT" | "CLAIMANT" | "COAUTH" | "CONSENTER" | "CONSWIT" | "CONT" | "COPART" | "COVPTY" | "DELEGATEE" | "delegator" | "DEPEND" | "DPOWATT" | "EMGCON" | "EVTWIT" | "EXCEST" | "GRANTEE" | "GRANTOR" | "GUAR" | "GUARD" | "GUADLTM" | "INF" | "INTPRT" | "INSBJ" | "HPOWATT" | "HPROV" | "LEGAUTHN" | "NMDINS" | "NOK" | "NOTARY" | "PAT" | "POWATT" | "PRIMAUTH" | "PRIRECIP" | "RECIP" | "RESPRSN" | "REVIEWER" | "TRANS" | "SOURCE" | "SPOWATT" | "VALID" | "VERF" | "WIT" | string)>; } export interface ContractTerm extends BackboneElement { @@ -114,7 +114,7 @@ export interface ContractTermAsset extends BackboneElement { linkId?: string[]; period?: Period[]; periodType?: CodeableConcept[]; - relationship?: Coding; + relationship?: Coding<("http://hl7.org/fhir/StructureDefinition/lipidprofile" | "application/hl7-cda+xml" | string)>; scope?: CodeableConcept; securityLabelNumber?: number[]; subtype?: CodeableConcept[]; @@ -189,12 +189,12 @@ export interface ContractTermSecurityLabel extends BackboneElement { number?: number[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contract +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contract (pkg: hl7.fhir.r5.core#5.0.0) export interface Contract extends DomainResource { resourceType: "Contract"; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; applies?: Period; author?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole">; authority?: Reference<"Organization">[]; @@ -212,7 +212,7 @@ export interface Contract extends DomainResource { legal?: ContractLegal[]; legallyBindingAttachment?: Attachment; legallyBindingReference?: Reference<"Composition" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; - legalState?: CodeableConcept; + legalState?: CodeableConcept<("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated" | string)>; name?: string; _name?: Element; relevantHistory?: Reference<"Provenance">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contributor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contributor.ts index 67e4ef5ec..56b4b3713 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contributor.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contributor.ts @@ -9,7 +9,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contributor +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contributor (pkg: hl7.fhir.r5.core#5.0.0) export interface Contributor extends DataType { contact?: ContactDetail[]; name: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Count.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Count.ts index 0ae6d37fd..cd3c57cff 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Count.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Count.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Count +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Count (pkg: hl7.fhir.r5.core#5.0.0) export interface Count extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coverage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coverage.ts index 6ebfdaf76..ad6f52ff4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coverage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coverage.ts @@ -22,7 +22,7 @@ export type { Reference } from "../hl7-fhir-r5-core/Reference"; export interface CoverageClass extends BackboneElement { name?: string; - type: CodeableConcept; + type: CodeableConcept<("group" | "subgroup" | "plan" | "subplan" | "class" | "subclass" | "sequence" | "rxbin" | "rxpcn" | "rxid" | "rxgroup" | string)>; value: Identifier; } @@ -31,7 +31,7 @@ export interface CoverageCostToBeneficiary extends BackboneElement { exception?: CoverageCostToBeneficiaryException[]; network?: CodeableConcept; term?: CodeableConcept; - type?: CodeableConcept; + type?: CodeableConcept<("gpvisit" | "spvisit" | "emergency" | "inpthosp" | "televisit" | "urgentcare" | "copaypct" | "copay" | "deductible" | "maxoutofpocket" | string)>; unit?: CodeableConcept; valueMoney?: Money; valueQuantity?: Quantity; @@ -47,7 +47,7 @@ export interface CoveragePaymentBy extends BackboneElement { responsibility?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage (pkg: hl7.fhir.r5.core#5.0.0) export interface Coverage extends DomainResource { resourceType: "Coverage"; @@ -69,14 +69,14 @@ export interface Coverage extends DomainResource { paymentBy?: CoveragePaymentBy[]; period?: Period; policyHolder?: Reference<"Organization" | "Patient" | "RelatedPerson">; - relationship?: CodeableConcept; + relationship?: CodeableConcept<("child" | "parent" | "spouse" | "common" | "other" | "self" | "injured" | string)>; status: ("active" | "cancelled" | "draft" | "entered-in-error"); _status?: Element; subrogation?: boolean; _subrogation?: Element; subscriber?: Reference<"Patient" | "RelatedPerson">; subscriberId?: Identifier[]; - type?: CodeableConcept; + type?: CodeableConcept<("pay" | string)>; } export const isCoverage = (resource: unknown): resource is Coverage => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Coverage"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityRequest.ts index e568bae13..3c109bbda 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityRequest.ts @@ -56,7 +56,7 @@ export interface CoverageEligibilityRequestSupportingInfo extends BackboneElemen sequence: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest (pkg: hl7.fhir.r5.core#5.0.0) export interface CoverageEligibilityRequest extends DomainResource { resourceType: "CoverageEligibilityRequest"; @@ -73,7 +73,7 @@ export interface CoverageEligibilityRequest extends DomainResource { priority?: CodeableConcept; provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: Element; + _purpose?: (Element | null)[]; servicedDate?: string; _servicedDate?: Element; servicedPeriod?: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityResponse.ts index 731bddcd0..85f8bcf81 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityResponse.ts @@ -63,7 +63,7 @@ export interface CoverageEligibilityResponseInsuranceItemBenefit extends Backbon usedUnsignedInt?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse (pkg: hl7.fhir.r5.core#5.0.0) export interface CoverageEligibilityResponse extends DomainResource { resourceType: "CoverageEligibilityResponse"; @@ -83,7 +83,7 @@ export interface CoverageEligibilityResponse extends DomainResource { preAuthRef?: string; _preAuthRef?: Element; purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: Element; + _purpose?: (Element | null)[]; request: Reference<"CoverageEligibilityRequest">; requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; servicedDate?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataRequirement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataRequirement.ts index fa3f0467a..8d78a19d7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataRequirement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataRequirement.ts @@ -47,20 +47,20 @@ export interface DataRequirementValueFilter extends Element { valuePeriod?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement (pkg: hl7.fhir.r5.core#5.0.0) export interface DataRequirement extends DataType { - codeFilter?: Element[]; - dateFilter?: Element[]; + codeFilter?: DataRequirementCodeFilter[]; + dateFilter?: DataRequirementDateFilter[]; limit?: number; _limit?: Element; mustSupport?: string[]; - _mustSupport?: Element; + _mustSupport?: (Element | null)[]; profile?: string[]; - _profile?: Element; - sort?: Element[]; + _profile?: (Element | null)[]; + sort?: DataRequirementSort[]; subjectCodeableConcept?: CodeableConcept; subjectReference?: Reference<"Group">; type: string; _type?: Element; - valueFilter?: Element[]; + valueFilter?: DataRequirementValueFilter[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataType.ts index 5b8adf224..c9c5213dc 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataType.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataType.ts @@ -6,6 +6,6 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { Element } from "../hl7-fhir-r5-core/Element"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataType +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataType (pkg: hl7.fhir.r5.core#5.0.0) export interface DataType extends Element { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Definition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Definition.ts index e5d4431c4..63aba0d69 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Definition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Definition.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition (pkg: hl7.fhir.r5.core#5.0.0) export interface Definition extends Base { - resourceType: "Definition"; - -} -export const isDefinition = (resource: unknown): resource is Definition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Definition"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DetectedIssue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DetectedIssue.ts index 42e432abd..29c323623 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DetectedIssue.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DetectedIssue.ts @@ -30,7 +30,7 @@ export interface DetectedIssueMitigation extends BackboneElement { note?: Annotation[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue (pkg: hl7.fhir.r5.core#5.0.0) export interface DetectedIssue extends DomainResource { resourceType: "DetectedIssue"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Device.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Device.ts index 878c4a101..30c9d3b19 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Device.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Device.ts @@ -69,7 +69,7 @@ export interface DeviceVersion extends BackboneElement { value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device (pkg: hl7.fhir.r5.core#5.0.0) export interface Device extends DomainResource { resourceType: "Device"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceAssociation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceAssociation.ts index 439a40259..7ab148bd8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceAssociation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceAssociation.ts @@ -21,7 +21,7 @@ export interface DeviceAssociationOperation extends BackboneElement { status: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceAssociation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceAssociation (pkg: hl7.fhir.r5.core#5.0.0) export interface DeviceAssociation extends DomainResource { resourceType: "DeviceAssociation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDefinition.ts index e72dc7d0e..ae0738053 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDefinition.ts @@ -142,7 +142,7 @@ export interface DeviceDefinitionVersion extends BackboneElement { value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface DeviceDefinition extends DomainResource { resourceType: "DeviceDefinition"; @@ -169,7 +169,7 @@ export interface DeviceDefinition extends DomainResource { partNumber?: string; _partNumber?: Element; productionIdentifierInUDI?: string[]; - _productionIdentifierInUDI?: Element; + _productionIdentifierInUDI?: (Element | null)[]; property?: DeviceDefinitionProperty[]; regulatoryIdentifier?: DeviceDefinitionRegulatoryIdentifier[]; safety?: CodeableConcept[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDispense.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDispense.ts index b124115ae..f282b3291 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDispense.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDispense.ts @@ -25,7 +25,7 @@ export interface DeviceDispensePerformer extends BackboneElement { "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDispense +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDispense (pkg: hl7.fhir.r5.core#5.0.0) export interface DeviceDispense extends DomainResource { resourceType: "DeviceDispense"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceMetric.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceMetric.ts index 0eda683fa..9ce1bf224 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceMetric.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceMetric.ts @@ -22,7 +22,7 @@ export interface DeviceMetricCalibration extends BackboneElement { type?: ("unspecified" | "offset" | "gain" | "two-point"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric (pkg: hl7.fhir.r5.core#5.0.0) export interface DeviceMetric extends DomainResource { resourceType: "DeviceMetric"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceRequest.ts index 90c93d285..5473f9037 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceRequest.ts @@ -34,7 +34,7 @@ export interface DeviceRequestParameter extends BackboneElement { valueRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest (pkg: hl7.fhir.r5.core#5.0.0) export interface DeviceRequest extends DomainResource { resourceType: "DeviceRequest"; @@ -51,9 +51,9 @@ export interface DeviceRequest extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; insurance?: Reference<"ClaimResponse" | "Coverage">[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceUsage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceUsage.ts index b5e463169..75b57d757 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceUsage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceUsage.ts @@ -27,7 +27,7 @@ export interface DeviceUsageAdherence extends BackboneElement { reason: CodeableConcept[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUsage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUsage (pkg: hl7.fhir.r5.core#5.0.0) export interface DeviceUsage extends DomainResource { resourceType: "DeviceUsage"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DiagnosticReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DiagnosticReport.ts index e5adb1a34..ad68cd53c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DiagnosticReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DiagnosticReport.ts @@ -30,7 +30,7 @@ export interface DiagnosticReportSupportingInfo extends BackboneElement { type: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport (pkg: hl7.fhir.r5.core#5.0.0) export interface DiagnosticReport extends DomainResource { resourceType: "DiagnosticReport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Distance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Distance.ts index fdf715aaa..19c9931c8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Distance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Distance.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Distance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Distance (pkg: hl7.fhir.r5.core#5.0.0) export interface Distance extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DocumentReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DocumentReference.ts index 8ea26c822..dce7b70d5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DocumentReference.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DocumentReference.ts @@ -23,7 +23,7 @@ export type { Period } from "../hl7-fhir-r5-core/Period"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; export interface DocumentReferenceAttester extends BackboneElement { - mode: CodeableConcept; + mode: CodeableConcept<("personal" | "professional" | "legal" | "official" | string)>; party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; time?: string; } @@ -40,11 +40,11 @@ export interface DocumentReferenceContentProfile extends BackboneElement { } export interface DocumentReferenceRelatesTo extends BackboneElement { - code: CodeableConcept; + code: CodeableConcept<("replaces" | "transforms" | "signs" | "appends" | string)>; target: Reference<"DocumentReference">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference (pkg: hl7.fhir.r5.core#5.0.0) export interface DocumentReference extends DomainResource { resourceType: "DocumentReference"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DomainResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DomainResource.ts index 0d9f3c874..bbb941bb3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DomainResource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DomainResource.ts @@ -9,9 +9,9 @@ import type { Resource } from "../hl7-fhir-r5-core/Resource"; export type { Extension } from "../hl7-fhir-r5-core/Extension"; export type { Narrative } from "../hl7-fhir-r5-core/Narrative"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DomainResource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DomainResource (pkg: hl7.fhir.r5.core#5.0.0) export interface DomainResource extends Resource { - resourceType: "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; + resourceType: "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; contained?: Resource[]; extension?: Extension[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Dosage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Dosage.ts index d7f410432..628cdfa37 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Dosage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Dosage.ts @@ -27,13 +27,13 @@ export interface DosageDoseAndRate extends Element { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Dosage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Dosage (pkg: hl7.fhir.r5.core#5.0.0) export interface Dosage extends BackboneType { additionalInstruction?: CodeableConcept[]; asNeeded?: boolean; _asNeeded?: Element; asNeededFor?: CodeableConcept[]; - doseAndRate?: Element[]; + doseAndRate?: DosageDoseAndRate[]; maxDosePerAdministration?: Quantity; maxDosePerLifetime?: Quantity; maxDosePerPeriod?: Ratio[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Duration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Duration.ts index 341269542..b5c4d5c98 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Duration.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Duration.ts @@ -6,6 +6,6 @@ import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Duration +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Duration (pkg: hl7.fhir.r5.core#5.0.0) export interface Duration extends Quantity { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Element.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Element.ts index ea0dcad56..ae4cc0430 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Element.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Element.ts @@ -6,7 +6,7 @@ import type { Extension } from "../hl7-fhir-r5-core/Extension"; export type { Extension } from "../hl7-fhir-r5-core/Extension"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element (pkg: hl7.fhir.r5.core#5.0.0) export interface Element { extension?: Extension[]; id?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ElementDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ElementDefinition.ts index 4ba302fe4..5a550dae3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ElementDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ElementDefinition.ts @@ -83,7 +83,7 @@ export interface ElementDefinitionBase extends Element { } export interface ElementDefinitionBinding extends Element { - additional?: Element[]; + additional?: ElementDefinitionBindingAdditional[]; description?: string; strength: ("required" | "extensible" | "preferred" | "example"); valueSet?: string; @@ -175,7 +175,7 @@ export interface ElementDefinitionMapping extends Element { export interface ElementDefinitionSlicing extends Element { description?: string; - discriminator?: Element[]; + discriminator?: ElementDefinitionSlicingDiscriminator[]; ordered?: boolean; rules: ("closed" | "open" | "openAtEnd"); } @@ -193,18 +193,18 @@ export interface ElementDefinitionType extends Element { versioning?: ("either" | "independent" | "specific"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ElementDefinition extends BackboneType { alias?: string[]; - _alias?: Element; - base?: Element; - binding?: Element; + _alias?: (Element | null)[]; + base?: ElementDefinitionBase; + binding?: ElementDefinitionBinding; code?: Coding[]; comment?: string; _comment?: Element; condition?: string[]; - _condition?: Element; - constraint?: Element[]; + _condition?: (Element | null)[]; + constraint?: ElementDefinitionConstraint[]; contentReference?: string; _contentReference?: Element; defaultValueAddress?: Address; @@ -283,7 +283,7 @@ export interface ElementDefinition extends BackboneType { _defaultValueUuid?: Element; definition?: string; _definition?: Element; - example?: Element[]; + example?: ElementDefinitionExample[]; fixedAddress?: Address; fixedAge?: Age; fixedAnnotation?: Annotation; @@ -366,7 +366,7 @@ export interface ElementDefinition extends BackboneType { _isSummary?: Element; label?: string; _label?: Element; - mapping?: Element[]; + mapping?: ElementDefinitionMapping[]; max?: string; _max?: Element; maxLength?: number; @@ -496,7 +496,7 @@ export interface ElementDefinition extends BackboneType { patternUuid?: string; _patternUuid?: Element; representation?: ("xmlAttr" | "xmlText" | "typeAttr" | "cdaText" | "xhtml")[]; - _representation?: Element; + _representation?: (Element | null)[]; requirements?: string; _requirements?: Element; short?: string; @@ -505,8 +505,8 @@ export interface ElementDefinition extends BackboneType { _sliceIsConstraining?: Element; sliceName?: string; _sliceName?: Element; - slicing?: Element; - type?: Element[]; + slicing?: ElementDefinitionSlicing; + type?: ElementDefinitionType[]; valueAlternatives?: string[]; - _valueAlternatives?: Element; + _valueAlternatives?: (Element | null)[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Encounter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Encounter.ts index 8359d3af4..02ef80447 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Encounter.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Encounter.ts @@ -23,7 +23,7 @@ export type { Reference } from "../hl7-fhir-r5-core/Reference"; export type { VirtualServiceDetail } from "../hl7-fhir-r5-core/VirtualServiceDetail"; export interface EncounterAdmission extends BackboneElement { - admitSource?: CodeableConcept; + admitSource?: CodeableConcept<("hosp-trans" | "emd" | "outp" | "born" | "gp" | "mp" | "nursing" | "psych" | "rehab" | "other" | string)>; destination?: Reference<"Location" | "Organization">; dischargeDisposition?: CodeableConcept; origin?: Reference<"Location" | "Organization">; @@ -46,7 +46,7 @@ export interface EncounterLocation extends BackboneElement { export interface EncounterParticipant extends BackboneElement { actor?: Reference<"Device" | "Group" | "HealthcareService" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; period?: Period; - type?: CodeableConcept[]; + type?: CodeableConcept<("translator" | "emergency" | string)>[]; } export interface EncounterReason extends BackboneElement { @@ -54,7 +54,7 @@ export interface EncounterReason extends BackboneElement { value?: CodeableReference[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter (pkg: hl7.fhir.r5.core#5.0.0) export interface Encounter extends DomainResource { resourceType: "Encounter"; @@ -64,7 +64,7 @@ export interface Encounter extends DomainResource { appointment?: Reference<"Appointment">[]; basedOn?: Reference<"CarePlan" | "DeviceRequest" | "MedicationRequest" | "ServiceRequest">[]; careTeam?: Reference<"CareTeam">[]; - "class"?: CodeableConcept[]; + "class"?: CodeableConcept<("IMP" | "AMB" | "OBSENC" | "EMER" | "VR" | "HH" | string)>[]; diagnosis?: EncounterDiagnosis[]; dietPreference?: CodeableConcept[]; episodeOfCare?: Reference<"EpisodeOfCare">[]; @@ -81,8 +81,8 @@ export interface Encounter extends DomainResource { reason?: EncounterReason[]; serviceProvider?: Reference<"Organization">; serviceType?: CodeableReference[]; - specialArrangement?: CodeableConcept[]; - specialCourtesy?: CodeableConcept[]; + specialArrangement?: CodeableConcept<("wheel" | "add-bed" | "int" | "att" | "dog" | string)>[]; + specialCourtesy?: CodeableConcept<("EXT" | "NRM" | "PRF" | "STF" | "VIP" | "UNK" | string)>[]; status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); _status?: Element; subject?: Reference<"Group" | "Patient">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EncounterHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EncounterHistory.ts index ae2ac4dd6..e762a7f0c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EncounterHistory.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EncounterHistory.ts @@ -25,7 +25,7 @@ export interface EncounterHistoryLocation extends BackboneElement { location: Reference<"Location">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EncounterHistory +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EncounterHistory (pkg: hl7.fhir.r5.core#5.0.0) export interface EncounterHistory extends DomainResource { resourceType: "EncounterHistory"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Endpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Endpoint.ts index 8ab2d8fae..248690ec3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Endpoint.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Endpoint.ts @@ -23,7 +23,7 @@ export interface EndpointPayload extends BackboneElement { type?: CodeableConcept[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Endpoint +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Endpoint (pkg: hl7.fhir.r5.core#5.0.0) export interface Endpoint extends DomainResource { resourceType: "Endpoint"; @@ -35,7 +35,7 @@ export interface Endpoint extends DomainResource { _description?: Element; environmentType?: CodeableConcept[]; header?: string[]; - _header?: Element; + _header?: (Element | null)[]; identifier?: Identifier[]; managingOrganization?: Reference<"Organization">; name?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentRequest.ts index 809cd8857..5193a5a03 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentRequest.ts @@ -10,7 +10,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentRequest (pkg: hl7.fhir.r5.core#5.0.0) export interface EnrollmentRequest extends DomainResource { resourceType: "EnrollmentRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentResponse.ts index 0db60e6ba..3b442b7cd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentResponse.ts @@ -10,7 +10,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EnrollmentResponse (pkg: hl7.fhir.r5.core#5.0.0) export interface EnrollmentResponse extends DomainResource { resourceType: "EnrollmentResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EpisodeOfCare.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EpisodeOfCare.ts index 914f96361..59ed8ce0f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EpisodeOfCare.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EpisodeOfCare.ts @@ -33,7 +33,7 @@ export interface EpisodeOfCareStatusHistory extends BackboneElement { status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare (pkg: hl7.fhir.r5.core#5.0.0) export interface EpisodeOfCare extends DomainResource { resourceType: "EpisodeOfCare"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Event.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Event.ts index 89ca1fff7..e3a56abc7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Event.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Event.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event (pkg: hl7.fhir.r5.core#5.0.0) export interface Event extends Base { - resourceType: "Event"; - -} -export const isEvent = (resource: unknown): resource is Event => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Event"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EventDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EventDefinition.ts index f3de93fd8..a5bf64f6c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EventDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EventDefinition.ts @@ -24,7 +24,7 @@ export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; export type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EventDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EventDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface EventDefinition extends DomainResource { resourceType: "EventDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Evidence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Evidence.ts index f2f9c4d95..2732037d9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Evidence.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Evidence.ts @@ -92,7 +92,7 @@ export interface EvidenceVariableDefinition extends BackboneElement { variableRole: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Evidence +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Evidence (pkg: hl7.fhir.r5.core#5.0.0) export interface Evidence extends DomainResource { resourceType: "Evidence"; @@ -134,7 +134,7 @@ export interface Evidence extends DomainResource { status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; studyDesign?: CodeableConcept[]; - synthesisType?: CodeableConcept; + synthesisType?: CodeableConcept<("std-MA" | "IPD-MA" | "indirect-NMA" | "combined-NMA" | "range" | "classification" | string)>; title?: string; _title?: Element; url?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceReport.ts index df5664ff6..b39ce9fa8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceReport.ts @@ -44,14 +44,14 @@ export interface EvidenceReportRelatesToTarget extends BackboneElement { export interface EvidenceReportSection extends BackboneElement { author?: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - emptyReason?: CodeableConcept; + emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; entryClassifier?: CodeableConcept[]; entryQuantity?: Quantity[]; entryReference?: Reference<"Resource">[]; focus?: CodeableConcept; focusReference?: Reference<"Resource">; mode?: ("working" | "snapshot" | "changes"); - orderedBy?: CodeableConcept; + orderedBy?: CodeableConcept<("user" | "system" | "event-date" | "entry-date" | "priority" | "alphabetic" | "category" | "patient" | string)>; section?: EvidenceReportSection[]; text?: Narrative; title?: string; @@ -73,7 +73,7 @@ export interface EvidenceReportSubjectCharacteristic extends BackboneElement { valueReference?: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceReport (pkg: hl7.fhir.r5.core#5.0.0) export interface EvidenceReport extends DomainResource { resourceType: "EvidenceReport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceVariable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceVariable.ts index 8c004f7e4..44468890b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceVariable.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceVariable.ts @@ -88,7 +88,7 @@ export interface EvidenceVariableCharacteristicTimeFromEvent extends BackboneEle range?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable (pkg: hl7.fhir.r5.core#5.0.0) export interface EvidenceVariable extends DomainResource { resourceType: "EvidenceVariable"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExampleScenario.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExampleScenario.ts index be7ea20e8..3e074f532 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExampleScenario.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExampleScenario.ts @@ -84,10 +84,10 @@ export interface ExampleScenarioProcessStepOperation extends BackboneElement { request?: ExampleScenarioInstanceContainedInstance; response?: ExampleScenarioInstanceContainedInstance; title: string; - type?: Coding; + type?: Coding<("read" | "vread" | "update" | "patch" | "delete" | "history" | "history-instance" | "history-type" | "history-system" | "create" | "search" | "search-type" | "search-system" | "capabilities" | "transaction" | "batch" | "operation" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExampleScenario +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExampleScenario (pkg: hl7.fhir.r5.core#5.0.0) export interface ExampleScenario extends DomainResource { resourceType: "ExampleScenario"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExplanationOfBenefit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExplanationOfBenefit.ts index 56c5d1e94..1686c81f7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExplanationOfBenefit.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExplanationOfBenefit.ts @@ -276,7 +276,7 @@ export interface ExplanationOfBenefitProcessNote extends BackboneElement { language?: CodeableConcept; number?: number; text?: string; - type?: CodeableConcept; + type?: CodeableConcept<("display" | "print" | "printoper" | string)>; } export interface ExplanationOfBenefitRelated extends BackboneElement { @@ -305,7 +305,7 @@ export interface ExplanationOfBenefitTotal extends BackboneElement { category: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit (pkg: hl7.fhir.r5.core#5.0.0) export interface ExplanationOfBenefit extends DomainResource { resourceType: "ExplanationOfBenefit"; @@ -345,7 +345,7 @@ export interface ExplanationOfBenefit extends DomainResource { payee?: ExplanationOfBenefitPayee; payment?: ExplanationOfBenefitPayment; preAuthRef?: string[]; - _preAuthRef?: Element; + _preAuthRef?: (Element | null)[]; preAuthRefPeriod?: Period[]; precedence?: number; _precedence?: Element; @@ -362,7 +362,7 @@ export interface ExplanationOfBenefit extends DomainResource { supportingInfo?: ExplanationOfBenefitSupportingInfo[]; total?: ExplanationOfBenefitTotal[]; traceNumber?: Identifier[]; - type: CodeableConcept; + type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; use: ("claim" | "preauthorization" | "predetermination"); _use?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Expression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Expression.ts index ca6bfbe46..2db9bd4b8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Expression.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Expression.ts @@ -7,13 +7,13 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Expression +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Expression (pkg: hl7.fhir.r5.core#5.0.0) export interface Expression extends DataType { description?: string; _description?: Element; expression?: string; _expression?: Element; - language?: string; + language?: ("text/cql" | "text/fhirpath" | "text/x-fhir-query" | "text/cql-identifier" | "text/cql-expression" | string); _language?: Element; name?: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExtendedContactDetail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExtendedContactDetail.ts index c3a2fbda5..d57cac1a8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExtendedContactDetail.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExtendedContactDetail.ts @@ -18,12 +18,12 @@ export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; export type { Period } from "../hl7-fhir-r5-core/Period"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExtendedContactDetail +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExtendedContactDetail (pkg: hl7.fhir.r5.core#5.0.0) export interface ExtendedContactDetail extends DataType { address?: Address; name?: HumanName[]; organization?: Reference<"Organization">; period?: Period; - purpose?: CodeableConcept; + purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; telecom?: ContactPoint[]; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Extension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Extension.ts index abbfcc9bb..96352f197 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Extension.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Extension.ts @@ -75,7 +75,7 @@ export type { Timing } from "../hl7-fhir-r5-core/Timing"; export type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Extension +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Extension (pkg: hl7.fhir.r5.core#5.0.0) export interface Extension extends DataType { url: string; _url?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FamilyMemberHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FamilyMemberHistory.ts index d4572177f..ca3ae8cbf 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FamilyMemberHistory.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FamilyMemberHistory.ts @@ -52,7 +52,7 @@ export interface FamilyMemberHistoryProcedure extends BackboneElement { performedString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory (pkg: hl7.fhir.r5.core#5.0.0) export interface FamilyMemberHistory extends DomainResource { resourceType: "FamilyMemberHistory"; @@ -81,9 +81,9 @@ export interface FamilyMemberHistory extends DomainResource { _estimatedAge?: Element; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; name?: string; _name?: Element; note?: Annotation[]; @@ -92,7 +92,7 @@ export interface FamilyMemberHistory extends DomainResource { procedure?: FamilyMemberHistoryProcedure[]; reason?: CodeableReference[]; relationship: CodeableConcept; - sex?: CodeableConcept; + sex?: CodeableConcept<("male" | "female" | "other" | "unknown" | string)>; status: ("partial" | "completed" | "entered-in-error" | "health-unknown"); _status?: Element; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FiveWs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FiveWs.ts index a7d4a2245..2baf3c0c0 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FiveWs.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FiveWs.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs (pkg: hl7.fhir.r5.core#5.0.0) export interface FiveWs extends Base { - resourceType: "FiveWs"; - -} -export const isFiveWs = (resource: unknown): resource is FiveWs => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "FiveWs"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Flag.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Flag.ts index 2dcea7323..a5a7ad823 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Flag.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Flag.ts @@ -14,7 +14,7 @@ export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Period } from "../hl7-fhir-r5-core/Period"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Flag +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Flag (pkg: hl7.fhir.r5.core#5.0.0) export interface Flag extends DomainResource { resourceType: "Flag"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FormularyItem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FormularyItem.ts index 3a67d9813..543d39fd4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FormularyItem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FormularyItem.ts @@ -10,7 +10,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FormularyItem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FormularyItem (pkg: hl7.fhir.r5.core#5.0.0) export interface FormularyItem extends DomainResource { resourceType: "FormularyItem"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GenomicStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GenomicStudy.ts index fbc32a9bd..42e1f2fe2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GenomicStudy.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GenomicStudy.ts @@ -61,7 +61,7 @@ export interface GenomicStudyAnalysisPerformer extends BackboneElement { role?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GenomicStudy +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GenomicStudy (pkg: hl7.fhir.r5.core#5.0.0) export interface GenomicStudy extends DomainResource { resourceType: "GenomicStudy"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Goal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Goal.ts index b5df3365b..743eb79bd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Goal.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Goal.ts @@ -39,11 +39,11 @@ export interface GoalTarget extends BackboneElement { measure?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal (pkg: hl7.fhir.r5.core#5.0.0) export interface Goal extends DomainResource { resourceType: "Goal"; - achievementStatus?: CodeableConcept; + achievementStatus?: CodeableConcept<("in-progress" | "improving" | "worsening" | "no-change" | "achieved" | "sustaining" | "not-achieved" | "no-progress" | "not-attainable" | string)>; addresses?: Reference<"Condition" | "MedicationRequest" | "MedicationStatement" | "NutritionOrder" | "Observation" | "Procedure" | "RiskAssessment" | "ServiceRequest">[]; category?: CodeableConcept[]; continuous?: boolean; @@ -54,7 +54,7 @@ export interface Goal extends DomainResource { _lifecycleStatus?: Element; note?: Annotation[]; outcome?: CodeableReference[]; - priority?: CodeableConcept; + priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; source?: Reference<"CareTeam" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; startCodeableConcept?: CodeableConcept; startDate?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GraphDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GraphDefinition.ts index f6de2de95..22363630b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GraphDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GraphDefinition.ts @@ -45,7 +45,7 @@ export interface GraphDefinitionNode extends BackboneElement { type: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface GraphDefinition extends DomainResource { resourceType: "GraphDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Group.ts index 9eb2c085e..6f1c339b5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Group.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Group.ts @@ -37,7 +37,7 @@ export interface GroupMember extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group (pkg: hl7.fhir.r5.core#5.0.0) export interface Group extends DomainResource { resourceType: "Group"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GuidanceResponse.ts index df160ea23..4bbd1d853 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GuidanceResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GuidanceResponse.ts @@ -18,7 +18,7 @@ export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GuidanceResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GuidanceResponse (pkg: hl7.fhir.r5.core#5.0.0) export interface GuidanceResponse extends DomainResource { resourceType: "GuidanceResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HealthcareService.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HealthcareService.ts index 343be2267..7d0b95909 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HealthcareService.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HealthcareService.ts @@ -25,7 +25,7 @@ export interface HealthcareServiceEligibility extends BackboneElement { comment?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService (pkg: hl7.fhir.r5.core#5.0.0) export interface HealthcareService extends DomainResource { resourceType: "HealthcareService"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HumanName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HumanName.ts index 8d3e91846..8835958e8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HumanName.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HumanName.ts @@ -9,17 +9,17 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Period } from "../hl7-fhir-r5-core/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HumanName +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HumanName (pkg: hl7.fhir.r5.core#5.0.0) export interface HumanName extends DataType { family?: string; _family?: Element; given?: string[]; - _given?: Element; + _given?: (Element | null)[]; period?: Period; prefix?: string[]; - _prefix?: Element; + _prefix?: (Element | null)[]; suffix?: string[]; - _suffix?: Element; + _suffix?: (Element | null)[]; text?: string; _text?: Element; use?: ("usual" | "official" | "temp" | "nickname" | "anonymous" | "old" | "maiden"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Identifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Identifier.ts index adc952466..7f65ac64f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Identifier.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Identifier.ts @@ -13,13 +13,13 @@ export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Period } from "../hl7-fhir-r5-core/Period"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Identifier +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Identifier (pkg: hl7.fhir.r5.core#5.0.0) export interface Identifier extends DataType { assigner?: Reference<"Organization">; period?: Period; system?: string; _system?: Element; - type?: CodeableConcept; + type?: CodeableConcept<("DL" | "PPN" | "BRN" | "MR" | "MCN" | "EN" | "TAX" | "NIIP" | "PRN" | "MD" | "DR" | "ACSN" | "UDI" | "SNO" | "SB" | "PLAC" | "FILL" | "JHN" | string)>; use?: ("usual" | "official" | "temp" | "secondary" | "old"); _use?: Element; value?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingSelection.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingSelection.ts index ffeb5c346..1f8bfb312 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingSelection.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingSelection.ts @@ -39,10 +39,10 @@ export interface ImagingSelectionInstanceImageRegion3D extends BackboneElement { export interface ImagingSelectionPerformer extends BackboneElement { actor?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; + "function"?: CodeableConcept<("CON" | "VRF" | "PRF" | "SPRF" | "REF" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingSelection +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingSelection (pkg: hl7.fhir.r5.core#5.0.0) export interface ImagingSelection extends DomainResource { resourceType: "ImagingSelection"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingStudy.ts index 2171bdc1a..2fc7c5eb1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingStudy.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingStudy.ts @@ -44,10 +44,10 @@ export interface ImagingStudySeriesInstance extends BackboneElement { export interface ImagingStudySeriesPerformer extends BackboneElement { actor: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; + "function"?: CodeableConcept<("CON" | "VRF" | "PRF" | "SPRF" | "REF" | string)>; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy (pkg: hl7.fhir.r5.core#5.0.0) export interface ImagingStudy extends DomainResource { resourceType: "ImagingStudy"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Immunization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Immunization.ts index aaae2dc43..4d7316b75 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Immunization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Immunization.ts @@ -22,7 +22,7 @@ export type { Reference } from "../hl7-fhir-r5-core/Reference"; export interface ImmunizationPerformer extends BackboneElement { actor: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; + "function"?: CodeableConcept<("OP" | "AP" | string)>; } export interface ImmunizationProgramEligibility extends BackboneElement { @@ -44,7 +44,7 @@ export interface ImmunizationReaction extends BackboneElement { reported?: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization (pkg: hl7.fhir.r5.core#5.0.0) export interface Immunization extends DomainResource { resourceType: "Immunization"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationEvaluation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationEvaluation.ts index a32e28fda..d252bf3df 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationEvaluation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationEvaluation.ts @@ -12,7 +12,7 @@ export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation (pkg: hl7.fhir.r5.core#5.0.0) export interface ImmunizationEvaluation extends DomainResource { resourceType: "ImmunizationEvaluation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationRecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationRecommendation.ts index 0ed052014..3b5339d5b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationRecommendation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationRecommendation.ts @@ -34,7 +34,7 @@ export interface ImmunizationRecommendationRecommendationDateCriterion extends B value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation (pkg: hl7.fhir.r5.core#5.0.0) export interface ImmunizationRecommendation extends DomainResource { resourceType: "ImmunizationRecommendation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImplementationGuide.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImplementationGuide.ts index 25ce31d07..fa4c6b76c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImplementationGuide.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImplementationGuide.ts @@ -44,7 +44,7 @@ export interface ImplementationGuideDefinitionPage extends BackboneElement { } export interface ImplementationGuideDefinitionParameter extends BackboneElement { - code: Coding; + code: Coding<("apply" | "path-resource" | "path-pages" | "path-tx-cache" | "expansion-parameter" | "rule-broken-links" | "generate-xml" | "generate-json" | "generate-turtle" | "html-template" | string)>; value: string; } @@ -97,7 +97,7 @@ export interface ImplementationGuideManifestResource extends BackboneElement { relativePath?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide (pkg: hl7.fhir.r5.core#5.0.0) export interface ImplementationGuide extends DomainResource { resourceType: "ImplementationGuide"; @@ -115,7 +115,7 @@ export interface ImplementationGuide extends DomainResource { experimental?: boolean; _experimental?: Element; fhirVersion: ("0.01" | "0.05" | "0.06" | "0.11" | "0.0.80" | "0.0.81" | "0.0.82" | "0.4.0" | "0.5.0" | "1.0.0" | "1.0.1" | "1.0.2" | "1.1.0" | "1.4.0" | "1.6.0" | "1.8.0" | "3.0.0" | "3.0.1" | "3.3.0" | "3.5.0" | "4.0.0" | "4.0.1")[]; - _fhirVersion?: Element; + _fhirVersion?: (Element | null)[]; global?: ImplementationGuideGlobal[]; identifier?: Identifier[]; jurisdiction?: CodeableConcept[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ingredient.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ingredient.ts index c43752da0..67046e9bd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ingredient.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ingredient.ts @@ -58,7 +58,7 @@ export interface IngredientSubstanceStrengthReferenceStrength extends BackboneEl substance: CodeableReference; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ingredient +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ingredient (pkg: hl7.fhir.r5.core#5.0.0) export interface Ingredient extends DomainResource { resourceType: "Ingredient"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InsurancePlan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InsurancePlan.ts index ceb3b934a..d0a354d0a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InsurancePlan.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InsurancePlan.ts @@ -66,19 +66,19 @@ export interface InsurancePlanPlanSpecificCostBenefit extends BackboneElement { } export interface InsurancePlanPlanSpecificCostBenefitCost extends BackboneElement { - applicability?: CodeableConcept; + applicability?: CodeableConcept<("in-network" | "out-of-network" | "other")>; qualifiers?: CodeableConcept[]; type: CodeableConcept; value?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InsurancePlan +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InsurancePlan (pkg: hl7.fhir.r5.core#5.0.0) export interface InsurancePlan extends DomainResource { resourceType: "InsurancePlan"; administeredBy?: Reference<"Organization">; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; contact?: ExtendedContactDetail[]; coverage?: InsurancePlanCoverage[]; coverageArea?: Reference<"Location">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryItem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryItem.ts index 6adc75a1d..81d67b57b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryItem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryItem.ts @@ -75,7 +75,7 @@ export interface InventoryItemResponsibleOrganization extends BackboneElement { role: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InventoryItem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InventoryItem (pkg: hl7.fhir.r5.core#5.0.0) export interface InventoryItem extends DomainResource { resourceType: "InventoryItem"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryReport.ts index 75609a98a..9510ceba8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryReport.ts @@ -35,7 +35,7 @@ export interface InventoryReportInventoryListingItem extends BackboneElement { quantity: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InventoryReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InventoryReport (pkg: hl7.fhir.r5.core#5.0.0) export interface InventoryReport extends DomainResource { resourceType: "InventoryReport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Invoice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Invoice.ts index e650fdfec..4931dabed 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Invoice.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Invoice.ts @@ -36,7 +36,7 @@ export interface InvoiceParticipant extends BackboneElement { role?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice (pkg: hl7.fhir.r5.core#5.0.0) export interface Invoice extends DomainResource { resourceType: "Invoice"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Library.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Library.ts index d000faafe..49e1bcff3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Library.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Library.ts @@ -28,7 +28,7 @@ export type { Reference } from "../hl7-fhir-r5-core/Reference"; export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Library +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Library (pkg: hl7.fhir.r5.core#5.0.0) export interface Library extends DomainResource { resourceType: "Library"; @@ -73,7 +73,7 @@ export interface Library extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type: CodeableConcept; + type: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Linkage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Linkage.ts index de9badb51..23ec2f9ac 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Linkage.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Linkage.ts @@ -15,7 +15,7 @@ export interface LinkageItem extends BackboneElement { type: ("source" | "alternate" | "historical"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage (pkg: hl7.fhir.r5.core#5.0.0) export interface Linkage extends DomainResource { resourceType: "Linkage"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/List.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/List.ts index 7b17efcb8..065722c70 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/List.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/List.ts @@ -23,21 +23,21 @@ export interface ListEntry extends BackboneElement { item: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/List +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/List (pkg: hl7.fhir.r5.core#5.0.0) export interface List extends DomainResource { resourceType: "List"; code?: CodeableConcept; date?: string; _date?: Element; - emptyReason?: CodeableConcept; + emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; encounter?: Reference<"Encounter">; entry?: ListEntry[]; identifier?: Identifier[]; mode: ("working" | "snapshot" | "changes"); _mode?: Element; note?: Annotation[]; - orderedBy?: CodeableConcept; + orderedBy?: CodeableConcept<("user" | "system" | "event-date" | "entry-date" | "priority" | "alphabetic" | "category" | "patient" | string)>; source?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; status: ("current" | "retired" | "entered-in-error"); _status?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Location.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Location.ts index b96c80bc0..3b093e4d4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Location.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Location.ts @@ -30,13 +30,13 @@ export interface LocationPosition extends BackboneElement { longitude: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Location +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Location (pkg: hl7.fhir.r5.core#5.0.0) export interface Location extends DomainResource { resourceType: "Location"; address?: Address; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; characteristic?: CodeableConcept[]; contact?: ExtendedContactDetail[]; description?: string; @@ -50,7 +50,7 @@ export interface Location extends DomainResource { _mode?: Element; name?: string; _name?: Element; - operationalStatus?: Coding; + operationalStatus?: Coding<("C" | "H" | "I" | "K" | "O" | "U" | string)>; partOf?: Reference<"Location">; position?: LocationPosition; status?: ("active" | "suspended" | "inactive"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ManufacturedItemDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ManufacturedItemDefinition.ts index 2244c80ae..3479f7116 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ManufacturedItemDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ManufacturedItemDefinition.ts @@ -49,7 +49,7 @@ export interface ManufacturedItemDefinitionProperty extends BackboneElement { valueReference?: Reference<"Binary">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ManufacturedItemDefinition extends DomainResource { resourceType: "ManufacturedItemDefinition"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MarketingStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MarketingStatus.ts index 3521f706b..180c28139 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MarketingStatus.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MarketingStatus.ts @@ -11,7 +11,7 @@ export type { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { Period } from "../hl7-fhir-r5-core/Period"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MarketingStatus +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MarketingStatus (pkg: hl7.fhir.r5.core#5.0.0) export interface MarketingStatus extends BackboneType { country?: CodeableConcept; dateRange?: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Measure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Measure.ts index 1e16d8017..6c678b95a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Measure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Measure.ts @@ -30,22 +30,22 @@ export interface MeasureGroup extends BackboneElement { basis?: string; code?: CodeableConcept; description?: string; - improvementNotation?: CodeableConcept; + improvementNotation?: CodeableConcept<("increase" | "decrease")>; library?: string[]; linkId?: string; population?: MeasureGroupPopulation[]; rateAggregation?: string; - scoring?: CodeableConcept; + scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; scoringUnit?: CodeableConcept; stratifier?: MeasureGroupStratifier[]; subjectCodeableConcept?: CodeableConcept; subjectReference?: Reference<"Group">; - type?: CodeableConcept[]; + type?: CodeableConcept<("process" | "outcome" | "structure" | "patient-reported-outcome" | "composite" | string)>[]; } export interface MeasureGroupPopulation extends BackboneElement { aggregateMethod?: CodeableConcept; - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; criteria?: Expression; description?: string; groupDefinition?: Reference<"Group">; @@ -75,7 +75,7 @@ export interface MeasureSupplementalData extends BackboneElement { criteria: Expression; description?: string; linkId?: string; - usage?: CodeableConcept[]; + usage?: CodeableConcept<("supplemental-data" | "risk-adjustment-factor" | string)>[]; } export interface MeasureTerm extends BackboneElement { @@ -83,7 +83,7 @@ export interface MeasureTerm extends BackboneElement { definition?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure (pkg: hl7.fhir.r5.core#5.0.0) export interface Measure extends DomainResource { resourceType: "Measure"; @@ -94,7 +94,7 @@ export interface Measure extends DomainResource { _basis?: Element; clinicalRecommendationStatement?: string; _clinicalRecommendationStatement?: Element; - compositeScoring?: CodeableConcept; + compositeScoring?: CodeableConcept<("opportunity" | "all-or-nothing" | "linear" | "weighted" | string)>; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; @@ -115,12 +115,12 @@ export interface Measure extends DomainResource { guidance?: string; _guidance?: Element; identifier?: Identifier[]; - improvementNotation?: CodeableConcept; + improvementNotation?: CodeableConcept<("increase" | "decrease")>; jurisdiction?: CodeableConcept[]; lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; publisher?: string; @@ -135,7 +135,7 @@ export interface Measure extends DomainResource { reviewer?: ContactDetail[]; riskAdjustment?: string; _riskAdjustment?: Element; - scoring?: CodeableConcept; + scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; scoringUnit?: CodeableConcept; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; @@ -148,7 +148,7 @@ export interface Measure extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type?: CodeableConcept[]; + type?: CodeableConcept<("process" | "outcome" | "structure" | "patient-reported-outcome" | "composite" | string)>[]; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MeasureReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MeasureReport.ts index 467465f06..63f73f8c7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MeasureReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MeasureReport.ts @@ -37,7 +37,7 @@ export interface MeasureReportGroup extends BackboneElement { } export interface MeasureReportGroupPopulation extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; count?: number; linkId?: string; subjectReport?: Reference<"MeasureReport">[]; @@ -78,7 +78,7 @@ export interface MeasureReportGroupStratifierStratumComponent extends BackboneEl } export interface MeasureReportGroupStratifierStratumPopulation extends BackboneElement { - code?: CodeableConcept; + code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; count?: number; linkId?: string; subjectReport?: Reference<"MeasureReport">[]; @@ -86,7 +86,7 @@ export interface MeasureReportGroupStratifierStratumPopulation extends BackboneE subjects?: Reference<"Group">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MeasureReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MeasureReport (pkg: hl7.fhir.r5.core#5.0.0) export interface MeasureReport extends DomainResource { resourceType: "MeasureReport"; @@ -97,7 +97,7 @@ export interface MeasureReport extends DomainResource { evaluatedResource?: Reference<"Resource">[]; group?: MeasureReportGroup[]; identifier?: Identifier[]; - improvementNotation?: CodeableConcept; + improvementNotation?: CodeableConcept<("increase" | "decrease")>; inputParameters?: Reference<"Parameters">; location?: Reference<"Location">; measure?: string; @@ -105,7 +105,7 @@ export interface MeasureReport extends DomainResource { period: Period; reporter?: Reference<"Group" | "Organization" | "Practitioner" | "PractitionerRole">; reportingVendor?: Reference<"Organization">; - scoring?: CodeableConcept; + scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; status: ("complete" | "pending" | "error"); _status?: Element; subject?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Medication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Medication.ts index 8bf83ceb1..1dee26c5f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Medication.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Medication.ts @@ -33,7 +33,7 @@ export interface MedicationIngredient extends BackboneElement { strengthRatio?: Ratio; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication (pkg: hl7.fhir.r5.core#5.0.0) export interface Medication extends DomainResource { resourceType: "Medication"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationAdministration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationAdministration.ts index 24bddb26d..5669fc8bd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationAdministration.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationAdministration.ts @@ -41,7 +41,7 @@ export interface MedicationAdministrationPerformer extends BackboneElement { "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration (pkg: hl7.fhir.r5.core#5.0.0) export interface MedicationAdministration extends DomainResource { resourceType: "MedicationAdministration"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationDispense.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationDispense.ts index 3b20e9f5f..07165661d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationDispense.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationDispense.ts @@ -34,7 +34,7 @@ export interface MedicationDispenseSubstitution extends BackboneElement { wasSubstituted: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationDispense +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationDispense (pkg: hl7.fhir.r5.core#5.0.0) export interface MedicationDispense extends DomainResource { resourceType: "MedicationDispense"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationKnowledge.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationKnowledge.ts index 26c31fa7a..b1718f0ce 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationKnowledge.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationKnowledge.ts @@ -149,7 +149,7 @@ export interface MedicationKnowledgeStorageGuidelineEnvironmentalSetting extends valueRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge (pkg: hl7.fhir.r5.core#5.0.0) export interface MedicationKnowledge extends DomainResource { resourceType: "MedicationKnowledge"; @@ -166,7 +166,7 @@ export interface MedicationKnowledge extends DomainResource { monitoringProgram?: MedicationKnowledgeMonitoringProgram[]; monograph?: MedicationKnowledgeMonograph[]; name?: string[]; - _name?: Element; + _name?: (Element | null)[]; packaging?: MedicationKnowledgePackaging[]; preparationInstruction?: string; _preparationInstruction?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationRequest.ts index ea24fe5cf..b350af7a2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationRequest.ts @@ -49,7 +49,7 @@ export interface MedicationRequestSubstitution extends BackboneElement { reason?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest (pkg: hl7.fhir.r5.core#5.0.0) export interface MedicationRequest extends DomainResource { resourceType: "MedicationRequest"; @@ -57,7 +57,7 @@ export interface MedicationRequest extends DomainResource { _authoredOn?: Element; basedOn?: Reference<"CarePlan" | "ImmunizationRecommendation" | "MedicationRequest" | "ServiceRequest">[]; category?: CodeableConcept[]; - courseOfTherapyType?: CodeableConcept; + courseOfTherapyType?: CodeableConcept<("continuous" | "acute" | "seasonal" | string)>; device?: CodeableReference[]; dispenseRequest?: MedicationRequestDispenseRequest; doNotPerform?: boolean; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationStatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationStatement.ts index 2ae3356f8..23d724598 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationStatement.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationStatement.ts @@ -29,7 +29,7 @@ export interface MedicationStatementAdherence extends BackboneElement { reason?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationStatement +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationStatement (pkg: hl7.fhir.r5.core#5.0.0) export interface MedicationStatement extends DomainResource { resourceType: "MedicationStatement"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicinalProductDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicinalProductDefinition.ts index 2765da109..d61143324 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicinalProductDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicinalProductDefinition.ts @@ -72,7 +72,7 @@ export interface MedicinalProductDefinitionOperation extends BackboneElement { type?: CodeableReference; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface MedicinalProductDefinition extends DomainResource { resourceType: "MedicinalProductDefinition"; @@ -103,7 +103,7 @@ export interface MedicinalProductDefinition extends DomainResource { pediatricUseIndicator?: CodeableConcept; route?: CodeableConcept[]; specialMeasures?: CodeableConcept[]; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; statusDate?: string; _statusDate?: Element; type?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageDefinition.ts index a9784386f..cbbe3f928 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageDefinition.ts @@ -30,7 +30,7 @@ export interface MessageDefinitionFocus extends BackboneElement { profile?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface MessageDefinition extends DomainResource { resourceType: "MessageDefinition"; @@ -61,13 +61,13 @@ export interface MessageDefinition extends DomainResource { name?: string; _name?: Element; parent?: string[]; - _parent?: Element; + _parent?: (Element | null)[]; publisher?: string; _publisher?: Element; purpose?: string; _purpose?: Element; replaces?: string[]; - _replaces?: Element; + _replaces?: (Element | null)[]; responseRequired?: ("always" | "on-error" | "never" | "on-success"); _responseRequired?: Element; status: ("draft" | "active" | "retired" | "unknown"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageHeader.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageHeader.ts index e551f6fec..817a692e1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageHeader.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageHeader.ts @@ -41,7 +41,7 @@ export interface MessageHeaderSource extends BackboneElement { version?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader (pkg: hl7.fhir.r5.core#5.0.0) export interface MessageHeader extends DomainResource { resourceType: "MessageHeader"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Meta.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Meta.ts index 552a6d954..b8619a7f2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Meta.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Meta.ts @@ -9,12 +9,12 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { Coding } from "../hl7-fhir-r5-core/Coding"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Meta +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Meta (pkg: hl7.fhir.r5.core#5.0.0) export interface Meta extends DataType { lastUpdated?: string; _lastUpdated?: Element; profile?: string[]; - _profile?: Element; + _profile?: (Element | null)[]; security?: Coding[]; source?: string; _source?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MetadataResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MetadataResource.ts index 4e08fdfc2..7a5e66206 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MetadataResource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MetadataResource.ts @@ -14,7 +14,7 @@ export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; export type { Period } from "../hl7-fhir-r5-core/Period"; export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MetadataResource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MetadataResource (pkg: hl7.fhir.r5.core#5.0.0) export interface MetadataResource extends DomainResource { resourceType: "MetadataResource"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MolecularSequence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MolecularSequence.ts index a9e6c453d..6aca4478d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MolecularSequence.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MolecularSequence.ts @@ -45,7 +45,7 @@ export interface MolecularSequenceRelativeStartingSequence extends BackboneEleme windowStart?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence (pkg: hl7.fhir.r5.core#5.0.0) export interface MolecularSequence extends DomainResource { resourceType: "MolecularSequence"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MonetaryComponent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MonetaryComponent.ts index ded6261d3..92d23e697 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MonetaryComponent.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MonetaryComponent.ts @@ -11,7 +11,7 @@ export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Money } from "../hl7-fhir-r5-core/Money"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MonetaryComponent +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MonetaryComponent (pkg: hl7.fhir.r5.core#5.0.0) export interface MonetaryComponent extends DataType { amount?: Money; code?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Money.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Money.ts index d1010a261..39f10e927 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Money.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Money.ts @@ -7,7 +7,7 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Money +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Money (pkg: hl7.fhir.r5.core#5.0.0) export interface Money extends DataType { currency?: string; _currency?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NamingSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NamingSystem.ts index 95a314226..9c6881220 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NamingSystem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NamingSystem.ts @@ -31,7 +31,7 @@ export interface NamingSystemUniqueId extends BackboneElement { value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem (pkg: hl7.fhir.r5.core#5.0.0) export interface NamingSystem extends DomainResource { resourceType: "NamingSystem"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Narrative.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Narrative.ts index 0b7cb28ec..eafdba707 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Narrative.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Narrative.ts @@ -7,7 +7,7 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Narrative +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Narrative (pkg: hl7.fhir.r5.core#5.0.0) export interface Narrative extends DataType { div: string; _div?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionIntake.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionIntake.ts index 2eb9fa057..018d76555 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionIntake.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionIntake.ts @@ -44,7 +44,7 @@ export interface NutritionIntakePerformer extends BackboneElement { "function"?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionIntake +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionIntake (pkg: hl7.fhir.r5.core#5.0.0) export interface NutritionIntake extends DomainResource { resourceType: "NutritionIntake"; @@ -56,9 +56,9 @@ export interface NutritionIntake extends DomainResource { identifier?: Identifier[]; ingredientLabel?: NutritionIntakeIngredientLabel[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; location?: Reference<"Location">; note?: Annotation[]; occurrenceDateTime?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionOrder.ts index 09e2e04e9..773aec23d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionOrder.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionOrder.ts @@ -33,7 +33,7 @@ export interface NutritionOrderEnteralFormula extends BackboneElement { caloricDensity?: Quantity; deliveryDevice?: CodeableReference[]; maxVolumeToDeliver?: Quantity; - routeOfAdministration?: CodeableConcept; + routeOfAdministration?: CodeableConcept<("PO" | "EFT" | "ENTINSTL" | "GT" | "NGT" | "OGT" | "GJT" | "JJTINSTL" | "OJJ" | string)>; } export interface NutritionOrderEnteralFormulaAdditive extends BackboneElement { @@ -94,7 +94,7 @@ export interface NutritionOrderSupplementSchedule extends BackboneElement { timing?: Timing[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder (pkg: hl7.fhir.r5.core#5.0.0) export interface NutritionOrder extends DomainResource { resourceType: "NutritionOrder"; @@ -109,11 +109,11 @@ export interface NutritionOrder extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiates?: string[]; - _instantiates?: Element; + _instantiates?: (Element | null)[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionProduct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionProduct.ts index 9b5e0a42d..09c01b3e3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionProduct.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionProduct.ts @@ -54,7 +54,7 @@ export interface NutritionProductNutrient extends BackboneElement { item?: CodeableReference; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionProduct +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionProduct (pkg: hl7.fhir.r5.core#5.0.0) export interface NutritionProduct extends DomainResource { resourceType: "NutritionProduct"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Observation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Observation.ts index a77d5b9eb..32d4278d1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Observation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Observation.ts @@ -32,8 +32,8 @@ export type { Timing } from "../hl7-fhir-r5-core/Timing"; export interface ObservationComponent extends BackboneElement { code: CodeableConcept; - dataAbsentReason?: CodeableConcept; - interpretation?: CodeableConcept[]; + dataAbsentReason?: CodeableConcept<("unknown" | "asked-unknown" | "temp-unknown" | "not-asked" | "asked-declined" | "masked" | "not-applicable" | "unsupported" | "as-text" | "error" | "not-a-number" | "negative-infinity" | "positive-infinity" | "not-performed" | "not-permitted" | string)>; + interpretation?: CodeableConcept<("_GeneticObservationInterpretation" | "CAR" | "Carrier" | "_ObservationInterpretationChange" | "B" | "D" | "U" | "W" | "_ObservationInterpretationExceptions" | "<" | ">" | "AC" | "IE" | "QCF" | "TOX" | "_ObservationInterpretationNormality" | "A" | "AA" | "HH" | "LL" | "H" | "H>" | "HU" | "L" | "L<" | "LU" | "N" | "_ObservationInterpretationSusceptibility" | "I" | "MS" | "NCL" | "NS" | "R" | "SYN-R" | "S" | "SDD" | "SYN-S" | "VS" | "EX" | "HX" | "LX" | "HM" | "ObservationInterpretationDetection" | "IND" | "E" | "NEG" | "ND" | "POS" | "DET" | "ObservationInterpretationExpectation" | "EXP" | "UNE" | "OBX" | "ReactivityObservationInterpretation" | "NR" | "RR" | "WR" | string)>[]; referenceRange?: ObservationReferenceRange[]; valueAttachment?: Attachment; valueBoolean?: boolean; @@ -57,7 +57,7 @@ export interface ObservationReferenceRange extends BackboneElement { low?: Quantity; normalValue?: CodeableConcept; text?: string; - type?: CodeableConcept; + type?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; } export interface ObservationTriggeredBy extends BackboneElement { @@ -66,17 +66,17 @@ export interface ObservationTriggeredBy extends BackboneElement { type: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Observation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Observation (pkg: hl7.fhir.r5.core#5.0.0) export interface Observation extends DomainResource { resourceType: "Observation"; basedOn?: Reference<"CarePlan" | "DeviceRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest">[]; bodySite?: CodeableConcept; bodyStructure?: Reference<"BodyStructure">; - category?: CodeableConcept[]; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; code: CodeableConcept; component?: ObservationComponent[]; - dataAbsentReason?: CodeableConcept; + dataAbsentReason?: CodeableConcept<("unknown" | "asked-unknown" | "temp-unknown" | "not-asked" | "asked-declined" | "masked" | "not-applicable" | "unsupported" | "as-text" | "error" | "not-a-number" | "negative-infinity" | "positive-infinity" | "not-performed" | "not-permitted" | string)>; derivedFrom?: Reference<"DocumentReference" | "GenomicStudy" | "ImagingSelection" | "ImagingStudy" | "MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; device?: Reference<"Device" | "DeviceMetric">; effectiveDateTime?: string; @@ -92,7 +92,7 @@ export interface Observation extends DomainResource { instantiatesCanonical?: string; _instantiatesCanonical?: Element; instantiatesReference?: Reference<"ObservationDefinition">; - interpretation?: CodeableConcept[]; + interpretation?: CodeableConcept<("_GeneticObservationInterpretation" | "CAR" | "Carrier" | "_ObservationInterpretationChange" | "B" | "D" | "U" | "W" | "_ObservationInterpretationExceptions" | "<" | ">" | "AC" | "IE" | "QCF" | "TOX" | "_ObservationInterpretationNormality" | "A" | "AA" | "HH" | "LL" | "H" | "H>" | "HU" | "L" | "L<" | "LU" | "N" | "_ObservationInterpretationSusceptibility" | "I" | "MS" | "NCL" | "NS" | "R" | "SYN-R" | "S" | "SDD" | "SYN-S" | "VS" | "EX" | "HX" | "LX" | "HM" | "ObservationInterpretationDetection" | "IND" | "E" | "NEG" | "ND" | "POS" | "DET" | "ObservationInterpretationExpectation" | "EXP" | "UNE" | "OBX" | "ReactivityObservationInterpretation" | "NR" | "RR" | "WR" | string)>[]; issued?: string; _issued?: Element; method?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ObservationDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ObservationDefinition.ts index 1fbb2fa9f..98012f835 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ObservationDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ObservationDefinition.ts @@ -36,7 +36,7 @@ export interface ObservationDefinitionQualifiedValue extends BackboneElement { age?: Range; appliesTo?: CodeableConcept[]; condition?: string; - context?: CodeableConcept; + context?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; criticalCodedValueSet?: string; gender?: ("male" | "female" | "other" | "unknown"); gestationalAge?: Range; @@ -46,7 +46,7 @@ export interface ObservationDefinitionQualifiedValue extends BackboneElement { validCodedValueSet?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ObservationDefinition extends DomainResource { resourceType: "ObservationDefinition"; @@ -64,9 +64,9 @@ export interface ObservationDefinition extends DomainResource { date?: string; _date?: Element; derivedFromCanonical?: string[]; - _derivedFromCanonical?: Element; + _derivedFromCanonical?: (Element | null)[]; derivedFromUri?: string[]; - _derivedFromUri?: Element; + _derivedFromUri?: (Element | null)[]; description?: string; _description?: Element; device?: Reference<"Device" | "DeviceDefinition">[]; @@ -85,7 +85,7 @@ export interface ObservationDefinition extends DomainResource { _name?: Element; performerType?: CodeableConcept; permittedDataType?: ("Quantity" | "CodeableConcept" | "string" | "boolean" | "integer" | "Range" | "Ratio" | "SampledData" | "time" | "dateTime" | "Period")[]; - _permittedDataType?: Element; + _permittedDataType?: (Element | null)[]; permittedUnit?: Coding[]; preferredReportName?: string; _preferredReportName?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationDefinition.ts index 81f0983cd..87f34765b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationDefinition.ts @@ -49,7 +49,7 @@ export interface OperationDefinitionParameterReferencedFrom extends BackboneElem sourceId?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface OperationDefinition extends DomainResource { resourceType: "OperationDefinition"; @@ -91,7 +91,7 @@ export interface OperationDefinition extends DomainResource { purpose?: string; _purpose?: Element; resource?: string[]; - _resource?: Element; + _resource?: (Element | null)[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; system: boolean; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationOutcome.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationOutcome.ts index ca028c911..24911d66e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationOutcome.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationOutcome.ts @@ -18,7 +18,7 @@ export interface OperationOutcomeIssue extends BackboneElement { severity: ("fatal" | "error" | "warning" | "information"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome (pkg: hl7.fhir.r5.core#5.0.0) export interface OperationOutcome extends DomainResource { resourceType: "OperationOutcome"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Organization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Organization.ts index fc5c7b761..77a70da1d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Organization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Organization.ts @@ -25,14 +25,14 @@ export interface OrganizationQualification extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Organization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Organization (pkg: hl7.fhir.r5.core#5.0.0) export interface Organization extends DomainResource { resourceType: "Organization"; active?: boolean; _active?: Element; alias?: string[]; - _alias?: Element; + _alias?: (Element | null)[]; contact?: ExtendedContactDetail[]; description?: string; _description?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OrganizationAffiliation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OrganizationAffiliation.ts index b55572758..4e04b9805 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OrganizationAffiliation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OrganizationAffiliation.ts @@ -16,7 +16,7 @@ export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Period } from "../hl7-fhir-r5-core/Period"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation (pkg: hl7.fhir.r5.core#5.0.0) export interface OrganizationAffiliation extends DomainResource { resourceType: "OrganizationAffiliation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PackagedProductDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PackagedProductDefinition.ts index 16ea35f6a..471b642a3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PackagedProductDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PackagedProductDefinition.ts @@ -57,7 +57,7 @@ export interface PackagedProductDefinitionPackagingProperty extends BackboneElem valueQuantity?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface PackagedProductDefinition extends DomainResource { resourceType: "PackagedProductDefinition"; @@ -76,7 +76,7 @@ export interface PackagedProductDefinition extends DomainResource { _name?: Element; packageFor?: Reference<"MedicinalProductDefinition">[]; packaging?: PackagedProductDefinitionPackaging; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; statusDate?: string; _statusDate?: Element; type?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParameterDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParameterDefinition.ts index c7035c985..8e9554aa6 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParameterDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParameterDefinition.ts @@ -7,7 +7,7 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParameterDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParameterDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface ParameterDefinition extends DataType { documentation?: string; _documentation?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Parameters.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Parameters.ts index 735c8bcd9..060c46eed 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Parameters.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Parameters.ts @@ -135,7 +135,7 @@ export interface ParametersParameter extends BackboneElement { valueUuid?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters (pkg: hl7.fhir.r5.core#5.0.0) export interface Parameters extends Resource { resourceType: "Parameters"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Participant.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Participant.ts index 6db32ea44..5ecbf838e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Participant.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Participant.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Participant +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Participant (pkg: hl7.fhir.r5.core#5.0.0) export interface Participant extends Base { - resourceType: "Participant"; - -} -export const isParticipant = (resource: unknown): resource is Participant => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Participant"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantContactable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantContactable.ts index 36db8fcf7..23b11b8d7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantContactable.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantContactable.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParticipantContactable +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParticipantContactable (pkg: hl7.fhir.r5.core#5.0.0) export interface ParticipantContactable extends Base { - resourceType: "ParticipantContactable"; - -} -export const isParticipantContactable = (resource: unknown): resource is ParticipantContactable => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ParticipantContactable"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantLiving.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantLiving.ts index 246c44b7c..5764301f6 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantLiving.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantLiving.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParticipantLiving +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParticipantLiving (pkg: hl7.fhir.r5.core#5.0.0) export interface ParticipantLiving extends Base { - resourceType: "ParticipantLiving"; - -} -export const isParticipantLiving = (resource: unknown): resource is ParticipantLiving => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ParticipantLiving"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Patient.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Patient.ts index 7e10dfff9..6ce779bf1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Patient.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Patient.ts @@ -44,7 +44,7 @@ export interface PatientLink extends BackboneElement { type: ("replaced-by" | "replaces" | "refer" | "seealso"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient (pkg: hl7.fhir.r5.core#5.0.0) export interface Patient extends DomainResource { resourceType: "Patient"; @@ -65,7 +65,7 @@ export interface Patient extends DomainResource { identifier?: Identifier[]; link?: PatientLink[]; managingOrganization?: Reference<"Organization">; - maritalStatus?: CodeableConcept; + maritalStatus?: CodeableConcept<("A" | "D" | "I" | "L" | "M" | "P" | "S" | "T" | "U" | "W" | "UNK" | string)>; multipleBirthBoolean?: boolean; _multipleBirthBoolean?: Element; multipleBirthInteger?: number; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentNotice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentNotice.ts index 43e110171..d6006b337 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentNotice.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentNotice.ts @@ -14,7 +14,7 @@ export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Money } from "../hl7-fhir-r5-core/Money"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentNotice +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentNotice (pkg: hl7.fhir.r5.core#5.0.0) export interface PaymentNotice extends DomainResource { resourceType: "PaymentNotice"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentReconciliation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentReconciliation.ts index 835bbbe9e..0fb44c0c2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentReconciliation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentReconciliation.ts @@ -33,7 +33,7 @@ export interface PaymentReconciliationAllocation extends BackboneElement { targetItemIdentifier?: Identifier; targetItemPositiveInt?: number; targetItemString?: string; - type?: CodeableConcept; + type?: CodeableConcept<("payment" | "adjustment" | "advance" | string)>; } export interface PaymentReconciliationProcessNote extends BackboneElement { @@ -41,7 +41,7 @@ export interface PaymentReconciliationProcessNote extends BackboneElement { type?: ("display" | "print" | "printoper"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation (pkg: hl7.fhir.r5.core#5.0.0) export interface PaymentReconciliation extends DomainResource { resourceType: "PaymentReconciliation"; @@ -67,7 +67,7 @@ export interface PaymentReconciliation extends DomainResource { issuerType?: CodeableConcept; kind?: CodeableConcept; location?: Reference<"Location">; - method?: CodeableConcept; + method?: CodeableConcept<("CASH" | "CCCA" | "CCHK" | "CDAC" | "CHCK" | "DDPO" | "DEBC" | "SWFT" | "TRAC" | "VISN" | string)>; outcome?: string; _outcome?: Element; paymentIdentifier?: Identifier; @@ -84,7 +84,7 @@ export interface PaymentReconciliation extends DomainResource { status: ("active" | "cancelled" | "draft" | "entered-in-error"); _status?: Element; tenderedAmount?: Money; - type: CodeableConcept; + type: CodeableConcept<("payment" | "adjustment" | "advance" | string)>; } export const isPaymentReconciliation = (resource: unknown): resource is PaymentReconciliation => { return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "PaymentReconciliation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Period.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Period.ts index 04d65a11a..81d00dc71 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Period.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Period.ts @@ -7,7 +7,7 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Period +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Period (pkg: hl7.fhir.r5.core#5.0.0) export interface Period extends DataType { end?: string; _end?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Permission.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Permission.ts index e524f70ae..e012cee94 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Permission.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Permission.ts @@ -48,7 +48,7 @@ export interface PermissionRuleDataResource extends BackboneElement { reference: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Permission +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Permission (pkg: hl7.fhir.r5.core#5.0.0) export interface Permission extends DomainResource { resourceType: "Permission"; @@ -56,7 +56,7 @@ export interface Permission extends DomainResource { combining: string; _combining?: Element; date?: string[]; - _date?: Element; + _date?: (Element | null)[]; justification?: PermissionJustification; rule?: PermissionRule[]; status: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Person.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Person.ts index 83a6d4757..4c15ea5f5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Person.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Person.ts @@ -32,7 +32,7 @@ export interface PersonLink extends BackboneElement { target: Reference<"Patient" | "Person" | "Practitioner" | "RelatedPerson">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person (pkg: hl7.fhir.r5.core#5.0.0) export interface Person extends DomainResource { resourceType: "Person"; @@ -51,7 +51,7 @@ export interface Person extends DomainResource { identifier?: Identifier[]; link?: PersonLink[]; managingOrganization?: Reference<"Organization">; - maritalStatus?: CodeableConcept; + maritalStatus?: CodeableConcept<("A" | "D" | "I" | "L" | "M" | "P" | "S" | "T" | "U" | "W" | "UNK" | string)>; name?: HumanName[]; photo?: Attachment[]; telecom?: ContactPoint[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PlanDefinition.ts index 425d4f3f4..2c59c3e22 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PlanDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PlanDefinition.ts @@ -79,7 +79,7 @@ export interface PlanDefinitionAction extends BackboneElement { title?: string; transform?: string; trigger?: TriggerDefinition[]; - type?: CodeableConcept; + type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; } export interface PlanDefinitionActionCondition extends BackboneElement { @@ -139,7 +139,7 @@ export interface PlanDefinitionGoal extends BackboneElement { category?: CodeableConcept; description: CodeableConcept; documentation?: RelatedArtifact[]; - priority?: CodeableConcept; + priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; start?: CodeableConcept; target?: PlanDefinitionGoalTarget[]; } @@ -156,7 +156,7 @@ export interface PlanDefinitionGoalTarget extends BackboneElement { measure?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface PlanDefinition extends DomainResource { resourceType: "PlanDefinition"; @@ -188,7 +188,7 @@ export interface PlanDefinition extends DomainResource { lastReviewDate?: string; _lastReviewDate?: Element; library?: string[]; - _library?: Element; + _library?: (Element | null)[]; name?: string; _name?: Element; publisher?: string; @@ -208,7 +208,7 @@ export interface PlanDefinition extends DomainResource { title?: string; _title?: Element; topic?: CodeableConcept[]; - type?: CodeableConcept; + type?: CodeableConcept<("order-set" | "clinical-protocol" | "eca-rule" | "workflow-definition" | string)>; url?: string; _url?: Element; usage?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Practitioner.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Practitioner.ts index 0776818b4..4f04eef26 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Practitioner.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Practitioner.ts @@ -36,7 +36,7 @@ export interface PractitionerQualification extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner (pkg: hl7.fhir.r5.core#5.0.0) export interface Practitioner extends DomainResource { resourceType: "Practitioner"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PractitionerRole.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PractitionerRole.ts index 86e7cb1cd..080895a66 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PractitionerRole.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PractitionerRole.ts @@ -18,7 +18,7 @@ export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Period } from "../hl7-fhir-r5-core/Period"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PractitionerRole +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PractitionerRole (pkg: hl7.fhir.r5.core#5.0.0) export interface PractitionerRole extends DomainResource { resourceType: "PractitionerRole"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PrimitiveType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PrimitiveType.ts index f842c1961..a1c1453ad 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PrimitiveType.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PrimitiveType.ts @@ -6,6 +6,6 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PrimitiveType +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PrimitiveType (pkg: hl7.fhir.r5.core#5.0.0) export interface PrimitiveType extends DataType { } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Procedure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Procedure.ts index 8799634ba..a2a2bb43e 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Procedure.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Procedure.ts @@ -38,7 +38,7 @@ export interface ProcedurePerformer extends BackboneElement { period?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure (pkg: hl7.fhir.r5.core#5.0.0) export interface Procedure extends DomainResource { resourceType: "Procedure"; @@ -53,9 +53,9 @@ export interface Procedure extends DomainResource { followUp?: CodeableConcept[]; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; location?: Reference<"Location">; note?: Annotation[]; occurrenceAge?: Age; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Product.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Product.ts index 7caa4278c..783e8a863 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Product.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Product.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Product +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Product (pkg: hl7.fhir.r5.core#5.0.0) export interface Product extends Base { - resourceType: "Product"; - -} -export const isProduct = (resource: unknown): resource is Product => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Product"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ProductShelfLife.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ProductShelfLife.ts index cbd41b49f..4182acde7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ProductShelfLife.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ProductShelfLife.ts @@ -11,7 +11,7 @@ export type { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { Duration } from "../hl7-fhir-r5-core/Duration"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProductShelfLife +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ProductShelfLife (pkg: hl7.fhir.r5.core#5.0.0) export interface ProductShelfLife extends BackboneType { periodDuration?: Duration; periodString?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Provenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Provenance.ts index 959a780f6..e34dc91ae 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Provenance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Provenance.ts @@ -31,7 +31,7 @@ export interface ProvenanceEntity extends BackboneElement { what: Reference<"Resource">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance (pkg: hl7.fhir.r5.core#5.0.0) export interface Provenance extends DomainResource { resourceType: "Provenance"; @@ -47,7 +47,7 @@ export interface Provenance extends DomainResource { occurredPeriod?: Period; patient?: Reference<"Patient">; policy?: string[]; - _policy?: Element; + _policy?: (Element | null)[]; recorded?: string; _recorded?: Element; signature?: Signature[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Publishable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Publishable.ts index 17b91762a..e605a5e04 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Publishable.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Publishable.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Publishable +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Publishable (pkg: hl7.fhir.r5.core#5.0.0) export interface Publishable extends Base { - resourceType: "Publishable"; - -} -export const isPublishable = (resource: unknown): resource is Publishable => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Publishable"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Quantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Quantity.ts index 5436fa0fa..833ebf838 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Quantity.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Quantity.ts @@ -7,7 +7,7 @@ import type { DataType } from "../hl7-fhir-r5-core/DataType"; import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Quantity +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Quantity (pkg: hl7.fhir.r5.core#5.0.0) export interface Quantity extends DataType { code?: string; _code?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Questionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Questionnaire.ts index ed4804296..c53675731 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Questionnaire.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Questionnaire.ts @@ -87,7 +87,7 @@ export interface QuestionnaireItemInitial extends BackboneElement { valueUri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire (pkg: hl7.fhir.r5.core#5.0.0) export interface Questionnaire extends DomainResource { resourceType: "Questionnaire"; @@ -102,7 +102,7 @@ export interface Questionnaire extends DomainResource { date?: string; _date?: Element; derivedFrom?: string[]; - _derivedFrom?: Element; + _derivedFrom?: (Element | null)[]; description?: string; _description?: Element; effectivePeriod?: Period; @@ -122,7 +122,7 @@ export interface Questionnaire extends DomainResource { status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; subjectType?: string[]; - _subjectType?: Element; + _subjectType?: (Element | null)[]; title?: string; _title?: Element; url?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/QuestionnaireResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/QuestionnaireResponse.ts index 2f58caece..cd702476c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/QuestionnaireResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/QuestionnaireResponse.ts @@ -42,7 +42,7 @@ export interface QuestionnaireResponseItemAnswer extends BackboneElement { valueUri?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse (pkg: hl7.fhir.r5.core#5.0.0) export interface QuestionnaireResponse extends DomainResource { resourceType: "QuestionnaireResponse"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Range.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Range.ts index 38817d0e4..744e442bc 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Range.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Range.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Range +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Range (pkg: hl7.fhir.r5.core#5.0.0) export interface Range extends DataType { high?: Quantity; low?: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ratio.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ratio.ts index 6847d6110..108cc50ab 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ratio.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ratio.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ratio +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ratio (pkg: hl7.fhir.r5.core#5.0.0) export interface Ratio extends DataType { denominator?: Quantity; numerator?: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RatioRange.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RatioRange.ts index 7e54ed82b..c97b6ec57 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RatioRange.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RatioRange.ts @@ -8,7 +8,7 @@ import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RatioRange +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RatioRange (pkg: hl7.fhir.r5.core#5.0.0) export interface RatioRange extends DataType { denominator?: Quantity; highNumerator?: Quantity; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Reference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Reference.ts index 950ee678a..c41057cb5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Reference.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Reference.ts @@ -9,7 +9,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Reference +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Reference (pkg: hl7.fhir.r5.core#5.0.0) export interface Reference extends DataType { display?: string; _display?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RegulatedAuthorization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RegulatedAuthorization.ts index 8a7b88156..de3814fef 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RegulatedAuthorization.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RegulatedAuthorization.ts @@ -23,11 +23,11 @@ export interface RegulatedAuthorizationCase extends BackboneElement { dateDateTime?: string; datePeriod?: Period; identifier?: Identifier; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RegulatedAuthorization +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RegulatedAuthorization (pkg: hl7.fhir.r5.core#5.0.0) export interface RegulatedAuthorization extends DomainResource { resourceType: "RegulatedAuthorization"; @@ -42,7 +42,7 @@ export interface RegulatedAuthorization extends DomainResource { intendedUse?: CodeableConcept; region?: CodeableConcept[]; regulator?: Reference<"Organization">; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; statusDate?: string; _statusDate?: Element; subject?: Reference<"ActivityDefinition" | "BiologicallyDerivedProduct" | "DeviceDefinition" | "Ingredient" | "Location" | "ManufacturedItemDefinition" | "MedicinalProductDefinition" | "NutritionProduct" | "ObservationDefinition" | "Organization" | "PackagedProductDefinition" | "PlanDefinition" | "Practitioner" | "ResearchStudy" | "SubstanceDefinition">[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedArtifact.ts index c2bfcc81f..be592aa23 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedArtifact.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedArtifact.ts @@ -13,7 +13,7 @@ export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedArtifact +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedArtifact (pkg: hl7.fhir.r5.core#5.0.0) export interface RelatedArtifact extends DataType { citation?: string; _citation?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedPerson.ts index 217e9765b..345aa7032 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedPerson.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedPerson.ts @@ -29,7 +29,7 @@ export interface RelatedPersonCommunication extends BackboneElement { preferred?: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedPerson +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedPerson (pkg: hl7.fhir.r5.core#5.0.0) export interface RelatedPerson extends DomainResource { resourceType: "RelatedPerson"; @@ -46,7 +46,7 @@ export interface RelatedPerson extends DomainResource { patient: Reference<"Patient">; period?: Period; photo?: Attachment[]; - relationship?: CodeableConcept[]; + relationship?: CodeableConcept<("WIT" | "NOT" | "ECON" | "NOK" | "GUARD" | "DEPEN" | "EMP" | "GUAR" | "CAREGIVER" | "E" | "O" | "U" | "INTPRTER" | "POWATT" | "DPOWATT" | "HPOWATT" | "SPOWATT" | "BILL" | string)>[]; telecom?: ContactPoint[]; } export const isRelatedPerson = (resource: unknown): resource is RelatedPerson => { diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Request.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Request.ts index bf6e46e86..c966d328c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Request.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Request.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request (pkg: hl7.fhir.r5.core#5.0.0) export interface Request extends Base { - resourceType: "Request"; - -} -export const isRequest = (resource: unknown): resource is Request => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Request"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RequestOrchestration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RequestOrchestration.ts index abebe8e96..cb8f4cce8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RequestOrchestration.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RequestOrchestration.ts @@ -67,7 +67,7 @@ export interface RequestOrchestrationAction extends BackboneElement { timingTiming?: Timing; title?: string; transform?: string; - type?: CodeableConcept; + type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; } export interface RequestOrchestrationActionCondition extends BackboneElement { @@ -110,7 +110,7 @@ export interface RequestOrchestrationActionRelatedAction extends BackboneElement targetId: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RequestOrchestration +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RequestOrchestration (pkg: hl7.fhir.r5.core#5.0.0) export interface RequestOrchestration extends DomainResource { resourceType: "RequestOrchestration"; @@ -125,9 +125,9 @@ export interface RequestOrchestration extends DomainResource { groupIdentifier?: Identifier; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; note?: Annotation[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Requirements.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Requirements.ts index c1720a30b..7ffcdfa0b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Requirements.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Requirements.ts @@ -33,12 +33,12 @@ export interface RequirementsStatement extends BackboneElement { source?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Requirements +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Requirements (pkg: hl7.fhir.r5.core#5.0.0) export interface Requirements extends DomainResource { resourceType: "Requirements"; actor?: string[]; - _actor?: Element; + _actor?: (Element | null)[]; contact?: ContactDetail[]; copyright?: string; _copyright?: Element; @@ -47,7 +47,7 @@ export interface Requirements extends DomainResource { date?: string; _date?: Element; derivedFrom?: string[]; - _derivedFrom?: Element; + _derivedFrom?: (Element | null)[]; description?: string; _description?: Element; experimental?: boolean; @@ -61,7 +61,7 @@ export interface Requirements extends DomainResource { purpose?: string; _purpose?: Element; reference?: string[]; - _reference?: Element; + _reference?: (Element | null)[]; statement?: RequirementsStatement[]; status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchStudy.ts index 3b3377588..46f0a6b4d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchStudy.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchStudy.ts @@ -60,7 +60,7 @@ export interface ResearchStudyOutcomeMeasure extends BackboneElement { export interface ResearchStudyProgressStatus extends BackboneElement { actual?: boolean; period?: Period; - state: CodeableConcept; + state: CodeableConcept<("active" | "administratively-completed" | "approved" | "closed-to-accrual" | "closed-to-accrual-and-intervention" | "completed" | "disapproved" | "in-review" | "temporarily-closed-to-accrual" | "temporarily-closed-to-accrual-and-intervention" | "withdrawn" | string)>; } export interface ResearchStudyRecruitment extends BackboneElement { @@ -70,7 +70,7 @@ export interface ResearchStudyRecruitment extends BackboneElement { targetNumber?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy (pkg: hl7.fhir.r5.core#5.0.0) export interface ResearchStudy extends DomainResource { resourceType: "ResearchStudy"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchSubject.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchSubject.ts index 035877bbe..adcf17ff2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchSubject.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchSubject.ts @@ -25,7 +25,7 @@ export interface ResearchSubjectProgress extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchSubject +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchSubject (pkg: hl7.fhir.r5.core#5.0.0) export interface ResearchSubject extends DomainResource { resourceType: "ResearchSubject"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Resource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Resource.ts index 362518112..ac60eb6b1 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Resource.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Resource.ts @@ -9,9 +9,9 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { Base } from "../hl7-fhir-r5-core/Base"; export type { Meta } from "../hl7-fhir-r5-core/Meta"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Resource +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Resource (pkg: hl7.fhir.r5.core#5.0.0) export interface Resource extends Base { - resourceType: "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "Account" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActivityDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AdverseEvent" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "AllergyIntolerance" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "Appointment" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "AppointmentResponse" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "ArtifactAssessment" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "AuditEvent" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Basic" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "Binary" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "BodyStructure" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "Bundle" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CanonicalResource" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CapabilityStatement" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CarePlan" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CareTeam" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "CatalogEntry" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItem" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "ChargeItemDefinition" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Citation" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "Claim" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClaimResponse" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalImpression" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "ClinicalUseDefinition" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "CodeSystem" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "Communication" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CommunicationRequest" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "CompartmentDefinition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "Composition" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "ConceptMap" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "Condition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "ConditionDefinition" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Consent" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Contract" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "CoverageEligibilityResponse" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "DetectedIssue" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "Device" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDefinition" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceDispense" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceMetric" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceRequest" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUsage" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DeviceUseStatement" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DiagnosticReport" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentManifest" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DocumentReference" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "DomainResource" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "EffectEvidenceSynthesis" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "Encounter" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "EncounterHistory" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "Endpoint" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentRequest" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EnrollmentResponse" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EpisodeOfCare" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "EventDefinition" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "Evidence" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceReport" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "EvidenceVariable" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExampleScenario" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "FamilyMemberHistory" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "Flag" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "FormularyItem" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "GenomicStudy" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "Goal" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "GraphDefinition" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "Group" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "GuidanceResponse" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "HealthcareService" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingSelection" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "ImagingStudy" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImmunizationRecommendation" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "ImplementationGuide" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "Ingredient" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InsurancePlan" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryItem" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "InventoryReport" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Invoice" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Library" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "Linkage" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "List" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "Location" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "ManufacturedItemDefinition" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "Measure" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "MeasureReport" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Media" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "Medication" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationAdministration" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationDispense" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationKnowledge" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationRequest" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageDefinition" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MessageHeader" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MetadataResource" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "MolecularSequence" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NamingSystem" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionIntake" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionOrder" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "NutritionProduct" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "Observation" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "ObservationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationDefinition" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "OperationOutcome" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "Organization" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "OrganizationAffiliation" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "PackagedProductDefinition" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Parameters" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "Patient" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentNotice" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "PaymentReconciliation" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Permission" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "Person" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "PlanDefinition" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "Practitioner" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "PractitionerRole" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Procedure" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Provenance" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "Questionnaire" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RegulatedAuthorization" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RelatedPerson" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestGroup" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "RequestOrchestration" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "Requirements" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchStudy" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "ResearchSubject" | "Resource" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskAssessment" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "RiskEvidenceSynthesis" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "Schedule" | "SDCQuestionLibrary" | "SDCQuestionLibrary" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "SearchParameter" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "ServiceRequest" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Slot" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "Specimen" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "SpecimenDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureDefinition" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "StructureMap" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "Subscription" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionStatus" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "SubscriptionTopic" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "Substance" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyDelivery" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "SupplyRequest" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "Task" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TerminologyCapabilities" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestPlan" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestReport" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "TestScript" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "Transport" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "ValueSet" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VerificationResult" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription" | "VisionPrescription"; + resourceType: "Account" | "ActivityDefinition" | "ActorDefinition" | "AdministrableProductDefinition" | "AdverseEvent" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "ArtifactAssessment" | "AuditEvent" | "Basic" | "Binary" | "Binary" | "Binary" | "BiologicallyDerivedProduct" | "BiologicallyDerivedProductDispense" | "BodyStructure" | "Bundle" | "Bundle" | "Bundle" | "CanonicalResource" | "CapabilityStatement" | "CarePlan" | "CareTeam" | "CatalogEntry" | "ChargeItem" | "ChargeItemDefinition" | "Citation" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "ClinicalUseDefinition" | "CodeSystem" | "Communication" | "CommunicationRequest" | "CompartmentDefinition" | "Composition" | "ConceptMap" | "Condition" | "ConditionDefinition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceAssociation" | "DeviceDefinition" | "DeviceDispense" | "DeviceMetric" | "DeviceRequest" | "DeviceUsage" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "DomainResource" | "DomainResource" | "DomainResource" | "EffectEvidenceSynthesis" | "Encounter" | "EncounterHistory" | "Endpoint" | "EnrollmentRequest" | "EnrollmentResponse" | "EpisodeOfCare" | "EventDefinition" | "Evidence" | "EvidenceReport" | "EvidenceVariable" | "ExampleScenario" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "FormularyItem" | "GenomicStudy" | "Goal" | "GraphDefinition" | "Group" | "GuidanceResponse" | "HealthcareService" | "ImagingSelection" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "ImplementationGuide" | "Ingredient" | "InsurancePlan" | "InventoryItem" | "InventoryReport" | "Invoice" | "Library" | "Linkage" | "List" | "Location" | "ManufacturedItemDefinition" | "Measure" | "MeasureReport" | "Media" | "Medication" | "MedicationAdministration" | "MedicationDispense" | "MedicationKnowledge" | "MedicationRequest" | "MedicationStatement" | "MedicinalProduct" | "MedicinalProductAuthorization" | "MedicinalProductContraindication" | "MedicinalProductDefinition" | "MedicinalProductIndication" | "MedicinalProductIngredient" | "MedicinalProductInteraction" | "MedicinalProductManufactured" | "MedicinalProductPackaged" | "MedicinalProductPharmaceutical" | "MedicinalProductUndesirableEffect" | "MessageDefinition" | "MessageHeader" | "MetadataResource" | "MolecularSequence" | "NamingSystem" | "NutritionIntake" | "NutritionOrder" | "NutritionProduct" | "Observation" | "ObservationDefinition" | "OperationDefinition" | "OperationOutcome" | "Organization" | "OrganizationAffiliation" | "PackagedProductDefinition" | "Parameters" | "Parameters" | "Parameters" | "Patient" | "PaymentNotice" | "PaymentReconciliation" | "Permission" | "Person" | "PlanDefinition" | "Practitioner" | "PractitionerRole" | "Procedure" | "Provenance" | "Questionnaire" | "QuestionnaireResponse" | "RegulatedAuthorization" | "RelatedPerson" | "RequestGroup" | "RequestOrchestration" | "Requirements" | "ResearchDefinition" | "ResearchElementDefinition" | "ResearchStudy" | "ResearchSubject" | "Resource" | "RiskAssessment" | "RiskEvidenceSynthesis" | "Schedule" | "SDCQuestionLibrary" | "SearchParameter" | "ServiceRequest" | "Slot" | "Specimen" | "SpecimenDefinition" | "StructureDefinition" | "StructureMap" | "Subscription" | "SubscriptionStatus" | "SubscriptionTopic" | "Substance" | "SubstanceDefinition" | "SubstanceNucleicAcid" | "SubstancePolymer" | "SubstanceProtein" | "SubstanceReferenceInformation" | "SubstanceSourceMaterial" | "SubstanceSpecification" | "SupplyDelivery" | "SupplyRequest" | "Task" | "TerminologyCapabilities" | "TestPlan" | "TestReport" | "TestScript" | "Transport" | "ValueSet" | "VerificationResult" | "VisionPrescription"; id?: string; _id?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RiskAssessment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RiskAssessment.ts index 4c5f5123f..d9b237029 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RiskAssessment.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RiskAssessment.ts @@ -33,7 +33,7 @@ export interface RiskAssessmentPrediction extends BackboneElement { whenRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment (pkg: hl7.fhir.r5.core#5.0.0) export interface RiskAssessment extends DomainResource { resourceType: "RiskAssessment"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SampledData.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SampledData.ts index c4c988579..18bcd0153 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SampledData.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SampledData.ts @@ -9,7 +9,7 @@ import type { Element } from "../hl7-fhir-r5-core/Element"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SampledData +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SampledData (pkg: hl7.fhir.r5.core#5.0.0) export interface SampledData extends DataType { codeMap?: string; _codeMap?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Schedule.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Schedule.ts index 09e98c8f8..3eaf3cdf9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Schedule.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Schedule.ts @@ -16,7 +16,7 @@ export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Period } from "../hl7-fhir-r5-core/Period"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Schedule +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Schedule (pkg: hl7.fhir.r5.core#5.0.0) export interface Schedule extends DomainResource { resourceType: "Schedule"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SearchParameter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SearchParameter.ts index aba196d84..9a4cada8f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SearchParameter.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SearchParameter.ts @@ -23,18 +23,18 @@ export interface SearchParameterComponent extends BackboneElement { expression: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SearchParameter +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SearchParameter (pkg: hl7.fhir.r5.core#5.0.0) export interface SearchParameter extends DomainResource { resourceType: "SearchParameter"; base: string[]; - _base?: Element; + _base?: (Element | null)[]; chain?: string[]; - _chain?: Element; + _chain?: (Element | null)[]; code: string; _code?: Element; comparator?: ("eq" | "ne" | "gt" | "lt" | "ge" | "le" | "sa" | "eb" | "ap")[]; - _comparator?: Element; + _comparator?: (Element | null)[]; component?: SearchParameterComponent[]; constraint?: string; _constraint?: Element; @@ -56,7 +56,7 @@ export interface SearchParameter extends DomainResource { identifier?: Identifier[]; jurisdiction?: CodeableConcept[]; modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType")[]; - _modifier?: Element; + _modifier?: (Element | null)[]; multipleAnd?: boolean; _multipleAnd?: Element; multipleOr?: boolean; @@ -72,7 +72,7 @@ export interface SearchParameter extends DomainResource { status: ("draft" | "active" | "retired" | "unknown"); _status?: Element; target?: string[]; - _target?: Element; + _target?: (Element | null)[]; title?: string; _title?: Element; type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ServiceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ServiceRequest.ts index 8a493322c..bdc21d463 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ServiceRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ServiceRequest.ts @@ -49,7 +49,7 @@ export interface ServiceRequestPatientInstruction extends BackboneElement { instructionReference?: Reference<"DocumentReference">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ServiceRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ServiceRequest (pkg: hl7.fhir.r5.core#5.0.0) export interface ServiceRequest extends DomainResource { resourceType: "ServiceRequest"; @@ -69,9 +69,9 @@ export interface ServiceRequest extends DomainResource { focus?: Reference<"Resource">[]; identifier?: Identifier[]; instantiatesCanonical?: string[]; - _instantiatesCanonical?: Element; + _instantiatesCanonical?: (Element | null)[]; instantiatesUri?: string[]; - _instantiatesUri?: Element; + _instantiatesUri?: (Element | null)[]; insurance?: Reference<"ClaimResponse" | "Coverage">[]; intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); _intent?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Shareable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Shareable.ts index 285d40707..b872aaaea 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Shareable.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Shareable.ts @@ -6,11 +6,6 @@ import type { Base } from "../hl7-fhir-r5-core/Base"; export type { Base } from "../hl7-fhir-r5-core/Base"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Shareable +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Shareable (pkg: hl7.fhir.r5.core#5.0.0) export interface Shareable extends Base { - resourceType: "Shareable"; - -} -export const isShareable = (resource: unknown): resource is Shareable => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Shareable"; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Signature.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Signature.ts index 4374b76bc..e1eed79ab 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Signature.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Signature.ts @@ -11,7 +11,7 @@ export type { Coding } from "../hl7-fhir-r5-core/Coding"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Signature +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Signature (pkg: hl7.fhir.r5.core#5.0.0) export interface Signature extends DataType { data?: string; _data?: Element; @@ -20,7 +20,7 @@ export interface Signature extends DataType { _sigFormat?: Element; targetFormat?: string; _targetFormat?: Element; - type?: Coding[]; + type?: Coding<("1.2.840.10065.1.12.1.1" | "1.2.840.10065.1.12.1.2" | "1.2.840.10065.1.12.1.3" | "1.2.840.10065.1.12.1.4" | "1.2.840.10065.1.12.1.5" | "1.2.840.10065.1.12.1.6" | "1.2.840.10065.1.12.1.7" | "1.2.840.10065.1.12.1.8" | "1.2.840.10065.1.12.1.9" | "1.2.840.10065.1.12.1.10" | "1.2.840.10065.1.12.1.11" | "1.2.840.10065.1.12.1.12" | "1.2.840.10065.1.12.1.13" | "1.2.840.10065.1.12.1.14" | "1.2.840.10065.1.12.1.15" | "1.2.840.10065.1.12.1.16" | "1.2.840.10065.1.12.1.17" | "1.2.840.10065.1.12.1.18" | string)>[]; when?: string; _when?: Element; who?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Slot.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Slot.ts index 70c1ef8ac..d0998c884 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Slot.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Slot.ts @@ -14,11 +14,11 @@ export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Slot +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Slot (pkg: hl7.fhir.r5.core#5.0.0) export interface Slot extends DomainResource { resourceType: "Slot"; - appointmentType?: CodeableConcept[]; + appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>[]; comment?: string; _comment?: Element; end: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Specimen.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Specimen.ts index 734ac3ddc..20ce17dff 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Specimen.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Specimen.ts @@ -57,7 +57,7 @@ export interface SpecimenProcessing extends BackboneElement { timePeriod?: Period; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Specimen +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Specimen (pkg: hl7.fhir.r5.core#5.0.0) export interface Specimen extends DomainResource { resourceType: "Specimen"; @@ -65,7 +65,7 @@ export interface Specimen extends DomainResource { collection?: SpecimenCollection; combined?: string; _combined?: Element; - condition?: CodeableConcept[]; + condition?: CodeableConcept<("AUT" | "CFU" | "CLOT" | "CON" | "COOL" | "FROZ" | "HEM" | "LIVE" | "ROOM" | "SNR" | string)>[]; container?: SpecimenContainer[]; feature?: SpecimenFeature[]; identifier?: Identifier[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SpecimenDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SpecimenDefinition.ts index 17e59511d..239702a51 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SpecimenDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SpecimenDefinition.ts @@ -65,7 +65,7 @@ export interface SpecimenDefinitionTypeTestedHandling extends BackboneElement { temperatureRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface SpecimenDefinition extends DomainResource { resourceType: "SpecimenDefinition"; @@ -80,9 +80,9 @@ export interface SpecimenDefinition extends DomainResource { date?: string; _date?: Element; derivedFromCanonical?: string[]; - _derivedFromCanonical?: Element; + _derivedFromCanonical?: (Element | null)[]; derivedFromUri?: string[]; - _derivedFromUri?: Element; + _derivedFromUri?: (Element | null)[]; description?: string; _description?: Element; effectivePeriod?: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureDefinition.ts index 871a9d99e..b283da22c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureDefinition.ts @@ -40,7 +40,7 @@ export interface StructureDefinitionSnapshot extends BackboneElement { element: ElementDefinition[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface StructureDefinition extends DomainResource { resourceType: "StructureDefinition"; @@ -51,7 +51,7 @@ export interface StructureDefinition extends DomainResource { contact?: ContactDetail[]; context?: StructureDefinitionContext[]; contextInvariant?: string[]; - _contextInvariant?: Element; + _contextInvariant?: (Element | null)[]; copyright?: string; _copyright?: Element; copyrightLabel?: string; @@ -69,7 +69,7 @@ export interface StructureDefinition extends DomainResource { _fhirVersion?: Element; identifier?: Identifier[]; jurisdiction?: CodeableConcept[]; - keyword?: Coding[]; + keyword?: Coding<("fhir-structure" | "custom-resource" | "dam" | "wire-format" | "archetype" | "template" | string)>[]; kind: ("primitive-type" | "complex-type" | "resource" | "logical"); _kind?: Element; mapping?: StructureDefinitionMapping[]; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureMap.ts index 36874aed4..e39e78802 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureMap.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureMap.ts @@ -95,7 +95,7 @@ export interface StructureMapStructure extends BackboneElement { url: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap (pkg: hl7.fhir.r5.core#5.0.0) export interface StructureMap extends DomainResource { resourceType: "StructureMap"; @@ -114,7 +114,7 @@ export interface StructureMap extends DomainResource { group: StructureMapGroup[]; identifier?: Identifier[]; "import"?: string[]; - _import?: Element; + _import?: (Element | null)[]; jurisdiction?: CodeableConcept[]; name: string; _name?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Subscription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Subscription.ts index 6bea5bfc8..d579f1b86 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Subscription.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Subscription.ts @@ -20,7 +20,7 @@ export interface SubscriptionFilterBy extends BackboneElement { comparator?: ("eq" | "ne" | "gt" | "lt" | "ge" | "le" | "sa" | "eb" | "ap"); filterParameter: string; modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType"); - resourceType?: string; + resourceType?: ("Reference" | string); value: string; } @@ -29,7 +29,7 @@ export interface SubscriptionParameter extends BackboneElement { value: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription (pkg: hl7.fhir.r5.core#5.0.0) export interface Subscription extends DomainResource { resourceType: "Subscription"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionStatus.ts index dfffadeff..ab56aeec0 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionStatus.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionStatus.ts @@ -19,7 +19,7 @@ export interface SubscriptionStatusNotificationEvent extends BackboneElement { timestamp?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubscriptionStatus +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubscriptionStatus (pkg: hl7.fhir.r5.core#5.0.0) export interface SubscriptionStatus extends DomainResource { resourceType: "SubscriptionStatus"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionTopic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionTopic.ts index 8df012753..1f4a2d51c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionTopic.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionTopic.ts @@ -26,18 +26,18 @@ export interface SubscriptionTopicCanFilterBy extends BackboneElement { filterDefinition?: string; filterParameter: string; modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType")[]; - resource?: string; + resource?: ("Reference" | string); } export interface SubscriptionTopicEventTrigger extends BackboneElement { description?: string; event: CodeableConcept; - resource: string; + resource: ("Reference" | string); } export interface SubscriptionTopicNotificationShape extends BackboneElement { include?: string[]; - resource: string; + resource: ("Reference" | string); revInclude?: string[]; } @@ -45,7 +45,7 @@ export interface SubscriptionTopicResourceTrigger extends BackboneElement { description?: string; fhirPathCriteria?: string; queryCriteria?: SubscriptionTopicResourceTriggerQueryCriteria; - resource: string; + resource: ("Reference" | string); supportedInteraction?: ("create" | "update" | "delete")[]; } @@ -57,7 +57,7 @@ export interface SubscriptionTopicResourceTriggerQueryCriteria extends BackboneE resultForDelete?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubscriptionTopic +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubscriptionTopic (pkg: hl7.fhir.r5.core#5.0.0) export interface SubscriptionTopic extends DomainResource { resourceType: "SubscriptionTopic"; @@ -72,7 +72,7 @@ export interface SubscriptionTopic extends DomainResource { date?: string; _date?: Element; derivedFrom?: string[]; - _derivedFrom?: Element; + _derivedFrom?: (Element | null)[]; description?: string; _description?: Element; effectivePeriod?: Period; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Substance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Substance.ts index 0115aa5ca..4c831c0ee 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Substance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Substance.ts @@ -26,11 +26,11 @@ export interface SubstanceIngredient extends BackboneElement { substanceReference?: Reference<"Substance">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Substance +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Substance (pkg: hl7.fhir.r5.core#5.0.0) export interface Substance extends DomainResource { resourceType: "Substance"; - category?: CodeableConcept[]; + category?: CodeableConcept<("allergen" | "biological" | "body" | "chemical" | "food" | "drug" | "material" | string)>[]; code: CodeableReference; description?: string; _description?: Element; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceDefinition.ts index 4b720012c..cadd922f8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceDefinition.ts @@ -33,7 +33,7 @@ export interface SubstanceDefinitionCode extends BackboneElement { code?: CodeableConcept; note?: Annotation[]; source?: Reference<"DocumentReference">[]; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; statusDate?: string; } @@ -63,7 +63,7 @@ export interface SubstanceDefinitionName extends BackboneElement { official?: SubstanceDefinitionNameOfficial[]; preferred?: boolean; source?: Reference<"DocumentReference">[]; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; synonym?: SubstanceDefinitionName[]; translation?: SubstanceDefinitionName[]; type?: CodeableConcept; @@ -72,7 +72,7 @@ export interface SubstanceDefinitionName extends BackboneElement { export interface SubstanceDefinitionNameOfficial extends BackboneElement { authority?: CodeableConcept; date?: string; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; } export interface SubstanceDefinitionProperty extends BackboneElement { @@ -123,7 +123,7 @@ export interface SubstanceDefinitionStructureRepresentation extends BackboneElem type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface SubstanceDefinition extends DomainResource { resourceType: "SubstanceDefinition"; @@ -148,7 +148,7 @@ export interface SubstanceDefinition extends DomainResource { referenceInformation?: Reference<"SubstanceReferenceInformation">; relationship?: SubstanceDefinitionRelationship[]; sourceMaterial?: SubstanceDefinitionSourceMaterial; - status?: CodeableConcept; + status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; structure?: SubstanceDefinitionStructure; supplier?: Reference<"Organization">[]; version?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceNucleicAcid.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceNucleicAcid.ts index c13fe894a..92c314a97 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceNucleicAcid.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceNucleicAcid.ts @@ -38,7 +38,7 @@ export interface SubstanceNucleicAcidSubunitSugar extends BackboneElement { residueSite?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid (pkg: hl7.fhir.r5.core#5.0.0) export interface SubstanceNucleicAcid extends DomainResource { resourceType: "SubstanceNucleicAcid"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstancePolymer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstancePolymer.ts index 9ce1c7a96..c0a19fd50 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstancePolymer.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstancePolymer.ts @@ -56,7 +56,7 @@ export interface SubstancePolymerRepeatRepeatUnitStructuralRepresentation extend type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer (pkg: hl7.fhir.r5.core#5.0.0) export interface SubstancePolymer extends DomainResource { resourceType: "SubstancePolymer"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceProtein.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceProtein.ts index 1fe421864..c339cb23b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceProtein.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceProtein.ts @@ -25,12 +25,12 @@ export interface SubstanceProteinSubunit extends BackboneElement { subunit?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceProtein +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceProtein (pkg: hl7.fhir.r5.core#5.0.0) export interface SubstanceProtein extends DomainResource { resourceType: "SubstanceProtein"; disulfideLinkage?: string[]; - _disulfideLinkage?: Element; + _disulfideLinkage?: (Element | null)[]; numberOfSubunits?: number; _numberOfSubunits?: Element; sequenceType?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceReferenceInformation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceReferenceInformation.ts index dd1fb8569..5e4952dd7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceReferenceInformation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceReferenceInformation.ts @@ -43,7 +43,7 @@ export interface SubstanceReferenceInformationTarget extends BackboneElement { type?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation (pkg: hl7.fhir.r5.core#5.0.0) export interface SubstanceReferenceInformation extends DomainResource { resourceType: "SubstanceReferenceInformation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceSourceMaterial.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceSourceMaterial.ts index 1fa35e8dd..be9c7ba39 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceSourceMaterial.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceSourceMaterial.ts @@ -53,7 +53,7 @@ export interface SubstanceSourceMaterialPartDescription extends BackboneElement partLocation?: CodeableConcept; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial (pkg: hl7.fhir.r5.core#5.0.0) export interface SubstanceSourceMaterial extends DomainResource { resourceType: "SubstanceSourceMaterial"; @@ -61,14 +61,14 @@ export interface SubstanceSourceMaterial extends DomainResource { developmentStage?: CodeableConcept; fractionDescription?: SubstanceSourceMaterialFractionDescription[]; geographicalLocation?: string[]; - _geographicalLocation?: Element; + _geographicalLocation?: (Element | null)[]; organism?: SubstanceSourceMaterialOrganism; organismId?: Identifier; organismName?: string; _organismName?: Element; parentSubstanceId?: Identifier[]; parentSubstanceName?: string[]; - _parentSubstanceName?: Element; + _parentSubstanceName?: (Element | null)[]; partDescription?: SubstanceSourceMaterialPartDescription[]; sourceMaterialClass?: CodeableConcept; sourceMaterialState?: CodeableConcept; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyDelivery.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyDelivery.ts index 091c42d3e..aa49fc9fb 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyDelivery.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyDelivery.ts @@ -26,7 +26,7 @@ export interface SupplyDeliverySuppliedItem extends BackboneElement { quantity?: Quantity; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery (pkg: hl7.fhir.r5.core#5.0.0) export interface SupplyDelivery extends DomainResource { resourceType: "SupplyDelivery"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyRequest.ts index f53c20039..85fc549f7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyRequest.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyRequest.ts @@ -32,7 +32,7 @@ export interface SupplyRequestParameter extends BackboneElement { valueRange?: Range; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest (pkg: hl7.fhir.r5.core#5.0.0) export interface SupplyRequest extends DomainResource { resourceType: "SupplyRequest"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Task.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Task.ts index e461cc2cb..46b27a423 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Task.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Task.ts @@ -203,7 +203,7 @@ export interface TaskRestriction extends BackboneElement { repetitions?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task (pkg: hl7.fhir.r5.core#5.0.0) export interface Task extends DomainResource { resourceType: "Task"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TerminologyCapabilities.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TerminologyCapabilities.ts index e021c80ea..09ec3872c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TerminologyCapabilities.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TerminologyCapabilities.ts @@ -74,7 +74,7 @@ export interface TerminologyCapabilitiesValidateCode extends BackboneElement { translations: boolean; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities (pkg: hl7.fhir.r5.core#5.0.0) export interface TerminologyCapabilities extends DomainResource { resourceType: "TerminologyCapabilities"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestPlan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestPlan.ts index a80e3546c..4c682199f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestPlan.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestPlan.ts @@ -65,7 +65,7 @@ export interface TestPlanTestCaseTestRunScript extends BackboneElement { sourceString?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestPlan +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestPlan (pkg: hl7.fhir.r5.core#5.0.0) export interface TestPlan extends DomainResource { resourceType: "TestPlan"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestReport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestReport.ts index 93e30b1e2..6ead01871 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestReport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestReport.ts @@ -62,7 +62,7 @@ export interface TestReportTestAction extends BackboneElement { operation?: TestReportSetupActionOperation; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport (pkg: hl7.fhir.r5.core#5.0.0) export interface TestReport extends DomainResource { resourceType: "TestReport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestScript.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestScript.ts index ca8c4dc12..4b47ed468 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestScript.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestScript.ts @@ -22,7 +22,7 @@ export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; export interface TestScriptDestination extends BackboneElement { index: number; - profile: Coding; + profile: Coding<("FHIR-Server" | "FHIR-SDC-FormManager" | "FHIR-SDC-FormProcessor" | "FHIR-SDC-FormReceiver" | string)>; url?: string; } @@ -54,7 +54,7 @@ export interface TestScriptMetadataLink extends BackboneElement { export interface TestScriptOrigin extends BackboneElement { index: number; - profile: Coding; + profile: Coding<("FHIR-Client" | "FHIR-SDC-FormFiller" | string)>; url?: string; } @@ -122,7 +122,7 @@ export interface TestScriptSetupActionOperation extends BackboneElement { responseId?: string; sourceId?: string; targetId?: string; - type?: Coding; + type?: Coding<("read" | "vread" | "update" | "patch" | "delete" | "history" | "history-instance" | "history-type" | "history-system" | "create" | "search" | "search-type" | "search-system" | "capabilities" | "transaction" | "batch" | "operation" | string)>; url?: string; } @@ -161,7 +161,7 @@ export interface TestScriptVariable extends BackboneElement { sourceId?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript (pkg: hl7.fhir.r5.core#5.0.0) export interface TestScript extends DomainResource { resourceType: "TestScript"; @@ -185,7 +185,7 @@ export interface TestScript extends DomainResource { _name?: Element; origin?: TestScriptOrigin[]; profile?: string[]; - _profile?: Element; + _profile?: (Element | null)[]; publisher?: string; _publisher?: Element; purpose?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Timing.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Timing.ts index dc83f052c..3da9839dc 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Timing.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Timing.ts @@ -36,10 +36,10 @@ export interface TimingRepeat extends Element { when?: ("MORN" | "MORN.early" | "MORN.late" | "NOON" | "AFT" | "AFT.early" | "AFT.late" | "EVE" | "EVE.early" | "EVE.late" | "NIGHT" | "PHS" | "HS" | "WAKE" | "C" | "CM" | "CD" | "CV" | "AC" | "ACM" | "ACD" | "ACV" | "PC" | "PCM" | "PCD" | "PCV")[]; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Timing +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Timing (pkg: hl7.fhir.r5.core#5.0.0) export interface Timing extends BackboneType { - code?: CodeableConcept; + code?: CodeableConcept<("BID" | "TID" | "QID" | "AM" | "PM" | "QD" | "QOD" | "Q1H" | "Q2H" | "Q3H" | "Q4H" | "Q6H" | "Q8H" | "BED" | "WK" | "MO" | string)>; event?: string[]; - _event?: Element; - repeat?: Element; + _event?: (Element | null)[]; + repeat?: TimingRepeat; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Transport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Transport.ts index 8964354ee..51a2c6ca7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Transport.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Transport.ts @@ -198,7 +198,7 @@ export interface TransportRestriction extends BackboneElement { repetitions?: number; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Transport +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Transport (pkg: hl7.fhir.r5.core#5.0.0) export interface Transport extends DomainResource { resourceType: "Transport"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TriggerDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TriggerDefinition.ts index f400a13dd..b9e8e1209 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TriggerDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TriggerDefinition.ts @@ -17,7 +17,7 @@ export type { Expression } from "../hl7-fhir-r5-core/Expression"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; export type { Timing } from "../hl7-fhir-r5-core/Timing"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TriggerDefinition +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TriggerDefinition (pkg: hl7.fhir.r5.core#5.0.0) export interface TriggerDefinition extends DataType { code?: CodeableConcept; condition?: Expression; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/UsageContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/UsageContext.ts index 8ef8796aa..35d703842 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/UsageContext.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/UsageContext.ts @@ -16,9 +16,9 @@ export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; export type { Range } from "../hl7-fhir-r5-core/Range"; export type { Reference } from "../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/UsageContext +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/UsageContext (pkg: hl7.fhir.r5.core#5.0.0) export interface UsageContext extends DataType { - code: Coding; + code: Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)>; valueCodeableConcept?: CodeableConcept; valueQuantity?: Quantity; valueRange?: Range; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ValueSet.ts index a347adf41..11ae69510 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ValueSet.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ValueSet.ts @@ -46,9 +46,9 @@ export interface ValueSetComposeIncludeConcept extends BackboneElement { } export interface ValueSetComposeIncludeConceptDesignation extends BackboneElement { - additionalUse?: Coding[]; + additionalUse?: Coding<("900000000000003001" | "900000000000013009" | string)>[]; language?: string; - use?: Coding; + use?: Coding<("900000000000003001" | "900000000000013009" | string)>; value: string; } @@ -125,7 +125,7 @@ export interface ValueSetScope extends BackboneElement { inclusionCriteria?: string; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet (pkg: hl7.fhir.r5.core#5.0.0) export interface ValueSet extends DomainResource { resourceType: "ValueSet"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VerificationResult.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VerificationResult.ts index 38e04fdb2..f6ffab0c8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VerificationResult.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VerificationResult.ts @@ -28,12 +28,12 @@ export interface VerificationResultAttestation extends BackboneElement { } export interface VerificationResultPrimarySource extends BackboneElement { - canPushUpdates?: CodeableConcept; + canPushUpdates?: CodeableConcept<("yes" | "no" | "undetermined" | string)>; communicationMethod?: CodeableConcept[]; - pushTypeAvailable?: CodeableConcept[]; + pushTypeAvailable?: CodeableConcept<("specific" | "any" | "source" | string)>[]; type?: CodeableConcept[]; validationDate?: string; - validationStatus?: CodeableConcept; + validationStatus?: CodeableConcept<("successful" | "failed" | "unknown" | string)>; who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; } @@ -43,16 +43,16 @@ export interface VerificationResultValidator extends BackboneElement { organization: Reference<"Organization">; } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VerificationResult +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VerificationResult (pkg: hl7.fhir.r5.core#5.0.0) export interface VerificationResult extends DomainResource { resourceType: "VerificationResult"; attestation?: VerificationResultAttestation; - failureAction?: CodeableConcept; + failureAction?: CodeableConcept<("fatal" | "warn" | "rec-only" | "none" | string)>; frequency?: Timing; lastPerformed?: string; _lastPerformed?: Element; - need?: CodeableConcept; + need?: CodeableConcept<("none" | "initial" | "periodic" | string)>; nextScheduled?: string; _nextScheduled?: Element; primarySource?: VerificationResultPrimarySource[]; @@ -62,9 +62,9 @@ export interface VerificationResult extends DomainResource { _statusDate?: Element; target?: Reference<"Resource">[]; targetLocation?: string[]; - _targetLocation?: Element; + _targetLocation?: (Element | null)[]; validationProcess?: CodeableConcept[]; - validationType?: CodeableConcept; + validationType?: CodeableConcept<("nothing" | "primary" | "multiple" | string)>; validator?: VerificationResultValidator[]; } export const isVerificationResult = (resource: unknown): resource is VerificationResult => { diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VirtualServiceDetail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VirtualServiceDetail.ts index f7a41b5db..aa6b3b952 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VirtualServiceDetail.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VirtualServiceDetail.ts @@ -13,10 +13,10 @@ export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; export type { DataType } from "../hl7-fhir-r5-core/DataType"; export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VirtualServiceDetail +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VirtualServiceDetail (pkg: hl7.fhir.r5.core#5.0.0) export interface VirtualServiceDetail extends DataType { additionalInfo?: string[]; - _additionalInfo?: Element; + _additionalInfo?: (Element | null)[]; addressContactPoint?: ContactPoint; addressExtendedContactDetail?: ExtendedContactDetail; addressString?: string; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VisionPrescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VisionPrescription.ts index 04811c845..84d1c6496 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VisionPrescription.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VisionPrescription.ts @@ -40,7 +40,7 @@ export interface VisionPrescriptionLensSpecificationPrism extends BackboneElemen base: ("up" | "down" | "in" | "out"); } -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription (pkg: hl7.fhir.r5.core#5.0.0) export interface VisionPrescription extends DomainResource { resourceType: "VisionPrescription"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/index.ts index 890609ff6..0d274b9a7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/index.ts @@ -97,7 +97,6 @@ export { isCoverageEligibilityResponse } from "./CoverageEligibilityResponse"; export type { DataRequirement } from "./DataRequirement"; export type { DataType } from "./DataType"; export type { Definition } from "./Definition"; -export { isDefinition } from "./Definition"; export type { DetectedIssue, DetectedIssueEvidence, DetectedIssueMitigation } from "./DetectedIssue"; export { isDetectedIssue } from "./DetectedIssue"; export type { Device, DeviceConformsTo, DeviceName, DeviceProperty, DeviceUdiCarrier, DeviceVersion } from "./Device"; @@ -138,7 +137,6 @@ export { isEnrollmentResponse } from "./EnrollmentResponse"; export type { EpisodeOfCare, EpisodeOfCareDiagnosis, EpisodeOfCareReason, EpisodeOfCareStatusHistory } from "./EpisodeOfCare"; export { isEpisodeOfCare } from "./EpisodeOfCare"; export type { Event } from "./Event"; -export { isEvent } from "./Event"; export type { EventDefinition } from "./EventDefinition"; export { isEventDefinition } from "./EventDefinition"; export type { Evidence, EvidenceCertainty, EvidenceStatistic, EvidenceStatisticAttributeEstimate, EvidenceStatisticModelCharacteristic, EvidenceStatisticModelCharacteristicVariable, EvidenceStatisticSampleSize, EvidenceVariableDefinition } from "./Evidence"; @@ -157,7 +155,6 @@ export type { Extension } from "./Extension"; export type { FamilyMemberHistory, FamilyMemberHistoryCondition, FamilyMemberHistoryParticipant, FamilyMemberHistoryProcedure } from "./FamilyMemberHistory"; export { isFamilyMemberHistory } from "./FamilyMemberHistory"; export type { FiveWs } from "./FiveWs"; -export { isFiveWs } from "./FiveWs"; export type { Flag } from "./Flag"; export { isFlag } from "./Flag"; export type { FormularyItem } from "./FormularyItem"; @@ -265,11 +262,8 @@ export type { ParameterDefinition } from "./ParameterDefinition"; export type { Parameters, ParametersParameter } from "./Parameters"; export { isParameters } from "./Parameters"; export type { Participant } from "./Participant"; -export { isParticipant } from "./Participant"; export type { ParticipantContactable } from "./ParticipantContactable"; -export { isParticipantContactable } from "./ParticipantContactable"; export type { ParticipantLiving } from "./ParticipantLiving"; -export { isParticipantLiving } from "./ParticipantLiving"; export type { Patient, PatientCommunication, PatientContact, PatientLink } from "./Patient"; export { isPatient } from "./Patient"; export type { PaymentNotice } from "./PaymentNotice"; @@ -291,12 +285,10 @@ export type { PrimitiveType } from "./PrimitiveType"; export type { Procedure, ProcedureFocalDevice, ProcedurePerformer } from "./Procedure"; export { isProcedure } from "./Procedure"; export type { Product } from "./Product"; -export { isProduct } from "./Product"; export type { ProductShelfLife } from "./ProductShelfLife"; export type { Provenance, ProvenanceAgent, ProvenanceEntity } from "./Provenance"; export { isProvenance } from "./Provenance"; export type { Publishable } from "./Publishable"; -export { isPublishable } from "./Publishable"; export type { Quantity } from "./Quantity"; export type { Questionnaire, QuestionnaireItem, QuestionnaireItemAnswerOption, QuestionnaireItemEnableWhen, QuestionnaireItemInitial } from "./Questionnaire"; export { isQuestionnaire } from "./Questionnaire"; @@ -312,7 +304,6 @@ export type { RelatedArtifact } from "./RelatedArtifact"; export type { RelatedPerson, RelatedPersonCommunication } from "./RelatedPerson"; export { isRelatedPerson } from "./RelatedPerson"; export type { Request } from "./Request"; -export { isRequest } from "./Request"; export type { RequestOrchestration, RequestOrchestrationAction, RequestOrchestrationActionCondition, RequestOrchestrationActionDynamicValue, RequestOrchestrationActionInput, RequestOrchestrationActionOutput, RequestOrchestrationActionParticipant, RequestOrchestrationActionRelatedAction } from "./RequestOrchestration"; export { isRequestOrchestration } from "./RequestOrchestration"; export type { Requirements, RequirementsStatement } from "./Requirements"; @@ -333,7 +324,6 @@ export { isSearchParameter } from "./SearchParameter"; export type { ServiceRequest, ServiceRequestOrderDetail, ServiceRequestOrderDetailParameter, ServiceRequestPatientInstruction } from "./ServiceRequest"; export { isServiceRequest } from "./ServiceRequest"; export type { Shareable } from "./Shareable"; -export { isShareable } from "./Shareable"; export type { Signature } from "./Signature"; export type { Slot } from "./Slot"; export { isSlot } from "./Slot"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_PublishableActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_PublishableActivityDefinition.ts new file mode 100644 index 000000000..f22beb2da --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_PublishableActivityDefinition.ts @@ -0,0 +1,221 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ActivityDefinition } from "../../hl7-fhir-r5-core/ActivityDefinition"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +export interface PublishableActivityDefinition extends ActivityDefinition { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; + date: string; +} + +export type PublishableActivityDefinition_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublishableActivityDefinitionProfileParams = { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition (pkg: hl7.fhir.r5.core#5.0.0) +export class PublishableActivityDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition" + + private resource: ActivityDefinition + + constructor (resource: ActivityDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition") + } + + static from (resource: ActivityDefinition) : PublishableActivityDefinitionProfile { + return new PublishableActivityDefinitionProfile(resource) + } + + static createResource (args: PublishableActivityDefinitionProfileParams) : ActivityDefinition { + const resource: ActivityDefinition = { + resourceType: "ActivityDefinition", + url: args.url, + version: args.version, + title: args.title, + experimental: args.experimental, + description: args.description, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition"] }, + } as unknown as ActivityDefinition + return resource + } + + static create (args: PublishableActivityDefinitionProfileParams) : PublishableActivityDefinitionProfile { + return PublishableActivityDefinitionProfile.from(PublishableActivityDefinitionProfile.createResource(args)) + } + + toResource () : ActivityDefinition { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + toProfile () : PublishableActivityDefinition { + return this.resource as PublishableActivityDefinition + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: PublishableActivityDefinition_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): PublishableActivityDefinition_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as PublishableActivityDefinition_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublishableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "PublishableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "PublishableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "PublishableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "PublishableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "PublishableActivityDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_ShareableActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_ShareableActivityDefinition.ts new file mode 100644 index 000000000..5900cbef9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_ShareableActivityDefinition.ts @@ -0,0 +1,208 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ActivityDefinition } from "../../hl7-fhir-r5-core/ActivityDefinition"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +export interface ShareableActivityDefinition extends ActivityDefinition { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; +} + +export type ShareableActivityDefinition_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShareableActivityDefinitionProfileParams = { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition (pkg: hl7.fhir.r5.core#5.0.0) +export class ShareableActivityDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition" + + private resource: ActivityDefinition + + constructor (resource: ActivityDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition") + } + + static from (resource: ActivityDefinition) : ShareableActivityDefinitionProfile { + return new ShareableActivityDefinitionProfile(resource) + } + + static createResource (args: ShareableActivityDefinitionProfileParams) : ActivityDefinition { + const resource: ActivityDefinition = { + resourceType: "ActivityDefinition", + url: args.url, + version: args.version, + title: args.title, + experimental: args.experimental, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition"] }, + } as unknown as ActivityDefinition + return resource + } + + static create (args: ShareableActivityDefinitionProfileParams) : ShareableActivityDefinitionProfile { + return ShareableActivityDefinitionProfile.from(ShareableActivityDefinitionProfile.createResource(args)) + } + + toResource () : ActivityDefinition { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ShareableActivityDefinition { + return this.resource as ShareableActivityDefinition + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: ShareableActivityDefinition_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): ShareableActivityDefinition_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ShareableActivityDefinition_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShareableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ShareableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ShareableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "ShareableActivityDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ShareableActivityDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActualGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActualGroup.ts deleted file mode 100644 index 708909060..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActualGroup.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Group } from "../../hl7-fhir-r5-core/Group"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/actualgroup -export class ActualGroupProfile { - private resource: Group - - constructor (resource: Group) { - this.resource = resource - } - - toResource () : Group { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ArtifactAssessment_EBMRecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ArtifactAssessment_EBMRecommendation.ts new file mode 100644 index 000000000..caf574620 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ArtifactAssessment_EBMRecommendation.ts @@ -0,0 +1,81 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ArtifactAssessment } from "../../hl7-fhir-r5-core/ArtifactAssessment"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ebmrecommendation (pkg: hl7.fhir.r5.core#5.0.0) +export class EBMRecommendationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ebmrecommendation" + + private resource: ArtifactAssessment + + constructor (resource: ArtifactAssessment) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/ebmrecommendation")) profiles.push("http://hl7.org/fhir/StructureDefinition/ebmrecommendation") + } + + static from (resource: ArtifactAssessment) : EBMRecommendationProfile { + return new EBMRecommendationProfile(resource) + } + + static createResource () : ArtifactAssessment { + const resource: ArtifactAssessment = { + resourceType: "ArtifactAssessment", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/ebmrecommendation"] }, + } as unknown as ArtifactAssessment + return resource + } + + static create () : EBMRecommendationProfile { + return EBMRecommendationProfile.from(EBMRecommendationProfile.createResource()) + } + + toResource () : ArtifactAssessment { + return this.resource + } + + getArtifactReference () : Reference | undefined { + return this.resource.artifactReference as Reference | undefined + } + + setArtifactReference (value: Reference) : this { + Object.assign(this.resource, { artifactReference: value }) + return this + } + + getArtifactCanonical () : string | undefined { + return this.resource.artifactCanonical as string | undefined + } + + setArtifactCanonical (value: string) : this { + Object.assign(this.resource, { artifactCanonical: value }) + return this + } + + getArtifactUri () : string | undefined { + return this.resource.artifactUri as string | undefined + } + + setArtifactUri (value: string) : this { + Object.assign(this.resource, { artifactUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + if (!(r["artifactReference"] !== undefined || r["artifactCanonical"] !== undefined || r["artifactUri"] !== undefined)) { + errors.push("artifact: at least one of artifactReference, artifactCanonical, artifactUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/BatchResponseBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/BatchResponseBundle.ts deleted file mode 100644 index 3ac828cc6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/BatchResponseBundle.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/batch-response-bundle -export class BatchResponseBundleProfile { - private resource: Bundle - - constructor (resource: Bundle) { - this.resource = resource - } - - toResource () : Bundle { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/BatchBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchBundle.ts similarity index 79% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/BatchBundle.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchBundle.ts index d94721ee7..89417dacb 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/BatchBundle.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchBundle.ts @@ -5,7 +5,6 @@ import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/batch-bundle export type BatchBundle_Entry_PutSliceInput = Omit & Required>; export type BatchBundle_Entry_PostSliceInput = Omit & Required>; export type BatchBundle_Entry_GetSliceInput = Omit & Required>; @@ -13,19 +12,52 @@ export type BatchBundle_Entry_DeleteSliceInput = Omit & export type BatchBundle_Entry_PatchSliceInput = Omit & Required>; export type BatchBundle_Entry_HeadSliceInput = Omit & Required>; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/batch-bundle (pkg: hl7.fhir.r5.core#5.0.0) export class BatchBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/batch-bundle" + private resource: Bundle constructor (resource: Bundle) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/batch-bundle")) profiles.push("http://hl7.org/fhir/StructureDefinition/batch-bundle") + } + + static from (resource: Bundle) : BatchBundleProfile { + return new BatchBundleProfile(resource) + } + + static createResource () : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "bundle", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/batch-bundle"] }, + } as unknown as Bundle + return resource + } + + static create () : BatchBundleProfile { + return BatchBundleProfile.from(BatchBundleProfile.createResource()) } toResource () : Bundle { return this.resource } + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + public setPut (input: BatchBundle_Entry_PutSliceInput): this { const match = {"request":{"method":"PUT"}} as Record const value = applySliceMatch(input as Record, match) as unknown as BundleEntry @@ -206,5 +238,14 @@ export class BatchBundleProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "BatchBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "bundle", "BatchBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "BatchBundle"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchResponseBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchResponseBundle.ts new file mode 100644 index 000000000..8d11c5615 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchResponseBundle.ts @@ -0,0 +1,63 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/batch-response-bundle (pkg: hl7.fhir.r5.core#5.0.0) +export class BatchResponseBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/batch-response-bundle" + + private resource: Bundle + + constructor (resource: Bundle) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/batch-response-bundle")) profiles.push("http://hl7.org/fhir/StructureDefinition/batch-response-bundle") + } + + static from (resource: Bundle) : BatchResponseBundleProfile { + return new BatchResponseBundleProfile(resource) + } + + static createResource () : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "batch-response", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/batch-response-bundle"] }, + } as unknown as Bundle + return resource + } + + static create () : BatchResponseBundleProfile { + return BatchResponseBundleProfile.from(BatchResponseBundleProfile.createResource()) + } + + toResource () : Bundle { + return this.resource + } + + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "BatchResponseBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "batch-response", "BatchResponseBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "BatchResponseBundle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_DocumentBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_DocumentBundle.ts new file mode 100644 index 000000000..b94be60ca --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_DocumentBundle.ts @@ -0,0 +1,114 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; +import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +export interface DocumentBundle extends Bundle { + identifier: Identifier; + timestamp: string; + entry: BundleEntry[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DocumentBundleProfileParams = { + identifier: Identifier; + timestamp: string; + entry: BundleEntry[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/document-bundle (pkg: hl7.fhir.r5.core#5.0.0) +export class DocumentBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/document-bundle" + + private resource: Bundle + + constructor (resource: Bundle) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/document-bundle")) profiles.push("http://hl7.org/fhir/StructureDefinition/document-bundle") + } + + static from (resource: Bundle) : DocumentBundleProfile { + return new DocumentBundleProfile(resource) + } + + static createResource (args: DocumentBundleProfileParams) : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "document", + identifier: args.identifier, + timestamp: args.timestamp, + entry: args.entry, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/document-bundle"] }, + } as unknown as Bundle + return resource + } + + static create (args: DocumentBundleProfileParams) : DocumentBundleProfile { + return DocumentBundleProfile.from(DocumentBundleProfile.createResource(args)) + } + + toResource () : Bundle { + return this.resource + } + + getIdentifier () : Identifier | undefined { + return this.resource.identifier as Identifier | undefined + } + + setIdentifier (value: Identifier) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getTimestamp () : string | undefined { + return this.resource.timestamp as string | undefined + } + + setTimestamp (value: string) : this { + Object.assign(this.resource, { timestamp: value }) + return this + } + + getEntry () : BundleEntry[] | undefined { + return this.resource.entry as BundleEntry[] | undefined + } + + setEntry (value: BundleEntry[]) : this { + Object.assign(this.resource, { entry: value }) + return this + } + + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : DocumentBundle { + return this.resource as DocumentBundle + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "identifier", "DocumentBundle"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "DocumentBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "document", "DocumentBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "DocumentBundle"); if (e) errors.push(e) } + { const e = validateRequired(r, "timestamp", "DocumentBundle"); if (e) errors.push(e) } + { const e = validateRequired(r, "entry", "DocumentBundle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/HistoryBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_HistoryBundle.ts similarity index 71% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/HistoryBundle.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_HistoryBundle.ts index 14f8c1332..29782051c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/HistoryBundle.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_HistoryBundle.ts @@ -5,25 +5,57 @@ import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/history-bundle export type HistoryBundle_Entry_PutSliceInput = Omit & Required>; export type HistoryBundle_Entry_PostSliceInput = Omit & Required>; export type HistoryBundle_Entry_GetSliceInput = Omit & Required>; export type HistoryBundle_Entry_DeleteSliceInput = Omit & Required>; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/history-bundle (pkg: hl7.fhir.r5.core#5.0.0) export class HistoryBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/history-bundle" + private resource: Bundle constructor (resource: Bundle) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/history-bundle")) profiles.push("http://hl7.org/fhir/StructureDefinition/history-bundle") + } + + static from (resource: Bundle) : HistoryBundleProfile { + return new HistoryBundleProfile(resource) + } + + static createResource () : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "history", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/history-bundle"] }, + } as unknown as Bundle + return resource + } + + static create () : HistoryBundleProfile { + return HistoryBundleProfile.from(HistoryBundleProfile.createResource()) } toResource () : Bundle { return this.resource } + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + public setPut (input: HistoryBundle_Entry_PutSliceInput): this { const match = {"request":{"method":"PUT"}} as Record const value = applySliceMatch(input as Record, match) as unknown as BundleEntry @@ -144,5 +176,15 @@ export class HistoryBundleProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "HistoryBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "history", "HistoryBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "HistoryBundle"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["entry"] as unknown[] | undefined, {"request":{"method":"POST"}}, "post", 0, 0, "HistoryBundle.entry")) + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SearchSetBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SearchSetBundle.ts new file mode 100644 index 000000000..b51aa80df --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SearchSetBundle.ts @@ -0,0 +1,97 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; +import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; + +export type SearchSetBundle_Entry_OperationOutcomeSliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/search-set-bundle (pkg: hl7.fhir.r5.core#5.0.0) +export class SearchSetBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/search-set-bundle" + + private resource: Bundle + + constructor (resource: Bundle) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/search-set-bundle")) profiles.push("http://hl7.org/fhir/StructureDefinition/search-set-bundle") + } + + static from (resource: Bundle) : SearchSetBundleProfile { + return new SearchSetBundleProfile(resource) + } + + static createResource () : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "searchset", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/search-set-bundle"] }, + } as unknown as Bundle + return resource + } + + static create () : SearchSetBundleProfile { + return SearchSetBundleProfile.from(SearchSetBundleProfile.createResource()) + } + + toResource () : Bundle { + return this.resource + } + + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + + public setOperationOutcome (input: SearchSetBundle_Entry_OperationOutcomeSliceInput): this { + const match = {"search":{"mode":"outcome"}} as Record + const value = applySliceMatch(input as Record, match) as unknown as BundleEntry + const list = (this.resource.entry ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getOperationOutcome (): SearchSetBundle_Entry_OperationOutcomeSliceInput | undefined { + const match = {"search":{"mode":"outcome"}} as Record + const list = this.resource.entry + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["search"]) as SearchSetBundle_Entry_OperationOutcomeSliceInput + } + + public getOperationOutcomeRaw (): BundleEntry | undefined { + const match = {"search":{"mode":"outcome"}} as Record + const list = this.resource.entry + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "SearchSetBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "searchset", "SearchSetBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "SearchSetBundle"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["entry"] as unknown[] | undefined, {"search":{"mode":"outcome"}}, "operationOutcome", 0, 1, "SearchSetBundle.entry")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SubscriptionNotificationBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SubscriptionNotificationBundle.ts new file mode 100644 index 000000000..8594a0889 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SubscriptionNotificationBundle.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; +import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; + +export interface SubscriptionNotificationBundle extends Bundle { + entry: BundleEntry[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SubscriptionNotificationBundleProfileParams = { + entry: BundleEntry[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle (pkg: hl7.fhir.r5.core#5.0.0) +export class SubscriptionNotificationBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle" + + private resource: Bundle + + constructor (resource: Bundle) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle")) profiles.push("http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle") + } + + static from (resource: Bundle) : SubscriptionNotificationBundleProfile { + return new SubscriptionNotificationBundleProfile(resource) + } + + static createResource (args: SubscriptionNotificationBundleProfileParams) : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "subscription-notification", + entry: args.entry, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle"] }, + } as unknown as Bundle + return resource + } + + static create (args: SubscriptionNotificationBundleProfileParams) : SubscriptionNotificationBundleProfile { + return SubscriptionNotificationBundleProfile.from(SubscriptionNotificationBundleProfile.createResource(args)) + } + + toResource () : Bundle { + return this.resource + } + + getEntry () : BundleEntry[] | undefined { + return this.resource.entry as BundleEntry[] | undefined + } + + setEntry (value: BundleEntry[]) : this { + Object.assign(this.resource, { entry: value }) + return this + } + + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : SubscriptionNotificationBundle { + return this.resource as SubscriptionNotificationBundle + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "SubscriptionNotificationBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "subscription-notification", "SubscriptionNotificationBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "SubscriptionNotificationBundle"); if (e) errors.push(e) } + { const e = validateRequired(r, "entry", "SubscriptionNotificationBundle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TransactionBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionBundle.ts similarity index 78% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TransactionBundle.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionBundle.ts index 6fe5ce47d..65906b75b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TransactionBundle.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionBundle.ts @@ -5,7 +5,6 @@ import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/transaction-bundle export type TransactionBundle_Entry_PutSliceInput = Omit & Required>; export type TransactionBundle_Entry_PostSliceInput = Omit & Required>; export type TransactionBundle_Entry_GetSliceInput = Omit & Required>; @@ -13,19 +12,52 @@ export type TransactionBundle_Entry_DeleteSliceInput = Omit & Required>; export type TransactionBundle_Entry_HeadSliceInput = Omit & Required>; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/transaction-bundle (pkg: hl7.fhir.r5.core#5.0.0) export class TransactionBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/transaction-bundle" + private resource: Bundle constructor (resource: Bundle) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/transaction-bundle")) profiles.push("http://hl7.org/fhir/StructureDefinition/transaction-bundle") + } + + static from (resource: Bundle) : TransactionBundleProfile { + return new TransactionBundleProfile(resource) + } + + static createResource () : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "transaction", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/transaction-bundle"] }, + } as unknown as Bundle + return resource + } + + static create () : TransactionBundleProfile { + return TransactionBundleProfile.from(TransactionBundleProfile.createResource()) } toResource () : Bundle { return this.resource } + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + public setPut (input: TransactionBundle_Entry_PutSliceInput): this { const match = {"request":{"method":"PUT"}} as Record const value = applySliceMatch(input as Record, match) as unknown as BundleEntry @@ -206,5 +238,14 @@ export class TransactionBundleProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "TransactionBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "transaction", "TransactionBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "TransactionBundle"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionResponseBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionResponseBundle.ts new file mode 100644 index 000000000..cde29f7a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionResponseBundle.ts @@ -0,0 +1,63 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/transaction-response-bundle (pkg: hl7.fhir.r5.core#5.0.0) +export class TransactionResponseBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/transaction-response-bundle" + + private resource: Bundle + + constructor (resource: Bundle) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/transaction-response-bundle")) profiles.push("http://hl7.org/fhir/StructureDefinition/transaction-response-bundle") + } + + static from (resource: Bundle) : TransactionResponseBundleProfile { + return new TransactionResponseBundleProfile(resource) + } + + static createResource () : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "transaction-response", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/transaction-response-bundle"] }, + } as unknown as Bundle + return resource + } + + static create () : TransactionResponseBundleProfile { + return TransactionResponseBundleProfile.from(TransactionResponseBundleProfile.createResource()) + } + + toResource () : Bundle { + return this.resource + } + + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "TransactionResponseBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "transaction-response", "TransactionResponseBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "TransactionResponseBundle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksGuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksGuidanceResponse.ts deleted file mode 100644 index 0b2caf773..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksGuidanceResponse.ts +++ /dev/null @@ -1,42 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { GuidanceResponse } from "../../hl7-fhir-r5-core/GuidanceResponse"; -import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse -export interface CDSHooksGuidanceResponse extends GuidanceResponse { - requestIdentifier: Identifier; - identifier: Identifier[]; - moduleUri: string; -} - -export class CDSHooksGuidanceResponseProfile { - private resource: GuidanceResponse - - constructor (resource: GuidanceResponse) { - this.resource = resource - } - - toResource () : GuidanceResponse { - return this.resource - } - - toProfile () : CDSHooksGuidanceResponse { - return this.resource as CDSHooksGuidanceResponse - } - - public setCdsHooksEndpoint (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", ...value }) - return this - } - - public getCdsHooksEndpoint (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksRequestOrchestration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksRequestOrchestration.ts deleted file mode 100644 index 454c208cf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksRequestOrchestration.ts +++ /dev/null @@ -1,30 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; -import type { RequestOrchestration } from "../../hl7-fhir-r5-core/RequestOrchestration"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration -export interface CDSHooksRequestOrchestration extends RequestOrchestration { - identifier: Identifier[]; - instantiatesUri: string[]; -} - -export class CDSHooksRequestOrchestrationProfile { - private resource: RequestOrchestration - - constructor (resource: RequestOrchestration) { - this.resource = resource - } - - toResource () : RequestOrchestration { - return this.resource - } - - toProfile () : CDSHooksRequestOrchestration { - return this.resource as CDSHooksRequestOrchestration - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksServicePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksServicePlanDefinition.ts deleted file mode 100644 index fdd01a14a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/CdshooksServicePlanDefinition.ts +++ /dev/null @@ -1,31 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { PlanDefinition } from "../../hl7-fhir-r5-core/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition -export class CDSHooksServicePlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - public setCdsHooksEndpoint (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", ...value }) - return this - } - - public getCdsHooksEndpoint (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ClinicalDocument.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ClinicalDocument.ts deleted file mode 100644 index 827bad7c1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ClinicalDocument.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Composition } from "../../hl7-fhir-r5-core/Composition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/clinicaldocument -export class ClinicalDocumentProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ClinicalDocument.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ClinicalDocument.ts new file mode 100644 index 000000000..11d7803f2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ClinicalDocument.ts @@ -0,0 +1,51 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Composition } from "../../hl7-fhir-r5-core/Composition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/clinicaldocument (pkg: hl7.fhir.r5.core#5.0.0) +export class ClinicalDocumentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/clinicaldocument" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/clinicaldocument")) profiles.push("http://hl7.org/fhir/StructureDefinition/clinicaldocument") + } + + static from (resource: Composition) : ClinicalDocumentProfile { + return new ClinicalDocumentProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/clinicaldocument"] }, + } as unknown as Composition + return resource + } + + static create () : ClinicalDocumentProfile { + return ClinicalDocumentProfile.from(ClinicalDocumentProfile.createResource()) + } + + toResource () : Composition { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateReference(r["subject"], ["Device","Group","Location","Patient","Practitioner"], "subject", "ClinicalDocument"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentSectionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentSectionLibrary.ts similarity index 79% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentSectionLibrary.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentSectionLibrary.ts index b7bfadcf9..7dec76b05 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentSectionLibrary.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentSectionLibrary.ts @@ -5,18 +5,40 @@ import type { Composition } from "../../hl7-fhir-r5-core/Composition"; import type { CompositionSection } from "../../hl7-fhir-r5-core/Composition"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-section-library export type DocumentSectionLibrary_Section_ProcedureSliceInput = Omit & Required>; export type DocumentSectionLibrary_Section_MedicationsSliceInput = Omit & Required>; export type DocumentSectionLibrary_Section_PlanSliceInput = Omit & Required>; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-section-library (pkg: hl7.fhir.r5.core#5.0.0) export class DocumentSectionLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/example-section-library" + private resource: Composition constructor (resource: Composition) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/example-section-library")) profiles.push("http://hl7.org/fhir/StructureDefinition/example-section-library") + } + + static from (resource: Composition) : DocumentSectionLibraryProfile { + return new DocumentSectionLibraryProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/example-section-library"] }, + } as unknown as Composition + return resource + } + + static create () : DocumentSectionLibraryProfile { + return DocumentSectionLibraryProfile.from(DocumentSectionLibraryProfile.createResource()) } toResource () : Composition { @@ -113,5 +135,11 @@ export class DocumentSectionLibraryProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentStructure.ts new file mode 100644 index 000000000..af09b3d2c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentStructure.ts @@ -0,0 +1,50 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Composition } from "../../hl7-fhir-r5-core/Composition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-composition (pkg: hl7.fhir.r5.core#5.0.0) +export class DocumentStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/example-composition" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/example-composition")) profiles.push("http://hl7.org/fhir/StructureDefinition/example-composition") + } + + static from (resource: Composition) : DocumentStructureProfile { + return new DocumentStructureProfile(resource) + } + + static createResource () : Composition { + const resource: Composition = { + resourceType: "Composition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/example-composition"] }, + } as unknown as Composition + return resource + } + + static create () : DocumentStructureProfile { + return DocumentStructureProfile.from(DocumentStructureProfile.createResource()) + } + + toResource () : Composition { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ProfileForCatalog.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ProfileForCatalog.ts new file mode 100644 index 000000000..18f28a33e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ProfileForCatalog.ts @@ -0,0 +1,116 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Composition } from "../../hl7-fhir-r5-core/Composition"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +export interface ProfileForCatalog extends Composition { + category: CodeableConcept[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ProfileForCatalogProfileParams = { + category: CodeableConcept[]; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/catalog (pkg: hl7.fhir.r5.core#5.0.0) +export class ProfileForCatalogProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/catalog" + + private resource: Composition + + constructor (resource: Composition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/catalog")) profiles.push("http://hl7.org/fhir/StructureDefinition/catalog") + } + + static from (resource: Composition) : ProfileForCatalogProfile { + return new ProfileForCatalogProfile(resource) + } + + static createResource (args: ProfileForCatalogProfileParams) : Composition { + const resource: Composition = { + resourceType: "Composition", + type: {"text":"Catalog"}, + category: args.category, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/catalog"] }, + } as unknown as Composition + return resource + } + + static create (args: ProfileForCatalogProfileParams) : ProfileForCatalogProfile { + return ProfileForCatalogProfile.from(ProfileForCatalogProfile.createResource(args)) + } + + toResource () : Composition { + return this.resource + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category as CodeableConcept[] | undefined + } + + setCategory (value: CodeableConcept[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + getType () : CodeableConcept | undefined { + return this.resource.type as CodeableConcept | undefined + } + + setType (value: CodeableConcept) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : ProfileForCatalog { + return this.resource as ProfileForCatalog + } + + public setValidityPeriod (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", valueDateTime: value } as Extension) + return this + } + + public getValidityPeriod (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getValidityPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "ProfileForCatalog"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"text":"Catalog"}, "ProfileForCatalog"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "ProfileForCatalog"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Resource"], "subject", "ProfileForCatalog"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "ProfileForCatalog"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ComputablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ComputablePlanDefinition.ts deleted file mode 100644 index 54599fb57..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ComputablePlanDefinition.ts +++ /dev/null @@ -1,28 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { PlanDefinition } from "../../hl7-fhir-r5-core/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/computableplandefinition -export interface ComputablePlanDefinition extends PlanDefinition { - library: string[]; -} - -export class ComputablePlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - toProfile () : ComputablePlanDefinition { - return this.resource as ComputablePlanDefinition - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ComputableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ComputableValueSet.ts deleted file mode 100644 index ec000efd3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ComputableValueSet.ts +++ /dev/null @@ -1,83 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { ValueSet } from "../../hl7-fhir-r5-core/ValueSet"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/computablevalueset -export interface ComputableValueSet extends ValueSet { - url: string; - version: string; - title: string; - experimental: boolean; - description: string; -} - -export class ComputableValueSetProfile { - private resource: ValueSet - - constructor (resource: ValueSet) { - this.resource = resource - } - - toResource () : ValueSet { - return this.resource - } - - toProfile () : ComputableValueSet { - return this.resource as ComputableValueSet - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setAuthoritativeSource (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", ...value }) - return this - } - - public setRulesText (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-rules-text", ...value }) - return this - } - - public setExpression (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-expression", ...value }) - return this - } - - public setSupplement (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-supplement", ...value }) - return this - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getAuthoritativeSource (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") - } - - public getRulesText (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-rules-text") - } - - public getExpression (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-expression") - } - - public getSupplement (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-supplement") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_PublishableConceptMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_PublishableConceptMap.ts new file mode 100644 index 000000000..aa8e7a27f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_PublishableConceptMap.ts @@ -0,0 +1,168 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ConceptMap } from "../../hl7-fhir-r5-core/ConceptMap"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +export interface PublishableConceptMap extends ConceptMap { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; + date: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublishableConceptMapProfileParams = { + url: string; + version: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + description: string; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishableconceptmap (pkg: hl7.fhir.r5.core#5.0.0) +export class PublishableConceptMapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/publishableconceptmap" + + private resource: ConceptMap + + constructor (resource: ConceptMap) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/publishableconceptmap")) profiles.push("http://hl7.org/fhir/StructureDefinition/publishableconceptmap") + } + + static from (resource: ConceptMap) : PublishableConceptMapProfile { + return new PublishableConceptMapProfile(resource) + } + + static createResource (args: PublishableConceptMapProfileParams) : ConceptMap { + const resource: ConceptMap = { + resourceType: "ConceptMap", + url: args.url, + version: args.version, + title: args.title, + status: args.status, + experimental: args.experimental, + description: args.description, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/publishableconceptmap"] }, + } as unknown as ConceptMap + return resource + } + + static create (args: PublishableConceptMapProfileParams) : PublishableConceptMapProfile { + return PublishableConceptMapProfile.from(PublishableConceptMapProfile.createResource(args)) + } + + toResource () : ConceptMap { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + toProfile () : PublishableConceptMap { + return this.resource as PublishableConceptMap + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublishableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "PublishableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "PublishableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "PublishableConceptMap"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "PublishableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "PublishableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "PublishableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "PublishableConceptMap"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_ShareableConceptMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_ShareableConceptMap.ts new file mode 100644 index 000000000..04d9ead77 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_ShareableConceptMap.ts @@ -0,0 +1,155 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ConceptMap } from "../../hl7-fhir-r5-core/ConceptMap"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +export interface ShareableConceptMap extends ConceptMap { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShareableConceptMapProfileParams = { + url: string; + version: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableconceptmap (pkg: hl7.fhir.r5.core#5.0.0) +export class ShareableConceptMapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareableconceptmap" + + private resource: ConceptMap + + constructor (resource: ConceptMap) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareableconceptmap")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareableconceptmap") + } + + static from (resource: ConceptMap) : ShareableConceptMapProfile { + return new ShareableConceptMapProfile(resource) + } + + static createResource (args: ShareableConceptMapProfileParams) : ConceptMap { + const resource: ConceptMap = { + resourceType: "ConceptMap", + url: args.url, + version: args.version, + title: args.title, + status: args.status, + experimental: args.experimental, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareableconceptmap"] }, + } as unknown as ConceptMap + return resource + } + + static create (args: ShareableConceptMapProfileParams) : ShareableConceptMapProfile { + return ShareableConceptMapProfile.from(ShareableConceptMapProfile.createResource(args)) + } + + toResource () : ConceptMap { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ShareableConceptMap { + return this.resource as ShareableConceptMap + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShareableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ShareableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ShareableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "ShareableConceptMap"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "ShareableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "ShareableConceptMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ShareableConceptMap"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Cqllibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Cqllibrary.ts deleted file mode 100644 index ea5cc7b03..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Cqllibrary.ts +++ /dev/null @@ -1,139 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Library } from "../../hl7-fhir-r5-core/Library"; -import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqllibrary -export interface CQLLibrary extends Library { - url: string; - version: string; - title: string; - description: string; -} - -export type CQLLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; -export type CQLLibrary_Content_CqlContentSliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class CQLLibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : CQLLibrary { - return this.resource as CQLLibrary - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public setDirectReferenceCode (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", ...value }) - return this - } - - public setDependency (input: CQLLibrary_RelatedArtifact_DependencySliceInput): this { - const match = {"type":"depends-on"} as Record - const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact - const list = (this.resource.relatedArtifact ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setCqlContent (input: CQLLibrary_Content_CqlContentSliceInput): this { - const match = {"contentType":"text/cql"} as Record - const value = applySliceMatch(input as Record, match) as unknown as Attachment - const list = (this.resource.content ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - - public getDirectReferenceCode (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") - } - - public getDependency (): CQLLibrary_RelatedArtifact_DependencySliceInput | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as CQLLibrary_RelatedArtifact_DependencySliceInput - } - - public getDependencyRaw (): RelatedArtifact | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getCqlContent (): CQLLibrary_Content_CqlContentSliceInput | undefined { - const match = {"contentType":"text/cql"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["contentType"]) as CQLLibrary_Content_CqlContentSliceInput - } - - public getCqlContentRaw (): Attachment | undefined { - const match = {"contentType":"text/cql"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DeviceMetricObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DeviceMetricObservationProfile.ts deleted file mode 100644 index 8982b6ce0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DeviceMetricObservationProfile.ts +++ /dev/null @@ -1,34 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicemetricobservation -export interface DeviceMetricObservationProfile extends Observation { - subject: Reference<"Device" | "Patient">; - effectiveDateTime: string; - specimen?: Reference<"Specimen">; - device: Reference<"DeviceMetric">; - hasMember?: Reference<"Observation">[]; - derivedFrom?: Reference<"Observation">[]; -} - -export class DeviceMetricObservationProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : DeviceMetricObservationProfile { - return this.resource as DeviceMetricObservationProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DiagnosticReport_ExampleLipidProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DiagnosticReport_ExampleLipidProfile.ts new file mode 100644 index 000000000..21ab4aa60 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DiagnosticReport_ExampleLipidProfile.ts @@ -0,0 +1,64 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { DiagnosticReport } from "../../hl7-fhir-r5-core/DiagnosticReport"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/lipidprofile (pkg: hl7.fhir.r5.core#5.0.0) +export class ExampleLipidProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/lipidprofile" + + private resource: DiagnosticReport + + constructor (resource: DiagnosticReport) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/lipidprofile")) profiles.push("http://hl7.org/fhir/StructureDefinition/lipidprofile") + } + + static from (resource: DiagnosticReport) : ExampleLipidProfileProfile { + return new ExampleLipidProfileProfile(resource) + } + + static createResource () : DiagnosticReport { + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + code: {"coding":[{"system":"http://loinc.org","code":"57698-3","display":"Lipid panel with direct LDL - Serum or Plasma"}]}, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/lipidprofile"] }, + } as unknown as DiagnosticReport + return resource + } + + static create () : ExampleLipidProfileProfile { + return ExampleLipidProfileProfile.from(ExampleLipidProfileProfile.createResource()) + } + + toResource () : DiagnosticReport { + return this.resource + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "ExampleLipidProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"57698-3","display":"Lipid panel with direct LDL - Serum or Plasma"}]}, "ExampleLipidProfile"); if (e) errors.push(e) } + { const e = validateReference(r["result"], ["Observation"], "result", "ExampleLipidProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentBundle.ts deleted file mode 100644 index 7ddc8c1e7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentBundle.ts +++ /dev/null @@ -1,32 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; -import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; -import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/document-bundle -export interface DocumentBundle extends Bundle { - identifier: Identifier; - timestamp: string; - entry: BundleEntry[]; -} - -export class DocumentBundleProfile { - private resource: Bundle - - constructor (resource: Bundle) { - this.resource = resource - } - - toResource () : Bundle { - return this.resource - } - - toProfile () : DocumentBundle { - return this.resource as DocumentBundle - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentStructure.ts deleted file mode 100644 index c3883fb31..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DocumentStructure.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Composition } from "../../hl7-fhir-r5-core/Composition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/example-composition -export class DocumentStructureProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Ebmrecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Ebmrecommendation.ts deleted file mode 100644 index d99a9e0ef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Ebmrecommendation.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ArtifactAssessment } from "../../hl7-fhir-r5-core/ArtifactAssessment"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ebmrecommendation -export class EBMRecommendationProfile { - private resource: ArtifactAssessment - - constructor (resource: ArtifactAssessment) { - this.resource = resource - } - - toResource () : ArtifactAssessment { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts new file mode 100644 index 000000000..8bb8e61d8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts @@ -0,0 +1,72 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ElementDefinition } from "../../hl7-fhir-r5-core/ElementDefinition"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-de (pkg: hl7.fhir.r5.core#5.0.0) +export class DataElement_constraint_on_ElementDefinition_data_typeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-de" + + private resource: ElementDefinition + + constructor (resource: ElementDefinition) { + this.resource = resource + } + + static from (resource: ElementDefinition) : DataElement_constraint_on_ElementDefinition_data_typeProfile { + return new DataElement_constraint_on_ElementDefinition_data_typeProfile(resource) + } + + static createResource () : ElementDefinition { + const resource: ElementDefinition = { + } as unknown as ElementDefinition + return resource + } + + static create () : DataElement_constraint_on_ElementDefinition_data_typeProfile { + return DataElement_constraint_on_ElementDefinition_data_typeProfile.from(DataElement_constraint_on_ElementDefinition_data_typeProfile.createResource()) + } + + toResource () : ElementDefinition { + return this.resource + } + + public setQuestion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", valueString: value } as Extension) + return this + } + + public setAllowedUnits (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", ...value }) + return this + } + + public getQuestion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-question") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getQuestionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-question") + return ext + } + + public getAllowedUnits (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["representation"], ["xmlAttr","xmlText","typeAttr","cdaText","xhtml"], "representation", "DataElement constraint on ElementDefinition data type"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Elmlibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Elmlibrary.ts deleted file mode 100644 index 89f5236e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Elmlibrary.ts +++ /dev/null @@ -1,170 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Library } from "../../hl7-fhir-r5-core/Library"; -import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elmlibrary -export interface ELMLibrary extends Library { - url: string; - version: string; - title: string; - description: string; -} - -export type ELMLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; -export type ELMLibrary_Content_ElmXmlContentSliceInput = Omit & Required>; -export type ELMLibrary_Content_ElmJsonContentSliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ELMLibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : ELMLibrary { - return this.resource as ELMLibrary - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public setDirectReferenceCode (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", ...value }) - return this - } - - public setDependency (input: ELMLibrary_RelatedArtifact_DependencySliceInput): this { - const match = {"type":"depends-on"} as Record - const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact - const list = (this.resource.relatedArtifact ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setElmXmlContent (input: ELMLibrary_Content_ElmXmlContentSliceInput): this { - const match = {"contentType":"application/elm+xml"} as Record - const value = applySliceMatch(input as Record, match) as unknown as Attachment - const list = (this.resource.content ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setElmJsonContent (input: ELMLibrary_Content_ElmJsonContentSliceInput): this { - const match = {"contentType":"application/elm+json"} as Record - const value = applySliceMatch(input as Record, match) as unknown as Attachment - const list = (this.resource.content ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - - public getDirectReferenceCode (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") - } - - public getDependency (): ELMLibrary_RelatedArtifact_DependencySliceInput | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as ELMLibrary_RelatedArtifact_DependencySliceInput - } - - public getDependencyRaw (): RelatedArtifact | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getElmXmlContent (): ELMLibrary_Content_ElmXmlContentSliceInput | undefined { - const match = {"contentType":"application/elm+xml"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["contentType"]) as ELMLibrary_Content_ElmXmlContentSliceInput - } - - public getElmXmlContentRaw (): Attachment | undefined { - const match = {"contentType":"application/elm+xml"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getElmJsonContent (): ELMLibrary_Content_ElmJsonContentSliceInput | undefined { - const match = {"contentType":"application/elm+json"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["contentType"]) as ELMLibrary_Content_ElmJsonContentSliceInput - } - - public getElmJsonContentRaw (): Attachment | undefined { - const match = {"contentType":"application/elm+json"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ExampleLipidProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ExampleLipidProfile.ts deleted file mode 100644 index 3108d4437..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ExampleLipidProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { ObservationReferenceRange } from "../../hl7-fhir-r5-core/Observation"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ldlcholesterol -export interface ExampleLipidProfile extends Observation { - referenceRange: ObservationReferenceRange[]; -} - -export class ExampleLipidProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : ExampleLipidProfile { - return this.resource as ExampleLipidProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ExecutableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ExecutableValueSet.ts deleted file mode 100644 index 86a387367..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ExecutableValueSet.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { ValueSet } from "../../hl7-fhir-r5-core/ValueSet"; -import type { ValueSetExpansion } from "../../hl7-fhir-r5-core/ValueSet"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/executablevalueset -export interface ExecutableValueSet extends ValueSet { - url: string; - version: string; - title: string; - experimental: boolean; - description: string; - expansion: ValueSetExpansion; -} - -export class ExecutableValueSetProfile { - private resource: ValueSet - - constructor (resource: ValueSet) { - this.resource = resource - } - - toResource () : ValueSet { - return this.resource - } - - toProfile () : ExecutableValueSet { - return this.resource as ExecutableValueSet - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setAuthoritativeSource (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", ...value }) - return this - } - - public setUsageWarning (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-warning", ...value }) - return this - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getAuthoritativeSource (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") - } - - public getUsageWarning (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-warning") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts deleted file mode 100644 index 766fae03f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts +++ /dev/null @@ -1,51 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { FamilyMemberHistory } from "../../hl7-fhir-r5-core/FamilyMemberHistory"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic -export class FamilyMemberHistoryForGeneticsAnalysisProfile { - private resource: FamilyMemberHistory - - constructor (resource: FamilyMemberHistory) { - this.resource = resource - } - - toResource () : FamilyMemberHistory { - return this.resource - } - - public setParent (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", ...value }) - return this - } - - public setSibling (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", ...value }) - return this - } - - public setObservations (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", ...value }) - return this - } - - public getParent (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent") - } - - public getSibling (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling") - } - - public getObservations (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistory_FamilyMemberHistoryForGeneticsAnalysis.ts similarity index 51% rename from examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistory_FamilyMemberHistoryForGeneticsAnalysis.ts index 0c834e9ac..c1dee355d 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/FamilyMemberHistoryForGeneticsAnalysis.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistory_FamilyMemberHistoryForGeneticsAnalysis.ts @@ -2,36 +2,72 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { FamilyMemberHistory } from "../../hl7-fhir-r4-core/FamilyMemberHistory"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { FamilyMemberHistory } from "../../hl7-fhir-r5-core/FamilyMemberHistory"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic -export type Family_member_history_for_genetics_analysis_ParentInput = { +export type FamilyMemberHistoryForGeneticsAnalysis_ParentInput = { type: CodeableConcept; reference: Reference; } -export type Family_member_history_for_genetics_analysis_SiblingInput = { +export type FamilyMemberHistoryForGeneticsAnalysis_SiblingInput = { type: CodeableConcept; reference: Reference; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FamilyMemberHistoryForGeneticsAnalysisProfileParams = { + relationship: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic (pkg: hl7.fhir.r5.core#5.0.0) +export class FamilyMemberHistoryForGeneticsAnalysisProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic" -export class Family_member_history_for_genetics_analysisProfile { private resource: FamilyMemberHistory constructor (resource: FamilyMemberHistory) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic")) profiles.push("http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic") + } + + static from (resource: FamilyMemberHistory) : FamilyMemberHistoryForGeneticsAnalysisProfile { + return new FamilyMemberHistoryForGeneticsAnalysisProfile(resource) + } + + static createResource (args: FamilyMemberHistoryForGeneticsAnalysisProfileParams) : FamilyMemberHistory { + const resource: FamilyMemberHistory = { + resourceType: "FamilyMemberHistory", + relationship: args.relationship, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic"] }, + } as unknown as FamilyMemberHistory + return resource + } + + static create (args: FamilyMemberHistoryForGeneticsAnalysisProfileParams) : FamilyMemberHistoryForGeneticsAnalysisProfile { + return FamilyMemberHistoryForGeneticsAnalysisProfile.from(FamilyMemberHistoryForGeneticsAnalysisProfile.createResource(args)) } toResource () : FamilyMemberHistory { return this.resource } - public setParent (input: Family_member_history_for_genetics_analysis_ParentInput): this { + getRelationship () : CodeableConcept | undefined { + return this.resource.relationship as CodeableConcept | undefined + } + + setRelationship (value: CodeableConcept) : this { + Object.assign(this.resource, { relationship: value }) + return this + } + + public setParent (input: FamilyMemberHistoryForGeneticsAnalysis_ParentInput): this { const subExtensions: Extension[] = [] if (input.type !== undefined) { subExtensions.push({ url: "type", valueCodeableConcept: input.type }) @@ -44,7 +80,7 @@ export class Family_member_history_for_genetics_analysisProfile { return this } - public setSibling (input: Family_member_history_for_genetics_analysis_SiblingInput): this { + public setSibling (input: FamilyMemberHistoryForGeneticsAnalysis_SiblingInput): this { const subExtensions: Extension[] = [] if (input.type !== undefined) { subExtensions.push({ url: "type", valueCodeableConcept: input.type }) @@ -57,17 +93,17 @@ export class Family_member_history_for_genetics_analysisProfile { return this } - public setObservation (value: Reference): this { + public setObservations (value: Reference): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", valueReference: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", valueReference: value } as Extension) return this } - public getParent (): Family_member_history_for_genetics_analysis_ParentInput | undefined { + public getParent (): FamilyMemberHistoryForGeneticsAnalysis_ParentInput | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent") if (!ext) return undefined const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "reference", valueField: "valueReference", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Family_member_history_for_genetics_analysis_ParentInput + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as FamilyMemberHistoryForGeneticsAnalysis_ParentInput } public getParentExtension (): Extension | undefined { @@ -75,11 +111,11 @@ export class Family_member_history_for_genetics_analysisProfile { return ext } - public getSibling (): Family_member_history_for_genetics_analysis_SiblingInput | undefined { + public getSibling (): FamilyMemberHistoryForGeneticsAnalysis_SiblingInput | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling") if (!ext) return undefined const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "reference", valueField: "valueReference", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Family_member_history_for_genetics_analysis_SiblingInput + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as FamilyMemberHistoryForGeneticsAnalysis_SiblingInput } public getSiblingExtension (): Extension | undefined { @@ -87,15 +123,22 @@ export class Family_member_history_for_genetics_analysisProfile { return ext } - public getObservation (): Reference | undefined { + public getObservations (): Reference | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") - return ext?.valueReference + return (ext as Record | undefined)?.valueReference as Reference | undefined } - public getObservationExtension (): Extension | undefined { + public getObservationsExtension (): Extension | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation") return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "relationship", "FamilyMemberHistoryForGeneticsAnalysis"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FhirpathLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FhirpathLibrary.ts deleted file mode 100644 index 15ce11eb1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FhirpathLibrary.ts +++ /dev/null @@ -1,139 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Library } from "../../hl7-fhir-r5-core/Library"; -import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/fhirpathlibrary -export interface FHIRPathLibrary extends Library { - url: string; - version: string; - title: string; - description: string; -} - -export type FHIRPathLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; -export type FHIRPathLibrary_Content_FhirPathContentSliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class FHIRPathLibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : FHIRPathLibrary { - return this.resource as FHIRPathLibrary - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public setDirectReferenceCode (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", ...value }) - return this - } - - public setDependency (input: FHIRPathLibrary_RelatedArtifact_DependencySliceInput): this { - const match = {"type":"depends-on"} as Record - const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact - const list = (this.resource.relatedArtifact ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setFhirPathContent (input: FHIRPathLibrary_Content_FhirPathContentSliceInput): this { - const match = {"contentType":"text/fhirpath"} as Record - const value = applySliceMatch(input as Record, match) as unknown as Attachment - const list = (this.resource.content ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - - public getDirectReferenceCode (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") - } - - public getDependency (): FHIRPathLibrary_RelatedArtifact_DependencySliceInput | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as FHIRPathLibrary_RelatedArtifact_DependencySliceInput - } - - public getDependencyRaw (): RelatedArtifact | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getFhirPathContent (): FHIRPathLibrary_Content_FhirPathContentSliceInput | undefined { - const match = {"contentType":"text/fhirpath"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["contentType"]) as FHIRPathLibrary_Content_FhirPathContentSliceInput - } - - public getFhirPathContentRaw (): Attachment | undefined { - const match = {"contentType":"text/fhirpath"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GroupDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GroupDefinition.ts deleted file mode 100644 index 88b503519..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GroupDefinition.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Group } from "../../hl7-fhir-r5-core/Group"; -import type { GroupCharacteristic } from "../../hl7-fhir-r5-core/Group"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/groupdefinition -export interface GroupDefinition extends Group { - characteristic: GroupCharacteristic[]; -} - -export class GroupDefinitionProfile { - private resource: Group - - constructor (resource: Group) { - this.resource = resource - } - - toResource () : Group { - return this.resource - } - - toProfile () : GroupDefinition { - return this.resource as GroupDefinition - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_ActualGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_ActualGroup.ts new file mode 100644 index 000000000..263802a7d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_ActualGroup.ts @@ -0,0 +1,62 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Group } from "../../hl7-fhir-r5-core/Group"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/actualgroup (pkg: hl7.fhir.r5.core#5.0.0) +export class ActualGroupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/actualgroup" + + private resource: Group + + constructor (resource: Group) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/actualgroup")) profiles.push("http://hl7.org/fhir/StructureDefinition/actualgroup") + } + + static from (resource: Group) : ActualGroupProfile { + return new ActualGroupProfile(resource) + } + + static createResource () : Group { + const resource: Group = { + resourceType: "Group", + membership: "enumerated", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/actualgroup"] }, + } as unknown as Group + return resource + } + + static create () : ActualGroupProfile { + return ActualGroupProfile.from(ActualGroupProfile.createResource()) + } + + toResource () : Group { + return this.resource + } + + getMembership () : string | undefined { + return this.resource.membership as string | undefined + } + + setMembership (value: string) : this { + Object.assign(this.resource, { membership: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "membership", "ActualGroup"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "membership", "enumerated", "ActualGroup"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_GroupDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_GroupDefinition.ts new file mode 100644 index 000000000..7a675e5a7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_GroupDefinition.ts @@ -0,0 +1,86 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Group } from "../../hl7-fhir-r5-core/Group"; +import type { GroupCharacteristic } from "../../hl7-fhir-r5-core/Group"; + +export interface GroupDefinition extends Group { + characteristic: GroupCharacteristic[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GroupDefinitionProfileParams = { + characteristic: GroupCharacteristic[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/groupdefinition (pkg: hl7.fhir.r5.core#5.0.0) +export class GroupDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/groupdefinition" + + private resource: Group + + constructor (resource: Group) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/groupdefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/groupdefinition") + } + + static from (resource: Group) : GroupDefinitionProfile { + return new GroupDefinitionProfile(resource) + } + + static createResource (args: GroupDefinitionProfileParams) : Group { + const resource: Group = { + resourceType: "Group", + membership: "definitional", + characteristic: args.characteristic, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/groupdefinition"] }, + } as unknown as Group + return resource + } + + static create (args: GroupDefinitionProfileParams) : GroupDefinitionProfile { + return GroupDefinitionProfile.from(GroupDefinitionProfile.createResource(args)) + } + + toResource () : Group { + return this.resource + } + + getCharacteristic () : GroupCharacteristic[] | undefined { + return this.resource.characteristic as GroupCharacteristic[] | undefined + } + + setCharacteristic (value: GroupCharacteristic[]) : this { + Object.assign(this.resource, { characteristic: value }) + return this + } + + getMembership () : string | undefined { + return this.resource.membership as string | undefined + } + + setMembership (value: string) : this { + Object.assign(this.resource, { membership: value }) + return this + } + + toProfile () : GroupDefinition { + return this.resource as GroupDefinition + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "membership", "GroupDefinition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "membership", "definitional", "GroupDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "characteristic", "GroupDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GuidanceResponse_CDSHooksGuidanceResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GuidanceResponse_CDSHooksGuidanceResponse.ts new file mode 100644 index 000000000..0b6dba179 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GuidanceResponse_CDSHooksGuidanceResponse.ts @@ -0,0 +1,117 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { GuidanceResponse } from "../../hl7-fhir-r5-core/GuidanceResponse"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +export interface CDSHooksGuidanceResponse extends GuidanceResponse { + requestIdentifier: Identifier; + identifier: Identifier[]; + moduleUri: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CDSHooksGuidanceResponseProfileParams = { + requestIdentifier: Identifier; + identifier: Identifier[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse (pkg: hl7.fhir.r5.core#5.0.0) +export class CDSHooksGuidanceResponseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse" + + private resource: GuidanceResponse + + constructor (resource: GuidanceResponse) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse") + } + + static from (resource: GuidanceResponse) : CDSHooksGuidanceResponseProfile { + return new CDSHooksGuidanceResponseProfile(resource) + } + + static createResource (args: CDSHooksGuidanceResponseProfileParams) : GuidanceResponse { + const resource: GuidanceResponse = { + resourceType: "GuidanceResponse", + requestIdentifier: args.requestIdentifier, + identifier: args.identifier, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse"] }, + } as unknown as GuidanceResponse + return resource + } + + static create (args: CDSHooksGuidanceResponseProfileParams) : CDSHooksGuidanceResponseProfile { + return CDSHooksGuidanceResponseProfile.from(CDSHooksGuidanceResponseProfile.createResource(args)) + } + + toResource () : GuidanceResponse { + return this.resource + } + + getRequestIdentifier () : Identifier | undefined { + return this.resource.requestIdentifier as Identifier | undefined + } + + setRequestIdentifier (value: Identifier) : this { + Object.assign(this.resource, { requestIdentifier: value }) + return this + } + + getIdentifier () : Identifier[] | undefined { + return this.resource.identifier as Identifier[] | undefined + } + + setIdentifier (value: Identifier[]) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getModuleUri () : string | undefined { + return this.resource.moduleUri as string | undefined + } + + setModuleUri (value: string) : this { + Object.assign(this.resource, { moduleUri: value }) + return this + } + + toProfile () : CDSHooksGuidanceResponse { + return this.resource as CDSHooksGuidanceResponse + } + + public setCdsHooksEndpoint (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value } as Extension) + return this + } + + public getCdsHooksEndpoint (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getCdsHooksEndpointExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "requestIdentifier", "CDSHooksGuidanceResponse"); if (e) errors.push(e) } + { const e = validateRequired(r, "identifier", "CDSHooksGuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","Patient"], "subject", "CDSHooksGuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["Device"], "performer", "CDSHooksGuidanceResponse"); if (e) errors.push(e) } + { const e = validateReference(r["result"], ["Appointment","AppointmentResponse","CarePlan","Claim","CommunicationRequest","Contract","CoverageEligibilityRequest","DeviceRequest","EnrollmentRequest","ImmunizationRecommendation","MedicationRequest","NutritionOrder","RequestOrchestration","ServiceRequest","SupplyRequest","Task","VisionPrescription"], "result", "CDSHooksGuidanceResponse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_CQLLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_CQLLibrary.ts new file mode 100644 index 000000000..b5ee85fdb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_CQLLibrary.ts @@ -0,0 +1,305 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Library } from "../../hl7-fhir-r5-core/Library"; +import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; + +export interface CQLLibrary extends Library { + url: string; + version: string; + title: string; + description: string; +} + +export type CQLLibrary_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +export type CQLLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; +export type CQLLibrary_Content_CqlContentSliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractComplexExtension, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQLLibraryProfileParams = { + url: string; + version: string; + title: string; + description: string; + content?: Attachment[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqllibrary (pkg: hl7.fhir.r5.core#5.0.0) +export class CQLLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqllibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cqllibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/cqllibrary") + } + + static from (resource: Library) : CQLLibraryProfile { + return new CQLLibraryProfile(resource) + } + + static createResource (args: CQLLibraryProfileParams) : Library { + const contentDefaults = [{"contentType":"text/cql"}] as unknown[] + const contentWithDefaults = [...(args.content ?? [])] as unknown[] + if (!contentWithDefaults.some(item => matchesSlice(item, {"contentType":"text/cql"} as Record))) contentWithDefaults.push(contentDefaults[0]!) + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"module-definition"}]}, + content: contentWithDefaults, + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cqllibrary"] }, + } as unknown as Library + return resource + } + + static create (args: CQLLibraryProfileParams) : CQLLibraryProfile { + return CQLLibraryProfile.from(CQLLibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getContent () : Attachment[] | undefined { + return this.resource.content as Attachment[] | undefined + } + + setContent (value: Attachment[]) : this { + Object.assign(this.resource, { content: value }) + return this + } + + toProfile () : CQLLibrary { + return this.resource as CQLLibrary + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: CQLLibrary_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public setDirectReferenceCode (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", valueCoding: value } as Extension) + return this + } + + public setDependency (input: CQLLibrary_RelatedArtifact_DependencySliceInput): this { + const match = {"type":"depends-on"} as Record + const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact + const list = (this.resource.relatedArtifact ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setCqlContent (input: CQLLibrary_Content_CqlContentSliceInput): this { + const match = {"contentType":"text/cql"} as Record + const value = applySliceMatch(input as Record, match) as unknown as Attachment + const list = (this.resource.content ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): CQLLibrary_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as CQLLibrary_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + public getDirectReferenceCode (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getDirectReferenceCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return ext + } + + public getDependency (): CQLLibrary_RelatedArtifact_DependencySliceInput | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as CQLLibrary_RelatedArtifact_DependencySliceInput + } + + public getDependencyRaw (): RelatedArtifact | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getCqlContent (): CQLLibrary_Content_CqlContentSliceInput | undefined { + const match = {"contentType":"text/cql"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["contentType"]) as CQLLibrary_Content_CqlContentSliceInput + } + + public getCqlContentRaw (): Attachment | undefined { + const match = {"contentType":"text/cql"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQLLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "CQLLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "CQLLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "CQLLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "CQLLibrary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"module-definition"}]}, "CQLLibrary"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["content"] as unknown[] | undefined, {"contentType":"text/cql"}, "cqlContent", 1, 1, "CQLLibrary.content")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ELMLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ELMLibrary.ts new file mode 100644 index 000000000..1bceda31d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ELMLibrary.ts @@ -0,0 +1,321 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Library } from "../../hl7-fhir-r5-core/Library"; +import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; + +export interface ELMLibrary extends Library { + url: string; + version: string; + title: string; + description: string; +} + +export type ELMLibrary_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +export type ELMLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; +export type ELMLibrary_Content_ElmXmlContentSliceInput = Omit & Required>; +export type ELMLibrary_Content_ElmJsonContentSliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractComplexExtension, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ELMLibraryProfileParams = { + url: string; + version: string; + title: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elmlibrary (pkg: hl7.fhir.r5.core#5.0.0) +export class ELMLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elmlibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/elmlibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/elmlibrary") + } + + static from (resource: Library) : ELMLibraryProfile { + return new ELMLibraryProfile(resource) + } + + static createResource (args: ELMLibraryProfileParams) : Library { + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"module-definition"}]}, + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/elmlibrary"] }, + } as unknown as Library + return resource + } + + static create (args: ELMLibraryProfileParams) : ELMLibraryProfile { + return ELMLibraryProfile.from(ELMLibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : ELMLibrary { + return this.resource as ELMLibrary + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: ELMLibrary_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public setDirectReferenceCode (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", valueCoding: value } as Extension) + return this + } + + public setDependency (input: ELMLibrary_RelatedArtifact_DependencySliceInput): this { + const match = {"type":"depends-on"} as Record + const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact + const list = (this.resource.relatedArtifact ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setElmXmlContent (input: ELMLibrary_Content_ElmXmlContentSliceInput): this { + const match = {"contentType":"application/elm+xml"} as Record + const value = applySliceMatch(input as Record, match) as unknown as Attachment + const list = (this.resource.content ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setElmJsonContent (input: ELMLibrary_Content_ElmJsonContentSliceInput): this { + const match = {"contentType":"application/elm+json"} as Record + const value = applySliceMatch(input as Record, match) as unknown as Attachment + const list = (this.resource.content ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): ELMLibrary_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ELMLibrary_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + public getDirectReferenceCode (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getDirectReferenceCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return ext + } + + public getDependency (): ELMLibrary_RelatedArtifact_DependencySliceInput | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as ELMLibrary_RelatedArtifact_DependencySliceInput + } + + public getDependencyRaw (): RelatedArtifact | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getElmXmlContent (): ELMLibrary_Content_ElmXmlContentSliceInput | undefined { + const match = {"contentType":"application/elm+xml"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["contentType"]) as ELMLibrary_Content_ElmXmlContentSliceInput + } + + public getElmXmlContentRaw (): Attachment | undefined { + const match = {"contentType":"application/elm+xml"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getElmJsonContent (): ELMLibrary_Content_ElmJsonContentSliceInput | undefined { + const match = {"contentType":"application/elm+json"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["contentType"]) as ELMLibrary_Content_ElmJsonContentSliceInput + } + + public getElmJsonContentRaw (): Attachment | undefined { + const match = {"contentType":"application/elm+json"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ELMLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ELMLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ELMLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ELMLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "ELMLibrary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"module-definition"}]}, "ELMLibrary"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_FHIRPathLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_FHIRPathLibrary.ts new file mode 100644 index 000000000..7f464b165 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_FHIRPathLibrary.ts @@ -0,0 +1,305 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Library } from "../../hl7-fhir-r5-core/Library"; +import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; + +export interface FHIRPathLibrary extends Library { + url: string; + version: string; + title: string; + description: string; +} + +export type FHIRPathLibrary_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +export type FHIRPathLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; +export type FHIRPathLibrary_Content_FhirPathContentSliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractComplexExtension, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FHIRPathLibraryProfileParams = { + url: string; + version: string; + title: string; + description: string; + content?: Attachment[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/fhirpathlibrary (pkg: hl7.fhir.r5.core#5.0.0) +export class FHIRPathLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/fhirpathlibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/fhirpathlibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/fhirpathlibrary") + } + + static from (resource: Library) : FHIRPathLibraryProfile { + return new FHIRPathLibraryProfile(resource) + } + + static createResource (args: FHIRPathLibraryProfileParams) : Library { + const contentDefaults = [{"contentType":"text/fhirpath"}] as unknown[] + const contentWithDefaults = [...(args.content ?? [])] as unknown[] + if (!contentWithDefaults.some(item => matchesSlice(item, {"contentType":"text/fhirpath"} as Record))) contentWithDefaults.push(contentDefaults[0]!) + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"module-definition"}]}, + content: contentWithDefaults, + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/fhirpathlibrary"] }, + } as unknown as Library + return resource + } + + static create (args: FHIRPathLibraryProfileParams) : FHIRPathLibraryProfile { + return FHIRPathLibraryProfile.from(FHIRPathLibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getContent () : Attachment[] | undefined { + return this.resource.content as Attachment[] | undefined + } + + setContent (value: Attachment[]) : this { + Object.assign(this.resource, { content: value }) + return this + } + + toProfile () : FHIRPathLibrary { + return this.resource as FHIRPathLibrary + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: FHIRPathLibrary_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public setDirectReferenceCode (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", valueCoding: value } as Extension) + return this + } + + public setDependency (input: FHIRPathLibrary_RelatedArtifact_DependencySliceInput): this { + const match = {"type":"depends-on"} as Record + const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact + const list = (this.resource.relatedArtifact ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setFhirPathContent (input: FHIRPathLibrary_Content_FhirPathContentSliceInput): this { + const match = {"contentType":"text/fhirpath"} as Record + const value = applySliceMatch(input as Record, match) as unknown as Attachment + const list = (this.resource.content ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): FHIRPathLibrary_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as FHIRPathLibrary_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + public getDirectReferenceCode (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getDirectReferenceCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return ext + } + + public getDependency (): FHIRPathLibrary_RelatedArtifact_DependencySliceInput | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as FHIRPathLibrary_RelatedArtifact_DependencySliceInput + } + + public getDependencyRaw (): RelatedArtifact | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getFhirPathContent (): FHIRPathLibrary_Content_FhirPathContentSliceInput | undefined { + const match = {"contentType":"text/fhirpath"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["contentType"]) as FHIRPathLibrary_Content_FhirPathContentSliceInput + } + + public getFhirPathContentRaw (): Attachment | undefined { + const match = {"contentType":"text/fhirpath"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FHIRPathLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "FHIRPathLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "FHIRPathLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "FHIRPathLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "FHIRPathLibrary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"module-definition"}]}, "FHIRPathLibrary"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["content"] as unknown[] | undefined, {"contentType":"text/fhirpath"}, "fhirPathContent", 1, 0, "FHIRPathLibrary.content")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_LogicLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_LogicLibrary.ts new file mode 100644 index 000000000..663b9b59b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_LogicLibrary.ts @@ -0,0 +1,258 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Library } from "../../hl7-fhir-r5-core/Library"; +import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; + +export interface LogicLibrary extends Library { + url: string; + version: string; + title: string; + description: string; +} + +export type LogicLibrary_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +export type LogicLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractComplexExtension, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LogicLibraryProfileParams = { + url: string; + version: string; + title: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/logiclibrary (pkg: hl7.fhir.r5.core#5.0.0) +export class LogicLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/logiclibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/logiclibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/logiclibrary") + } + + static from (resource: Library) : LogicLibraryProfile { + return new LogicLibraryProfile(resource) + } + + static createResource (args: LogicLibraryProfileParams) : Library { + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"module-definition"}]}, + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/logiclibrary"] }, + } as unknown as Library + return resource + } + + static create (args: LogicLibraryProfileParams) : LogicLibraryProfile { + return LogicLibraryProfile.from(LogicLibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : LogicLibrary { + return this.resource as LogicLibrary + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: LogicLibrary_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public setDirectReferenceCode (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", valueCoding: value } as Extension) + return this + } + + public setDependency (input: LogicLibrary_RelatedArtifact_DependencySliceInput): this { + const match = {"type":"depends-on"} as Record + const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact + const list = (this.resource.relatedArtifact ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): LogicLibrary_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as LogicLibrary_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + public getDirectReferenceCode (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getDirectReferenceCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return ext + } + + public getDependency (): LogicLibrary_RelatedArtifact_DependencySliceInput | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as LogicLibrary_RelatedArtifact_DependencySliceInput + } + + public getDependencyRaw (): RelatedArtifact | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LogicLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "LogicLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "LogicLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "LogicLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "LogicLibrary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"module-definition"}]}, "LogicLibrary"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModelInfoLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModelInfoLibrary.ts new file mode 100644 index 000000000..fb60af139 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModelInfoLibrary.ts @@ -0,0 +1,272 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Library } from "../../hl7-fhir-r5-core/Library"; + +export interface ModelInfoLibrary extends Library { + url: string; + version: string; + title: string; + description: string; +} + +export type ModelInfoLibrary_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +export type ModelInfoLibrary_Content_ModelInfoXmlContentSliceInput = Omit & Required>; +export type ModelInfoLibrary_Content_ModelInfoJsonContentSliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractComplexExtension, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ModelInfoLibraryProfileParams = { + url: string; + version: string; + title: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/modelinfolibrary (pkg: hl7.fhir.r5.core#5.0.0) +export class ModelInfoLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/modelinfolibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/modelinfolibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/modelinfolibrary") + } + + static from (resource: Library) : ModelInfoLibraryProfile { + return new ModelInfoLibraryProfile(resource) + } + + static createResource (args: ModelInfoLibraryProfileParams) : Library { + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"model-definition"}]}, + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/modelinfolibrary"] }, + } as unknown as Library + return resource + } + + static create (args: ModelInfoLibraryProfileParams) : ModelInfoLibraryProfile { + return ModelInfoLibraryProfile.from(ModelInfoLibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : ModelInfoLibrary { + return this.resource as ModelInfoLibrary + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: ModelInfoLibrary_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public setModelInfoXmlContent (input: ModelInfoLibrary_Content_ModelInfoXmlContentSliceInput): this { + const match = {"contentType":"application/xml"} as Record + const value = applySliceMatch(input as Record, match) as unknown as Attachment + const list = (this.resource.content ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setModelInfoJsonContent (input: ModelInfoLibrary_Content_ModelInfoJsonContentSliceInput): this { + const match = {"contentType":"application/json"} as Record + const value = applySliceMatch(input as Record, match) as unknown as Attachment + const list = (this.resource.content ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): ModelInfoLibrary_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ModelInfoLibrary_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + public getModelInfoXmlContent (): ModelInfoLibrary_Content_ModelInfoXmlContentSliceInput | undefined { + const match = {"contentType":"application/xml"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["contentType"]) as ModelInfoLibrary_Content_ModelInfoXmlContentSliceInput + } + + public getModelInfoXmlContentRaw (): Attachment | undefined { + const match = {"contentType":"application/xml"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getModelInfoJsonContent (): ModelInfoLibrary_Content_ModelInfoJsonContentSliceInput | undefined { + const match = {"contentType":"application/json"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["contentType"]) as ModelInfoLibrary_Content_ModelInfoJsonContentSliceInput + } + + public getModelInfoJsonContentRaw (): Attachment | undefined { + const match = {"contentType":"application/json"} as Record + const list = this.resource.content + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ModelInfoLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ModelInfoLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ModelInfoLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "ModelInfoLibrary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"model-definition"}]}, "ModelInfoLibrary"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModuleDefinitionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModuleDefinitionLibrary.ts new file mode 100644 index 000000000..56d8ea57d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModuleDefinitionLibrary.ts @@ -0,0 +1,317 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Library } from "../../hl7-fhir-r5-core/Library"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; +import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; + +export interface ModuleDefinitionLibrary extends Library { + url: string; + version: string; + title: string; + description: string; +} + +export type ModuleDefinitionLibrary_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +export type ModuleDefinitionLibrary_LogicDefinitionInput = { + libraryName: string; + name: string; + statement: string; + displayCategory?: string; + displaySequence?: number; +} + +export type ModuleDefinitionLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractComplexExtension, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ModuleDefinitionLibraryProfileParams = { + url: string; + version: string; + title: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary (pkg: hl7.fhir.r5.core#5.0.0) +export class ModuleDefinitionLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary") + } + + static from (resource: Library) : ModuleDefinitionLibraryProfile { + return new ModuleDefinitionLibraryProfile(resource) + } + + static createResource (args: ModuleDefinitionLibraryProfileParams) : Library { + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library"}]}, + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary"] }, + } as unknown as Library + return resource + } + + static create (args: ModuleDefinitionLibraryProfileParams) : ModuleDefinitionLibraryProfile { + return ModuleDefinitionLibraryProfile.from(ModuleDefinitionLibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : ModuleDefinitionLibrary { + return this.resource as ModuleDefinitionLibrary + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: ModuleDefinitionLibrary_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public setInputParameters (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters", valueReference: value } as Extension) + return this + } + + public setDirectReferenceCode (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", valueCoding: value } as Extension) + return this + } + + public setLogicDefinition (input: ModuleDefinitionLibrary_LogicDefinitionInput): this { + const subExtensions: Extension[] = [] + if (input.libraryName !== undefined) { + subExtensions.push({ url: "libraryName", valueString: input.libraryName }) + } + if (input.name !== undefined) { + subExtensions.push({ url: "name", valueString: input.name }) + } + if (input.statement !== undefined) { + subExtensions.push({ url: "statement", valueString: input.statement }) + } + if (input.displayCategory !== undefined) { + subExtensions.push({ url: "displayCategory", valueString: input.displayCategory }) + } + if (input.displaySequence !== undefined) { + subExtensions.push({ url: "displaySequence", valueInteger: input.displaySequence }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", extension: subExtensions }) + return this + } + + public setDependency (input: ModuleDefinitionLibrary_RelatedArtifact_DependencySliceInput): this { + const match = {"type":"depends-on"} as Record + const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact + const list = (this.resource.relatedArtifact ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): ModuleDefinitionLibrary_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ModuleDefinitionLibrary_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + public getInputParameters (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getInputParametersExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters") + return ext + } + + public getDirectReferenceCode (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getDirectReferenceCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") + return ext + } + + public getLogicDefinition (): ModuleDefinitionLibrary_LogicDefinitionInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition") + if (!ext) return undefined + const config = [{ name: "libraryName", valueField: "valueString", isArray: false }, { name: "name", valueField: "valueString", isArray: false }, { name: "statement", valueField: "valueString", isArray: false }, { name: "displayCategory", valueField: "valueString", isArray: false }, { name: "displaySequence", valueField: "valueInteger", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ModuleDefinitionLibrary_LogicDefinitionInput + } + + public getLogicDefinitionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition") + return ext + } + + public getDependency (): ModuleDefinitionLibrary_RelatedArtifact_DependencySliceInput | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as ModuleDefinitionLibrary_RelatedArtifact_DependencySliceInput + } + + public getDependencyRaw (): RelatedArtifact | undefined { + const match = {"type":"depends-on"} as Record + const list = this.resource.relatedArtifact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModuleDefinitionLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ModuleDefinitionLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ModuleDefinitionLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ModuleDefinitionLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "ModuleDefinitionLibrary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library"}]}, "ModuleDefinitionLibrary"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_PublishableLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_PublishableLibrary.ts new file mode 100644 index 000000000..79023b1c1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_PublishableLibrary.ts @@ -0,0 +1,263 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Library } from "../../hl7-fhir-r5-core/Library"; + +export interface PublishableLibrary extends Library { + url: string; + version: string; + title: string; + description: string; + date: string; +} + +export type PublishableLibrary_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +export type PublishableLibrary_LogicDefinitionInput = { + libraryName: string; + name: string; + statement: string; + displayCategory?: string; + displaySequence?: number; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublishableLibraryProfileParams = { + url: string; + version: string; + title: string; + description: string; + type: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishablelibrary (pkg: hl7.fhir.r5.core#5.0.0) +export class PublishableLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/publishablelibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/publishablelibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/publishablelibrary") + } + + static from (resource: Library) : PublishableLibraryProfile { + return new PublishableLibraryProfile(resource) + } + + static createResource (args: PublishableLibraryProfileParams) : Library { + const resource: Library = { + resourceType: "Library", + url: args.url, + version: args.version, + title: args.title, + description: args.description, + type: args.type, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/publishablelibrary"] }, + } as unknown as Library + return resource + } + + static create (args: PublishableLibraryProfileParams) : PublishableLibraryProfile { + return PublishableLibraryProfile.from(PublishableLibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + toProfile () : PublishableLibrary { + return this.resource as PublishableLibrary + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: PublishableLibrary_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public setLogicDefinition (input: PublishableLibrary_LogicDefinitionInput): this { + const subExtensions: Extension[] = [] + if (input.libraryName !== undefined) { + subExtensions.push({ url: "libraryName", valueString: input.libraryName }) + } + if (input.name !== undefined) { + subExtensions.push({ url: "name", valueString: input.name }) + } + if (input.statement !== undefined) { + subExtensions.push({ url: "statement", valueString: input.statement }) + } + if (input.displayCategory !== undefined) { + subExtensions.push({ url: "displayCategory", valueString: input.displayCategory }) + } + if (input.displaySequence !== undefined) { + subExtensions.push({ url: "displaySequence", valueInteger: input.displaySequence }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", extension: subExtensions }) + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): PublishableLibrary_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as PublishableLibrary_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + public getLogicDefinition (): PublishableLibrary_LogicDefinitionInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition") + if (!ext) return undefined + const config = [{ name: "libraryName", valueField: "valueString", isArray: false }, { name: "name", valueField: "valueString", isArray: false }, { name: "statement", valueField: "valueString", isArray: false }, { name: "displayCategory", valueField: "valueString", isArray: false }, { name: "displaySequence", valueField: "valueInteger", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as PublishableLibrary_LogicDefinitionInput + } + + public getLogicDefinitionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublishableLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "PublishableLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "PublishableLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "PublishableLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "PublishableLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "PublishableLibrary"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ShareableLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ShareableLibrary.ts new file mode 100644 index 000000000..debf5b103 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ShareableLibrary.ts @@ -0,0 +1,195 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Library } from "../../hl7-fhir-r5-core/Library"; + +export interface ShareableLibrary extends Library { + url: string; + version: string; + title: string; + description: string; +} + +export type ShareableLibrary_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShareableLibraryProfileParams = { + url: string; + version: string; + title: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablelibrary (pkg: hl7.fhir.r5.core#5.0.0) +export class ShareableLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablelibrary" + + private resource: Library + + constructor (resource: Library) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablelibrary")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablelibrary") + } + + static from (resource: Library) : ShareableLibraryProfile { + return new ShareableLibraryProfile(resource) + } + + static createResource (args: ShareableLibraryProfileParams) : Library { + const resource: Library = { + resourceType: "Library", + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablelibrary"] }, + } as unknown as Library + return resource + } + + static create (args: ShareableLibraryProfileParams) : ShareableLibraryProfile { + return ShareableLibraryProfile.from(ShareableLibraryProfile.createResource(args)) + } + + toResource () : Library { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ShareableLibrary { + return this.resource as ShareableLibrary + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: ShareableLibrary_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): ShareableLibrary_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ShareableLibrary_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShareableLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ShareableLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ShareableLibrary"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ShareableLibrary"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/LogicLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/LogicLibrary.ts deleted file mode 100644 index 52b26e209..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/LogicLibrary.ts +++ /dev/null @@ -1,107 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Library } from "../../hl7-fhir-r5-core/Library"; -import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/logiclibrary -export interface LogicLibrary extends Library { - url: string; - version: string; - title: string; - description: string; -} - -export type LogicLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class LogicLibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : LogicLibrary { - return this.resource as LogicLibrary - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public setDirectReferenceCode (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", ...value }) - return this - } - - public setDependency (input: LogicLibrary_RelatedArtifact_DependencySliceInput): this { - const match = {"type":"depends-on"} as Record - const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact - const list = (this.resource.relatedArtifact ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - - public getDirectReferenceCode (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") - } - - public getDependency (): LogicLibrary_RelatedArtifact_DependencySliceInput | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as LogicLibrary_RelatedArtifact_DependencySliceInput - } - - public getDependencyRaw (): RelatedArtifact | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_PublishableMeasure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_PublishableMeasure.ts new file mode 100644 index 000000000..4ce11385c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_PublishableMeasure.ts @@ -0,0 +1,208 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Measure } from "../../hl7-fhir-r5-core/Measure"; + +export interface PublishableMeasure extends Measure { + url: string; + version: string; + title: string; + description: string; + date: string; +} + +export type PublishableMeasure_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublishableMeasureProfileParams = { + url: string; + version: string; + title: string; + description: string; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishablemeasure (pkg: hl7.fhir.r5.core#5.0.0) +export class PublishableMeasureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/publishablemeasure" + + private resource: Measure + + constructor (resource: Measure) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/publishablemeasure")) profiles.push("http://hl7.org/fhir/StructureDefinition/publishablemeasure") + } + + static from (resource: Measure) : PublishableMeasureProfile { + return new PublishableMeasureProfile(resource) + } + + static createResource (args: PublishableMeasureProfileParams) : Measure { + const resource: Measure = { + resourceType: "Measure", + url: args.url, + version: args.version, + title: args.title, + description: args.description, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/publishablemeasure"] }, + } as unknown as Measure + return resource + } + + static create (args: PublishableMeasureProfileParams) : PublishableMeasureProfile { + return PublishableMeasureProfile.from(PublishableMeasureProfile.createResource(args)) + } + + toResource () : Measure { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + toProfile () : PublishableMeasure { + return this.resource as PublishableMeasure + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: PublishableMeasure_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): PublishableMeasure_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as PublishableMeasure_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublishableMeasure"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "PublishableMeasure"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "PublishableMeasure"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "PublishableMeasure"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "PublishableMeasure"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_ShareableMeasure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_ShareableMeasure.ts new file mode 100644 index 000000000..70dc3cba1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_ShareableMeasure.ts @@ -0,0 +1,195 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Measure } from "../../hl7-fhir-r5-core/Measure"; + +export interface ShareableMeasure extends Measure { + url: string; + version: string; + title: string; + description: string; +} + +export type ShareableMeasure_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShareableMeasureProfileParams = { + url: string; + version: string; + title: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablemeasure (pkg: hl7.fhir.r5.core#5.0.0) +export class ShareableMeasureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablemeasure" + + private resource: Measure + + constructor (resource: Measure) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablemeasure")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablemeasure") + } + + static from (resource: Measure) : ShareableMeasureProfile { + return new ShareableMeasureProfile(resource) + } + + static createResource (args: ShareableMeasureProfileParams) : Measure { + const resource: Measure = { + resourceType: "Measure", + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablemeasure"] }, + } as unknown as Measure + return resource + } + + static create (args: ShareableMeasureProfileParams) : ShareableMeasureProfile { + return ShareableMeasureProfile.from(ShareableMeasureProfile.createResource(args)) + } + + toResource () : Measure { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ShareableMeasure { + return this.resource as ShareableMeasure + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: ShareableMeasure_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): ShareableMeasure_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ShareableMeasure_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShareableMeasure"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ShareableMeasure"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ShareableMeasure"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ShareableMeasure"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ModelInfoLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ModelInfoLibrary.ts deleted file mode 100644 index f2163653e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ModelInfoLibrary.ts +++ /dev/null @@ -1,128 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Library } from "../../hl7-fhir-r5-core/Library"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/modelinfolibrary -export interface ModelInfoLibrary extends Library { - url: string; - version: string; - title: string; - description: string; -} - -export type ModelInfoLibrary_Content_ModelInfoXmlContentSliceInput = Omit & Required>; -export type ModelInfoLibrary_Content_ModelInfoJsonContentSliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ModelInfoLibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : ModelInfoLibrary { - return this.resource as ModelInfoLibrary - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public setModelInfoXmlContent (input: ModelInfoLibrary_Content_ModelInfoXmlContentSliceInput): this { - const match = {"contentType":"application/xml"} as Record - const value = applySliceMatch(input as Record, match) as unknown as Attachment - const list = (this.resource.content ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setModelInfoJsonContent (input: ModelInfoLibrary_Content_ModelInfoJsonContentSliceInput): this { - const match = {"contentType":"application/json"} as Record - const value = applySliceMatch(input as Record, match) as unknown as Attachment - const list = (this.resource.content ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - - public getModelInfoXmlContent (): ModelInfoLibrary_Content_ModelInfoXmlContentSliceInput | undefined { - const match = {"contentType":"application/xml"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["contentType"]) as ModelInfoLibrary_Content_ModelInfoXmlContentSliceInput - } - - public getModelInfoXmlContentRaw (): Attachment | undefined { - const match = {"contentType":"application/xml"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getModelInfoJsonContent (): ModelInfoLibrary_Content_ModelInfoJsonContentSliceInput | undefined { - const match = {"contentType":"application/json"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["contentType"]) as ModelInfoLibrary_Content_ModelInfoJsonContentSliceInput - } - - public getModelInfoJsonContentRaw (): Attachment | undefined { - const match = {"contentType":"application/json"} as Record - const list = this.resource.content - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ModuleDefinitionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ModuleDefinitionLibrary.ts deleted file mode 100644 index 31804c59c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ModuleDefinitionLibrary.ts +++ /dev/null @@ -1,127 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Library } from "../../hl7-fhir-r5-core/Library"; -import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary -export interface ModuleDefinitionLibrary extends Library { - url: string; - version: string; - title: string; - description: string; -} - -export type ModuleDefinitionLibrary_RelatedArtifact_DependencySliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ModuleDefinitionLibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : ModuleDefinitionLibrary { - return this.resource as ModuleDefinitionLibrary - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public setInputParameters (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters", ...value }) - return this - } - - public setDirectReferenceCode (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", ...value }) - return this - } - - public setLogicDefinition (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", ...value }) - return this - } - - public setDependency (input: ModuleDefinitionLibrary_RelatedArtifact_DependencySliceInput): this { - const match = {"type":"depends-on"} as Record - const value = applySliceMatch(input as Record, match) as unknown as RelatedArtifact - const list = (this.resource.relatedArtifact ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - - public getInputParameters (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters") - } - - public getDirectReferenceCode (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode") - } - - public getLogicDefinition (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition") - } - - public getDependency (): ModuleDefinitionLibrary_RelatedArtifact_DependencySliceInput | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as ModuleDefinitionLibrary_RelatedArtifact_DependencySliceInput - } - - public getDependencyRaw (): RelatedArtifact | undefined { - const match = {"type":"depends-on"} as Record - const list = this.resource.relatedArtifact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_PublishableNamingSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_PublishableNamingSystem.ts new file mode 100644 index 000000000..7b18bae47 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_PublishableNamingSystem.ts @@ -0,0 +1,166 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { NamingSystem } from "../../hl7-fhir-r5-core/NamingSystem"; + +export interface PublishableNamingSystem extends NamingSystem { + url: string; + version: string; + title: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublishableNamingSystemProfileParams = { + url: string; + version: string; + name: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + description: string; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishablenamingsystem (pkg: hl7.fhir.r5.core#5.0.0) +export class PublishableNamingSystemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/publishablenamingsystem" + + private resource: NamingSystem + + constructor (resource: NamingSystem) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/publishablenamingsystem")) profiles.push("http://hl7.org/fhir/StructureDefinition/publishablenamingsystem") + } + + static from (resource: NamingSystem) : PublishableNamingSystemProfile { + return new PublishableNamingSystemProfile(resource) + } + + static createResource (args: PublishableNamingSystemProfileParams) : NamingSystem { + const resource: NamingSystem = { + resourceType: "NamingSystem", + url: args.url, + version: args.version, + name: args.name, + title: args.title, + status: args.status, + description: args.description, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/publishablenamingsystem"] }, + } as unknown as NamingSystem + return resource + } + + static create (args: PublishableNamingSystemProfileParams) : PublishableNamingSystemProfile { + return PublishableNamingSystemProfile.from(PublishableNamingSystemProfile.createResource(args)) + } + + toResource () : NamingSystem { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + toProfile () : PublishableNamingSystem { + return this.resource as PublishableNamingSystem + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublishableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "PublishableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "PublishableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "PublishableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "PublishableNamingSystem"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "PublishableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "PublishableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "PublishableNamingSystem"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_ShareableNamingSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_ShareableNamingSystem.ts new file mode 100644 index 000000000..082aee455 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_ShareableNamingSystem.ts @@ -0,0 +1,154 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { NamingSystem } from "../../hl7-fhir-r5-core/NamingSystem"; + +export interface ShareableNamingSystem extends NamingSystem { + url: string; + version: string; + title: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShareableNamingSystemProfileParams = { + url: string; + version: string; + name: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablenamingsystem (pkg: hl7.fhir.r5.core#5.0.0) +export class ShareableNamingSystemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablenamingsystem" + + private resource: NamingSystem + + constructor (resource: NamingSystem) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablenamingsystem")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablenamingsystem") + } + + static from (resource: NamingSystem) : ShareableNamingSystemProfile { + return new ShareableNamingSystemProfile(resource) + } + + static createResource (args: ShareableNamingSystemProfileParams) : NamingSystem { + const resource: NamingSystem = { + resourceType: "NamingSystem", + url: args.url, + version: args.version, + name: args.name, + title: args.title, + status: args.status, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablenamingsystem"] }, + } as unknown as NamingSystem + return resource + } + + static create (args: ShareableNamingSystemProfileParams) : ShareableNamingSystemProfile { + return ShareableNamingSystemProfile.from(ShareableNamingSystemProfile.createResource(args)) + } + + toResource () : NamingSystem { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ShareableNamingSystem { + return this.resource as ShareableNamingSystem + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShareableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ShareableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "ShareableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ShareableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "ShareableNamingSystem"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "ShareableNamingSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ShareableNamingSystem"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_DeviceMetricObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_DeviceMetricObservationProfile.ts new file mode 100644 index 000000000..23e0fb1b0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_DeviceMetricObservationProfile.ts @@ -0,0 +1,218 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Range } from "../../hl7-fhir-r5-core/Range"; +import type { Ratio } from "../../hl7-fhir-r5-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r5-core/SampledData"; + +export interface DeviceMetricObservationProfile extends Observation { + subject: Reference<"Device" | "Patient">; + effectiveDateTime: string; + specimen?: Reference<"Specimen">; + device: Reference<"DeviceMetric">; + hasMember?: Reference<"Observation">[]; + derivedFrom?: Reference<"Observation">[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DeviceMetricObservationProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept; + subject: Reference<"Device" | "Patient">; + device: Reference<"DeviceMetric">; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicemetricobservation (pkg: hl7.fhir.r5.core#5.0.0) +export class DeviceMetricObservationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/devicemetricobservation" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/devicemetricobservation")) profiles.push("http://hl7.org/fhir/StructureDefinition/devicemetricobservation") + } + + static from (resource: Observation) : DeviceMetricObservationProfileProfile { + return new DeviceMetricObservationProfileProfile(resource) + } + + static createResource (args: DeviceMetricObservationProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + status: args.status, + code: args.code, + subject: args.subject, + device: args.device, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/devicemetricobservation"] }, + } as unknown as Observation + return resource + } + + static create (args: DeviceMetricObservationProfileProfileParams) : DeviceMetricObservationProfileProfile { + return DeviceMetricObservationProfileProfile.from(DeviceMetricObservationProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Patient"> | undefined { + return this.resource.subject as Reference<"Device" | "Patient"> | undefined + } + + setSubject (value: Reference<"Device" | "Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getDevice () : Reference<"DeviceMetric"> | undefined { + return this.resource.device as Reference<"DeviceMetric"> | undefined + } + + setDevice (value: Reference<"DeviceMetric">) : this { + Object.assign(this.resource, { device: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : DeviceMetricObservationProfile { + return this.resource as DeviceMetricObservationProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Patient"], "subject", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["Encounter"], "encounter", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["specimen"], ["Specimen"], "specimen", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "device", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["device"], ["DeviceMetric"], "device", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["Observation"], "hasMember", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["Observation"], "derivedFrom", "DeviceMetricObservationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_ExampleLipidProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_ExampleLipidProfile.ts new file mode 100644 index 000000000..c79823342 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_ExampleLipidProfile.ts @@ -0,0 +1,100 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { ObservationReferenceRange } from "../../hl7-fhir-r5-core/Observation"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; + +export interface ExampleLipidProfile extends Observation { + referenceRange: ObservationReferenceRange[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ExampleLipidProfileProfileParams = { + code: CodeableConcept<("18262-6" | "13457-7")>; + referenceRange: ObservationReferenceRange[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ldlcholesterol (pkg: hl7.fhir.r5.core#5.0.0) +export class ExampleLipidProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/ldlcholesterol" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/ldlcholesterol")) profiles.push("http://hl7.org/fhir/StructureDefinition/ldlcholesterol") + } + + static from (resource: Observation) : ExampleLipidProfileProfile { + return new ExampleLipidProfileProfile(resource) + } + + static createResource (args: ExampleLipidProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: args.code, + referenceRange: args.referenceRange, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/ldlcholesterol"] }, + } as unknown as Observation + return resource + } + + static create (args: ExampleLipidProfileProfileParams) : ExampleLipidProfileProfile { + return ExampleLipidProfileProfile.from(ExampleLipidProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getCode () : CodeableConcept<("18262-6" | "13457-7")> | undefined { + return this.resource.code as CodeableConcept<("18262-6" | "13457-7")> | undefined + } + + setCode (value: CodeableConcept<("18262-6" | "13457-7")>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getReferenceRange () : ObservationReferenceRange[] | undefined { + return this.resource.referenceRange as ObservationReferenceRange[] | undefined + } + + setReferenceRange (value: ObservationReferenceRange[]) : this { + Object.assign(this.resource, { referenceRange: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : ExampleLipidProfile { + return this.resource as ExampleLipidProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "ExampleLipidProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["code"], ["18262-6","13457-7"], "code", "ExampleLipidProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "referenceRange", "ExampleLipidProfile"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["MolecularSequence","Observation","QuestionnaireResponse"], "hasMember", "ExampleLipidProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","GenomicStudy","ImagingSelection","ImagingStudy","MolecularSequence","Observation","QuestionnaireResponse"], "derivedFrom", "ExampleLipidProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbmi.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbmi.ts new file mode 100644 index 000000000..21fbb2cf8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbmi.ts @@ -0,0 +1,186 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationbmi extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; + valueQuantity: Quantity; +} + +export type Observationbmi_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationbmiProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bmi (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationbmiProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bmi" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bmi")) profiles.push("http://hl7.org/fhir/StructureDefinition/bmi") + } + + static from (resource: Observation) : ObservationbmiProfile { + return new ObservationbmiProfile(resource) + } + + static createResource (args: ObservationbmiProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"39156-5","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bmi"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationbmiProfileParams) : ObservationbmiProfile { + return ObservationbmiProfile.from(ObservationbmiProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationbmi { + return this.resource as Observationbmi + } + + public setVSCat (input?: Observationbmi_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationbmi_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbmi_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationbmi"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationbmi"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationbmi"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationbmi.category")) + { const e = validateRequired(r, "code", "Observationbmi"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"39156-5","system":"http://loinc.org"}]}, "Observationbmi"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationbmi"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationbmi"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationbmi"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationbmi"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyheight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyheight.ts new file mode 100644 index 000000000..d41d4325e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyheight.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationbodyheight extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationbodyheight_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationbodyheightProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyheight (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationbodyheightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodyheight" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodyheight")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodyheight") + } + + static from (resource: Observation) : ObservationbodyheightProfile { + return new ObservationbodyheightProfile(resource) + } + + static createResource (args: ObservationbodyheightProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8302-2","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodyheight"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationbodyheightProfileParams) : ObservationbodyheightProfile { + return ObservationbodyheightProfile.from(ObservationbodyheightProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationbodyheight { + return this.resource as Observationbodyheight + } + + public setVSCat (input?: Observationbodyheight_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationbodyheight_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbodyheight_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationbodyheight"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationbodyheight"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationbodyheight"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationbodyheight.category")) + { const e = validateRequired(r, "code", "Observationbodyheight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8302-2","system":"http://loinc.org"}]}, "Observationbodyheight"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationbodyheight"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationbodyheight"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationbodyheight"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationbodyheight"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodytemp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodytemp.ts new file mode 100644 index 000000000..aceab3683 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodytemp.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationbodytemp extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationbodytemp_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationbodytempProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodytemp (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationbodytempProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodytemp" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodytemp")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodytemp") + } + + static from (resource: Observation) : ObservationbodytempProfile { + return new ObservationbodytempProfile(resource) + } + + static createResource (args: ObservationbodytempProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8310-5","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodytemp"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationbodytempProfileParams) : ObservationbodytempProfile { + return ObservationbodytempProfile.from(ObservationbodytempProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationbodytemp { + return this.resource as Observationbodytemp + } + + public setVSCat (input?: Observationbodytemp_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationbodytemp_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbodytemp_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationbodytemp"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationbodytemp"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationbodytemp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationbodytemp.category")) + { const e = validateRequired(r, "code", "Observationbodytemp"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8310-5","system":"http://loinc.org"}]}, "Observationbodytemp"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationbodytemp"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationbodytemp"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationbodytemp"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationbodytemp"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyweight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyweight.ts new file mode 100644 index 000000000..c69d24497 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyweight.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationbodyweight extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationbodyweight_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationbodyweightProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyweight (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationbodyweightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodyweight" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bodyweight")) profiles.push("http://hl7.org/fhir/StructureDefinition/bodyweight") + } + + static from (resource: Observation) : ObservationbodyweightProfile { + return new ObservationbodyweightProfile(resource) + } + + static createResource (args: ObservationbodyweightProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"29463-7","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bodyweight"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationbodyweightProfileParams) : ObservationbodyweightProfile { + return ObservationbodyweightProfile.from(ObservationbodyweightProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationbodyweight { + return this.resource as Observationbodyweight + } + + public setVSCat (input?: Observationbodyweight_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationbodyweight_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbodyweight_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationbodyweight"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationbodyweight"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationbodyweight"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationbodyweight.category")) + { const e = validateRequired(r, "code", "Observationbodyweight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"29463-7","system":"http://loinc.org"}]}, "Observationbodyweight"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationbodyweight"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationbodyweight"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationbodyweight"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationbodyweight"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbp.ts new file mode 100644 index 000000000..b33a4a5ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbp.ts @@ -0,0 +1,265 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { ObservationComponent } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationbp extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationbp_Category_VSCatSliceInput = Omit; +export type Observationbp_Component_SystolicBPSliceInput = Omit; +export type Observationbp_Component_DiastolicBPSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationbpProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + component?: ObservationComponent[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bp (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationbpProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bp" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/bp")) profiles.push("http://hl7.org/fhir/StructureDefinition/bp") + } + + static from (resource: Observation) : ObservationbpProfile { + return new ObservationbpProfile(resource) + } + + static createResource (args: ObservationbpProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const componentDefaults = [{"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}},{"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}}] as unknown[] + const componentWithDefaults = [...(args.component ?? [])] as unknown[] + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record))) componentWithDefaults.push(componentDefaults[0]!) + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record))) componentWithDefaults.push(componentDefaults[1]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"85354-9","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + component: componentWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/bp"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationbpProfileParams) : ObservationbpProfile { + return ObservationbpProfile.from(ObservationbpProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getComponent () : ObservationComponent[] | undefined { + return this.resource.component as ObservationComponent[] | undefined + } + + setComponent (value: ObservationComponent[]) : this { + Object.assign(this.resource, { component: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationbp { + return this.resource as Observationbp + } + + public setVSCat (input?: Observationbp_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSystolicBP (input?: Observationbp_Component_SystolicBPSliceInput): this { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setDiastolicBP (input?: Observationbp_Component_DiastolicBPSliceInput): this { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationbp_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbp_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getSystolicBP (): Observationbp_Component_SystolicBPSliceInput | undefined { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as Observationbp_Component_SystolicBPSliceInput + } + + public getSystolicBPRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getDiastolicBP (): Observationbp_Component_DiastolicBPSliceInput | undefined { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as Observationbp_Component_DiastolicBPSliceInput + } + + public getDiastolicBPRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationbp"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationbp"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationbp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationbp.category")) + { const e = validateRequired(r, "code", "Observationbp"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"85354-9","system":"http://loinc.org"}]}, "Observationbp"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationbp"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationbp"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationbp"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationbp"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":{"code":"8480-6","system":"http://loinc.org"}}}, "SystolicBP", 1, 1, "Observationbp.component")) + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":{"code":"8462-4","system":"http://loinc.org"}}}, "DiastolicBP", 1, 1, "Observationbp.component")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheadcircum.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheadcircum.ts new file mode 100644 index 000000000..20a57a4e5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheadcircum.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationheadcircum extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationheadcircum_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationheadcircumProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/headcircum (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationheadcircumProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/headcircum" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/headcircum")) profiles.push("http://hl7.org/fhir/StructureDefinition/headcircum") + } + + static from (resource: Observation) : ObservationheadcircumProfile { + return new ObservationheadcircumProfile(resource) + } + + static createResource (args: ObservationheadcircumProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"9843-4","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/headcircum"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationheadcircumProfileParams) : ObservationheadcircumProfile { + return ObservationheadcircumProfile.from(ObservationheadcircumProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationheadcircum { + return this.resource as Observationheadcircum + } + + public setVSCat (input?: Observationheadcircum_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationheadcircum_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationheadcircum_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationheadcircum"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationheadcircum"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationheadcircum"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationheadcircum.category")) + { const e = validateRequired(r, "code", "Observationheadcircum"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"9843-4","system":"http://loinc.org"}]}, "Observationheadcircum"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationheadcircum"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationheadcircum"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationheadcircum"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationheadcircum"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheartrate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheartrate.ts new file mode 100644 index 000000000..62f6c0df2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheartrate.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationheartrate extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationheartrate_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationheartrateProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/heartrate (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationheartrateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/heartrate" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/heartrate")) profiles.push("http://hl7.org/fhir/StructureDefinition/heartrate") + } + + static from (resource: Observation) : ObservationheartrateProfile { + return new ObservationheartrateProfile(resource) + } + + static createResource (args: ObservationheartrateProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"8867-4","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/heartrate"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationheartrateProfileParams) : ObservationheartrateProfile { + return ObservationheartrateProfile.from(ObservationheartrateProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationheartrate { + return this.resource as Observationheartrate + } + + public setVSCat (input?: Observationheartrate_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationheartrate_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationheartrate_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationheartrate"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationheartrate"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationheartrate"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationheartrate.category")) + { const e = validateRequired(r, "code", "Observationheartrate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"8867-4","system":"http://loinc.org"}]}, "Observationheartrate"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationheartrate"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationheartrate"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationheartrate"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationheartrate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationoxygensat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationoxygensat.ts new file mode 100644 index 000000000..4e9415e1c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationoxygensat.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationoxygensat extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationoxygensat_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationoxygensatProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/oxygensat (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationoxygensatProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/oxygensat" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/oxygensat")) profiles.push("http://hl7.org/fhir/StructureDefinition/oxygensat") + } + + static from (resource: Observation) : ObservationoxygensatProfile { + return new ObservationoxygensatProfile(resource) + } + + static createResource (args: ObservationoxygensatProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"2708-6","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/oxygensat"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationoxygensatProfileParams) : ObservationoxygensatProfile { + return ObservationoxygensatProfile.from(ObservationoxygensatProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationoxygensat { + return this.resource as Observationoxygensat + } + + public setVSCat (input?: Observationoxygensat_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationoxygensat_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationoxygensat_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationoxygensat"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationoxygensat"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationoxygensat"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationoxygensat.category")) + { const e = validateRequired(r, "code", "Observationoxygensat"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"2708-6","system":"http://loinc.org"}]}, "Observationoxygensat"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationoxygensat"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationoxygensat"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationoxygensat"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationoxygensat"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationresprate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationresprate.ts new file mode 100644 index 000000000..1572d3ac4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationresprate.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationresprate extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationresprate_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationresprateProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resprate (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationresprateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resprate" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/resprate")) profiles.push("http://hl7.org/fhir/StructureDefinition/resprate") + } + + static from (resource: Observation) : ObservationresprateProfile { + return new ObservationresprateProfile(resource) + } + + static createResource (args: ObservationresprateProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"code":"9279-1","system":"http://loinc.org"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/resprate"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationresprateProfileParams) : ObservationresprateProfile { + return ObservationresprateProfile.from(ObservationresprateProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + toProfile () : Observationresprate { + return this.resource as Observationresprate + } + + public setVSCat (input?: Observationresprate_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationresprate_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationresprate_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationresprate"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationresprate"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationresprate"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationresprate.category")) + { const e = validateRequired(r, "code", "Observationresprate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"code":"9279-1","system":"http://loinc.org"}]}, "Observationresprate"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationresprate"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationresprate"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationresprate"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationresprate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalsigns.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalsigns.ts new file mode 100644 index 000000000..c45d31b2c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalsigns.ts @@ -0,0 +1,175 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationvitalsigns extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationvitalsigns_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationvitalsignsProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>; + subject: Reference<"Patient">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalsigns (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationvitalsignsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/vitalsigns" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/vitalsigns")) profiles.push("http://hl7.org/fhir/StructureDefinition/vitalsigns") + } + + static from (resource: Observation) : ObservationvitalsignsProfile { + return new ObservationvitalsignsProfile(resource) + } + + static createResource (args: ObservationvitalsignsProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/vitalsigns"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationvitalsignsProfileParams) : ObservationvitalsignsProfile { + return ObservationvitalsignsProfile.from(ObservationvitalsignsProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : Observationvitalsigns { + return this.resource as Observationvitalsigns + } + + public setVSCat (input?: Observationvitalsigns_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationvitalsigns_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationvitalsigns_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationvitalsigns"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationvitalsigns"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationvitalsigns"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationvitalsigns.category")) + { const e = validateRequired(r, "code", "Observationvitalsigns"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationvitalsigns"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationvitalsigns"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationvitalsigns"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationvitalsigns"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalspanel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalspanel.ts new file mode 100644 index 000000000..bdc398197 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalspanel.ts @@ -0,0 +1,188 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r5-core/Observation"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface Observationvitalspanel extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; + hasMember: Reference<'MolecularSequence' | 'QuestionnaireResponse' | "Observation" /*Observationvitalsigns*/>[]; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; +} + +export type Observationvitalspanel_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationvitalspanelProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>; + subject: Reference<"Patient">; + hasMember: Reference<"MolecularSequence" | "QuestionnaireResponse" | "Observationvitalsigns">[]; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalspanel (pkg: hl7.fhir.r5.core#5.0.0) +export class ObservationvitalspanelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/vitalspanel" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/vitalspanel")) profiles.push("http://hl7.org/fhir/StructureDefinition/vitalspanel") + } + + static from (resource: Observation) : ObservationvitalspanelProfile { + return new ObservationvitalspanelProfile(resource) + } + + static createResource (args: ObservationvitalspanelProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + hasMember: args.hasMember, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/vitalspanel"] }, + } as unknown as Observation + return resource + } + + static create (args: ObservationvitalspanelProfileParams) : ObservationvitalspanelProfile { + return ObservationvitalspanelProfile.from(ObservationvitalspanelProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined + } + + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getHasMember () : Reference<"MolecularSequence" | "QuestionnaireResponse" | "Observationvitalsigns">[] | undefined { + return this.resource.hasMember as Reference<"MolecularSequence" | "QuestionnaireResponse" | "Observationvitalsigns">[] | undefined + } + + setHasMember (value: Reference<"MolecularSequence" | "QuestionnaireResponse" | "Observationvitalsigns">[]) : this { + Object.assign(this.resource, { hasMember: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : Observationvitalspanel { + return this.resource as Observationvitalspanel + } + + public setVSCat (input?: Observationvitalspanel_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): Observationvitalspanel_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationvitalspanel_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "Observationvitalspanel"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "Observationvitalspanel"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "Observationvitalspanel"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "Observationvitalspanel.category")) + { const e = validateRequired(r, "code", "Observationvitalspanel"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "Observationvitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "Observationvitalspanel"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateRequired(r, "hasMember", "Observationvitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "hasMember", "Observationvitalspanel"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","MolecularSequence","QuestionnaireResponse","Observationvitalsigns"], "derivedFrom", "Observationvitalspanel"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbmi.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbmi.ts deleted file mode 100644 index aa4f5ed07..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbmi.ts +++ /dev/null @@ -1,68 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bmi -export interface Observationbmi extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; - valueQuantity: Quantity; -} - -export type Observationbmi_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationbmiProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationbmi { - return this.resource as Observationbmi - } - - public setVscat (input?: Observationbmi_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationbmi_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbmi_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodyheight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodyheight.ts deleted file mode 100644 index 733a5ea0e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodyheight.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyheight -export interface Observationbodyheight extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationbodyheight_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationbodyheightProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationbodyheight { - return this.resource as Observationbodyheight - } - - public setVscat (input?: Observationbodyheight_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationbodyheight_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbodyheight_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodytemp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodytemp.ts deleted file mode 100644 index ee53ca300..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodytemp.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodytemp -export interface Observationbodytemp extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationbodytemp_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationbodytempProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationbodytemp { - return this.resource as Observationbodytemp - } - - public setVscat (input?: Observationbodytemp_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationbodytemp_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbodytemp_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodyweight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodyweight.ts deleted file mode 100644 index 2cbd3df08..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbodyweight.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyweight -export interface Observationbodyweight extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationbodyweight_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationbodyweightProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationbodyweight { - return this.resource as Observationbodyweight - } - - public setVscat (input?: Observationbodyweight_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationbodyweight_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbodyweight_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbp.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbp.ts deleted file mode 100644 index fb491f7e6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationbp.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bp -export interface Observationbp extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationbp_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationbpProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationbp { - return this.resource as Observationbp - } - - public setVscat (input?: Observationbp_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationbp_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationbp_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationheadcircum.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationheadcircum.ts deleted file mode 100644 index 9ca0cd222..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationheadcircum.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/headcircum -export interface Observationheadcircum extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationheadcircum_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationheadcircumProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationheadcircum { - return this.resource as Observationheadcircum - } - - public setVscat (input?: Observationheadcircum_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationheadcircum_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationheadcircum_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationheartrate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationheartrate.ts deleted file mode 100644 index 2028da763..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationheartrate.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/heartrate -export interface Observationheartrate extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationheartrate_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationheartrateProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationheartrate { - return this.resource as Observationheartrate - } - - public setVscat (input?: Observationheartrate_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationheartrate_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationheartrate_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationoxygensat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationoxygensat.ts deleted file mode 100644 index 714452208..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationoxygensat.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/oxygensat -export interface Observationoxygensat extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationoxygensat_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationoxygensatProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationoxygensat { - return this.resource as Observationoxygensat - } - - public setVscat (input?: Observationoxygensat_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationoxygensat_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationoxygensat_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationresprate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationresprate.ts deleted file mode 100644 index 8d8dd87a7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationresprate.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resprate -export interface Observationresprate extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationresprate_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationresprateProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationresprate { - return this.resource as Observationresprate - } - - public setVscat (input?: Observationresprate_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationresprate_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationresprate_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationvitalsigns.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationvitalsigns.ts deleted file mode 100644 index 506c34ef3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationvitalsigns.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalsigns -export interface Observationvitalsigns extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationvitalsigns_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationvitalsignsProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationvitalsigns { - return this.resource as Observationvitalsigns - } - - public setVscat (input?: Observationvitalsigns_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationvitalsigns_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationvitalsigns_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationvitalspanel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationvitalspanel.ts deleted file mode 100644 index 6b66cef80..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observationvitalspanel.ts +++ /dev/null @@ -1,67 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r5-core/Observation"; -import type { Reference } from "../../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalspanel -export interface Observationvitalspanel extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; - hasMember: Reference<'MolecularSequence' | 'QuestionnaireResponse' | "Observation" /*Observationvitalsigns*/>[]; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "MolecularSequence" | "QuestionnaireResponse" | "Observation">[]; -} - -export type Observationvitalspanel_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ObservationvitalspanelProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : Observationvitalspanel { - return this.resource as Observationvitalspanel - } - - public setVscat (input?: Observationvitalspanel_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): Observationvitalspanel_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as Observationvitalspanel_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_CDSHooksServicePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_CDSHooksServicePlanDefinition.ts new file mode 100644 index 000000000..1fa511d90 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_CDSHooksServicePlanDefinition.ts @@ -0,0 +1,67 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { PlanDefinition } from "../../hl7-fhir-r5-core/PlanDefinition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition (pkg: hl7.fhir.r5.core#5.0.0) +export class CDSHooksServicePlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition") + } + + static from (resource: PlanDefinition) : CDSHooksServicePlanDefinitionProfile { + return new CDSHooksServicePlanDefinitionProfile(resource) + } + + static createResource () : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create () : CDSHooksServicePlanDefinitionProfile { + return CDSHooksServicePlanDefinitionProfile.from(CDSHooksServicePlanDefinitionProfile.createResource()) + } + + toResource () : PlanDefinition { + return this.resource + } + + public setCdsHooksEndpoint (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", valueUri: value } as Extension) + return this + } + + public getCdsHooksEndpoint (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getCdsHooksEndpointExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ComputablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ComputablePlanDefinition.ts new file mode 100644 index 000000000..080882d20 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ComputablePlanDefinition.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { PlanDefinition } from "../../hl7-fhir-r5-core/PlanDefinition"; + +export interface ComputablePlanDefinition extends PlanDefinition { + library: string[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ComputablePlanDefinitionProfileParams = { + library: string[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/computableplandefinition (pkg: hl7.fhir.r5.core#5.0.0) +export class ComputablePlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/computableplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/computableplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/computableplandefinition") + } + + static from (resource: PlanDefinition) : ComputablePlanDefinitionProfile { + return new ComputablePlanDefinitionProfile(resource) + } + + static createResource (args: ComputablePlanDefinitionProfileParams) : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + library: args.library, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/computableplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create (args: ComputablePlanDefinitionProfileParams) : ComputablePlanDefinitionProfile { + return ComputablePlanDefinitionProfile.from(ComputablePlanDefinitionProfile.createResource(args)) + } + + toResource () : PlanDefinition { + return this.resource + } + + getLibrary () : string[] | undefined { + return this.resource.library as string[] | undefined + } + + setLibrary (value: string[]) : this { + Object.assign(this.resource, { library: value }) + return this + } + + toProfile () : ComputablePlanDefinition { + return this.resource as ComputablePlanDefinition + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "library", "ComputablePlanDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_PublishablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_PublishablePlanDefinition.ts new file mode 100644 index 000000000..0fabf2249 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_PublishablePlanDefinition.ts @@ -0,0 +1,208 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { PlanDefinition } from "../../hl7-fhir-r5-core/PlanDefinition"; + +export interface PublishablePlanDefinition extends PlanDefinition { + url: string; + version: string; + title: string; + description: string; + date: string; +} + +export type PublishablePlanDefinition_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublishablePlanDefinitionProfileParams = { + url: string; + version: string; + title: string; + description: string; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishableplandefinition (pkg: hl7.fhir.r5.core#5.0.0) +export class PublishablePlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/publishableplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/publishableplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/publishableplandefinition") + } + + static from (resource: PlanDefinition) : PublishablePlanDefinitionProfile { + return new PublishablePlanDefinitionProfile(resource) + } + + static createResource (args: PublishablePlanDefinitionProfileParams) : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + url: args.url, + version: args.version, + title: args.title, + description: args.description, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/publishableplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create (args: PublishablePlanDefinitionProfileParams) : PublishablePlanDefinitionProfile { + return PublishablePlanDefinitionProfile.from(PublishablePlanDefinitionProfile.createResource(args)) + } + + toResource () : PlanDefinition { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + toProfile () : PublishablePlanDefinition { + return this.resource as PublishablePlanDefinition + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: PublishablePlanDefinition_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): PublishablePlanDefinition_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as PublishablePlanDefinition_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublishablePlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "PublishablePlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "PublishablePlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "PublishablePlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "PublishablePlanDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ShareablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ShareablePlanDefinition.ts new file mode 100644 index 000000000..3da440a8d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ShareablePlanDefinition.ts @@ -0,0 +1,195 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { PlanDefinition } from "../../hl7-fhir-r5-core/PlanDefinition"; + +export interface ShareablePlanDefinition extends PlanDefinition { + url: string; + version: string; + title: string; + description: string; +} + +export type ShareablePlanDefinition_ArtifactCommentInput = { + type: string; + text: string; + target?: string[]; + reference?: string[]; + user?: string; + authoredOn?: string; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShareablePlanDefinitionProfileParams = { + url: string; + version: string; + title: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableplandefinition (pkg: hl7.fhir.r5.core#5.0.0) +export class ShareablePlanDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareableplandefinition" + + private resource: PlanDefinition + + constructor (resource: PlanDefinition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareableplandefinition")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareableplandefinition") + } + + static from (resource: PlanDefinition) : ShareablePlanDefinitionProfile { + return new ShareablePlanDefinitionProfile(resource) + } + + static createResource (args: ShareablePlanDefinitionProfileParams) : PlanDefinition { + const resource: PlanDefinition = { + resourceType: "PlanDefinition", + url: args.url, + version: args.version, + title: args.title, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareableplandefinition"] }, + } as unknown as PlanDefinition + return resource + } + + static create (args: ShareablePlanDefinitionProfileParams) : ShareablePlanDefinitionProfile { + return ShareablePlanDefinitionProfile.from(ShareablePlanDefinitionProfile.createResource(args)) + } + + toResource () : PlanDefinition { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ShareablePlanDefinition { + return this.resource as ShareablePlanDefinition + } + + public setKnowledgeCapability (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", valueCode: value } as Extension) + return this + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setArtifactComment (input: ShareablePlanDefinition_ArtifactCommentInput): this { + const subExtensions: Extension[] = [] + if (input.type !== undefined) { + subExtensions.push({ url: "type", valueCode: input.type }) + } + if (input.text !== undefined) { + subExtensions.push({ url: "text", valueMarkdown: input.text }) + } + if (input.target) { + for (const item of input.target) { + subExtensions.push({ url: "target", valueUri: item }) + } + } + if (input.reference) { + for (const item of input.reference) { + subExtensions.push({ url: "reference", valueUri: item }) + } + } + if (input.user !== undefined) { + subExtensions.push({ url: "user", valueString: input.user }) + } + if (input.authoredOn !== undefined) { + subExtensions.push({ url: "authoredOn", valueDateTime: input.authoredOn }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", extension: subExtensions }) + return this + } + + public getKnowledgeCapability (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeCapabilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") + return ext + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getArtifactComment (): ShareablePlanDefinition_ArtifactCommentInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + if (!ext) return undefined + const config = [{ name: "type", valueField: "valueCode", isArray: false }, { name: "text", valueField: "valueMarkdown", isArray: false }, { name: "target", valueField: "valueUri", isArray: true }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "user", valueField: "valueString", isArray: false }, { name: "authoredOn", valueField: "valueDateTime", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ShareablePlanDefinition_ArtifactCommentInput + } + + public getArtifactCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShareablePlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ShareablePlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ShareablePlanDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ShareablePlanDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ProfileForCatalog.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ProfileForCatalog.ts deleted file mode 100644 index 34ffb3d4c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ProfileForCatalog.ts +++ /dev/null @@ -1,40 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Composition } from "../../hl7-fhir-r5-core/Composition"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/catalog -export interface ProfileForCatalog extends Composition { - category: CodeableConcept[]; -} - -export class ProfileForCatalogProfile { - private resource: Composition - - constructor (resource: Composition) { - this.resource = resource - } - - toResource () : Composition { - return this.resource - } - - toProfile () : ProfileForCatalog { - return this.resource as ProfileForCatalog - } - - public setValidityPeriod (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", ...value }) - return this - } - - public getValidityPeriod (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ProvenanceRelevantHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ProvenanceRelevantHistory.ts deleted file mode 100644 index 883625704..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ProvenanceRelevantHistory.ts +++ /dev/null @@ -1,64 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; -import type { Provenance } from "../../hl7-fhir-r5-core/Provenance"; -import type { ProvenanceAgent } from "../../hl7-fhir-r5-core/Provenance"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history -export interface ProvenanceRelevantHistory extends Provenance { - activity: CodeableConcept; -} - -export type ProvenanceRelevantHistory_Agent_AuthorSliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class ProvenanceRelevantHistoryProfile { - private resource: Provenance - - constructor (resource: Provenance) { - this.resource = resource - } - - toResource () : Provenance { - return this.resource - } - - toProfile () : ProvenanceRelevantHistory { - return this.resource as ProvenanceRelevantHistory - } - - public setAuthor (input: ProvenanceRelevantHistory_Agent_AuthorSliceInput): this { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as ProvenanceAgent - const list = (this.resource.agent ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getAuthor (): ProvenanceRelevantHistory_Agent_AuthorSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const list = this.resource.agent - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as ProvenanceRelevantHistory_Agent_AuthorSliceInput - } - - public getAuthorRaw (): ProvenanceAgent | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record - const list = this.resource.agent - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Provenance_ProvenanceRelevantHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Provenance_ProvenanceRelevantHistory.ts new file mode 100644 index 000000000..de50296be --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Provenance_ProvenanceRelevantHistory.ts @@ -0,0 +1,148 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Provenance } from "../../hl7-fhir-r5-core/Provenance"; +import type { ProvenanceAgent } from "../../hl7-fhir-r5-core/Provenance"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +export interface ProvenanceRelevantHistory extends Provenance { + activity: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>; +} + +export type ProvenanceRelevantHistory_Agent_AuthorSliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ProvenanceRelevantHistoryProfileParams = { + target: Reference<"Resource">[]; + occurredDateTime: string; + activity: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>; + agent: ProvenanceAgent[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history (pkg: hl7.fhir.r5.core#5.0.0) +export class ProvenanceRelevantHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history" + + private resource: Provenance + + constructor (resource: Provenance) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/provenance-relevant-history")) profiles.push("http://hl7.org/fhir/StructureDefinition/provenance-relevant-history") + } + + static from (resource: Provenance) : ProvenanceRelevantHistoryProfile { + return new ProvenanceRelevantHistoryProfile(resource) + } + + static createResource (args: ProvenanceRelevantHistoryProfileParams) : Provenance { + const resource: Provenance = { + resourceType: "Provenance", + target: args.target, + occurredDateTime: args.occurredDateTime, + activity: args.activity, + agent: args.agent, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/provenance-relevant-history"] }, + } as unknown as Provenance + return resource + } + + static create (args: ProvenanceRelevantHistoryProfileParams) : ProvenanceRelevantHistoryProfile { + return ProvenanceRelevantHistoryProfile.from(ProvenanceRelevantHistoryProfile.createResource(args)) + } + + toResource () : Provenance { + return this.resource + } + + getTarget () : Reference<"Resource">[] | undefined { + return this.resource.target as Reference<"Resource">[] | undefined + } + + setTarget (value: Reference<"Resource">[]) : this { + Object.assign(this.resource, { target: value }) + return this + } + + getOccurredDateTime () : string | undefined { + return this.resource.occurredDateTime as string | undefined + } + + setOccurredDateTime (value: string) : this { + Object.assign(this.resource, { occurredDateTime: value }) + return this + } + + getActivity () : CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)> | undefined { + return this.resource.activity as CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)> | undefined + } + + setActivity (value: CodeableConcept<("CREATE" | "UPDATE" | "DELETE" | "ABORT" | "HOLD" | "RELEASE" | "CANCEL" | "ACTIVATE" | "SUSPEND" | "RESUME" | "COMPLETE" | "NULLIFY" | "OBSOLETE" | "REACTIVATE" | string)>) : this { + Object.assign(this.resource, { activity: value }) + return this + } + + getAgent () : ProvenanceAgent[] | undefined { + return this.resource.agent as ProvenanceAgent[] | undefined + } + + setAgent (value: ProvenanceAgent[]) : this { + Object.assign(this.resource, { agent: value }) + return this + } + + toProfile () : ProvenanceRelevantHistory { + return this.resource as ProvenanceRelevantHistory + } + + public setAuthor (input: ProvenanceRelevantHistory_Agent_AuthorSliceInput): this { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const value = applySliceMatch(input as Record, match) as unknown as ProvenanceAgent + const list = (this.resource.agent ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getAuthor (): ProvenanceRelevantHistory_Agent_AuthorSliceInput | undefined { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const list = this.resource.agent + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as ProvenanceRelevantHistory_Agent_AuthorSliceInput + } + + public getAuthorRaw (): ProvenanceAgent | undefined { + const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}} as Record + const list = this.resource.agent + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "target", "ProvenanceRelevantHistory"); if (e) errors.push(e) } + { const e = validateReference(r["target"], ["Resource"], "target", "ProvenanceRelevantHistory"); if (e) errors.push(e) } + if (!(r["occurredDateTime"] !== undefined)) { + errors.push("occurred: at least one of occurredDateTime is required") + } + { const e = validateRequired(r, "activity", "ProvenanceRelevantHistory"); if (e) errors.push(e) } + { const e = validateRequired(r, "agent", "ProvenanceRelevantHistory"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["agent"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}}, "Author", 0, 1, "ProvenanceRelevantHistory.agent")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableActivityDefinition.ts deleted file mode 100644 index 9f3604998..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableActivityDefinition.ts +++ /dev/null @@ -1,64 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ActivityDefinition } from "../../hl7-fhir-r5-core/ActivityDefinition"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition -export interface PublishableActivityDefinition extends ActivityDefinition { - url: string; - version: string; - title: string; - experimental: boolean; - description: string; - date: string; -} - -export class PublishableActivityDefinitionProfile { - private resource: ActivityDefinition - - constructor (resource: ActivityDefinition) { - this.resource = resource - } - - toResource () : ActivityDefinition { - return this.resource - } - - toProfile () : PublishableActivityDefinition { - return this.resource as PublishableActivityDefinition - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableConceptMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableConceptMap.ts deleted file mode 100644 index f108ae34c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableConceptMap.ts +++ /dev/null @@ -1,44 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ConceptMap } from "../../hl7-fhir-r5-core/ConceptMap"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishableconceptmap -export interface PublishableConceptMap extends ConceptMap { - url: string; - version: string; - title: string; - experimental: boolean; - description: string; - date: string; -} - -export class PublishableConceptMapProfile { - private resource: ConceptMap - - constructor (resource: ConceptMap) { - this.resource = resource - } - - toResource () : ConceptMap { - return this.resource - } - - toProfile () : PublishableConceptMap { - return this.resource as PublishableConceptMap - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableLibrary.ts deleted file mode 100644 index ad6483584..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableLibrary.ts +++ /dev/null @@ -1,73 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Library } from "../../hl7-fhir-r5-core/Library"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishablelibrary -export interface PublishableLibrary extends Library { - url: string; - version: string; - title: string; - description: string; - date: string; -} - -export class PublishableLibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : PublishableLibrary { - return this.resource as PublishableLibrary - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public setLogicDefinition (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", ...value }) - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - - public getLogicDefinition (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableMeasure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableMeasure.ts deleted file mode 100644 index 385e63853..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableMeasure.ts +++ /dev/null @@ -1,63 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Measure } from "../../hl7-fhir-r5-core/Measure"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishablemeasure -export interface PublishableMeasure extends Measure { - url: string; - version: string; - title: string; - description: string; - date: string; -} - -export class PublishableMeasureProfile { - private resource: Measure - - constructor (resource: Measure) { - this.resource = resource - } - - toResource () : Measure { - return this.resource - } - - toProfile () : PublishableMeasure { - return this.resource as PublishableMeasure - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableNamingSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableNamingSystem.ts deleted file mode 100644 index 83cf89f26..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableNamingSystem.ts +++ /dev/null @@ -1,42 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { NamingSystem } from "../../hl7-fhir-r5-core/NamingSystem"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishablenamingsystem -export interface PublishableNamingSystem extends NamingSystem { - url: string; - version: string; - title: string; - description: string; -} - -export class PublishableNamingSystemProfile { - private resource: NamingSystem - - constructor (resource: NamingSystem) { - this.resource = resource - } - - toResource () : NamingSystem { - return this.resource - } - - toProfile () : PublishableNamingSystem { - return this.resource as PublishableNamingSystem - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishablePlanDefinition.ts deleted file mode 100644 index 83ed3129c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishablePlanDefinition.ts +++ /dev/null @@ -1,63 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { PlanDefinition } from "../../hl7-fhir-r5-core/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishableplandefinition -export interface PublishablePlanDefinition extends PlanDefinition { - url: string; - version: string; - title: string; - description: string; - date: string; -} - -export class PublishablePlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - toProfile () : PublishablePlanDefinition { - return this.resource as PublishablePlanDefinition - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableValueSet.ts deleted file mode 100644 index ea2071bbf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PublishableValueSet.ts +++ /dev/null @@ -1,110 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { ValueSet } from "../../hl7-fhir-r5-core/ValueSet"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishablevalueset -export interface PublishableValueSet extends ValueSet { - url: string; - version: string; - title: string; - experimental: boolean; - description: string; - date: string; -} - -import { getOrCreateObjectAtPath } from "../../profile-helpers"; - -export class PublishableValueSetProfile { - private resource: ValueSet - - constructor (resource: ValueSet) { - this.resource = resource - } - - toResource () : ValueSet { - return this.resource - } - - toProfile () : PublishableValueSet { - return this.resource as PublishableValueSet - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setAuthoritativeSource (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", ...value }) - return this - } - - public setTrustedExpansion (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion", ...value }) - return this - } - - public setOtherTitle (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle", ...value }) - return this - } - - public setSourceReference (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference", ...value }) - return this - } - - public setComposeCreatedBy (value: Omit): this { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) - if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy", ...value }) - return this - } - - public setComposeCreationDate (value: Omit): this { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) - if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy", ...value }) - return this - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getAuthoritativeSource (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") - } - - public getTrustedExpansion (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion") - } - - public getOtherTitle (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle") - } - - public getSourceReference (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference") - } - - public getComposeCreatedBy (): Extension | undefined { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) - return (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy") - } - - public getComposeCreationDate (): Extension | undefined { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) - return (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_MoneyQuantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_MoneyQuantity.ts new file mode 100644 index 000000000..526ec5120 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_MoneyQuantity.ts @@ -0,0 +1,42 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MoneyQuantity (pkg: hl7.fhir.r5.core#5.0.0) +export class MoneyQuantityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/MoneyQuantity" + + private resource: Quantity + + constructor (resource: Quantity) { + this.resource = resource + } + + static from (resource: Quantity) : MoneyQuantityProfile { + return new MoneyQuantityProfile(resource) + } + + static createResource () : Quantity { + const resource: Quantity = { + } as unknown as Quantity + return resource + } + + static create () : MoneyQuantityProfile { + return MoneyQuantityProfile.from(MoneyQuantityProfile.createResource()) + } + + toResource () : Quantity { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_SimpleQuantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_SimpleQuantity.ts new file mode 100644 index 000000000..86a70e31f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_SimpleQuantity.ts @@ -0,0 +1,45 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SimpleQuantity (pkg: hl7.fhir.r5.core#5.0.0) +export class SimpleQuantityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + + private resource: Quantity + + constructor (resource: Quantity) { + this.resource = resource + } + + static from (resource: Quantity) : SimpleQuantityProfile { + return new SimpleQuantityProfile(resource) + } + + static createResource () : Quantity { + const resource: Quantity = { + } as unknown as Quantity + return resource + } + + static create () : SimpleQuantityProfile { + return SimpleQuantityProfile.from(SimpleQuantityProfile.createResource()) + } + + toResource () : Quantity { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["comparator"], ["<","<=",">=",">"], "comparator", "SimpleQuantity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/RequestOrchestration_CDSHooksRequestOrchestration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/RequestOrchestration_CDSHooksRequestOrchestration.ts new file mode 100644 index 000000000..74199205c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/RequestOrchestration_CDSHooksRequestOrchestration.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; +import type { RequestOrchestration } from "../../hl7-fhir-r5-core/RequestOrchestration"; + +export interface CDSHooksRequestOrchestration extends RequestOrchestration { + identifier: Identifier[]; + instantiatesUri: string[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CDSHooksRequestOrchestrationProfileParams = { + identifier: Identifier[]; + instantiatesUri: string[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration (pkg: hl7.fhir.r5.core#5.0.0) +export class CDSHooksRequestOrchestrationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration" + + private resource: RequestOrchestration + + constructor (resource: RequestOrchestration) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration")) profiles.push("http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration") + } + + static from (resource: RequestOrchestration) : CDSHooksRequestOrchestrationProfile { + return new CDSHooksRequestOrchestrationProfile(resource) + } + + static createResource (args: CDSHooksRequestOrchestrationProfileParams) : RequestOrchestration { + const resource: RequestOrchestration = { + resourceType: "RequestOrchestration", + identifier: args.identifier, + instantiatesUri: args.instantiatesUri, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration"] }, + } as unknown as RequestOrchestration + return resource + } + + static create (args: CDSHooksRequestOrchestrationProfileParams) : CDSHooksRequestOrchestrationProfile { + return CDSHooksRequestOrchestrationProfile.from(CDSHooksRequestOrchestrationProfile.createResource(args)) + } + + toResource () : RequestOrchestration { + return this.resource + } + + getIdentifier () : Identifier[] | undefined { + return this.resource.identifier as Identifier[] | undefined + } + + setIdentifier (value: Identifier[]) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getInstantiatesUri () : string[] | undefined { + return this.resource.instantiatesUri as string[] | undefined + } + + setInstantiatesUri (value: string[]) : this { + Object.assign(this.resource, { instantiatesUri: value }) + return this + } + + toProfile () : CDSHooksRequestOrchestration { + return this.resource as CDSHooksRequestOrchestration + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "identifier", "CDSHooksRequestOrchestration"); if (e) errors.push(e) } + { const e = validateRequired(r, "instantiatesUri", "CDSHooksRequestOrchestration"); if (e) errors.push(e) } + { const e = validateEnum(r["priority"], ["routine","urgent","asap","stat"], "priority", "CDSHooksRequestOrchestration"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["CareTeam","Device","Group","HealthcareService","Location","Organization","Patient","Practitioner","PractitionerRole","RelatedPerson"], "subject", "CDSHooksRequestOrchestration"); if (e) errors.push(e) } + { const e = validateReference(r["author"], ["Device","Practitioner","PractitionerRole"], "author", "CDSHooksRequestOrchestration"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/SearchSetBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/SearchSetBundle.ts deleted file mode 100644 index c6dba369e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/SearchSetBundle.ts +++ /dev/null @@ -1,55 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; -import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/search-set-bundle -export type SearchSetBundle_Entry_OperationOutcomeSliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class SearchSetBundleProfile { - private resource: Bundle - - constructor (resource: Bundle) { - this.resource = resource - } - - toResource () : Bundle { - return this.resource - } - - public setOperationOutcome (input: SearchSetBundle_Entry_OperationOutcomeSliceInput): this { - const match = {"search":{"mode":"outcome"}} as Record - const value = applySliceMatch(input as Record, match) as unknown as BundleEntry - const list = (this.resource.entry ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getOperationOutcome (): SearchSetBundle_Entry_OperationOutcomeSliceInput | undefined { - const match = {"search":{"mode":"outcome"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["search"]) as SearchSetBundle_Entry_OperationOutcomeSliceInput - } - - public getOperationOutcomeRaw (): BundleEntry | undefined { - const match = {"search":{"mode":"outcome"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableActivityDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableActivityDefinition.ts deleted file mode 100644 index 7f6000e17..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableActivityDefinition.ts +++ /dev/null @@ -1,63 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ActivityDefinition } from "../../hl7-fhir-r5-core/ActivityDefinition"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition -export interface ShareableActivityDefinition extends ActivityDefinition { - url: string; - version: string; - title: string; - experimental: boolean; - description: string; -} - -export class ShareableActivityDefinitionProfile { - private resource: ActivityDefinition - - constructor (resource: ActivityDefinition) { - this.resource = resource - } - - toResource () : ActivityDefinition { - return this.resource - } - - toProfile () : ShareableActivityDefinition { - return this.resource as ShareableActivityDefinition - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableConceptMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableConceptMap.ts deleted file mode 100644 index ea385c42c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableConceptMap.ts +++ /dev/null @@ -1,43 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ConceptMap } from "../../hl7-fhir-r5-core/ConceptMap"; -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableconceptmap -export interface ShareableConceptMap extends ConceptMap { - url: string; - version: string; - title: string; - experimental: boolean; - description: string; -} - -export class ShareableConceptMapProfile { - private resource: ConceptMap - - constructor (resource: ConceptMap) { - this.resource = resource - } - - toResource () : ConceptMap { - return this.resource - } - - toProfile () : ShareableConceptMap { - return this.resource as ShareableConceptMap - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableLibrary.ts deleted file mode 100644 index f47e57dde..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableLibrary.ts +++ /dev/null @@ -1,62 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Library } from "../../hl7-fhir-r5-core/Library"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablelibrary -export interface ShareableLibrary extends Library { - url: string; - version: string; - title: string; - description: string; -} - -export class ShareableLibraryProfile { - private resource: Library - - constructor (resource: Library) { - this.resource = resource - } - - toResource () : Library { - return this.resource - } - - toProfile () : ShareableLibrary { - return this.resource as ShareableLibrary - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableMeasure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableMeasure.ts deleted file mode 100644 index 42e31631d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableMeasure.ts +++ /dev/null @@ -1,62 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { Measure } from "../../hl7-fhir-r5-core/Measure"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablemeasure -export interface ShareableMeasure extends Measure { - url: string; - version: string; - title: string; - description: string; -} - -export class ShareableMeasureProfile { - private resource: Measure - - constructor (resource: Measure) { - this.resource = resource - } - - toResource () : Measure { - return this.resource - } - - toProfile () : ShareableMeasure { - return this.resource as ShareableMeasure - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableNamingSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableNamingSystem.ts deleted file mode 100644 index 24cf14aa7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableNamingSystem.ts +++ /dev/null @@ -1,42 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { NamingSystem } from "../../hl7-fhir-r5-core/NamingSystem"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablenamingsystem -export interface ShareableNamingSystem extends NamingSystem { - url: string; - version: string; - title: string; - description: string; -} - -export class ShareableNamingSystemProfile { - private resource: NamingSystem - - constructor (resource: NamingSystem) { - this.resource = resource - } - - toResource () : NamingSystem { - return this.resource - } - - toProfile () : ShareableNamingSystem { - return this.resource as ShareableNamingSystem - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareablePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareablePlanDefinition.ts deleted file mode 100644 index 9cd309f36..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareablePlanDefinition.ts +++ /dev/null @@ -1,62 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { PlanDefinition } from "../../hl7-fhir-r5-core/PlanDefinition"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareableplandefinition -export interface ShareablePlanDefinition extends PlanDefinition { - url: string; - version: string; - title: string; - description: string; -} - -export class ShareablePlanDefinitionProfile { - private resource: PlanDefinition - - constructor (resource: PlanDefinition) { - this.resource = resource - } - - toResource () : PlanDefinition { - return this.resource - } - - toProfile () : ShareablePlanDefinition { - return this.resource as ShareablePlanDefinition - } - - public setKnowledgeCapability (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", ...value }) - return this - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setArtifactComment (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", ...value }) - return this - } - - public getKnowledgeCapability (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability") - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getArtifactComment (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableTestScript.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableTestScript.ts deleted file mode 100644 index fd358d4bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableTestScript.ts +++ /dev/null @@ -1,32 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { TestScript } from "../../hl7-fhir-r5-core/TestScript"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareabletestscript -export interface ShareableTestScript extends TestScript { - url: string; - version: string; - experimental: boolean; - publisher: string; - description: string; -} - -export class ShareableTestScriptProfile { - private resource: TestScript - - constructor (resource: TestScript) { - this.resource = resource - } - - toResource () : TestScript { - return this.resource - } - - toProfile () : ShareableTestScript { - return this.resource as ShareableTestScript - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableValueSet.ts deleted file mode 100644 index 2b3a0817b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ShareableValueSet.ts +++ /dev/null @@ -1,53 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r5-core/Extension"; -import type { ValueSet } from "../../hl7-fhir-r5-core/ValueSet"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablevalueset -export interface ShareableValueSet extends ValueSet { - url: string; - version: string; - title: string; - experimental: boolean; - description: string; -} - -export class ShareableValueSetProfile { - private resource: ValueSet - - constructor (resource: ValueSet) { - this.resource = resource - } - - toResource () : ValueSet { - return this.resource - } - - toProfile () : ShareableValueSet { - return this.resource as ShareableValueSet - } - - public setKnowledgeRepresentationLevel (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", ...value }) - return this - } - - public setAuthoritativeSource (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", ...value }) - return this - } - - public getKnowledgeRepresentationLevel (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") - } - - public getAuthoritativeSource (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/SubscriptionNotificationBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/SubscriptionNotificationBundle.ts deleted file mode 100644 index ac93155a3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/SubscriptionNotificationBundle.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; -import type { BundleEntry } from "../../hl7-fhir-r5-core/Bundle"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle -export interface SubscriptionNotificationBundle extends Bundle { - entry: BundleEntry[]; -} - -export class SubscriptionNotificationBundleProfile { - private resource: Bundle - - constructor (resource: Bundle) { - this.resource = resource - } - - toResource () : Bundle { - return this.resource - } - - toProfile () : SubscriptionNotificationBundle { - return this.resource as SubscriptionNotificationBundle - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TestScript_ShareableTestScript.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TestScript_ShareableTestScript.ts new file mode 100644 index 000000000..90a995553 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TestScript_ShareableTestScript.ts @@ -0,0 +1,125 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { TestScript } from "../../hl7-fhir-r5-core/TestScript"; + +export interface ShareableTestScript extends TestScript { + url: string; + version: string; + experimental: boolean; + publisher: string; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShareableTestScriptProfileParams = { + url: string; + version: string; + experimental: boolean; + publisher: string; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareabletestscript (pkg: hl7.fhir.r5.core#5.0.0) +export class ShareableTestScriptProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareabletestscript" + + private resource: TestScript + + constructor (resource: TestScript) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareabletestscript")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareabletestscript") + } + + static from (resource: TestScript) : ShareableTestScriptProfile { + return new ShareableTestScriptProfile(resource) + } + + static createResource (args: ShareableTestScriptProfileParams) : TestScript { + const resource: TestScript = { + resourceType: "TestScript", + url: args.url, + version: args.version, + experimental: args.experimental, + publisher: args.publisher, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareabletestscript"] }, + } as unknown as TestScript + return resource + } + + static create (args: ShareableTestScriptProfileParams) : ShareableTestScriptProfile { + return ShareableTestScriptProfile.from(ShareableTestScriptProfile.createResource(args)) + } + + toResource () : TestScript { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getPublisher () : string | undefined { + return this.resource.publisher as string | undefined + } + + setPublisher (value: string) : this { + Object.assign(this.resource, { publisher: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ShareableTestScript { + return this.resource as ShareableTestScript + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShareableTestScript"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ShareableTestScript"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "ShareableTestScript"); if (e) errors.push(e) } + { const e = validateRequired(r, "publisher", "ShareableTestScript"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ShareableTestScript"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TransactionResponseBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TransactionResponseBundle.ts deleted file mode 100644 index d775f91be..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TransactionResponseBundle.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Bundle } from "../../hl7-fhir-r5-core/Bundle"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/transaction-response-bundle -export class TransactionResponseBundleProfile { - private resource: Bundle - - constructor (resource: Bundle) { - this.resource = resource - } - - toResource () : Bundle { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ComputableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ComputableValueSet.ts new file mode 100644 index 000000000..ccaaa7692 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ComputableValueSet.ts @@ -0,0 +1,220 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { ValueSet } from "../../hl7-fhir-r5-core/ValueSet"; + +export interface ComputableValueSet extends ValueSet { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ComputableValueSetProfileParams = { + url: string; + version: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/computablevalueset (pkg: hl7.fhir.r5.core#5.0.0) +export class ComputableValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/computablevalueset" + + private resource: ValueSet + + constructor (resource: ValueSet) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/computablevalueset")) profiles.push("http://hl7.org/fhir/StructureDefinition/computablevalueset") + } + + static from (resource: ValueSet) : ComputableValueSetProfile { + return new ComputableValueSetProfile(resource) + } + + static createResource (args: ComputableValueSetProfileParams) : ValueSet { + const resource: ValueSet = { + resourceType: "ValueSet", + url: args.url, + version: args.version, + title: args.title, + status: args.status, + experimental: args.experimental, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/computablevalueset"] }, + } as unknown as ValueSet + return resource + } + + static create (args: ComputableValueSetProfileParams) : ComputableValueSetProfile { + return ComputableValueSetProfile.from(ComputableValueSetProfile.createResource(args)) + } + + toResource () : ValueSet { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ComputableValueSet { + return this.resource as ComputableValueSet + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setAuthoritativeSource (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", valueUri: value } as Extension) + return this + } + + public setRulesText (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-rules-text", valueMarkdown: value } as Extension) + return this + } + + public setExpression (value: Expression): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-expression", valueExpression: value } as Extension) + return this + } + + public setSupplement (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-supplement", valueCanonical: value } as Extension) + return this + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getAuthoritativeSource (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getAuthoritativeSourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") + return ext + } + + public getRulesText (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-rules-text") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getRulesTextExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-rules-text") + return ext + } + + public getExpression (): Expression | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-expression") + return (ext as Record | undefined)?.valueExpression as Expression | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-expression") + return ext + } + + public getSupplement (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-supplement") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getSupplementExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-supplement") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ComputableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ComputableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ComputableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "ComputableValueSet"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "ComputableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "ComputableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ComputableValueSet"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ExecutableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ExecutableValueSet.ts new file mode 100644 index 000000000..c1a7cb080 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ExecutableValueSet.ts @@ -0,0 +1,201 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { ValueSet } from "../../hl7-fhir-r5-core/ValueSet"; +import type { ValueSetExpansion } from "../../hl7-fhir-r5-core/ValueSet"; + +export interface ExecutableValueSet extends ValueSet { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; + expansion: ValueSetExpansion; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ExecutableValueSetProfileParams = { + url: string; + version: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + description: string; + expansion: ValueSetExpansion; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/executablevalueset (pkg: hl7.fhir.r5.core#5.0.0) +export class ExecutableValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/executablevalueset" + + private resource: ValueSet + + constructor (resource: ValueSet) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/executablevalueset")) profiles.push("http://hl7.org/fhir/StructureDefinition/executablevalueset") + } + + static from (resource: ValueSet) : ExecutableValueSetProfile { + return new ExecutableValueSetProfile(resource) + } + + static createResource (args: ExecutableValueSetProfileParams) : ValueSet { + const resource: ValueSet = { + resourceType: "ValueSet", + url: args.url, + version: args.version, + title: args.title, + status: args.status, + experimental: args.experimental, + description: args.description, + expansion: args.expansion, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/executablevalueset"] }, + } as unknown as ValueSet + return resource + } + + static create (args: ExecutableValueSetProfileParams) : ExecutableValueSetProfile { + return ExecutableValueSetProfile.from(ExecutableValueSetProfile.createResource(args)) + } + + toResource () : ValueSet { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getExpansion () : ValueSetExpansion | undefined { + return this.resource.expansion as ValueSetExpansion | undefined + } + + setExpansion (value: ValueSetExpansion) : this { + Object.assign(this.resource, { expansion: value }) + return this + } + + toProfile () : ExecutableValueSet { + return this.resource as ExecutableValueSet + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setAuthoritativeSource (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", valueUri: value } as Extension) + return this + } + + public setUsageWarning (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-warning", valueMarkdown: value } as Extension) + return this + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getAuthoritativeSource (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getAuthoritativeSourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") + return ext + } + + public getUsageWarning (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-warning") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getUsageWarningExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-warning") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ExecutableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ExecutableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ExecutableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "ExecutableValueSet"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "ExecutableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "ExecutableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ExecutableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "expansion", "ExecutableValueSet"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_PublishableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_PublishableValueSet.ts new file mode 100644 index 000000000..9b193af24 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_PublishableValueSet.ts @@ -0,0 +1,288 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { ValueSet } from "../../hl7-fhir-r5-core/ValueSet"; + +export interface PublishableValueSet extends ValueSet { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; + date: string; +} + +export type PublishableValueSet_OtherTitleInput = { + title: string; + preferred?: boolean; + language?: string; +} + +import { getOrCreateObjectAtPath, extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublishableValueSetProfileParams = { + url: string; + version: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + description: string; + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/publishablevalueset (pkg: hl7.fhir.r5.core#5.0.0) +export class PublishableValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/publishablevalueset" + + private resource: ValueSet + + constructor (resource: ValueSet) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/publishablevalueset")) profiles.push("http://hl7.org/fhir/StructureDefinition/publishablevalueset") + } + + static from (resource: ValueSet) : PublishableValueSetProfile { + return new PublishableValueSetProfile(resource) + } + + static createResource (args: PublishableValueSetProfileParams) : ValueSet { + const resource: ValueSet = { + resourceType: "ValueSet", + url: args.url, + version: args.version, + title: args.title, + status: args.status, + experimental: args.experimental, + description: args.description, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/publishablevalueset"] }, + } as unknown as ValueSet + return resource + } + + static create (args: PublishableValueSetProfileParams) : PublishableValueSetProfile { + return PublishableValueSetProfile.from(PublishableValueSetProfile.createResource(args)) + } + + toResource () : ValueSet { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + + toProfile () : PublishableValueSet { + return this.resource as PublishableValueSet + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setAuthoritativeSource (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", valueUri: value } as Extension) + return this + } + + public setTrustedExpansion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion", valueUri: value } as Extension) + return this + } + + public setOtherTitle (input: PublishableValueSet_OtherTitleInput): this { + const subExtensions: Extension[] = [] + if (input.title !== undefined) { + subExtensions.push({ url: "title", valueString: input.title }) + } + if (input.preferred !== undefined) { + subExtensions.push({ url: "preferred", valueBoolean: input.preferred }) + } + if (input.language !== undefined) { + subExtensions.push({ url: "language", valueCode: input.language }) + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle", extension: subExtensions }) + return this + } + + public setSourceReference (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference", valueUri: value } as Extension) + return this + } + + public setComposeCreatedBy (value: string): this { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) + if (!Array.isArray(target.extension)) target.extension = [] as Extension[] + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy", valueString: value } as Extension) + return this + } + + public setComposeCreationDate (value: string): this { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) + if (!Array.isArray(target.extension)) target.extension = [] as Extension[] + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy", valueString: value } as Extension) + return this + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getAuthoritativeSource (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getAuthoritativeSourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") + return ext + } + + public getTrustedExpansion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getTrustedExpansionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion") + return ext + } + + public getOtherTitle (): PublishableValueSet_OtherTitleInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle") + if (!ext) return undefined + const config = [{ name: "title", valueField: "valueString", isArray: false }, { name: "preferred", valueField: "valueBoolean", isArray: false }, { name: "language", valueField: "valueCode", isArray: false }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as PublishableValueSet_OtherTitleInput + } + + public getOtherTitleExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle") + return ext + } + + public getSourceReference (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getSourceReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference") + return ext + } + + public getComposeCreatedBy (): string | undefined { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) + const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getComposeCreatedByExtension (): Extension | undefined { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) + const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy") + return ext + } + + public getComposeCreationDate (): string | undefined { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) + const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getComposeCreationDateExtension (): Extension | undefined { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose"]) + const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublishableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "PublishableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "PublishableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "PublishableValueSet"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "PublishableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "PublishableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "PublishableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "PublishableValueSet"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ShareableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ShareableValueSet.ts new file mode 100644 index 000000000..2a00597e7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ShareableValueSet.ts @@ -0,0 +1,171 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { ValueSet } from "../../hl7-fhir-r5-core/ValueSet"; + +export interface ShareableValueSet extends ValueSet { + url: string; + version: string; + title: string; + experimental: boolean; + description: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShareableValueSetProfileParams = { + url: string; + version: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + experimental: boolean; + description: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/shareablevalueset (pkg: hl7.fhir.r5.core#5.0.0) +export class ShareableValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + + private resource: ValueSet + + constructor (resource: ValueSet) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/StructureDefinition/shareablevalueset")) profiles.push("http://hl7.org/fhir/StructureDefinition/shareablevalueset") + } + + static from (resource: ValueSet) : ShareableValueSetProfile { + return new ShareableValueSetProfile(resource) + } + + static createResource (args: ShareableValueSetProfileParams) : ValueSet { + const resource: ValueSet = { + resourceType: "ValueSet", + url: args.url, + version: args.version, + title: args.title, + status: args.status, + experimental: args.experimental, + description: args.description, + meta: { profile: ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"] }, + } as unknown as ValueSet + return resource + } + + static create (args: ShareableValueSetProfileParams) : ShareableValueSetProfile { + return ShareableValueSetProfile.from(ShareableValueSetProfile.createResource(args)) + } + + toResource () : ValueSet { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getVersion () : string | undefined { + return this.resource.version as string | undefined + } + + setVersion (value: string) : this { + Object.assign(this.resource, { version: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getExperimental () : boolean | undefined { + return this.resource.experimental as boolean | undefined + } + + setExperimental (value: boolean) : this { + Object.assign(this.resource, { experimental: value }) + return this + } + + getDescription () : string | undefined { + return this.resource.description as string | undefined + } + + setDescription (value: string) : this { + Object.assign(this.resource, { description: value }) + return this + } + + toProfile () : ShareableValueSet { + return this.resource as ShareableValueSet + } + + public setKnowledgeRepresentationLevel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", valueCode: value } as Extension) + return this + } + + public setAuthoritativeSource (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", valueUri: value } as Extension) + return this + } + + public getKnowledgeRepresentationLevel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getKnowledgeRepresentationLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel") + return ext + } + + public getAuthoritativeSource (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getAuthoritativeSourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShareableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "version", "ShareableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "ShareableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "ShareableValueSet"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "ShareableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "experimental", "ShareableValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "ShareableValueSet"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/index.ts index c019f4b1e..e7a7b62c8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/index.ts @@ -1,57 +1,88 @@ -export { ActualGroupProfile } from "./ActualGroup"; -export { BatchBundleProfile } from "./BatchBundle"; -export { BatchResponseBundleProfile } from "./BatchResponseBundle"; -export { CDSHooksGuidanceResponseProfile } from "./CdshooksGuidanceResponse"; -export { CDSHooksRequestOrchestrationProfile } from "./CdshooksRequestOrchestration"; -export { CDSHooksServicePlanDefinitionProfile } from "./CdshooksServicePlanDefinition"; -export { ClinicalDocumentProfile } from "./ClinicalDocument"; -export { ComputablePlanDefinitionProfile } from "./ComputablePlanDefinition"; -export { ComputableValueSetProfile } from "./ComputableValueSet"; -export { CQLLibraryProfile } from "./Cqllibrary"; -export { DeviceMetricObservationProfileProfile } from "./DeviceMetricObservationProfile"; -export { DocumentBundleProfile } from "./DocumentBundle"; -export { DocumentSectionLibraryProfile } from "./DocumentSectionLibrary"; -export { DocumentStructureProfile } from "./DocumentStructure"; -export { EBMRecommendationProfile } from "./Ebmrecommendation"; -export { ELMLibraryProfile } from "./Elmlibrary"; -export { ExampleLipidProfileProfile } from "./ExampleLipidProfile"; -export { ExecutableValueSetProfile } from "./ExecutableValueSet"; -export { FamilyMemberHistoryForGeneticsAnalysisProfile } from "./FamilyMemberHistoryForGeneticsAnalysis"; -export { FHIRPathLibraryProfile } from "./FhirpathLibrary"; -export { GroupDefinitionProfile } from "./GroupDefinition"; -export { HistoryBundleProfile } from "./HistoryBundle"; -export { LogicLibraryProfile } from "./LogicLibrary"; -export { ModelInfoLibraryProfile } from "./ModelInfoLibrary"; -export { ModuleDefinitionLibraryProfile } from "./ModuleDefinitionLibrary"; -export { ObservationbmiProfile } from "./Observationbmi"; -export { ObservationbodyheightProfile } from "./Observationbodyheight"; -export { ObservationbodytempProfile } from "./Observationbodytemp"; -export { ObservationbodyweightProfile } from "./Observationbodyweight"; -export { ObservationbpProfile } from "./Observationbp"; -export { ObservationheadcircumProfile } from "./Observationheadcircum"; -export { ObservationheartrateProfile } from "./Observationheartrate"; -export { ObservationoxygensatProfile } from "./Observationoxygensat"; -export { ObservationresprateProfile } from "./Observationresprate"; -export { ObservationvitalsignsProfile } from "./Observationvitalsigns"; -export { ObservationvitalspanelProfile } from "./Observationvitalspanel"; -export { ProfileForCatalogProfile } from "./ProfileForCatalog"; -export { ProvenanceRelevantHistoryProfile } from "./ProvenanceRelevantHistory"; -export { PublishableActivityDefinitionProfile } from "./PublishableActivityDefinition"; -export { PublishableConceptMapProfile } from "./PublishableConceptMap"; -export { PublishableLibraryProfile } from "./PublishableLibrary"; -export { PublishableMeasureProfile } from "./PublishableMeasure"; -export { PublishableNamingSystemProfile } from "./PublishableNamingSystem"; -export { PublishablePlanDefinitionProfile } from "./PublishablePlanDefinition"; -export { PublishableValueSetProfile } from "./PublishableValueSet"; -export { SearchSetBundleProfile } from "./SearchSetBundle"; -export { ShareableActivityDefinitionProfile } from "./ShareableActivityDefinition"; -export { ShareableConceptMapProfile } from "./ShareableConceptMap"; -export { ShareableLibraryProfile } from "./ShareableLibrary"; -export { ShareableMeasureProfile } from "./ShareableMeasure"; -export { ShareableNamingSystemProfile } from "./ShareableNamingSystem"; -export { ShareablePlanDefinitionProfile } from "./ShareablePlanDefinition"; -export { ShareableTestScriptProfile } from "./ShareableTestScript"; -export { ShareableValueSetProfile } from "./ShareableValueSet"; -export { SubscriptionNotificationBundleProfile } from "./SubscriptionNotificationBundle"; -export { TransactionBundleProfile } from "./TransactionBundle"; -export { TransactionResponseBundleProfile } from "./TransactionResponseBundle"; +export type { CDSHooksGuidanceResponse } from "./GuidanceResponse_CDSHooksGuidanceResponse"; +export type { CDSHooksRequestOrchestration } from "./RequestOrchestration_CDSHooksRequestOrchestration"; +export type { ComputablePlanDefinition } from "./PlanDefinition_ComputablePlanDefinition"; +export type { DeviceMetricObservationProfile } from "./Observation_DeviceMetricObservationProfile"; +export type { DocumentBundle } from "./Bundle_DocumentBundle"; +export type { ExampleLipidProfile } from "./Observation_ExampleLipidProfile"; +export type { ExecutableValueSet } from "./ValueSet_ExecutableValueSet"; +export type { GroupDefinition } from "./Group_GroupDefinition"; +export type { Observationbmi } from "./Observation_Observationbmi"; +export type { Observationvitalsigns } from "./Observation_Observationvitalsigns"; +export type { Observationvitalspanel } from "./Observation_Observationvitalspanel"; +export type { ProfileForCatalog } from "./Composition_ProfileForCatalog"; +export type { ProvenanceRelevantHistory } from "./Provenance_ProvenanceRelevantHistory"; +export type { PublishableActivityDefinition } from "./ActivityDefinition_PublishableActivityDefinition"; +export type { PublishableConceptMap } from "./ConceptMap_PublishableConceptMap"; +export type { PublishableLibrary } from "./Library_PublishableLibrary"; +export type { PublishableMeasure } from "./Measure_PublishableMeasure"; +export type { PublishablePlanDefinition } from "./PlanDefinition_PublishablePlanDefinition"; +export type { PublishableValueSet } from "./ValueSet_PublishableValueSet"; +export type { ShareableActivityDefinition } from "./ActivityDefinition_ShareableActivityDefinition"; +export type { ShareableConceptMap } from "./ConceptMap_ShareableConceptMap"; +export type { ShareableLibrary } from "./Library_ShareableLibrary"; +export type { ShareableMeasure } from "./Measure_ShareableMeasure"; +export type { ShareableNamingSystem } from "./NamingSystem_ShareableNamingSystem"; +export type { ShareablePlanDefinition } from "./PlanDefinition_ShareablePlanDefinition"; +export type { ShareableTestScript } from "./TestScript_ShareableTestScript"; +export type { ShareableValueSet } from "./ValueSet_ShareableValueSet"; +export type { SubscriptionNotificationBundle } from "./Bundle_SubscriptionNotificationBundle"; +export { ActualGroupProfile } from "./Group_ActualGroup"; +export { BatchBundleProfile } from "./Bundle_BatchBundle"; +export { BatchResponseBundleProfile } from "./Bundle_BatchResponseBundle"; +export { CDSHooksGuidanceResponseProfile } from "./GuidanceResponse_CDSHooksGuidanceResponse"; +export { CDSHooksRequestOrchestrationProfile } from "./RequestOrchestration_CDSHooksRequestOrchestration"; +export { CDSHooksServicePlanDefinitionProfile } from "./PlanDefinition_CDSHooksServicePlanDefinition"; +export { CQLLibraryProfile } from "./Library_CQLLibrary"; +export { ClinicalDocumentProfile } from "./Composition_ClinicalDocument"; +export { ComputablePlanDefinitionProfile } from "./PlanDefinition_ComputablePlanDefinition"; +export { ComputableValueSetProfile } from "./ValueSet_ComputableValueSet"; +export { DataElement_constraint_on_ElementDefinition_data_typeProfile } from "./ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type"; +export { DeviceMetricObservationProfileProfile } from "./Observation_DeviceMetricObservationProfile"; +export { DocumentBundleProfile } from "./Bundle_DocumentBundle"; +export { DocumentSectionLibraryProfile } from "./Composition_DocumentSectionLibrary"; +export { DocumentStructureProfile } from "./Composition_DocumentStructure"; +export { EBMRecommendationProfile } from "./ArtifactAssessment_EBMRecommendation"; +export { ELMLibraryProfile } from "./Library_ELMLibrary"; +export { ExampleLipidProfileProfile } from "./Observation_ExampleLipidProfile"; +export { ExecutableValueSetProfile } from "./ValueSet_ExecutableValueSet"; +export { FHIRPathLibraryProfile } from "./Library_FHIRPathLibrary"; +export { FamilyMemberHistoryForGeneticsAnalysisProfile } from "./FamilyMemberHistory_FamilyMemberHistoryForGeneticsAnalysis"; +export { GroupDefinitionProfile } from "./Group_GroupDefinition"; +export { HistoryBundleProfile } from "./Bundle_HistoryBundle"; +export { LogicLibraryProfile } from "./Library_LogicLibrary"; +export { ModelInfoLibraryProfile } from "./Library_ModelInfoLibrary"; +export { ModuleDefinitionLibraryProfile } from "./Library_ModuleDefinitionLibrary"; +export { MoneyQuantityProfile } from "./Quantity_MoneyQuantity"; +export { ObservationbmiProfile } from "./Observation_Observationbmi"; +export { ObservationbodyheightProfile } from "./Observation_Observationbodyheight"; +export { ObservationbodytempProfile } from "./Observation_Observationbodytemp"; +export { ObservationbodyweightProfile } from "./Observation_Observationbodyweight"; +export { ObservationbpProfile } from "./Observation_Observationbp"; +export { ObservationheadcircumProfile } from "./Observation_Observationheadcircum"; +export { ObservationheartrateProfile } from "./Observation_Observationheartrate"; +export { ObservationoxygensatProfile } from "./Observation_Observationoxygensat"; +export { ObservationresprateProfile } from "./Observation_Observationresprate"; +export { ObservationvitalsignsProfile } from "./Observation_Observationvitalsigns"; +export { ObservationvitalspanelProfile } from "./Observation_Observationvitalspanel"; +export { ProfileForCatalogProfile } from "./Composition_ProfileForCatalog"; +export { ProvenanceRelevantHistoryProfile } from "./Provenance_ProvenanceRelevantHistory"; +export { PublishableActivityDefinitionProfile } from "./ActivityDefinition_PublishableActivityDefinition"; +export { PublishableConceptMapProfile } from "./ConceptMap_PublishableConceptMap"; +export { PublishableLibraryProfile } from "./Library_PublishableLibrary"; +export { PublishableMeasureProfile } from "./Measure_PublishableMeasure"; +export { PublishableNamingSystemProfile } from "./NamingSystem_PublishableNamingSystem"; +export { PublishablePlanDefinitionProfile } from "./PlanDefinition_PublishablePlanDefinition"; +export { PublishableValueSetProfile } from "./ValueSet_PublishableValueSet"; +export { SearchSetBundleProfile } from "./Bundle_SearchSetBundle"; +export { ShareableActivityDefinitionProfile } from "./ActivityDefinition_ShareableActivityDefinition"; +export { ShareableConceptMapProfile } from "./ConceptMap_ShareableConceptMap"; +export { ShareableLibraryProfile } from "./Library_ShareableLibrary"; +export { ShareableMeasureProfile } from "./Measure_ShareableMeasure"; +export { ShareableNamingSystemProfile } from "./NamingSystem_ShareableNamingSystem"; +export { ShareablePlanDefinitionProfile } from "./PlanDefinition_ShareablePlanDefinition"; +export { ShareableTestScriptProfile } from "./TestScript_ShareableTestScript"; +export { ShareableValueSetProfile } from "./ValueSet_ShareableValueSet"; +export { SimpleQuantityProfile } from "./Quantity_SimpleQuantity"; +export { SubscriptionNotificationBundleProfile } from "./Bundle_SubscriptionNotificationBundle"; +export { TransactionBundleProfile } from "./Bundle_TransactionBundle"; +export { TransactionResponseBundleProfile } from "./Bundle_TransactionResponseBundle"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/AllergyIntolerance_USCoreAllergyIntolerance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/AllergyIntolerance_USCoreAllergyIntolerance.ts new file mode 100644 index 000000000..993bd62e6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/AllergyIntolerance_USCoreAllergyIntolerance.ts @@ -0,0 +1,91 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { AllergyIntolerance } from "../../hl7-fhir-r4-core/AllergyIntolerance"; +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreAllergyIntolerance extends AllergyIntolerance { + code: CodeableConcept; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreAllergyIntoleranceProfileParams = { + code: CodeableConcept; + patient: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreAllergyIntoleranceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + + private resource: AllergyIntolerance + + constructor (resource: AllergyIntolerance) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance") + } + + static from (resource: AllergyIntolerance) : USCoreAllergyIntoleranceProfile { + return new USCoreAllergyIntoleranceProfile(resource) + } + + static createResource (args: USCoreAllergyIntoleranceProfileParams) : AllergyIntolerance { + const resource: AllergyIntolerance = { + resourceType: "AllergyIntolerance", + code: args.code, + patient: args.patient, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"] }, + } as unknown as AllergyIntolerance + return resource + } + + static create (args: USCoreAllergyIntoleranceProfileParams) : USCoreAllergyIntoleranceProfile { + return USCoreAllergyIntoleranceProfile.from(USCoreAllergyIntoleranceProfile.createResource(args)) + } + + toResource () : AllergyIntolerance { + return this.resource + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getPatient () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.patient as Reference<"USCorePatientProfile"> | undefined + } + + setPatient (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { patient: value }) + return this + } + + toProfile () : USCoreAllergyIntolerance { + return this.resource as USCoreAllergyIntolerance + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["clinicalStatus"], ["active","inactive","resolved"], "clinicalStatus", "USCoreAllergyIntolerance"); if (e) errors.push(e) } + { const e = validateEnum(r["verificationStatus"], ["unconfirmed","confirmed","refuted","entered-in-error"], "verificationStatus", "USCoreAllergyIntolerance"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreAllergyIntolerance"); if (e) errors.push(e) } + { const e = validateRequired(r, "patient", "USCoreAllergyIntolerance"); if (e) errors.push(e) } + { const e = validateReference(r["patient"], ["USCorePatientProfile"], "patient", "USCoreAllergyIntolerance"); if (e) errors.push(e) } + { const e = validateReference(r["recorder"], ["PractitionerRole","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "recorder", "USCoreAllergyIntolerance"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CarePlan_USCoreCarePlanProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CarePlan_USCoreCarePlanProfile.ts new file mode 100644 index 000000000..a23be5f2e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CarePlan_USCoreCarePlanProfile.ts @@ -0,0 +1,148 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CarePlan } from "../../hl7-fhir-r4-core/CarePlan"; +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreCarePlanProfile extends CarePlan { + category: CodeableConcept[]; +} + +export type USCoreCarePlanProfile_Category_AssessPlanSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreCarePlanProfileProfileParams = { + status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); + intent: ("proposal" | "plan" | "order" | "option"); + category: CodeableConcept[]; + subject: Reference<"Group" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreCarePlanProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + + private resource: CarePlan + + constructor (resource: CarePlan) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan") + } + + static from (resource: CarePlan) : USCoreCarePlanProfileProfile { + return new USCoreCarePlanProfileProfile(resource) + } + + static createResource (args: USCoreCarePlanProfileProfileParams) : CarePlan { + const resource: CarePlan = { + resourceType: "CarePlan", + status: args.status, + intent: args.intent, + category: args.category, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan"] }, + } as unknown as CarePlan + return resource + } + + static create (args: USCoreCarePlanProfileProfileParams) : USCoreCarePlanProfileProfile { + return USCoreCarePlanProfileProfile.from(USCoreCarePlanProfileProfile.createResource(args)) + } + + toResource () : CarePlan { + return this.resource + } + + getStatus () : ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getIntent () : ("proposal" | "plan" | "order" | "option") | undefined { + return this.resource.intent as ("proposal" | "plan" | "order" | "option") | undefined + } + + setIntent (value: ("proposal" | "plan" | "order" | "option")) : this { + Object.assign(this.resource, { intent: value }) + return this + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category as CodeableConcept[] | undefined + } + + setCategory (value: CodeableConcept[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getSubject () : Reference<"Group" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + toProfile () : USCoreCarePlanProfile { + return this.resource as USCoreCarePlanProfile + } + + public setAssessPlan (input?: USCoreCarePlanProfile_Category_AssessPlanSliceInput): this { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getAssessPlan (): USCoreCarePlanProfile_Category_AssessPlanSliceInput | undefined { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreCarePlanProfile_Category_AssessPlanSliceInput + } + + public getAssessPlanRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreCarePlanProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","on-hold","revoked","completed","entered-in-error","unknown"], "status", "USCoreCarePlanProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "intent", "USCoreCarePlanProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["intent"], ["proposal","plan","order","option"], "intent", "USCoreCarePlanProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreCarePlanProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]}, "AssessPlan", 0, 1, "USCoreCarePlanProfile.category")) + { const e = validateRequired(r, "subject", "USCoreCarePlanProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","USCorePatientProfile"], "subject", "USCoreCarePlanProfile"); if (e) errors.push(e) } + { const e = validateReference(r["contributor"], ["Device","PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "contributor", "USCoreCarePlanProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CareTeam_USCoreCareTeam.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CareTeam_USCoreCareTeam.ts new file mode 100644 index 000000000..60a07f4bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CareTeam_USCoreCareTeam.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CareTeam } from "../../hl7-fhir-r4-core/CareTeam"; +import type { CareTeamParticipant } from "../../hl7-fhir-r4-core/CareTeam"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreCareTeam extends CareTeam { + subject: Reference<'Group' | "Patient" /*USCorePatientProfile*/>; + participant: CareTeamParticipant[]; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreCareTeamProfileParams = { + subject: Reference<"Group" | "USCorePatientProfile">; + participant: CareTeamParticipant[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreCareTeamProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + + private resource: CareTeam + + constructor (resource: CareTeam) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam") + } + + static from (resource: CareTeam) : USCoreCareTeamProfile { + return new USCoreCareTeamProfile(resource) + } + + static createResource (args: USCoreCareTeamProfileParams) : CareTeam { + const resource: CareTeam = { + resourceType: "CareTeam", + subject: args.subject, + participant: args.participant, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"] }, + } as unknown as CareTeam + return resource + } + + static create (args: USCoreCareTeamProfileParams) : USCoreCareTeamProfile { + return USCoreCareTeamProfile.from(USCoreCareTeamProfile.createResource(args)) + } + + toResource () : CareTeam { + return this.resource + } + + getSubject () : Reference<"Group" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getParticipant () : CareTeamParticipant[] | undefined { + return this.resource.participant as CareTeamParticipant[] | undefined + } + + setParticipant (value: CareTeamParticipant[]) : this { + Object.assign(this.resource, { participant: value }) + return this + } + + toProfile () : USCoreCareTeam { + return this.resource as USCoreCareTeam + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["status"], ["proposed","active","suspended","inactive","entered-in-error"], "status", "USCoreCareTeam"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreCareTeam"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","USCorePatientProfile"], "subject", "USCoreCareTeam"); if (e) errors.push(e) } + { const e = validateRequired(r, "participant", "USCoreCareTeam"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionEncounterDiagnosisProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionEncounterDiagnosisProfile.ts new file mode 100644 index 000000000..4723e6fc8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionEncounterDiagnosisProfile.ts @@ -0,0 +1,139 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Condition } from "../../hl7-fhir-r4-core/Condition"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreConditionEncounterDiagnosisProfile extends Condition { + category: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; + code: CodeableConcept<("160245001" | string)>; +} + +export type USCoreConditionEncounterDiagnosisProfile_Category_Us_coreSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreConditionEncounterDiagnosisProfileProfileParams = { + code: CodeableConcept<("160245001" | string)>; + subject: Reference<"Group" | "USCorePatientProfile">; + category?: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreConditionEncounterDiagnosisProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis" + + private resource: Condition + + constructor (resource: Condition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis") + } + + static from (resource: Condition) : USCoreConditionEncounterDiagnosisProfileProfile { + return new USCoreConditionEncounterDiagnosisProfileProfile(resource) + } + + static createResource (args: USCoreConditionEncounterDiagnosisProfileProfileParams) : Condition { + const categoryDefaults = [{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Condition = { + resourceType: "Condition", + category: categoryWithDefaults, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis"] }, + } as unknown as Condition + return resource + } + + static create (args: USCoreConditionEncounterDiagnosisProfileProfileParams) : USCoreConditionEncounterDiagnosisProfileProfile { + return USCoreConditionEncounterDiagnosisProfileProfile.from(USCoreConditionEncounterDiagnosisProfileProfile.createResource(args)) + } + + toResource () : Condition { + return this.resource + } + + getCode () : CodeableConcept<("160245001" | string)> | undefined { + return this.resource.code as CodeableConcept<("160245001" | string)> | undefined + } + + setCode (value: CodeableConcept<("160245001" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Group" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + toProfile () : USCoreConditionEncounterDiagnosisProfile { + return this.resource as USCoreConditionEncounterDiagnosisProfile + } + + public setUs_core (input?: USCoreConditionEncounterDiagnosisProfile_Category_Us_coreSliceInput): this { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getUs_core (): USCoreConditionEncounterDiagnosisProfile_Category_Us_coreSliceInput | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreConditionEncounterDiagnosisProfile_Category_Us_coreSliceInput + } + + public getUs_coreRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "category", "USCoreConditionEncounterDiagnosisProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]}, "us-core", 1, 1, "USCoreConditionEncounterDiagnosisProfile.category")) + { const e = validateRequired(r, "code", "USCoreConditionEncounterDiagnosisProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreConditionEncounterDiagnosisProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","USCorePatientProfile"], "subject", "USCoreConditionEncounterDiagnosisProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreConditionEncounterDiagnosisProfile"); if (e) errors.push(e) } + { const e = validateReference(r["recorder"], ["PractitionerRole","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "recorder", "USCoreConditionEncounterDiagnosisProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionProblemsHealthConcernsProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionProblemsHealthConcernsProfile.ts new file mode 100644 index 000000000..aee50a5db --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionProblemsHealthConcernsProfile.ts @@ -0,0 +1,214 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-core/Age"; +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Condition } from "../../hl7-fhir-r4-core/Condition"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreConditionProblemsHealthConcernsProfile extends Condition { + category: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; + code: CodeableConcept<("160245001" | string)>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreConditionProblemsHealthConcernsProfileProfileParams = { + category: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; + code: CodeableConcept<("160245001" | string)>; + subject: Reference<"Group" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreConditionProblemsHealthConcernsProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns" + + private resource: Condition + + constructor (resource: Condition) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns") + } + + static from (resource: Condition) : USCoreConditionProblemsHealthConcernsProfileProfile { + return new USCoreConditionProblemsHealthConcernsProfileProfile(resource) + } + + static createResource (args: USCoreConditionProblemsHealthConcernsProfileProfileParams) : Condition { + const resource: Condition = { + resourceType: "Condition", + category: args.category, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns"] }, + } as unknown as Condition + return resource + } + + static create (args: USCoreConditionProblemsHealthConcernsProfileProfileParams) : USCoreConditionProblemsHealthConcernsProfileProfile { + return USCoreConditionProblemsHealthConcernsProfileProfile.from(USCoreConditionProblemsHealthConcernsProfileProfile.createResource(args)) + } + + toResource () : Condition { + return this.resource + } + + getCategory () : CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("160245001" | string)> | undefined { + return this.resource.code as CodeableConcept<("160245001" | string)> | undefined + } + + setCode (value: CodeableConcept<("160245001" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Group" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getOnsetDateTime () : string | undefined { + return this.resource.onsetDateTime as string | undefined + } + + setOnsetDateTime (value: string) : this { + Object.assign(this.resource, { onsetDateTime: value }) + return this + } + + getOnsetAge () : Age | undefined { + return this.resource.onsetAge as Age | undefined + } + + setOnsetAge (value: Age) : this { + Object.assign(this.resource, { onsetAge: value }) + return this + } + + getOnsetPeriod () : Period | undefined { + return this.resource.onsetPeriod as Period | undefined + } + + setOnsetPeriod (value: Period) : this { + Object.assign(this.resource, { onsetPeriod: value }) + return this + } + + getOnsetRange () : Range | undefined { + return this.resource.onsetRange as Range | undefined + } + + setOnsetRange (value: Range) : this { + Object.assign(this.resource, { onsetRange: value }) + return this + } + + getOnsetString () : string | undefined { + return this.resource.onsetString as string | undefined + } + + setOnsetString (value: string) : this { + Object.assign(this.resource, { onsetString: value }) + return this + } + + getAbatementDateTime () : string | undefined { + return this.resource.abatementDateTime as string | undefined + } + + setAbatementDateTime (value: string) : this { + Object.assign(this.resource, { abatementDateTime: value }) + return this + } + + getAbatementAge () : Age | undefined { + return this.resource.abatementAge as Age | undefined + } + + setAbatementAge (value: Age) : this { + Object.assign(this.resource, { abatementAge: value }) + return this + } + + getAbatementPeriod () : Period | undefined { + return this.resource.abatementPeriod as Period | undefined + } + + setAbatementPeriod (value: Period) : this { + Object.assign(this.resource, { abatementPeriod: value }) + return this + } + + getAbatementRange () : Range | undefined { + return this.resource.abatementRange as Range | undefined + } + + setAbatementRange (value: Range) : this { + Object.assign(this.resource, { abatementRange: value }) + return this + } + + getAbatementString () : string | undefined { + return this.resource.abatementString as string | undefined + } + + setAbatementString (value: string) : this { + Object.assign(this.resource, { abatementString: value }) + return this + } + + toProfile () : USCoreConditionProblemsHealthConcernsProfile { + return this.resource as USCoreConditionProblemsHealthConcernsProfile + } + + public setAssertedDate (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", valueDateTime: value } as Extension) + return this + } + + public getAssertedDate (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/condition-assertedDate") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getAssertedDateExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/condition-assertedDate") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["clinicalStatus"], ["active","recurrence","relapse","inactive","remission","resolved"], "clinicalStatus", "USCoreConditionProblemsHealthConcernsProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["verificationStatus"], ["unconfirmed","provisional","differential","confirmed","refuted","entered-in-error"], "verificationStatus", "USCoreConditionProblemsHealthConcernsProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreConditionProblemsHealthConcernsProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreConditionProblemsHealthConcernsProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreConditionProblemsHealthConcernsProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","USCorePatientProfile"], "subject", "USCoreConditionProblemsHealthConcernsProfile"); if (e) errors.push(e) } + { const e = validateReference(r["recorder"], ["PractitionerRole","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "recorder", "USCoreConditionProblemsHealthConcernsProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCoverageProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Coverage_USCoreCoverageProfile.ts similarity index 51% rename from examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCoverageProfile.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Coverage_USCoreCoverageProfile.ts index 0a3b20b44..18aff4b42 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCoverageProfile.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Coverage_USCoreCoverageProfile.ts @@ -6,29 +6,99 @@ import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; import type { Coverage } from "../../hl7-fhir-r4-core/Coverage"; import type { CoverageClass } from "../../hl7-fhir-r4-core/Coverage"; import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage export interface USCoreCoverageProfile extends Coverage { - relationship: CodeableConcept; + relationship: CodeableConcept<("child" | "parent" | "spouse" | "common" | "other" | "self" | "injured" | string)>; } export type USCoreCoverageProfile_Identifier_MemberidSliceInput = Omit; export type USCoreCoverageProfile_Class__GroupSliceInput = Omit; export type USCoreCoverageProfile_Class__PlanSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type USCoreCoverageProfileProfileParams = { + status: ("active" | "cancelled" | "draft" | "entered-in-error"); + beneficiary: Reference<"USCorePatientProfile">; + relationship: CodeableConcept<("child" | "parent" | "spouse" | "common" | "other" | "self" | "injured" | string)>; + payor: Reference<"USCoreOrganizationProfile" | "USCorePatientProfile" | "USCoreRelatedPersonProfile">[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage (pkg: hl7.fhir.us.core#8.0.1) export class USCoreCoverageProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage" + private resource: Coverage constructor (resource: Coverage) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage") + } + + static from (resource: Coverage) : USCoreCoverageProfileProfile { + return new USCoreCoverageProfileProfile(resource) + } + + static createResource (args: USCoreCoverageProfileProfileParams) : Coverage { + const resource: Coverage = { + resourceType: "Coverage", + status: args.status, + beneficiary: args.beneficiary, + relationship: args.relationship, + payor: args.payor, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage"] }, + } as unknown as Coverage + return resource + } + + static create (args: USCoreCoverageProfileProfileParams) : USCoreCoverageProfileProfile { + return USCoreCoverageProfileProfile.from(USCoreCoverageProfileProfile.createResource(args)) } toResource () : Coverage { return this.resource } + getStatus () : ("active" | "cancelled" | "draft" | "entered-in-error") | undefined { + return this.resource.status as ("active" | "cancelled" | "draft" | "entered-in-error") | undefined + } + + setStatus (value: ("active" | "cancelled" | "draft" | "entered-in-error")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getBeneficiary () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.beneficiary as Reference<"USCorePatientProfile"> | undefined + } + + setBeneficiary (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { beneficiary: value }) + return this + } + + getRelationship () : CodeableConcept<("child" | "parent" | "spouse" | "common" | "other" | "self" | "injured" | string)> | undefined { + return this.resource.relationship as CodeableConcept<("child" | "parent" | "spouse" | "common" | "other" | "self" | "injured" | string)> | undefined + } + + setRelationship (value: CodeableConcept<("child" | "parent" | "spouse" | "common" | "other" | "self" | "injured" | string)>) : this { + Object.assign(this.resource, { relationship: value }) + return this + } + + getPayor () : Reference<"USCoreOrganizationProfile" | "USCorePatientProfile" | "USCoreRelatedPersonProfile">[] | undefined { + return this.resource.payor as Reference<"USCoreOrganizationProfile" | "USCorePatientProfile" | "USCoreRelatedPersonProfile">[] | undefined + } + + setPayor (value: Reference<"USCoreOrganizationProfile" | "USCorePatientProfile" | "USCoreRelatedPersonProfile">[]) : this { + Object.assign(this.resource, { payor: value }) + return this + } + toProfile () : USCoreCoverageProfile { return this.resource as USCoreCoverageProfile } @@ -123,5 +193,21 @@ export class USCoreCoverageProfileProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + errors.push(...validateSliceCardinality(r["identifier"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MB"}]}}, "memberid", 0, 1, "USCoreCoverageProfile.identifier")) + { const e = validateRequired(r, "status", "USCoreCoverageProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["active","cancelled","draft","entered-in-error"], "status", "USCoreCoverageProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "beneficiary", "USCoreCoverageProfile"); if (e) errors.push(e) } + { const e = validateReference(r["beneficiary"], ["USCorePatientProfile"], "beneficiary", "USCoreCoverageProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "relationship", "USCoreCoverageProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "payor", "USCoreCoverageProfile"); if (e) errors.push(e) } + { const e = validateReference(r["payor"], ["USCoreOrganizationProfile","USCorePatientProfile","USCoreRelatedPersonProfile"], "payor", "USCoreCoverageProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["class"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/coverage-class","code":"group"}]}}, "group", 0, 1, "USCoreCoverageProfile.class")) + errors.push(...validateSliceCardinality(r["class"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/coverage-class","code":"plan"}]}}, "plan", 0, 1, "USCoreCoverageProfile.class")) + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Device_USCoreImplantableDeviceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Device_USCoreImplantableDeviceProfile.ts new file mode 100644 index 000000000..f493fe905 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Device_USCoreImplantableDeviceProfile.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Device } from "../../hl7-fhir-r4-core/Device"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreImplantableDeviceProfile extends Device { + type: CodeableConcept; + patient: Reference<"Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreImplantableDeviceProfileProfileParams = { + type: CodeableConcept; + patient: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreImplantableDeviceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + + private resource: Device + + constructor (resource: Device) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device") + } + + static from (resource: Device) : USCoreImplantableDeviceProfileProfile { + return new USCoreImplantableDeviceProfileProfile(resource) + } + + static createResource (args: USCoreImplantableDeviceProfileProfileParams) : Device { + const resource: Device = { + resourceType: "Device", + type: args.type, + patient: args.patient, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"] }, + } as unknown as Device + return resource + } + + static create (args: USCoreImplantableDeviceProfileProfileParams) : USCoreImplantableDeviceProfileProfile { + return USCoreImplantableDeviceProfileProfile.from(USCoreImplantableDeviceProfileProfile.createResource(args)) + } + + toResource () : Device { + return this.resource + } + + getType () : CodeableConcept | undefined { + return this.resource.type as CodeableConcept | undefined + } + + setType (value: CodeableConcept) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getPatient () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.patient as Reference<"USCorePatientProfile"> | undefined + } + + setPatient (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { patient: value }) + return this + } + + toProfile () : USCoreImplantableDeviceProfile { + return this.resource as USCoreImplantableDeviceProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "USCoreImplantableDeviceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "patient", "USCoreImplantableDeviceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["patient"], ["USCorePatientProfile"], "patient", "USCoreImplantableDeviceProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileLaboratoryReporting.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileLaboratoryReporting.ts new file mode 100644 index 000000000..810c613ac --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileLaboratoryReporting.ts @@ -0,0 +1,173 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { DiagnosticReport } from "../../hl7-fhir-r4-core/DiagnosticReport"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreDiagnosticReportProfileLaboratoryReporting extends DiagnosticReport { + category: CodeableConcept[]; + subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; +} + +export type USCoreDiagnosticReportProfileLaboratoryReporting_Category_LaboratorySliceSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreDiagnosticReportProfileLaboratoryReportingProfileParams = { + status: ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept; + subject: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">; + category?: CodeableConcept[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreDiagnosticReportProfileLaboratoryReportingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + + private resource: DiagnosticReport + + constructor (resource: DiagnosticReport) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab") + } + + static from (resource: DiagnosticReport) : USCoreDiagnosticReportProfileLaboratoryReportingProfile { + return new USCoreDiagnosticReportProfileLaboratoryReportingProfile(resource) + } + + static createResource (args: USCoreDiagnosticReportProfileLaboratoryReportingProfileParams) : DiagnosticReport { + const categoryDefaults = [{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"] }, + } as unknown as DiagnosticReport + return resource + } + + static create (args: USCoreDiagnosticReportProfileLaboratoryReportingProfileParams) : USCoreDiagnosticReportProfileLaboratoryReportingProfile { + return USCoreDiagnosticReportProfileLaboratoryReportingProfile.from(USCoreDiagnosticReportProfileLaboratoryReportingProfile.createResource(args)) + } + + toResource () : DiagnosticReport { + return this.resource + } + + getStatus () : ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category as CodeableConcept[] | undefined + } + + setCategory (value: CodeableConcept[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : USCoreDiagnosticReportProfileLaboratoryReporting { + return this.resource as USCoreDiagnosticReportProfileLaboratoryReporting + } + + public setLaboratorySlice (input?: USCoreDiagnosticReportProfileLaboratoryReporting_Category_LaboratorySliceSliceInput): this { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getLaboratorySlice (): USCoreDiagnosticReportProfileLaboratoryReporting_Category_LaboratorySliceSliceInput | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreDiagnosticReportProfileLaboratoryReporting_Category_LaboratorySliceSliceInput + } + + public getLaboratorySliceRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","partial","preliminary","final","amended","corrected","appended","cancelled","entered-in-error","unknown"], "status", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]}, "LaboratorySlice", 1, 1, "USCoreDiagnosticReportProfileLaboratoryReporting.category")) + { const e = validateRequired(r, "code", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","USCoreLocationProfile","USCorePatientProfile"], "subject", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["USCoreCareTeam","USCoreOrganizationProfile","USCorePractitionerProfile","USCorePractitionerRoleProfile"], "performer", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + { const e = validateReference(r["resultsInterpreter"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePractitionerProfile"], "resultsInterpreter", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + { const e = validateReference(r["result"], ["USCoreLaboratoryResultObservationProfile"], "result", "USCoreDiagnosticReportProfileLaboratoryReporting"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileNoteExchange.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileNoteExchange.ts new file mode 100644 index 000000000..cb334d8d4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileNoteExchange.ts @@ -0,0 +1,137 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { DiagnosticReport } from "../../hl7-fhir-r4-core/DiagnosticReport"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreDiagnosticReportProfileNoteExchange extends DiagnosticReport { + category: CodeableConcept[]; + subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreDiagnosticReportProfileNoteExchangeProfileParams = { + status: ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown"); + category: CodeableConcept[]; + code: CodeableConcept; + subject: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreDiagnosticReportProfileNoteExchangeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + + private resource: DiagnosticReport + + constructor (resource: DiagnosticReport) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note") + } + + static from (resource: DiagnosticReport) : USCoreDiagnosticReportProfileNoteExchangeProfile { + return new USCoreDiagnosticReportProfileNoteExchangeProfile(resource) + } + + static createResource (args: USCoreDiagnosticReportProfileNoteExchangeProfileParams) : DiagnosticReport { + const resource: DiagnosticReport = { + resourceType: "DiagnosticReport", + status: args.status, + category: args.category, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"] }, + } as unknown as DiagnosticReport + return resource + } + + static create (args: USCoreDiagnosticReportProfileNoteExchangeProfileParams) : USCoreDiagnosticReportProfileNoteExchangeProfile { + return USCoreDiagnosticReportProfileNoteExchangeProfile.from(USCoreDiagnosticReportProfileNoteExchangeProfile.createResource(args)) + } + + toResource () : DiagnosticReport { + return this.resource + } + + getStatus () : ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category as CodeableConcept[] | undefined + } + + setCategory (value: CodeableConcept[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : USCoreDiagnosticReportProfileNoteExchange { + return this.resource as USCoreDiagnosticReportProfileNoteExchange + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","partial","preliminary","final","amended","corrected","appended","cancelled","entered-in-error","unknown"], "status", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","USCoreLocationProfile","USCorePatientProfile"], "subject", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["USCoreCareTeam","USCoreOrganizationProfile","USCorePractitionerProfile","USCorePractitionerRoleProfile"], "performer", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateReference(r["resultsInterpreter"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePractitionerProfile"], "resultsInterpreter", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + { const e = validateReference(r["result"], ["Observation","USCoreObservationClinicalResultProfile","USCoreLaboratoryResultObservationProfile"], "result", "USCoreDiagnosticReportProfileNoteExchange"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreADIDocumentReferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreADIDocumentReferenceProfile.ts new file mode 100644 index 000000000..4f26d6cfc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreADIDocumentReferenceProfile.ts @@ -0,0 +1,147 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { DocumentReference } from "../../hl7-fhir-r4-core/DocumentReference"; +import type { DocumentReferenceContent } from "../../hl7-fhir-r4-core/DocumentReference"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreADIDocumentReferenceProfile extends DocumentReference { + type: CodeableConcept<("104144-1" | "42348-3" | "64298-3" | "81334-5" | "84095-9" | "86533-7" | "92664-2" | "93037-0" | string)>; + category: CodeableConcept[]; + subject: Reference<'Device' | 'Group' | 'Practitioner' | "Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreADIDocumentReferenceProfileProfileParams = { + status: ("current" | "superseded" | "entered-in-error"); + type: CodeableConcept<("104144-1" | "42348-3" | "64298-3" | "81334-5" | "84095-9" | "86533-7" | "92664-2" | "93037-0" | string)>; + category: CodeableConcept[]; + subject: Reference<"Device" | "Group" | "Practitioner" | "USCorePatientProfile">; + content: DocumentReferenceContent[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreADIDocumentReferenceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference" + + private resource: DocumentReference + + constructor (resource: DocumentReference) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference") + } + + static from (resource: DocumentReference) : USCoreADIDocumentReferenceProfileProfile { + return new USCoreADIDocumentReferenceProfileProfile(resource) + } + + static createResource (args: USCoreADIDocumentReferenceProfileProfileParams) : DocumentReference { + const resource: DocumentReference = { + resourceType: "DocumentReference", + status: args.status, + type: args.type, + category: args.category, + subject: args.subject, + content: args.content, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference"] }, + } as unknown as DocumentReference + return resource + } + + static create (args: USCoreADIDocumentReferenceProfileProfileParams) : USCoreADIDocumentReferenceProfileProfile { + return USCoreADIDocumentReferenceProfileProfile.from(USCoreADIDocumentReferenceProfileProfile.createResource(args)) + } + + toResource () : DocumentReference { + return this.resource + } + + getStatus () : ("current" | "superseded" | "entered-in-error") | undefined { + return this.resource.status as ("current" | "superseded" | "entered-in-error") | undefined + } + + setStatus (value: ("current" | "superseded" | "entered-in-error")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getType () : CodeableConcept<("104144-1" | "42348-3" | "64298-3" | "81334-5" | "84095-9" | "86533-7" | "92664-2" | "93037-0" | string)> | undefined { + return this.resource.type as CodeableConcept<("104144-1" | "42348-3" | "64298-3" | "81334-5" | "84095-9" | "86533-7" | "92664-2" | "93037-0" | string)> | undefined + } + + setType (value: CodeableConcept<("104144-1" | "42348-3" | "64298-3" | "81334-5" | "84095-9" | "86533-7" | "92664-2" | "93037-0" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category as CodeableConcept[] | undefined + } + + setCategory (value: CodeableConcept[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "Practitioner" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "Practitioner" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "Practitioner" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getContent () : DocumentReferenceContent[] | undefined { + return this.resource.content as DocumentReferenceContent[] | undefined + } + + setContent (value: DocumentReferenceContent[]) : this { + Object.assign(this.resource, { content: value }) + return this + } + + toProfile () : USCoreADIDocumentReferenceProfile { + return this.resource as USCoreADIDocumentReferenceProfile + } + + public setAuthenticationTime (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time", valueDateTime: value } as Extension) + return this + } + + public getAuthenticationTime (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getAuthenticationTimeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["current","superseded","entered-in-error"], "status", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","Practitioner","USCorePatientProfile"], "subject", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["author"], ["Device","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCorePractitionerRoleProfile","USCoreRelatedPersonProfile"], "author", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["authenticator"], ["USCoreOrganizationProfile","USCorePractitionerProfile","USCorePractitionerRoleProfile"], "authenticator", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "content", "USCoreADIDocumentReferenceProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreDocumentReferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreDocumentReferenceProfile.ts new file mode 100644 index 000000000..023408e86 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreDocumentReferenceProfile.ts @@ -0,0 +1,130 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { DocumentReference } from "../../hl7-fhir-r4-core/DocumentReference"; +import type { DocumentReferenceContent } from "../../hl7-fhir-r4-core/DocumentReference"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreDocumentReferenceProfile extends DocumentReference { + type: CodeableConcept<("UNK")>; + category: CodeableConcept[]; + subject: Reference<'Device' | 'Group' | 'Practitioner' | "Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreDocumentReferenceProfileProfileParams = { + status: ("current" | "superseded" | "entered-in-error"); + type: CodeableConcept<("UNK")>; + category: CodeableConcept[]; + subject: Reference<"Device" | "Group" | "Practitioner" | "USCorePatientProfile">; + content: DocumentReferenceContent[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreDocumentReferenceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + + private resource: DocumentReference + + constructor (resource: DocumentReference) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference") + } + + static from (resource: DocumentReference) : USCoreDocumentReferenceProfileProfile { + return new USCoreDocumentReferenceProfileProfile(resource) + } + + static createResource (args: USCoreDocumentReferenceProfileProfileParams) : DocumentReference { + const resource: DocumentReference = { + resourceType: "DocumentReference", + status: args.status, + type: args.type, + category: args.category, + subject: args.subject, + content: args.content, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"] }, + } as unknown as DocumentReference + return resource + } + + static create (args: USCoreDocumentReferenceProfileProfileParams) : USCoreDocumentReferenceProfileProfile { + return USCoreDocumentReferenceProfileProfile.from(USCoreDocumentReferenceProfileProfile.createResource(args)) + } + + toResource () : DocumentReference { + return this.resource + } + + getStatus () : ("current" | "superseded" | "entered-in-error") | undefined { + return this.resource.status as ("current" | "superseded" | "entered-in-error") | undefined + } + + setStatus (value: ("current" | "superseded" | "entered-in-error")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getType () : CodeableConcept<("UNK")> | undefined { + return this.resource.type as CodeableConcept<("UNK")> | undefined + } + + setType (value: CodeableConcept<("UNK")>) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category as CodeableConcept[] | undefined + } + + setCategory (value: CodeableConcept[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "Practitioner" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "Practitioner" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "Practitioner" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getContent () : DocumentReferenceContent[] | undefined { + return this.resource.content as DocumentReferenceContent[] | undefined + } + + setContent (value: DocumentReferenceContent[]) : this { + Object.assign(this.resource, { content: value }) + return this + } + + toProfile () : USCoreDocumentReferenceProfile { + return this.resource as USCoreDocumentReferenceProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["current","superseded","entered-in-error"], "status", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["UNK"], "type", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","Practitioner","USCorePatientProfile"], "subject", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["author"], ["Device","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCorePractitionerRoleProfile","USCoreRelatedPersonProfile"], "author", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "content", "USCoreDocumentReferenceProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Encounter_USCoreEncounterProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Encounter_USCoreEncounterProfile.ts new file mode 100644 index 000000000..b9c61ee3b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Encounter_USCoreEncounterProfile.ts @@ -0,0 +1,134 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Encounter } from "../../hl7-fhir-r4-core/Encounter"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreEncounterProfile extends Encounter { + type: CodeableConcept[]; + subject: Reference<'Group' | "Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreEncounterProfileProfileParams = { + status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); + class: Coding; + type: CodeableConcept[]; + subject: Reference<"Group" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreEncounterProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + + private resource: Encounter + + constructor (resource: Encounter) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter") + } + + static from (resource: Encounter) : USCoreEncounterProfileProfile { + return new USCoreEncounterProfileProfile(resource) + } + + static createResource (args: USCoreEncounterProfileProfileParams) : Encounter { + const resource: Encounter = { + resourceType: "Encounter", + status: args.status, + class: args.class, + type: args.type, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"] }, + } as unknown as Encounter + return resource + } + + static create (args: USCoreEncounterProfileProfileParams) : USCoreEncounterProfileProfile { + return USCoreEncounterProfileProfile.from(USCoreEncounterProfileProfile.createResource(args)) + } + + toResource () : Encounter { + return this.resource + } + + getStatus () : ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getClass () : Coding | undefined { + return this.resource.class as Coding | undefined + } + + setClass (value: Coding) : this { + Object.assign(this.resource, { class: value }) + return this + } + + getType () : CodeableConcept[] | undefined { + return this.resource.type as CodeableConcept[] | undefined + } + + setType (value: CodeableConcept[]) : this { + Object.assign(this.resource, { type: value }) + return this + } + + getSubject () : Reference<"Group" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + toProfile () : USCoreEncounterProfile { + return this.resource as USCoreEncounterProfile + } + + public setInterpreterRequired (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed", valueCoding: value } as Extension) + return this + } + + public getInterpreterRequired (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getInterpreterRequiredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreEncounterProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["planned","arrived","triaged","in-progress","onleave","finished","cancelled","entered-in-error","unknown"], "status", "USCoreEncounterProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "class", "USCoreEncounterProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "type", "USCoreEncounterProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreEncounterProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","USCorePatientProfile"], "subject", "USCoreEncounterProfile"); if (e) errors.push(e) } + { const e = validateReference(r["reasonReference"], ["ImmunizationRecommendation","Observation","USCoreConditionEncounterDiagnosisProfile","USCoreConditionProblemsHealthConcernsProfile","USCoreProcedureProfile"], "reasonReference", "USCoreEncounterProfile"); if (e) errors.push(e) } + { const e = validateReference(r["serviceProvider"], ["USCoreOrganizationProfile"], "serviceProvider", "USCoreEncounterProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCDIRequirement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCDIRequirement.ts new file mode 100644 index 000000000..f24a85a9b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCDIRequirement.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCDIRequirementProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement (pkg: hl7.fhir.us.core#8.0.1) +export class USCDIRequirementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCDIRequirementProfile { + return new USCDIRequirementProfile(resource) + } + + static createResource (args: USCDIRequirementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: USCDIRequirementProfileParams) : USCDIRequirementProfile { + return USCDIRequirementProfile.from(USCDIRequirementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCDIRequirement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", "USCDIRequirement"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreAuthenticationTimeExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreAuthenticationTimeExtension.ts new file mode 100644 index 000000000..f504ca717 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreAuthenticationTimeExtension.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreAuthenticationTimeExtensionProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreAuthenticationTimeExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreAuthenticationTimeExtensionProfile { + return new USCoreAuthenticationTimeExtensionProfile(resource) + } + + static createResource (args: USCoreAuthenticationTimeExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: USCoreAuthenticationTimeExtensionProfileParams) : USCoreAuthenticationTimeExtensionProfile { + return USCoreAuthenticationTimeExtensionProfile.from(USCoreAuthenticationTimeExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreAuthenticationTimeExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time", "USCoreAuthenticationTimeExtension"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreBirthSexExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreBirthSexExtension.ts new file mode 100644 index 000000000..cc3849e5d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreBirthSexExtension.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreBirthSexExtensionProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreBirthSexExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreBirthSexExtensionProfile { + return new USCoreBirthSexExtensionProfile(resource) + } + + static createResource (args: USCoreBirthSexExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: USCoreBirthSexExtensionProfileParams) : USCoreBirthSexExtensionProfile { + return USCoreBirthSexExtensionProfile.from(USCoreBirthSexExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreBirthSexExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", "USCoreBirthSexExtension"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreDirectEmailExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreDirectEmailExtension.ts new file mode 100644 index 000000000..0c35cd649 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreDirectEmailExtension.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreDirectEmailExtensionProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreDirectEmailExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreDirectEmailExtensionProfile { + return new USCoreDirectEmailExtensionProfile(resource) + } + + static createResource (args: USCoreDirectEmailExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: USCoreDirectEmailExtensionProfileParams) : USCoreDirectEmailExtensionProfile { + return USCoreDirectEmailExtensionProfile.from(USCoreDirectEmailExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreDirectEmailExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", "USCoreDirectEmailExtension"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreEthnicityExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreEthnicityExtension.ts new file mode 100644 index 000000000..88bfd4d39 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreEthnicityExtension.ts @@ -0,0 +1,150 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export type USCoreEthnicityExtension_Extension_OmbCategorySliceInput = Omit & Coding; +export type USCoreEthnicityExtension_Extension_DetailedSliceInput = Omit & Coding; +export type USCoreEthnicityExtension_Extension_TextSliceInput = Omit & string; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, wrapSliceChoice, flattenSliceChoice, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreEthnicityExtensionProfileParams = { + extension?: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreEthnicityExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreEthnicityExtensionProfile { + return new USCoreEthnicityExtensionProfile(resource) + } + + static createResource (args: USCoreEthnicityExtensionProfileParams) : Extension { + const extensionDefaults = [{"url":"text"}] as unknown[] + const extensionWithDefaults = [...(args.extension ?? [])] as unknown[] + if (!extensionWithDefaults.some(item => matchesSlice(item, {"url":"text"} as Record))) extensionWithDefaults.push(extensionDefaults[0]!) + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + extension: extensionWithDefaults, + } as unknown as Extension + return resource + } + + static create (args: USCoreEthnicityExtensionProfileParams) : USCoreEthnicityExtensionProfile { + return USCoreEthnicityExtensionProfile.from(USCoreEthnicityExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setExtensionOmbCategory (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "ombCategory", ...value }) + return this + } + + public setExtensionDetailed (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "detailed", ...value }) + return this + } + + public setExtensionText (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "text", ...value }) + return this + } + + public setSliceExtensionOmbCategory (input?: USCoreEthnicityExtension_Extension_OmbCategorySliceInput): this { + const match = {"url":"ombCategory"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueCoding"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSliceExtensionDetailed (input?: USCoreEthnicityExtension_Extension_DetailedSliceInput): this { + const match = {"url":"detailed"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueCoding"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSliceExtensionText (input?: USCoreEthnicityExtension_Extension_TextSliceInput): this { + const match = {"url":"text"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueString"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getOmbCategory (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "ombCategory") + } + + public getDetailed (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "detailed") + } + + public getText (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "text") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "USCoreEthnicityExtension"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["extension"] as unknown[] | undefined, {"url":"ombCategory"}, "ombCategory", 0, 1, "USCoreEthnicityExtension.extension")) + errors.push(...validateSliceCardinality(r["extension"] as unknown[] | undefined, {"url":"text"}, "text", 1, 1, "USCoreEthnicityExtension.extension")) + { const e = validateRequired(r, "url", "USCoreEthnicityExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", "USCoreEthnicityExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreExtensionQuestionnaireUri.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreExtensionQuestionnaireUri.ts new file mode 100644 index 000000000..bc8938438 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreExtensionQuestionnaireUri.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreExtensionQuestionnaireUriProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreExtensionQuestionnaireUriProfile { + return new USCoreExtensionQuestionnaireUriProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri", + } as unknown as Extension + return resource + } + + static create () : USCoreExtensionQuestionnaireUriProfile { + return USCoreExtensionQuestionnaireUriProfile.from(USCoreExtensionQuestionnaireUriProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreExtensionQuestionnaireUri"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri", "USCoreExtensionQuestionnaireUri"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreGenderIdentityExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreGenderIdentityExtension.ts new file mode 100644 index 000000000..901335113 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreGenderIdentityExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreGenderIdentityExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreGenderIdentityExtensionProfile { + return new USCoreGenderIdentityExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity", + } as unknown as Extension + return resource + } + + static create () : USCoreGenderIdentityExtensionProfile { + return USCoreGenderIdentityExtensionProfile.from(USCoreGenderIdentityExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreGenderIdentityExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity", "USCoreGenderIdentityExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreIndividualSexExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreIndividualSexExtension.ts new file mode 100644 index 000000000..7ad63effc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreIndividualSexExtension.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreIndividualSexExtensionProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-individual-sex (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreIndividualSexExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-individual-sex" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreIndividualSexExtensionProfile { + return new USCoreIndividualSexExtensionProfile(resource) + } + + static createResource (args: USCoreIndividualSexExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-individual-sex", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: USCoreIndividualSexExtensionProfileParams) : USCoreIndividualSexExtensionProfile { + return USCoreIndividualSexExtensionProfile.from(USCoreIndividualSexExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreIndividualSexExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-individual-sex", "USCoreIndividualSexExtension"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreInterpreterNeededExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreInterpreterNeededExtension.ts new file mode 100644 index 000000000..be80a961b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreInterpreterNeededExtension.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreInterpreterNeededExtensionProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreInterpreterNeededExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreInterpreterNeededExtensionProfile { + return new USCoreInterpreterNeededExtensionProfile(resource) + } + + static createResource (args: USCoreInterpreterNeededExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: USCoreInterpreterNeededExtensionProfileParams) : USCoreInterpreterNeededExtensionProfile { + return USCoreInterpreterNeededExtensionProfile.from(USCoreInterpreterNeededExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreInterpreterNeededExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed", "USCoreInterpreterNeededExtension"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreJurisdictionExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreJurisdictionExtension.ts new file mode 100644 index 000000000..b8577991f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreJurisdictionExtension.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreJurisdictionExtensionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-jurisdiction (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreJurisdictionExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-jurisdiction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreJurisdictionExtensionProfile { + return new USCoreJurisdictionExtensionProfile(resource) + } + + static createResource (args: USCoreJurisdictionExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-jurisdiction", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: USCoreJurisdictionExtensionProfileParams) : USCoreJurisdictionExtensionProfile { + return USCoreJurisdictionExtensionProfile.from(USCoreJurisdictionExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreJurisdictionExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-jurisdiction", "USCoreJurisdictionExtension"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreMedicationAdherenceExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreMedicationAdherenceExtension.ts new file mode 100644 index 000000000..7a895285e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreMedicationAdherenceExtension.ts @@ -0,0 +1,150 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export type USCoreMedicationAdherenceExtension_Extension_MedicationAdherenceSliceInput = Omit & CodeableConcept; +export type USCoreMedicationAdherenceExtension_Extension_DateAssertedSliceInput = Omit & string; +export type USCoreMedicationAdherenceExtension_Extension_InformationSourceSliceInput = Omit & CodeableConcept; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, wrapSliceChoice, flattenSliceChoice, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreMedicationAdherenceExtensionProfileParams = { + extension?: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreMedicationAdherenceExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreMedicationAdherenceExtensionProfile { + return new USCoreMedicationAdherenceExtensionProfile(resource) + } + + static createResource (args: USCoreMedicationAdherenceExtensionProfileParams) : Extension { + const extensionDefaults = [{"url":"medicationAdherence"},{"url":"dateAsserted"}] as unknown[] + const extensionWithDefaults = [...(args.extension ?? [])] as unknown[] + if (!extensionWithDefaults.some(item => matchesSlice(item, {"url":"medicationAdherence"} as Record))) extensionWithDefaults.push(extensionDefaults[0]!) + if (!extensionWithDefaults.some(item => matchesSlice(item, {"url":"dateAsserted"} as Record))) extensionWithDefaults.push(extensionDefaults[1]!) + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence", + extension: extensionWithDefaults, + } as unknown as Extension + return resource + } + + static create (args: USCoreMedicationAdherenceExtensionProfileParams) : USCoreMedicationAdherenceExtensionProfile { + return USCoreMedicationAdherenceExtensionProfile.from(USCoreMedicationAdherenceExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setExtensionMedicationAdherence (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "medicationAdherence", ...value }) + return this + } + + public setExtensionDateAsserted (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "dateAsserted", ...value }) + return this + } + + public setExtensionInformationSource (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "informationSource", ...value }) + return this + } + + public setSliceExtensionMedicationAdherence (input?: USCoreMedicationAdherenceExtension_Extension_MedicationAdherenceSliceInput): this { + const match = {"url":"medicationAdherence"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueCodeableConcept"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSliceExtensionDateAsserted (input?: USCoreMedicationAdherenceExtension_Extension_DateAssertedSliceInput): this { + const match = {"url":"dateAsserted"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueDateTime"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSliceExtensionInformationSource (input?: USCoreMedicationAdherenceExtension_Extension_InformationSourceSliceInput): this { + const match = {"url":"informationSource"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueCodeableConcept"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getMedicationAdherence (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "medicationAdherence") + } + + public getDateAsserted (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "dateAsserted") + } + + public getInformationSource (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "informationSource") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + errors.push(...validateSliceCardinality(r["extension"] as unknown[] | undefined, {"url":"medicationAdherence"}, "medicationAdherence", 1, 1, "USCoreMedicationAdherenceExtension.extension")) + errors.push(...validateSliceCardinality(r["extension"] as unknown[] | undefined, {"url":"dateAsserted"}, "dateAsserted", 1, 1, "USCoreMedicationAdherenceExtension.extension")) + { const e = validateRequired(r, "url", "USCoreMedicationAdherenceExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence", "USCoreMedicationAdherenceExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreRaceExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreRaceExtension.ts new file mode 100644 index 000000000..f550de452 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreRaceExtension.ts @@ -0,0 +1,150 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export type USCoreRaceExtension_Extension_OmbCategorySliceInput = Omit & Coding; +export type USCoreRaceExtension_Extension_DetailedSliceInput = Omit & Coding; +export type USCoreRaceExtension_Extension_TextSliceInput = Omit & string; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, wrapSliceChoice, flattenSliceChoice, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreRaceExtensionProfileParams = { + extension?: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreRaceExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreRaceExtensionProfile { + return new USCoreRaceExtensionProfile(resource) + } + + static createResource (args: USCoreRaceExtensionProfileParams) : Extension { + const extensionDefaults = [{"url":"text"}] as unknown[] + const extensionWithDefaults = [...(args.extension ?? [])] as unknown[] + if (!extensionWithDefaults.some(item => matchesSlice(item, {"url":"text"} as Record))) extensionWithDefaults.push(extensionDefaults[0]!) + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + extension: extensionWithDefaults, + } as unknown as Extension + return resource + } + + static create (args: USCoreRaceExtensionProfileParams) : USCoreRaceExtensionProfile { + return USCoreRaceExtensionProfile.from(USCoreRaceExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setExtensionOmbCategory (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "ombCategory", ...value }) + return this + } + + public setExtensionDetailed (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "detailed", ...value }) + return this + } + + public setExtensionText (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "text", ...value }) + return this + } + + public setSliceExtensionOmbCategory (input?: USCoreRaceExtension_Extension_OmbCategorySliceInput): this { + const match = {"url":"ombCategory"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueCoding"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSliceExtensionDetailed (input?: USCoreRaceExtension_Extension_DetailedSliceInput): this { + const match = {"url":"detailed"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueCoding"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSliceExtensionText (input?: USCoreRaceExtension_Extension_TextSliceInput): this { + const match = {"url":"text"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueString"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getOmbCategory (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "ombCategory") + } + + public getDetailed (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "detailed") + } + + public getText (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "text") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "USCoreRaceExtension"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["extension"] as unknown[] | undefined, {"url":"ombCategory"}, "ombCategory", 0, 6, "USCoreRaceExtension.extension")) + errors.push(...validateSliceCardinality(r["extension"] as unknown[] | undefined, {"url":"text"}, "text", 1, 1, "USCoreRaceExtension.extension")) + { const e = validateRequired(r, "url", "USCoreRaceExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", "USCoreRaceExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreSexExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreSexExtension.ts new file mode 100644 index 000000000..ec63879b6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreSexExtension.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreSexExtensionProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreSexExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreSexExtensionProfile { + return new USCoreSexExtensionProfile(resource) + } + + static createResource (args: USCoreSexExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: USCoreSexExtensionProfileParams) : USCoreSexExtensionProfile { + return USCoreSexExtensionProfile.from(USCoreSexExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "USCoreSexExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex", "USCoreSexExtension"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreTribalAffiliationExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreTribalAffiliationExtension.ts new file mode 100644 index 000000000..4604ca36e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreTribalAffiliationExtension.ts @@ -0,0 +1,126 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export type USCoreTribalAffiliationExtension_Extension_TribalAffiliationSliceInput = Omit & CodeableConcept; +export type USCoreTribalAffiliationExtension_Extension_IsEnrolledSliceInput = Omit & boolean; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, wrapSliceChoice, flattenSliceChoice, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreTribalAffiliationExtensionProfileParams = { + extension?: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreTribalAffiliationExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : USCoreTribalAffiliationExtensionProfile { + return new USCoreTribalAffiliationExtensionProfile(resource) + } + + static createResource (args: USCoreTribalAffiliationExtensionProfileParams) : Extension { + const extensionDefaults = [{"url":"tribalAffiliation"}] as unknown[] + const extensionWithDefaults = [...(args.extension ?? [])] as unknown[] + if (!extensionWithDefaults.some(item => matchesSlice(item, {"url":"tribalAffiliation"} as Record))) extensionWithDefaults.push(extensionDefaults[0]!) + const resource: Extension = { + url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation", + extension: extensionWithDefaults, + } as unknown as Extension + return resource + } + + static create (args: USCoreTribalAffiliationExtensionProfileParams) : USCoreTribalAffiliationExtensionProfile { + return USCoreTribalAffiliationExtensionProfile.from(USCoreTribalAffiliationExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setExtensionTribalAffiliation (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "tribalAffiliation", ...value }) + return this + } + + public setExtensionIsEnrolled (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "isEnrolled", ...value }) + return this + } + + public setSliceExtensionTribalAffiliation (input?: USCoreTribalAffiliationExtension_Extension_TribalAffiliationSliceInput): this { + const match = {"url":"tribalAffiliation"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueCodeableConcept"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSliceExtensionIsEnrolled (input?: USCoreTribalAffiliationExtension_Extension_IsEnrolledSliceInput): this { + const match = {"url":"isEnrolled"} as Record + const value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueBoolean"), match) as unknown as Extension + const list = (this.resource.extension ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getTribalAffiliation (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "tribalAffiliation") + } + + public getIsEnrolled (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "isEnrolled") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "USCoreTribalAffiliationExtension"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["extension"] as unknown[] | undefined, {"url":"tribalAffiliation"}, "tribalAffiliation", 1, 1, "USCoreTribalAffiliationExtension.extension")) + errors.push(...validateSliceCardinality(r["extension"] as unknown[] | undefined, {"url":"isEnrolled"}, "isEnrolled", 0, 1, "USCoreTribalAffiliationExtension.extension")) + { const e = validateRequired(r, "url", "USCoreTribalAffiliationExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation", "USCoreTribalAffiliationExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Goal_USCoreGoalProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Goal_USCoreGoalProfile.ts new file mode 100644 index 000000000..8062d7607 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Goal_USCoreGoalProfile.ts @@ -0,0 +1,112 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Goal } from "../../hl7-fhir-r4-core/Goal"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreGoalProfileProfileParams = { + lifecycleStatus: ("proposed" | "planned" | "accepted" | "active" | "on-hold" | "completed" | "cancelled" | "entered-in-error" | "rejected"); + description: CodeableConcept; + subject: Reference<"Group" | "Organization" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreGoalProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + + private resource: Goal + + constructor (resource: Goal) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal") + } + + static from (resource: Goal) : USCoreGoalProfileProfile { + return new USCoreGoalProfileProfile(resource) + } + + static createResource (args: USCoreGoalProfileProfileParams) : Goal { + const resource: Goal = { + resourceType: "Goal", + lifecycleStatus: args.lifecycleStatus, + description: args.description, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"] }, + } as unknown as Goal + return resource + } + + static create (args: USCoreGoalProfileProfileParams) : USCoreGoalProfileProfile { + return USCoreGoalProfileProfile.from(USCoreGoalProfileProfile.createResource(args)) + } + + toResource () : Goal { + return this.resource + } + + getLifecycleStatus () : ("proposed" | "planned" | "accepted" | "active" | "on-hold" | "completed" | "cancelled" | "entered-in-error" | "rejected") | undefined { + return this.resource.lifecycleStatus as ("proposed" | "planned" | "accepted" | "active" | "on-hold" | "completed" | "cancelled" | "entered-in-error" | "rejected") | undefined + } + + setLifecycleStatus (value: ("proposed" | "planned" | "accepted" | "active" | "on-hold" | "completed" | "cancelled" | "entered-in-error" | "rejected")) : this { + Object.assign(this.resource, { lifecycleStatus: value }) + return this + } + + getDescription () : CodeableConcept | undefined { + return this.resource.description as CodeableConcept | undefined + } + + setDescription (value: CodeableConcept) : this { + Object.assign(this.resource, { description: value }) + return this + } + + getSubject () : Reference<"Group" | "Organization" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "Organization" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "Organization" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getStartDate () : string | undefined { + return this.resource.startDate as string | undefined + } + + setStartDate (value: string) : this { + Object.assign(this.resource, { startDate: value }) + return this + } + + getStartCodeableConcept () : CodeableConcept | undefined { + return this.resource.startCodeableConcept as CodeableConcept | undefined + } + + setStartCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { startCodeableConcept: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "lifecycleStatus", "USCoreGoalProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["lifecycleStatus"], ["proposed","planned","accepted","active","on-hold","completed","cancelled","entered-in-error","rejected"], "lifecycleStatus", "USCoreGoalProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "description", "USCoreGoalProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreGoalProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","Organization","USCorePatientProfile"], "subject", "USCoreGoalProfile"); if (e) errors.push(e) } + { const e = validateReference(r["expressedBy"], ["PractitionerRole","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "expressedBy", "USCoreGoalProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Immunization_USCoreImmunizationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Immunization_USCoreImmunizationProfile.ts new file mode 100644 index 000000000..e481c43d9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Immunization_USCoreImmunizationProfile.ts @@ -0,0 +1,116 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Immunization } from "../../hl7-fhir-r4-core/Immunization"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreImmunizationProfileProfileParams = { + status: ("completed" | "entered-in-error" | "not-done"); + vaccineCode: CodeableConcept; + patient: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreImmunizationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + + private resource: Immunization + + constructor (resource: Immunization) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization") + } + + static from (resource: Immunization) : USCoreImmunizationProfileProfile { + return new USCoreImmunizationProfileProfile(resource) + } + + static createResource (args: USCoreImmunizationProfileProfileParams) : Immunization { + const resource: Immunization = { + resourceType: "Immunization", + status: args.status, + vaccineCode: args.vaccineCode, + patient: args.patient, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization"] }, + } as unknown as Immunization + return resource + } + + static create (args: USCoreImmunizationProfileProfileParams) : USCoreImmunizationProfileProfile { + return USCoreImmunizationProfileProfile.from(USCoreImmunizationProfileProfile.createResource(args)) + } + + toResource () : Immunization { + return this.resource + } + + getStatus () : ("completed" | "entered-in-error" | "not-done") | undefined { + return this.resource.status as ("completed" | "entered-in-error" | "not-done") | undefined + } + + setStatus (value: ("completed" | "entered-in-error" | "not-done")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getVaccineCode () : CodeableConcept | undefined { + return this.resource.vaccineCode as CodeableConcept | undefined + } + + setVaccineCode (value: CodeableConcept) : this { + Object.assign(this.resource, { vaccineCode: value }) + return this + } + + getPatient () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.patient as Reference<"USCorePatientProfile"> | undefined + } + + setPatient (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { patient: value }) + return this + } + + getOccurrenceDateTime () : string | undefined { + return this.resource.occurrenceDateTime as string | undefined + } + + setOccurrenceDateTime (value: string) : this { + Object.assign(this.resource, { occurrenceDateTime: value }) + return this + } + + getOccurrenceString () : string | undefined { + return this.resource.occurrenceString as string | undefined + } + + setOccurrenceString (value: string) : this { + Object.assign(this.resource, { occurrenceString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreImmunizationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["completed","entered-in-error","not-done"], "status", "USCoreImmunizationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "vaccineCode", "USCoreImmunizationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "patient", "USCoreImmunizationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["patient"], ["USCorePatientProfile"], "patient", "USCoreImmunizationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreImmunizationProfile"); if (e) errors.push(e) } + if (!(r["occurrenceDateTime"] !== undefined || r["occurrenceString"] !== undefined)) { + errors.push("occurrence: at least one of occurrenceDateTime, occurrenceString is required") + } + { const e = validateReference(r["location"], ["USCoreLocationProfile"], "location", "USCoreImmunizationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Location_USCoreLocationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Location_USCoreLocationProfile.ts new file mode 100644 index 000000000..cfa8d1fa6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Location_USCoreLocationProfile.ts @@ -0,0 +1,75 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Location } from "../../hl7-fhir-r4-core/Location"; + +export interface USCoreLocationProfile extends Location { + name: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreLocationProfileProfileParams = { + name: string; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreLocationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + + private resource: Location + + constructor (resource: Location) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-location")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-location") + } + + static from (resource: Location) : USCoreLocationProfileProfile { + return new USCoreLocationProfileProfile(resource) + } + + static createResource (args: USCoreLocationProfileProfileParams) : Location { + const resource: Location = { + resourceType: "Location", + name: args.name, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-location"] }, + } as unknown as Location + return resource + } + + static create (args: USCoreLocationProfileProfileParams) : USCoreLocationProfileProfile { + return USCoreLocationProfileProfile.from(USCoreLocationProfileProfile.createResource(args)) + } + + toResource () : Location { + return this.resource + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + toProfile () : USCoreLocationProfile { + return this.resource as USCoreLocationProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateEnum(r["status"], ["active","suspended","inactive"], "status", "USCoreLocationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "USCoreLocationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["managingOrganization"], ["USCoreOrganizationProfile"], "managingOrganization", "USCoreLocationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationDispense_USCoreMedicationDispenseProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationDispense_USCoreMedicationDispenseProfile.ts new file mode 100644 index 000000000..dd44cd057 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationDispense_USCoreMedicationDispenseProfile.ts @@ -0,0 +1,112 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { MedicationDispense } from "../../hl7-fhir-r4-core/MedicationDispense"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreMedicationDispenseProfile extends MedicationDispense { + subject: Reference<'Group' | "Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreMedicationDispenseProfileProfileParams = { + status: ("preparation" | "in-progress" | "cancelled" | "on-hold" | "completed" | "entered-in-error" | "stopped" | "declined" | "unknown"); + subject: Reference<"Group" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreMedicationDispenseProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense" + + private resource: MedicationDispense + + constructor (resource: MedicationDispense) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense") + } + + static from (resource: MedicationDispense) : USCoreMedicationDispenseProfileProfile { + return new USCoreMedicationDispenseProfileProfile(resource) + } + + static createResource (args: USCoreMedicationDispenseProfileProfileParams) : MedicationDispense { + const resource: MedicationDispense = { + resourceType: "MedicationDispense", + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense"] }, + } as unknown as MedicationDispense + return resource + } + + static create (args: USCoreMedicationDispenseProfileProfileParams) : USCoreMedicationDispenseProfileProfile { + return USCoreMedicationDispenseProfileProfile.from(USCoreMedicationDispenseProfileProfile.createResource(args)) + } + + toResource () : MedicationDispense { + return this.resource + } + + getStatus () : ("preparation" | "in-progress" | "cancelled" | "on-hold" | "completed" | "entered-in-error" | "stopped" | "declined" | "unknown") | undefined { + return this.resource.status as ("preparation" | "in-progress" | "cancelled" | "on-hold" | "completed" | "entered-in-error" | "stopped" | "declined" | "unknown") | undefined + } + + setStatus (value: ("preparation" | "in-progress" | "cancelled" | "on-hold" | "completed" | "entered-in-error" | "stopped" | "declined" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Group" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getMedicationCodeableConcept () : CodeableConcept | undefined { + return this.resource.medicationCodeableConcept as CodeableConcept | undefined + } + + setMedicationCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { medicationCodeableConcept: value }) + return this + } + + getMedicationReference () : Reference | undefined { + return this.resource.medicationReference as Reference | undefined + } + + setMedicationReference (value: Reference) : this { + Object.assign(this.resource, { medicationReference: value }) + return this + } + + toProfile () : USCoreMedicationDispenseProfile { + return this.resource as USCoreMedicationDispenseProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreMedicationDispenseProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["preparation","in-progress","cancelled","on-hold","completed","entered-in-error","stopped","declined","unknown"], "status", "USCoreMedicationDispenseProfile"); if (e) errors.push(e) } + if (!(r["medicationCodeableConcept"] !== undefined || r["medicationReference"] !== undefined)) { + errors.push("medication: at least one of medicationCodeableConcept, medicationReference is required") + } + { const e = validateRequired(r, "subject", "USCoreMedicationDispenseProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","USCorePatientProfile"], "subject", "USCoreMedicationDispenseProfile"); if (e) errors.push(e) } + { const e = validateReference(r["context"], ["EpisodeOfCare","USCoreEncounterProfile"], "context", "USCoreMedicationDispenseProfile"); if (e) errors.push(e) } + { const e = validateReference(r["authorizingPrescription"], ["USCoreMedicationRequestProfile"], "authorizingPrescription", "USCoreMedicationDispenseProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationRequest_USCoreMedicationRequestProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationRequest_USCoreMedicationRequestProfile.ts new file mode 100644 index 000000000..2dafd75ab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationRequest_USCoreMedicationRequestProfile.ts @@ -0,0 +1,173 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { MedicationRequest } from "../../hl7-fhir-r4-core/MedicationRequest"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export type USCoreMedicationRequestProfile_MedicationAdherenceInput = { + medicationAdherence: CodeableConcept; + dateAsserted: string; + informationSource?: CodeableConcept[]; +} + +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreMedicationRequestProfileProfileParams = { + status: ("active" | "on-hold" | "cancelled" | "completed" | "entered-in-error" | "stopped" | "draft" | "unknown"); + intent: ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); + subject: Reference<"Group" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreMedicationRequestProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + + private resource: MedicationRequest + + constructor (resource: MedicationRequest) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest") + } + + static from (resource: MedicationRequest) : USCoreMedicationRequestProfileProfile { + return new USCoreMedicationRequestProfileProfile(resource) + } + + static createResource (args: USCoreMedicationRequestProfileProfileParams) : MedicationRequest { + const resource: MedicationRequest = { + resourceType: "MedicationRequest", + status: args.status, + intent: args.intent, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"] }, + } as unknown as MedicationRequest + return resource + } + + static create (args: USCoreMedicationRequestProfileProfileParams) : USCoreMedicationRequestProfileProfile { + return USCoreMedicationRequestProfileProfile.from(USCoreMedicationRequestProfileProfile.createResource(args)) + } + + toResource () : MedicationRequest { + return this.resource + } + + getStatus () : ("active" | "on-hold" | "cancelled" | "completed" | "entered-in-error" | "stopped" | "draft" | "unknown") | undefined { + return this.resource.status as ("active" | "on-hold" | "cancelled" | "completed" | "entered-in-error" | "stopped" | "draft" | "unknown") | undefined + } + + setStatus (value: ("active" | "on-hold" | "cancelled" | "completed" | "entered-in-error" | "stopped" | "draft" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getIntent () : ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option") | undefined { + return this.resource.intent as ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option") | undefined + } + + setIntent (value: ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option")) : this { + Object.assign(this.resource, { intent: value }) + return this + } + + getSubject () : Reference<"Group" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getReportedBoolean () : boolean | undefined { + return this.resource.reportedBoolean as boolean | undefined + } + + setReportedBoolean (value: boolean) : this { + Object.assign(this.resource, { reportedBoolean: value }) + return this + } + + getReportedReference () : Reference | undefined { + return this.resource.reportedReference as Reference | undefined + } + + setReportedReference (value: Reference) : this { + Object.assign(this.resource, { reportedReference: value }) + return this + } + + getMedicationCodeableConcept () : CodeableConcept | undefined { + return this.resource.medicationCodeableConcept as CodeableConcept | undefined + } + + setMedicationCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { medicationCodeableConcept: value }) + return this + } + + getMedicationReference () : Reference | undefined { + return this.resource.medicationReference as Reference | undefined + } + + setMedicationReference (value: Reference) : this { + Object.assign(this.resource, { medicationReference: value }) + return this + } + + public setMedicationAdherence (input: USCoreMedicationRequestProfile_MedicationAdherenceInput): this { + const subExtensions: Extension[] = [] + if (input.medicationAdherence !== undefined) { + subExtensions.push({ url: "medicationAdherence", valueCodeableConcept: input.medicationAdherence }) + } + if (input.dateAsserted !== undefined) { + subExtensions.push({ url: "dateAsserted", valueDateTime: input.dateAsserted }) + } + if (input.informationSource) { + for (const item of input.informationSource) { + subExtensions.push({ url: "informationSource", valueCodeableConcept: item }) + } + } + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence", extension: subExtensions }) + return this + } + + public getMedicationAdherence (): USCoreMedicationRequestProfile_MedicationAdherenceInput | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence") + if (!ext) return undefined + const config = [{ name: "medicationAdherence", valueField: "valueCodeableConcept", isArray: false }, { name: "dateAsserted", valueField: "valueDateTime", isArray: false }, { name: "informationSource", valueField: "valueCodeableConcept", isArray: true }] + return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as USCoreMedicationRequestProfile_MedicationAdherenceInput + } + + public getMedicationAdherenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["active","on-hold","cancelled","completed","entered-in-error","stopped","draft","unknown"], "status", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "intent", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["intent"], ["proposal","plan","order","original-order","reflex-order","filler-order","instance-order","option"], "intent", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + if (!(r["medicationCodeableConcept"] !== undefined || r["medicationReference"] !== undefined)) { + errors.push("medication: at least one of medicationCodeableConcept, medicationReference is required") + } + { const e = validateRequired(r, "subject", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","USCorePatientProfile"], "subject", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + { const e = validateReference(r["requester"], ["Device","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCorePractitionerRoleProfile","USCoreRelatedPersonProfile"], "requester", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + { const e = validateReference(r["reasonReference"], ["Condition","Observation"], "reasonReference", "USCoreMedicationRequestProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Medication_USCoreMedicationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Medication_USCoreMedicationProfile.ts new file mode 100644 index 000000000..f45532560 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Medication_USCoreMedicationProfile.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Medication } from "../../hl7-fhir-r4-core/Medication"; + +export interface USCoreMedicationProfile extends Medication { + code: CodeableConcept; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreMedicationProfileProfileParams = { + code: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreMedicationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + + private resource: Medication + + constructor (resource: Medication) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication") + } + + static from (resource: Medication) : USCoreMedicationProfileProfile { + return new USCoreMedicationProfileProfile(resource) + } + + static createResource (args: USCoreMedicationProfileProfileParams) : Medication { + const resource: Medication = { + resourceType: "Medication", + code: args.code, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"] }, + } as unknown as Medication + return resource + } + + static create (args: USCoreMedicationProfileProfileParams) : USCoreMedicationProfileProfile { + return USCoreMedicationProfileProfile.from(USCoreMedicationProfileProfile.createResource(args)) + } + + toResource () : Medication { + return this.resource + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + toProfile () : USCoreMedicationProfile { + return this.resource as USCoreMedicationProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "USCoreMedicationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreAverageBloodPressureProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreAverageBloodPressureProfile.ts new file mode 100644 index 000000000..76eeca608 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreAverageBloodPressureProfile.ts @@ -0,0 +1,253 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreAverageBloodPressureProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreAverageBloodPressureProfile_Category_VSCatSliceInput = Omit; +export type USCoreAverageBloodPressureProfile_Component_SystolicSliceInput = Omit; +export type USCoreAverageBloodPressureProfile_Component_DiastolicSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreAverageBloodPressureProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + component?: ObservationComponent[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreAverageBloodPressureProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure") + } + + static from (resource: Observation) : USCoreAverageBloodPressureProfileProfile { + return new USCoreAverageBloodPressureProfileProfile(resource) + } + + static createResource (args: USCoreAverageBloodPressureProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const componentDefaults = [{"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}},{"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}}] as unknown[] + const componentWithDefaults = [...(args.component ?? [])] as unknown[] + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}} as Record))) componentWithDefaults.push(componentDefaults[0]!) + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}} as Record))) componentWithDefaults.push(componentDefaults[1]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"96607-7"}]}, + category: categoryWithDefaults, + component: componentWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreAverageBloodPressureProfileProfileParams) : USCoreAverageBloodPressureProfileProfile { + return USCoreAverageBloodPressureProfileProfile.from(USCoreAverageBloodPressureProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getComponent () : ObservationComponent[] | undefined { + return this.resource.component as ObservationComponent[] | undefined + } + + setComponent (value: ObservationComponent[]) : this { + Object.assign(this.resource, { component: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + toProfile () : USCoreAverageBloodPressureProfile { + return this.resource as USCoreAverageBloodPressureProfile + } + + public setVSCat (input?: USCoreAverageBloodPressureProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSystolic (input?: USCoreAverageBloodPressureProfile_Component_SystolicSliceInput): this { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setDiastolic (input?: USCoreAverageBloodPressureProfile_Component_DiastolicSliceInput): this { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreAverageBloodPressureProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreAverageBloodPressureProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getSystolic (): USCoreAverageBloodPressureProfile_Component_SystolicSliceInput | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreAverageBloodPressureProfile_Component_SystolicSliceInput + } + + public getSystolicRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getDiastolic (): USCoreAverageBloodPressureProfile_Component_DiastolicSliceInput | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreAverageBloodPressureProfile_Component_DiastolicSliceInput + } + + public getDiastolicRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreAverageBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreAverageBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreAverageBloodPressureProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreAverageBloodPressureProfile.category")) + { const e = validateRequired(r, "code", "USCoreAverageBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"96607-7"}]}, "USCoreAverageBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreAverageBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreAverageBloodPressureProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreAverageBloodPressureProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}}, "systolic", 1, 1, "USCoreAverageBloodPressureProfile.component")) + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}}, "diastolic", 1, 1, "USCoreAverageBloodPressureProfile.component")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBMIProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBMIProfile.ts new file mode 100644 index 000000000..2d071c57e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBMIProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreBMIProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreBMIProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreBMIProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreBMIProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi") + } + + static from (resource: Observation) : USCoreBMIProfileProfile { + return new USCoreBMIProfileProfile(resource) + } + + static createResource (args: USCoreBMIProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"39156-5"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreBMIProfileProfileParams) : USCoreBMIProfileProfile { + return USCoreBMIProfileProfile.from(USCoreBMIProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreBMIProfile { + return this.resource as USCoreBMIProfile + } + + public setVSCat (input?: USCoreBMIProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreBMIProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBMIProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreBMIProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreBMIProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreBMIProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreBMIProfile.category")) + { const e = validateRequired(r, "code", "USCoreBMIProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"39156-5"}]}, "USCoreBMIProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreBMIProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreBMIProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreBMIProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreBMIProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreBMIProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBloodPressureProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBloodPressureProfile.ts new file mode 100644 index 000000000..208debee7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBloodPressureProfile.ts @@ -0,0 +1,358 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreBloodPressureProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreBloodPressureProfile_Category_VSCatSliceInput = Omit; +export type USCoreBloodPressureProfile_Component_SystolicSliceInput = Omit; +export type USCoreBloodPressureProfile_Component_DiastolicSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreBloodPressureProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + component?: ObservationComponent[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreBloodPressureProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure") + } + + static from (resource: Observation) : USCoreBloodPressureProfileProfile { + return new USCoreBloodPressureProfileProfile(resource) + } + + static createResource (args: USCoreBloodPressureProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const componentDefaults = [{"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}},{"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}}] as unknown[] + const componentWithDefaults = [...(args.component ?? [])] as unknown[] + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}} as Record))) componentWithDefaults.push(componentDefaults[0]!) + if (!componentWithDefaults.some(item => matchesSlice(item, {"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}} as Record))) componentWithDefaults.push(componentDefaults[1]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"85354-9"}]}, + category: categoryWithDefaults, + component: componentWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreBloodPressureProfileProfileParams) : USCoreBloodPressureProfileProfile { + return USCoreBloodPressureProfileProfile.from(USCoreBloodPressureProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getComponent () : ObservationComponent[] | undefined { + return this.resource.component as ObservationComponent[] | undefined + } + + setComponent (value: ObservationComponent[]) : this { + Object.assign(this.resource, { component: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreBloodPressureProfile { + return this.resource as USCoreBloodPressureProfile + } + + public setVSCat (input?: USCoreBloodPressureProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setSystolic (input?: USCoreBloodPressureProfile_Component_SystolicSliceInput): this { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setDiastolic (input?: USCoreBloodPressureProfile_Component_DiastolicSliceInput): this { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreBloodPressureProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBloodPressureProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getSystolic (): USCoreBloodPressureProfile_Component_SystolicSliceInput | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreBloodPressureProfile_Component_SystolicSliceInput + } + + public getSystolicRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getDiastolic (): USCoreBloodPressureProfile_Component_DiastolicSliceInput | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreBloodPressureProfile_Component_DiastolicSliceInput + } + + public getDiastolicRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreBloodPressureProfile.category")) + { const e = validateRequired(r, "code", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"85354-9"}]}, "USCoreBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}}, "systolic", 1, 1, "USCoreBloodPressureProfile.component")) + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}}, "diastolic", 1, 1, "USCoreBloodPressureProfile.component")) + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreBloodPressureProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyHeightProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyHeightProfile.ts new file mode 100644 index 000000000..7f58c70ca --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyHeightProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreBodyHeightProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreBodyHeightProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreBodyHeightProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreBodyHeightProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height") + } + + static from (resource: Observation) : USCoreBodyHeightProfileProfile { + return new USCoreBodyHeightProfileProfile(resource) + } + + static createResource (args: USCoreBodyHeightProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"8302-2"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreBodyHeightProfileProfileParams) : USCoreBodyHeightProfileProfile { + return USCoreBodyHeightProfileProfile.from(USCoreBodyHeightProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreBodyHeightProfile { + return this.resource as USCoreBodyHeightProfile + } + + public setVSCat (input?: USCoreBodyHeightProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreBodyHeightProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBodyHeightProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreBodyHeightProfile.category")) + { const e = validateRequired(r, "code", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"8302-2"}]}, "USCoreBodyHeightProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreBodyHeightProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyTemperatureProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyTemperatureProfile.ts new file mode 100644 index 000000000..ba112f697 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyTemperatureProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreBodyTemperatureProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreBodyTemperatureProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreBodyTemperatureProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreBodyTemperatureProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature") + } + + static from (resource: Observation) : USCoreBodyTemperatureProfileProfile { + return new USCoreBodyTemperatureProfileProfile(resource) + } + + static createResource (args: USCoreBodyTemperatureProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"8310-5"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreBodyTemperatureProfileProfileParams) : USCoreBodyTemperatureProfileProfile { + return USCoreBodyTemperatureProfileProfile.from(USCoreBodyTemperatureProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreBodyTemperatureProfile { + return this.resource as USCoreBodyTemperatureProfile + } + + public setVSCat (input?: USCoreBodyTemperatureProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreBodyTemperatureProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBodyTemperatureProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreBodyTemperatureProfile.category")) + { const e = validateRequired(r, "code", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"8310-5"}]}, "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreBodyTemperatureProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyWeightProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyWeightProfile.ts new file mode 100644 index 000000000..b3d2d42ae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyWeightProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreBodyWeightProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreBodyWeightProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreBodyWeightProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreBodyWeightProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight") + } + + static from (resource: Observation) : USCoreBodyWeightProfileProfile { + return new USCoreBodyWeightProfileProfile(resource) + } + + static createResource (args: USCoreBodyWeightProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"29463-7"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreBodyWeightProfileProfileParams) : USCoreBodyWeightProfileProfile { + return USCoreBodyWeightProfileProfile.from(USCoreBodyWeightProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreBodyWeightProfile { + return this.resource as USCoreBodyWeightProfile + } + + public setVSCat (input?: USCoreBodyWeightProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreBodyWeightProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBodyWeightProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreBodyWeightProfile.category")) + { const e = validateRequired(r, "code", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"29463-7"}]}, "USCoreBodyWeightProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreBodyWeightProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreCareExperiencePreferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreCareExperiencePreferenceProfile.ts new file mode 100644 index 000000000..0f1a0de67 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreCareExperiencePreferenceProfile.ts @@ -0,0 +1,276 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +export interface USCoreCareExperiencePreferenceProfile extends Observation { + subject: Reference<"Patient">; +} + +export type USCoreCareExperiencePreferenceProfile_Category_Us_coreSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreCareExperiencePreferenceProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreCareExperiencePreferenceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference") + } + + static from (resource: Observation) : USCoreCareExperiencePreferenceProfileProfile { + return new USCoreCareExperiencePreferenceProfileProfile(resource) + } + + static createResource (args: USCoreCareExperiencePreferenceProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"95541-9"}]}, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreCareExperiencePreferenceProfileProfileParams) : USCoreCareExperiencePreferenceProfileProfile { + return USCoreCareExperiencePreferenceProfileProfile.from(USCoreCareExperiencePreferenceProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getEffectiveTiming () : Timing | undefined { + return this.resource.effectiveTiming as Timing | undefined + } + + setEffectiveTiming (value: Timing) : this { + Object.assign(this.resource, { effectiveTiming: value }) + return this + } + + getEffectiveInstant () : string | undefined { + return this.resource.effectiveInstant as string | undefined + } + + setEffectiveInstant (value: string) : this { + Object.assign(this.resource, { effectiveInstant: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreCareExperiencePreferenceProfile { + return this.resource as USCoreCareExperiencePreferenceProfile + } + + public setUs_core (input?: USCoreCareExperiencePreferenceProfile_Category_Us_coreSliceInput): this { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"care-experience-preference"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getUs_core (): USCoreCareExperiencePreferenceProfile_Category_Us_coreSliceInput | undefined { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"care-experience-preference"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreCareExperiencePreferenceProfile_Category_Us_coreSliceInput + } + + public getUs_coreRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"care-experience-preference"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreCareExperiencePreferenceProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreCareExperiencePreferenceProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"care-experience-preference"}]}, "us-core", 0, 1, "USCoreCareExperiencePreferenceProfile.category")) + { const e = validateRequired(r, "code", "USCoreCareExperiencePreferenceProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"95541-9"}]}, "USCoreCareExperiencePreferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreCareExperiencePreferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreCareExperiencePreferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreCareExperiencePreferenceProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeadCircumferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeadCircumferenceProfile.ts new file mode 100644 index 000000000..13c87947c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeadCircumferenceProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreHeadCircumferenceProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreHeadCircumferenceProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreHeadCircumferenceProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreHeadCircumferenceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference") + } + + static from (resource: Observation) : USCoreHeadCircumferenceProfileProfile { + return new USCoreHeadCircumferenceProfileProfile(resource) + } + + static createResource (args: USCoreHeadCircumferenceProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"9843-4"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreHeadCircumferenceProfileProfileParams) : USCoreHeadCircumferenceProfileProfile { + return USCoreHeadCircumferenceProfileProfile.from(USCoreHeadCircumferenceProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreHeadCircumferenceProfile { + return this.resource as USCoreHeadCircumferenceProfile + } + + public setVSCat (input?: USCoreHeadCircumferenceProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreHeadCircumferenceProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreHeadCircumferenceProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreHeadCircumferenceProfile.category")) + { const e = validateRequired(r, "code", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"9843-4"}]}, "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreHeadCircumferenceProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeartRateProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeartRateProfile.ts new file mode 100644 index 000000000..ac4f0bd76 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeartRateProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreHeartRateProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreHeartRateProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreHeartRateProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreHeartRateProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate") + } + + static from (resource: Observation) : USCoreHeartRateProfileProfile { + return new USCoreHeartRateProfileProfile(resource) + } + + static createResource (args: USCoreHeartRateProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"8867-4"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreHeartRateProfileProfileParams) : USCoreHeartRateProfileProfile { + return USCoreHeartRateProfileProfile.from(USCoreHeartRateProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreHeartRateProfile { + return this.resource as USCoreHeartRateProfile + } + + public setVSCat (input?: USCoreHeartRateProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreHeartRateProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreHeartRateProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreHeartRateProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreHeartRateProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreHeartRateProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreHeartRateProfile.category")) + { const e = validateRequired(r, "code", "USCoreHeartRateProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"8867-4"}]}, "USCoreHeartRateProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreHeartRateProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreHeartRateProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreHeartRateProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreHeartRateProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreHeartRateProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreLaboratoryResultObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreLaboratoryResultObservationProfile.ts new file mode 100644 index 000000000..923fdeadc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreLaboratoryResultObservationProfile.ts @@ -0,0 +1,258 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +export interface USCoreLaboratoryResultObservationProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreLaboratoryResultObservationProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept; + subject: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreLaboratoryResultObservationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab") + } + + static from (resource: Observation) : USCoreLaboratoryResultObservationProfileProfile { + return new USCoreLaboratoryResultObservationProfileProfile(resource) + } + + static createResource (args: USCoreLaboratoryResultObservationProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + category: [{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory"}]}], + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreLaboratoryResultObservationProfileProfileParams) : USCoreLaboratoryResultObservationProfileProfile { + return USCoreLaboratoryResultObservationProfileProfile.from(USCoreLaboratoryResultObservationProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getEffectiveTiming () : Timing | undefined { + return this.resource.effectiveTiming as Timing | undefined + } + + setEffectiveTiming (value: Timing) : this { + Object.assign(this.resource, { effectiveTiming: value }) + return this + } + + getEffectiveInstant () : string | undefined { + return this.resource.effectiveInstant as string | undefined + } + + setEffectiveInstant (value: string) : this { + Object.assign(this.resource, { effectiveInstant: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreLaboratoryResultObservationProfile { + return this.resource as USCoreLaboratoryResultObservationProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "category", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory"}]}, "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","USCoreLocationProfile","USCorePatientProfile"], "subject", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["specimen"], ["USCoreSpecimenProfile"], "specimen", "USCoreLaboratoryResultObservationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationADIDocumentationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationADIDocumentationProfile.ts new file mode 100644 index 000000000..defebff2b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationADIDocumentationProfile.ts @@ -0,0 +1,161 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreObservationADIDocumentationProfile extends Observation { + subject: Reference<"Patient">; +} + +export type USCoreObservationADIDocumentationProfile_Category_Us_coreSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreObservationADIDocumentationProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreObservationADIDocumentationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation") + } + + static from (resource: Observation) : USCoreObservationADIDocumentationProfileProfile { + return new USCoreObservationADIDocumentationProfileProfile(resource) + } + + static createResource (args: USCoreObservationADIDocumentationProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"45473-6"}]}, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreObservationADIDocumentationProfileProfileParams) : USCoreObservationADIDocumentationProfileProfile { + return USCoreObservationADIDocumentationProfileProfile.from(USCoreObservationADIDocumentationProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + toProfile () : USCoreObservationADIDocumentationProfile { + return this.resource as USCoreObservationADIDocumentationProfile + } + + public setSupportingInfo (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", valueReference: value } as Extension) + return this + } + + public setUs_core (input?: USCoreObservationADIDocumentationProfile_Category_Us_coreSliceInput): this { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"observation-adi-documentation"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getSupportingInfo (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getSupportingInfoExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo") + return ext + } + + public getUs_core (): USCoreObservationADIDocumentationProfile_Category_Us_coreSliceInput | undefined { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"observation-adi-documentation"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationADIDocumentationProfile_Category_Us_coreSliceInput + } + + public getUs_coreRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"observation-adi-documentation"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreObservationADIDocumentationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreObservationADIDocumentationProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"observation-adi-documentation"}]}, "us-core", 0, 1, "USCoreObservationADIDocumentationProfile.category")) + { const e = validateRequired(r, "code", "USCoreObservationADIDocumentationProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"45473-6"}]}, "USCoreObservationADIDocumentationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreObservationADIDocumentationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreObservationADIDocumentationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreObservationADIDocumentationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationClinicalResultProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationClinicalResultProfile.ts new file mode 100644 index 000000000..cae70e4ee --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationClinicalResultProfile.ts @@ -0,0 +1,257 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +export interface USCoreObservationClinicalResultProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreObservationClinicalResultProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + code: CodeableConcept; + subject: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreObservationClinicalResultProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result") + } + + static from (resource: Observation) : USCoreObservationClinicalResultProfileProfile { + return new USCoreObservationClinicalResultProfileProfile(resource) + } + + static createResource (args: USCoreObservationClinicalResultProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + status: args.status, + category: args.category, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreObservationClinicalResultProfileProfileParams) : USCoreObservationClinicalResultProfileProfile { + return USCoreObservationClinicalResultProfileProfile.from(USCoreObservationClinicalResultProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getEffectiveTiming () : Timing | undefined { + return this.resource.effectiveTiming as Timing | undefined + } + + setEffectiveTiming (value: Timing) : this { + Object.assign(this.resource, { effectiveTiming: value }) + return this + } + + getEffectiveInstant () : string | undefined { + return this.resource.effectiveInstant as string | undefined + } + + setEffectiveInstant (value: string) : this { + Object.assign(this.resource, { effectiveInstant: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreObservationClinicalResultProfile { + return this.resource as USCoreObservationClinicalResultProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreObservationClinicalResultProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreObservationClinicalResultProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreObservationClinicalResultProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreObservationClinicalResultProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreObservationClinicalResultProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","USCoreLocationProfile","USCorePatientProfile"], "subject", "USCoreObservationClinicalResultProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreObservationClinicalResultProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreObservationClinicalResultProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationOccupationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationOccupationProfile.ts new file mode 100644 index 000000000..9d39891ae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationOccupationProfile.ts @@ -0,0 +1,188 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreObservationOccupationProfile extends Observation { + subject: Reference<"Patient">; + valueCodeableConcept: CodeableConcept; +} + +export type USCoreObservationOccupationProfile_Category_SocialhistorySliceInput = Omit; +export type USCoreObservationOccupationProfile_Component_IndustrySliceInput = Omit & Required>; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreObservationOccupationProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreObservationOccupationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation") + } + + static from (resource: Observation) : USCoreObservationOccupationProfileProfile { + return new USCoreObservationOccupationProfileProfile(resource) + } + + static createResource (args: USCoreObservationOccupationProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"11341-5"}]}, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreObservationOccupationProfileProfileParams) : USCoreObservationOccupationProfileProfile { + return USCoreObservationOccupationProfileProfile.from(USCoreObservationOccupationProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + toProfile () : USCoreObservationOccupationProfile { + return this.resource as USCoreObservationOccupationProfile + } + + public setSocialhistory (input?: USCoreObservationOccupationProfile_Category_SocialhistorySliceInput): this { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setIndustry (input: USCoreObservationOccupationProfile_Component_IndustrySliceInput): this { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"86188-0"}]}} as Record + const value = applySliceMatch(input as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getSocialhistory (): USCoreObservationOccupationProfile_Category_SocialhistorySliceInput | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationOccupationProfile_Category_SocialhistorySliceInput + } + + public getSocialhistoryRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getIndustry (): USCoreObservationOccupationProfile_Component_IndustrySliceInput | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"86188-0"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreObservationOccupationProfile_Component_IndustrySliceInput + } + + public getIndustryRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"86188-0"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreObservationOccupationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreObservationOccupationProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]}, "socialhistory", 0, 1, "USCoreObservationOccupationProfile.category")) + { const e = validateRequired(r, "code", "USCoreObservationOccupationProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"11341-5"}]}, "USCoreObservationOccupationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreObservationOccupationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreObservationOccupationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreObservationOccupationProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":[{"system":"http://loinc.org","code":"86188-0"}]}}, "industry", 0, 1, "USCoreObservationOccupationProfile.component")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyIntentProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyIntentProfile.ts new file mode 100644 index 000000000..1bb213a52 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyIntentProfile.ts @@ -0,0 +1,155 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreObservationPregnancyIntentProfile extends Observation { + subject: Reference<"Patient">; + effectiveDateTime: string; + valueCodeableConcept: CodeableConcept<("454381000124105" | "454391000124108" | "454401000124105" | "454411000124108" | string)>; +} + +export type USCoreObservationPregnancyIntentProfile_Category_SocialHistorySliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreObservationPregnancyIntentProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreObservationPregnancyIntentProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent") + } + + static from (resource: Observation) : USCoreObservationPregnancyIntentProfileProfile { + return new USCoreObservationPregnancyIntentProfileProfile(resource) + } + + static createResource (args: USCoreObservationPregnancyIntentProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"86645-9"}]}, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreObservationPregnancyIntentProfileProfileParams) : USCoreObservationPregnancyIntentProfileProfile { + return USCoreObservationPregnancyIntentProfileProfile.from(USCoreObservationPregnancyIntentProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + toProfile () : USCoreObservationPregnancyIntentProfile { + return this.resource as USCoreObservationPregnancyIntentProfile + } + + public setSocialHistory (input?: USCoreObservationPregnancyIntentProfile_Category_SocialHistorySliceInput): this { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getSocialHistory (): USCoreObservationPregnancyIntentProfile_Category_SocialHistorySliceInput | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationPregnancyIntentProfile_Category_SocialHistorySliceInput + } + + public getSocialHistoryRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreObservationPregnancyIntentProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreObservationPregnancyIntentProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]}, "SocialHistory", 0, 1, "USCoreObservationPregnancyIntentProfile.category")) + { const e = validateRequired(r, "code", "USCoreObservationPregnancyIntentProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"86645-9"}]}, "USCoreObservationPregnancyIntentProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreObservationPregnancyIntentProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreObservationPregnancyIntentProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreObservationPregnancyIntentProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyStatusProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyStatusProfile.ts new file mode 100644 index 000000000..a2c84a11e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyStatusProfile.ts @@ -0,0 +1,155 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreObservationPregnancyStatusProfile extends Observation { + subject: Reference<"Patient">; + effectiveDateTime: string; + valueCodeableConcept: CodeableConcept<("146799005" | "60001007" | "77386006" | "UNK" | string)>; +} + +export type USCoreObservationPregnancyStatusProfile_Category_SocialHistorySliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreObservationPregnancyStatusProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreObservationPregnancyStatusProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus") + } + + static from (resource: Observation) : USCoreObservationPregnancyStatusProfileProfile { + return new USCoreObservationPregnancyStatusProfileProfile(resource) + } + + static createResource (args: USCoreObservationPregnancyStatusProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"82810-3"}]}, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreObservationPregnancyStatusProfileProfileParams) : USCoreObservationPregnancyStatusProfileProfile { + return USCoreObservationPregnancyStatusProfileProfile.from(USCoreObservationPregnancyStatusProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + toProfile () : USCoreObservationPregnancyStatusProfile { + return this.resource as USCoreObservationPregnancyStatusProfile + } + + public setSocialHistory (input?: USCoreObservationPregnancyStatusProfile_Category_SocialHistorySliceInput): this { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getSocialHistory (): USCoreObservationPregnancyStatusProfile_Category_SocialHistorySliceInput | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationPregnancyStatusProfile_Category_SocialHistorySliceInput + } + + public getSocialHistoryRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreObservationPregnancyStatusProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreObservationPregnancyStatusProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]}, "SocialHistory", 0, 1, "USCoreObservationPregnancyStatusProfile.category")) + { const e = validateRequired(r, "code", "USCoreObservationPregnancyStatusProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"82810-3"}]}, "USCoreObservationPregnancyStatusProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreObservationPregnancyStatusProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreObservationPregnancyStatusProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreObservationPregnancyStatusProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationScreeningAssessmentProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationScreeningAssessmentProfile.ts new file mode 100644 index 000000000..60a16f682 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationScreeningAssessmentProfile.ts @@ -0,0 +1,294 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +export interface USCoreObservationScreeningAssessmentProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; +} + +export type USCoreObservationScreeningAssessmentProfile_Category_SurveySliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreObservationScreeningAssessmentProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept; + subject: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreObservationScreeningAssessmentProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment") + } + + static from (resource: Observation) : USCoreObservationScreeningAssessmentProfileProfile { + return new USCoreObservationScreeningAssessmentProfileProfile(resource) + } + + static createResource (args: USCoreObservationScreeningAssessmentProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreObservationScreeningAssessmentProfileProfileParams) : USCoreObservationScreeningAssessmentProfileProfile { + return USCoreObservationScreeningAssessmentProfileProfile.from(USCoreObservationScreeningAssessmentProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getEffectiveTiming () : Timing | undefined { + return this.resource.effectiveTiming as Timing | undefined + } + + setEffectiveTiming (value: Timing) : this { + Object.assign(this.resource, { effectiveTiming: value }) + return this + } + + getEffectiveInstant () : string | undefined { + return this.resource.effectiveInstant as string | undefined + } + + setEffectiveInstant (value: string) : this { + Object.assign(this.resource, { effectiveInstant: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreObservationScreeningAssessmentProfile { + return this.resource as USCoreObservationScreeningAssessmentProfile + } + + public setSurvey (input?: USCoreObservationScreeningAssessmentProfile_Category_SurveySliceInput): this { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getSurvey (): USCoreObservationScreeningAssessmentProfile_Category_SurveySliceInput | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationScreeningAssessmentProfile_Category_SurveySliceInput + } + + public getSurveyRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]}, "survey", 1, 1, "USCoreObservationScreeningAssessmentProfile.category")) + { const e = validateRequired(r, "code", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","USCoreLocationProfile","USCorePatientProfile"], "subject", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","USCoreObservationScreeningAssessmentProfile"], "hasMember", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["ImagingStudy","Media","MolecularSequence","USCoreDocumentReferenceProfile","USCoreObservationScreeningAssessmentProfile","USCoreQuestionnaireResponseProfile"], "derivedFrom", "USCoreObservationScreeningAssessmentProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationSexualOrientationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationSexualOrientationProfile.ts new file mode 100644 index 000000000..c53ee6849 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationSexualOrientationProfile.ts @@ -0,0 +1,148 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +export interface USCoreObservationSexualOrientationProfile extends Observation { + subject: Reference<"Patient">; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreObservationSexualOrientationProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreObservationSexualOrientationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation") + } + + static from (resource: Observation) : USCoreObservationSexualOrientationProfileProfile { + return new USCoreObservationSexualOrientationProfileProfile(resource) + } + + static createResource (args: USCoreObservationSexualOrientationProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"76690-7"}]}, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreObservationSexualOrientationProfileProfileParams) : USCoreObservationSexualOrientationProfileProfile { + return USCoreObservationSexualOrientationProfileProfile.from(USCoreObservationSexualOrientationProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getEffectiveTiming () : Timing | undefined { + return this.resource.effectiveTiming as Timing | undefined + } + + setEffectiveTiming (value: Timing) : this { + Object.assign(this.resource, { effectiveTiming: value }) + return this + } + + getEffectiveInstant () : string | undefined { + return this.resource.effectiveInstant as string | undefined + } + + setEffectiveInstant (value: string) : this { + Object.assign(this.resource, { effectiveInstant: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + toProfile () : USCoreObservationSexualOrientationProfile { + return this.resource as USCoreObservationSexualOrientationProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreObservationSexualOrientationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreObservationSexualOrientationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreObservationSexualOrientationProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"76690-7"}]}, "USCoreObservationSexualOrientationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreObservationSexualOrientationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreObservationSexualOrientationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricBMIforAgeObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricBMIforAgeObservationProfile.ts new file mode 100644 index 000000000..719facf75 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricBMIforAgeObservationProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCorePediatricBMIforAgeObservationProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCorePediatricBMIforAgeObservationProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCorePediatricBMIforAgeObservationProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age (pkg: hl7.fhir.us.core#8.0.1) +export class USCorePediatricBMIforAgeObservationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age") + } + + static from (resource: Observation) : USCorePediatricBMIforAgeObservationProfileProfile { + return new USCorePediatricBMIforAgeObservationProfileProfile(resource) + } + + static createResource (args: USCorePediatricBMIforAgeObservationProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"59576-9"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age"] }, + } as unknown as Observation + return resource + } + + static create (args: USCorePediatricBMIforAgeObservationProfileProfileParams) : USCorePediatricBMIforAgeObservationProfileProfile { + return USCorePediatricBMIforAgeObservationProfileProfile.from(USCorePediatricBMIforAgeObservationProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCorePediatricBMIforAgeObservationProfile { + return this.resource as USCorePediatricBMIforAgeObservationProfile + } + + public setVSCat (input?: USCorePediatricBMIforAgeObservationProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCorePediatricBMIforAgeObservationProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCorePediatricBMIforAgeObservationProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCorePediatricBMIforAgeObservationProfile.category")) + { const e = validateRequired(r, "code", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"59576-9"}]}, "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCorePediatricBMIforAgeObservationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts new file mode 100644 index 000000000..0d34c14f7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile (pkg: hl7.fhir.us.core#8.0.1) +export class USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile") + } + + static from (resource: Observation) : USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile { + return new USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile(resource) + } + + static createResource (args: USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"8289-1"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile"] }, + } as unknown as Observation + return resource + } + + static create (args: USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfileParams) : USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile { + return USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile.from(USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile { + return this.resource as USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile + } + + public setVSCat (input?: USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.category")) + { const e = validateRequired(r, "code", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"8289-1"}]}, "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricWeightForHeightObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricWeightForHeightObservationProfile.ts new file mode 100644 index 000000000..0739afb5f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricWeightForHeightObservationProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCorePediatricWeightForHeightObservationProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCorePediatricWeightForHeightObservationProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCorePediatricWeightForHeightObservationProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height (pkg: hl7.fhir.us.core#8.0.1) +export class USCorePediatricWeightForHeightObservationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height") + } + + static from (resource: Observation) : USCorePediatricWeightForHeightObservationProfileProfile { + return new USCorePediatricWeightForHeightObservationProfileProfile(resource) + } + + static createResource (args: USCorePediatricWeightForHeightObservationProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"77606-2"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height"] }, + } as unknown as Observation + return resource + } + + static create (args: USCorePediatricWeightForHeightObservationProfileProfileParams) : USCorePediatricWeightForHeightObservationProfileProfile { + return USCorePediatricWeightForHeightObservationProfileProfile.from(USCorePediatricWeightForHeightObservationProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCorePediatricWeightForHeightObservationProfile { + return this.resource as USCorePediatricWeightForHeightObservationProfile + } + + public setVSCat (input?: USCorePediatricWeightForHeightObservationProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCorePediatricWeightForHeightObservationProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCorePediatricWeightForHeightObservationProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCorePediatricWeightForHeightObservationProfile.category")) + { const e = validateRequired(r, "code", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"77606-2"}]}, "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCorePediatricWeightForHeightObservationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePulseOximetryProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePulseOximetryProfile.ts new file mode 100644 index 000000000..2b69cf731 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePulseOximetryProfile.ts @@ -0,0 +1,343 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCorePulseOximetryProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCorePulseOximetryProfile_Category_VSCatSliceInput = Omit; +export type USCorePulseOximetryProfile_Component_FlowRateSliceInput = Omit; +export type USCorePulseOximetryProfile_Component_ConcentrationSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCorePulseOximetryProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry (pkg: hl7.fhir.us.core#8.0.1) +export class USCorePulseOximetryProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry") + } + + static from (resource: Observation) : USCorePulseOximetryProfileProfile { + return new USCorePulseOximetryProfileProfile(resource) + } + + static createResource (args: USCorePulseOximetryProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"59408-5"},{"system":"http://loinc.org","code":"2708-6"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry"] }, + } as unknown as Observation + return resource + } + + static create (args: USCorePulseOximetryProfileProfileParams) : USCorePulseOximetryProfileProfile { + return USCorePulseOximetryProfileProfile.from(USCorePulseOximetryProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCorePulseOximetryProfile { + return this.resource as USCorePulseOximetryProfile + } + + public setVSCat (input?: USCorePulseOximetryProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setFlowRate (input?: USCorePulseOximetryProfile_Component_FlowRateSliceInput): this { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3151-8"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setConcentration (input?: USCorePulseOximetryProfile_Component_ConcentrationSliceInput): this { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3150-0"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent + const list = (this.resource.component ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCorePulseOximetryProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCorePulseOximetryProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getFlowRate (): USCorePulseOximetryProfile_Component_FlowRateSliceInput | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3151-8"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as USCorePulseOximetryProfile_Component_FlowRateSliceInput + } + + public getFlowRateRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3151-8"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getConcentration (): USCorePulseOximetryProfile_Component_ConcentrationSliceInput | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3150-0"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["code"]) as USCorePulseOximetryProfile_Component_ConcentrationSliceInput + } + + public getConcentrationRaw (): ObservationComponent | undefined { + const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3150-0"}]}} as Record + const list = this.resource.component + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCorePulseOximetryProfile.category")) + { const e = validateRequired(r, "code", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"59408-5"},{"system":"http://loinc.org","code":"2708-6"}]}, "USCorePulseOximetryProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":[{"system":"http://loinc.org","code":"3151-8"}]}}, "FlowRate", 0, 1, "USCorePulseOximetryProfile.component")) + errors.push(...validateSliceCardinality(r["component"] as unknown[] | undefined, {"code":{"coding":[{"system":"http://loinc.org","code":"3150-0"}]}}, "Concentration", 0, 1, "USCorePulseOximetryProfile.component")) + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCorePulseOximetryProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreRespiratoryRateProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreRespiratoryRateProfile.ts new file mode 100644 index 000000000..20347c9e1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreRespiratoryRateProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreRespiratoryRateProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreRespiratoryRateProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreRespiratoryRateProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreRespiratoryRateProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate") + } + + static from (resource: Observation) : USCoreRespiratoryRateProfileProfile { + return new USCoreRespiratoryRateProfileProfile(resource) + } + + static createResource (args: USCoreRespiratoryRateProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"9279-1"}]}, + category: categoryWithDefaults, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreRespiratoryRateProfileProfileParams) : USCoreRespiratoryRateProfileProfile { + return USCoreRespiratoryRateProfileProfile.from(USCoreRespiratoryRateProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreRespiratoryRateProfile { + return this.resource as USCoreRespiratoryRateProfile + } + + public setVSCat (input?: USCoreRespiratoryRateProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreRespiratoryRateProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreRespiratoryRateProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreRespiratoryRateProfile.category")) + { const e = validateRequired(r, "code", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"9279-1"}]}, "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreRespiratoryRateProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSimpleObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSimpleObservationProfile.ts new file mode 100644 index 000000000..f2ad88b1f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSimpleObservationProfile.ts @@ -0,0 +1,257 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +export interface USCoreSimpleObservationProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreSimpleObservationProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + code: CodeableConcept; + subject: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreSimpleObservationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation") + } + + static from (resource: Observation) : USCoreSimpleObservationProfileProfile { + return new USCoreSimpleObservationProfileProfile(resource) + } + + static createResource (args: USCoreSimpleObservationProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + status: args.status, + category: args.category, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreSimpleObservationProfileProfileParams) : USCoreSimpleObservationProfileProfile { + return USCoreSimpleObservationProfileProfile.from(USCoreSimpleObservationProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getEffectiveTiming () : Timing | undefined { + return this.resource.effectiveTiming as Timing | undefined + } + + setEffectiveTiming (value: Timing) : this { + Object.assign(this.resource, { effectiveTiming: value }) + return this + } + + getEffectiveInstant () : string | undefined { + return this.resource.effectiveInstant as string | undefined + } + + setEffectiveInstant (value: string) : this { + Object.assign(this.resource, { effectiveInstant: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreSimpleObservationProfile { + return this.resource as USCoreSimpleObservationProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreSimpleObservationProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreSimpleObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreSimpleObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreSimpleObservationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreSimpleObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","USCoreLocationProfile","USCorePatientProfile"], "subject", "USCoreSimpleObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreSimpleObservationProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["ImagingStudy","Media","MolecularSequence","Observation","USCoreDocumentReferenceProfile","USCoreQuestionnaireResponseProfile"], "derivedFrom", "USCoreSimpleObservationProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSmokingStatusProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSmokingStatusProfile.ts new file mode 100644 index 000000000..6fef12f7e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSmokingStatusProfile.ts @@ -0,0 +1,192 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreSmokingStatusProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreSmokingStatusProfile_Category_SocialHistorySliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreSmokingStatusProfileProfileParams = { + status: ("final" | "entered-in-error"); + code: CodeableConcept<("11367-0" | "401201003" | "72166-2" | "782516008" | string)>; + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreSmokingStatusProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus") + } + + static from (resource: Observation) : USCoreSmokingStatusProfileProfile { + return new USCoreSmokingStatusProfileProfile(resource) + } + + static createResource (args: USCoreSmokingStatusProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreSmokingStatusProfileProfileParams) : USCoreSmokingStatusProfileProfile { + return USCoreSmokingStatusProfileProfile.from(USCoreSmokingStatusProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("final" | "entered-in-error") | undefined { + return this.resource.status as ("final" | "entered-in-error") | undefined + } + + setStatus (value: ("final" | "entered-in-error")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept<("11367-0" | "401201003" | "72166-2" | "782516008" | string)> | undefined { + return this.resource.code as CodeableConcept<("11367-0" | "401201003" | "72166-2" | "782516008" | string)> | undefined + } + + setCode (value: CodeableConcept<("11367-0" | "401201003" | "72166-2" | "782516008" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + toProfile () : USCoreSmokingStatusProfile { + return this.resource as USCoreSmokingStatusProfile + } + + public setSocialHistory (input?: USCoreSmokingStatusProfile_Category_SocialHistorySliceInput): this { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getSocialHistory (): USCoreSmokingStatusProfile_Category_SocialHistorySliceInput | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreSmokingStatusProfile_Category_SocialHistorySliceInput + } + + public getSocialHistoryRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreSmokingStatusProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["final","entered-in-error"], "status", "USCoreSmokingStatusProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreSmokingStatusProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]}, "SocialHistory", 1, 1, "USCoreSmokingStatusProfile.category")) + { const e = validateRequired(r, "code", "USCoreSmokingStatusProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreSmokingStatusProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreSmokingStatusProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreSmokingStatusProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreTreatmentInterventionPreferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreTreatmentInterventionPreferenceProfile.ts new file mode 100644 index 000000000..4a8623935 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreTreatmentInterventionPreferenceProfile.ts @@ -0,0 +1,276 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +export interface USCoreTreatmentInterventionPreferenceProfile extends Observation { + subject: Reference<"Patient">; +} + +export type USCoreTreatmentInterventionPreferenceProfile_Category_Us_coreSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreTreatmentInterventionPreferenceProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + subject: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreTreatmentInterventionPreferenceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference") + } + + static from (resource: Observation) : USCoreTreatmentInterventionPreferenceProfileProfile { + return new USCoreTreatmentInterventionPreferenceProfileProfile(resource) + } + + static createResource (args: USCoreTreatmentInterventionPreferenceProfileProfileParams) : Observation { + const resource: Observation = { + resourceType: "Observation", + code: {"coding":[{"system":"http://loinc.org","code":"75773-2"}]}, + status: args.status, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreTreatmentInterventionPreferenceProfileProfileParams) : USCoreTreatmentInterventionPreferenceProfileProfile { + return USCoreTreatmentInterventionPreferenceProfileProfile.from(USCoreTreatmentInterventionPreferenceProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getEffectiveTiming () : Timing | undefined { + return this.resource.effectiveTiming as Timing | undefined + } + + setEffectiveTiming (value: Timing) : this { + Object.assign(this.resource, { effectiveTiming: value }) + return this + } + + getEffectiveInstant () : string | undefined { + return this.resource.effectiveInstant as string | undefined + } + + setEffectiveInstant (value: string) : this { + Object.assign(this.resource, { effectiveInstant: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreTreatmentInterventionPreferenceProfile { + return this.resource as USCoreTreatmentInterventionPreferenceProfile + } + + public setUs_core (input?: USCoreTreatmentInterventionPreferenceProfile_Category_Us_coreSliceInput): this { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"treatment-intervention-preference"}]} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getUs_core (): USCoreTreatmentInterventionPreferenceProfile_Category_Us_coreSliceInput | undefined { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"treatment-intervention-preference"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreTreatmentInterventionPreferenceProfile_Category_Us_coreSliceInput + } + + public getUs_coreRaw (): CodeableConcept | undefined { + const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"treatment-intervention-preference"}]} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreTreatmentInterventionPreferenceProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreTreatmentInterventionPreferenceProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"treatment-intervention-preference"}]}, "us-core", 0, 1, "USCoreTreatmentInterventionPreferenceProfile.category")) + { const e = validateRequired(r, "code", "USCoreTreatmentInterventionPreferenceProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://loinc.org","code":"75773-2"}]}, "USCoreTreatmentInterventionPreferenceProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreTreatmentInterventionPreferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreTreatmentInterventionPreferenceProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreTreatmentInterventionPreferenceProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreVitalSignsProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreVitalSignsProfile.ts new file mode 100644 index 000000000..12d7b44ad --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreVitalSignsProfile.ts @@ -0,0 +1,278 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Observation } from "../../hl7-fhir-r4-core/Observation"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../../hl7-fhir-r4-core/SampledData"; + +export interface USCoreVitalSignsProfile extends Observation { + category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + subject: Reference<"Patient">; +} + +export type USCoreVitalSignsProfile_Category_VSCatSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreVitalSignsProfileProfileParams = { + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + code: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>; + subject: Reference<"USCorePatientProfile">; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreVitalSignsProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs" + + private resource: Observation + + constructor (resource: Observation) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs") + } + + static from (resource: Observation) : USCoreVitalSignsProfileProfile { + return new USCoreVitalSignsProfileProfile(resource) + } + + static createResource (args: USCoreVitalSignsProfileProfileParams) : Observation { + const categoryDefaults = [{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}] as unknown[] + const categoryWithDefaults = [...(args.category ?? [])] as unknown[] + if (!categoryWithDefaults.some(item => matchesSlice(item, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record))) categoryWithDefaults.push(categoryDefaults[0]!) + const resource: Observation = { + resourceType: "Observation", + category: categoryWithDefaults, + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs"] }, + } as unknown as Observation + return resource + } + + static create (args: USCoreVitalSignsProfileProfileParams) : USCoreVitalSignsProfileProfile { + return USCoreVitalSignsProfileProfile.from(USCoreVitalSignsProfileProfile.createResource(args)) + } + + toResource () : Observation { + return this.resource + } + + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined { + return this.resource.code as CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)> | undefined + } + + setCode (value: CodeableConcept<("2708-6" | "29463-7" | "3140-1" | "3150-0" | "3151-8" | "39156-5" | "59408-5" | "59575-1" | "59576-9" | "77606-2" | "8287-5" | "8289-1" | "8302-2" | "8306-3" | "8310-5" | "8462-4" | "8478-0" | "8480-6" | "8867-4" | "9279-1" | "9843-4" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined + } + + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + Object.assign(this.resource, { category: value }) + return this + } + + getEffectiveDateTime () : string | undefined { + return this.resource.effectiveDateTime as string | undefined + } + + setEffectiveDateTime (value: string) : this { + Object.assign(this.resource, { effectiveDateTime: value }) + return this + } + + getEffectivePeriod () : Period | undefined { + return this.resource.effectivePeriod as Period | undefined + } + + setEffectivePeriod (value: Period) : this { + Object.assign(this.resource, { effectivePeriod: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + getValueSampledData () : SampledData | undefined { + return this.resource.valueSampledData as SampledData | undefined + } + + setValueSampledData (value: SampledData) : this { + Object.assign(this.resource, { valueSampledData: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + toProfile () : USCoreVitalSignsProfile { + return this.resource as USCoreVitalSignsProfile + } + + public setVSCat (input?: USCoreVitalSignsProfile_Category_VSCatSliceInput): this { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept + const list = (this.resource.category ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getVSCat (): USCoreVitalSignsProfile_Category_VSCatSliceInput | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreVitalSignsProfile_Category_VSCatSliceInput + } + + public getVSCatRaw (): CodeableConcept | undefined { + const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record + const list = this.resource.category + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"], "status", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "category", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["category"] as unknown[] | undefined, {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}}, "VSCat", 1, 1, "USCoreVitalSignsProfile.category")) + { const e = validateRequired(r, "code", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["USCorePatientProfile"], "subject", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + if (!(r["effectiveDateTime"] !== undefined || r["effectivePeriod"] !== undefined)) { + errors.push("effective: at least one of effectiveDateTime, effectivePeriod is required") + } + { const e = validateReference(r["hasMember"], ["MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "hasMember", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + { const e = validateReference(r["derivedFrom"], ["DocumentReference","ImagingStudy","Media","MolecularSequence","QuestionnaireResponse","observation-vitalsigns"], "derivedFrom", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["PractitionerRole","USCoreCareTeam","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "performer", "USCoreVitalSignsProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreOrganizationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Organization_USCoreOrganizationProfile.ts similarity index 61% rename from examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreOrganizationProfile.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Organization_USCoreOrganizationProfile.ts index 196c77561..d095ce5d2 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreOrganizationProfile.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Organization_USCoreOrganizationProfile.ts @@ -5,7 +5,6 @@ import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; import type { Organization } from "../../hl7-fhir-r4-core/Organization"; -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization export interface USCoreOrganizationProfile extends Organization { active: boolean; name: string; @@ -15,24 +14,72 @@ export type USCoreOrganizationProfile_Identifier_NPISliceInput = Omit; export type USCoreOrganizationProfile_Identifier_NAICSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type USCoreOrganizationProfileProfileParams = { + active: boolean; + name: string; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization (pkg: hl7.fhir.us.core#8.0.1) export class USCoreOrganizationProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + private resource: Organization constructor (resource: Organization) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization") + } + + static from (resource: Organization) : USCoreOrganizationProfileProfile { + return new USCoreOrganizationProfileProfile(resource) + } + + static createResource (args: USCoreOrganizationProfileProfileParams) : Organization { + const resource: Organization = { + resourceType: "Organization", + active: args.active, + name: args.name, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"] }, + } as unknown as Organization + return resource + } + + static create (args: USCoreOrganizationProfileProfileParams) : USCoreOrganizationProfileProfile { + return USCoreOrganizationProfileProfile.from(USCoreOrganizationProfileProfile.createResource(args)) } toResource () : Organization { return this.resource } + getActive () : boolean | undefined { + return this.resource.active as boolean | undefined + } + + setActive (value: boolean) : this { + Object.assign(this.resource, { active: value }) + return this + } + + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + toProfile () : USCoreOrganizationProfile { return this.resource as USCoreOrganizationProfile } - public setNpi (input?: USCoreOrganizationProfile_Identifier_NPISliceInput): this { + public setNPI (input?: USCoreOrganizationProfile_Identifier_NPISliceInput): this { const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record const value = applySliceMatch((input ?? {}) as Record, match) as unknown as Identifier const list = (this.resource.identifier ??= []) @@ -45,7 +92,7 @@ export class USCoreOrganizationProfileProfile { return this } - public setClia (input?: USCoreOrganizationProfile_Identifier_CLIASliceInput): this { + public setCLIA (input?: USCoreOrganizationProfile_Identifier_CLIASliceInput): this { const match = {"system":"urn:oid:2.16.840.1.113883.4.7"} as Record const value = applySliceMatch((input ?? {}) as Record, match) as unknown as Identifier const list = (this.resource.identifier ??= []) @@ -58,7 +105,7 @@ export class USCoreOrganizationProfileProfile { return this } - public setNaic (input?: USCoreOrganizationProfile_Identifier_NAICSliceInput): this { + public setNAIC (input?: USCoreOrganizationProfile_Identifier_NAICSliceInput): this { const match = {"system":"urn:oid:2.16.840.1.113883.6.300"} as Record const value = applySliceMatch((input ?? {}) as Record, match) as unknown as Identifier const list = (this.resource.identifier ??= []) @@ -71,7 +118,7 @@ export class USCoreOrganizationProfileProfile { return this } - public getNpi (): USCoreOrganizationProfile_Identifier_NPISliceInput | undefined { + public getNPI (): USCoreOrganizationProfile_Identifier_NPISliceInput | undefined { const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record const list = this.resource.identifier if (!list) return undefined @@ -80,7 +127,7 @@ export class USCoreOrganizationProfileProfile { return extractSliceSimplified(item as unknown as Record, ["system"]) as USCoreOrganizationProfile_Identifier_NPISliceInput } - public getNpiRaw (): Identifier | undefined { + public getNPIRaw (): Identifier | undefined { const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record const list = this.resource.identifier if (!list) return undefined @@ -88,7 +135,7 @@ export class USCoreOrganizationProfileProfile { return item } - public getClia (): USCoreOrganizationProfile_Identifier_CLIASliceInput | undefined { + public getCLIA (): USCoreOrganizationProfile_Identifier_CLIASliceInput | undefined { const match = {"system":"urn:oid:2.16.840.1.113883.4.7"} as Record const list = this.resource.identifier if (!list) return undefined @@ -97,7 +144,7 @@ export class USCoreOrganizationProfileProfile { return extractSliceSimplified(item as unknown as Record, ["system"]) as USCoreOrganizationProfile_Identifier_CLIASliceInput } - public getCliaRaw (): Identifier | undefined { + public getCLIARaw (): Identifier | undefined { const match = {"system":"urn:oid:2.16.840.1.113883.4.7"} as Record const list = this.resource.identifier if (!list) return undefined @@ -105,7 +152,7 @@ export class USCoreOrganizationProfileProfile { return item } - public getNaic (): USCoreOrganizationProfile_Identifier_NAICSliceInput | undefined { + public getNAIC (): USCoreOrganizationProfile_Identifier_NAICSliceInput | undefined { const match = {"system":"urn:oid:2.16.840.1.113883.6.300"} as Record const list = this.resource.identifier if (!list) return undefined @@ -114,7 +161,7 @@ export class USCoreOrganizationProfileProfile { return extractSliceSimplified(item as unknown as Record, ["system"]) as USCoreOrganizationProfile_Identifier_NAICSliceInput } - public getNaicRaw (): Identifier | undefined { + public getNAICRaw (): Identifier | undefined { const match = {"system":"urn:oid:2.16.840.1.113883.6.300"} as Record const list = this.resource.identifier if (!list) return undefined @@ -122,5 +169,13 @@ export class USCoreOrganizationProfileProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "active", "USCoreOrganizationProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "USCoreOrganizationProfile"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePatientProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Patient_USCorePatientProfile.ts similarity index 73% rename from examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePatientProfile.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Patient_USCorePatientProfile.ts index 116aecf3c..133fa3930 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePatientProfile.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Patient_USCorePatientProfile.ts @@ -9,7 +9,6 @@ import type { HumanName } from "../../hl7-fhir-r4-core/HumanName"; import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; import type { Patient } from "../../hl7-fhir-r4-core/Patient"; -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient export interface USCorePatientProfile extends Patient { identifier: Identifier[]; name: HumanName[]; @@ -32,19 +31,67 @@ export type USCorePatientProfile_TribalAffiliationInput = { isEnrolled?: boolean; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type USCorePatientProfileProfileParams = { + identifier: Identifier[]; + name: HumanName[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient (pkg: hl7.fhir.us.core#8.0.1) export class USCorePatientProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + private resource: Patient constructor (resource: Patient) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient") + } + + static from (resource: Patient) : USCorePatientProfileProfile { + return new USCorePatientProfileProfile(resource) + } + + static createResource (args: USCorePatientProfileProfileParams) : Patient { + const resource: Patient = { + resourceType: "Patient", + identifier: args.identifier, + name: args.name, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"] }, + } as unknown as Patient + return resource + } + + static create (args: USCorePatientProfileProfileParams) : USCorePatientProfileProfile { + return USCorePatientProfileProfile.from(USCorePatientProfileProfile.createResource(args)) } toResource () : Patient { return this.resource } + getIdentifier () : Identifier[] | undefined { + return this.resource.identifier as Identifier[] | undefined + } + + setIdentifier (value: Identifier[]) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getName () : HumanName[] | undefined { + return this.resource.name as HumanName[] | undefined + } + + setName (value: HumanName[]) : this { + Object.assign(this.resource, { name: value }) + return this + } + toProfile () : USCorePatientProfile { return this.resource as USCorePatientProfile } @@ -100,13 +147,13 @@ export class USCorePatientProfileProfile { public setSex (value: Coding): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-individual-sex", valueCoding: value }) + list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-individual-sex", valueCoding: value } as Extension) return this } public setInterpreterRequired (value: Coding): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed", valueCoding: value }) + list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed", valueCoding: value } as Extension) return this } @@ -148,7 +195,7 @@ export class USCorePatientProfileProfile { public getSex (): Coding | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-individual-sex") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getSexExtension (): Extension | undefined { @@ -158,7 +205,7 @@ export class USCorePatientProfileProfile { public getInterpreterRequired (): Coding | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getInterpreterRequiredExtension (): Extension | undefined { @@ -166,5 +213,13 @@ export class USCorePatientProfileProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "identifier", "USCorePatientProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "USCorePatientProfile"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/PractitionerRole_USCorePractitionerRoleProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/PractitionerRole_USCorePractitionerRoleProfile.ts new file mode 100644 index 000000000..ba8fcedd6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/PractitionerRole_USCorePractitionerRoleProfile.ts @@ -0,0 +1,55 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { PractitionerRole } from "../../hl7-fhir-r4-core/PractitionerRole"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole (pkg: hl7.fhir.us.core#8.0.1) +export class USCorePractitionerRoleProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + + private resource: PractitionerRole + + constructor (resource: PractitionerRole) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole") + } + + static from (resource: PractitionerRole) : USCorePractitionerRoleProfileProfile { + return new USCorePractitionerRoleProfileProfile(resource) + } + + static createResource () : PractitionerRole { + const resource: PractitionerRole = { + resourceType: "PractitionerRole", + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole"] }, + } as unknown as PractitionerRole + return resource + } + + static create () : USCorePractitionerRoleProfileProfile { + return USCorePractitionerRoleProfileProfile.from(USCorePractitionerRoleProfileProfile.createResource()) + } + + toResource () : PractitionerRole { + return this.resource + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateReference(r["practitioner"], ["USCorePractitionerProfile"], "practitioner", "USCorePractitionerRoleProfile"); if (e) errors.push(e) } + { const e = validateReference(r["organization"], ["USCoreOrganizationProfile"], "organization", "USCorePractitionerRoleProfile"); if (e) errors.push(e) } + { const e = validateReference(r["location"], ["USCoreLocationProfile"], "location", "USCorePractitionerRoleProfile"); if (e) errors.push(e) } + { const e = validateReference(r["healthcareService"], ["HealthcareService"], "healthcareService", "USCorePractitionerRoleProfile"); if (e) errors.push(e) } + { const e = validateReference(r["endpoint"], ["Endpoint"], "endpoint", "USCorePractitionerRoleProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Practitioner_USCorePractitionerProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Practitioner_USCorePractitionerProfile.ts new file mode 100644 index 000000000..85e93ce89 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Practitioner_USCorePractitionerProfile.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { HumanName } from "../../hl7-fhir-r4-core/HumanName"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; +import type { Practitioner } from "../../hl7-fhir-r4-core/Practitioner"; + +export interface USCorePractitionerProfile extends Practitioner { + identifier: Identifier[]; + name: HumanName[]; +} + +export type USCorePractitionerProfile_Identifier_NPISliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCorePractitionerProfileProfileParams = { + identifier: Identifier[]; + name: HumanName[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner (pkg: hl7.fhir.us.core#8.0.1) +export class USCorePractitionerProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + + private resource: Practitioner + + constructor (resource: Practitioner) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner") + } + + static from (resource: Practitioner) : USCorePractitionerProfileProfile { + return new USCorePractitionerProfileProfile(resource) + } + + static createResource (args: USCorePractitionerProfileProfileParams) : Practitioner { + const resource: Practitioner = { + resourceType: "Practitioner", + identifier: args.identifier, + name: args.name, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"] }, + } as unknown as Practitioner + return resource + } + + static create (args: USCorePractitionerProfileProfileParams) : USCorePractitionerProfileProfile { + return USCorePractitionerProfileProfile.from(USCorePractitionerProfileProfile.createResource(args)) + } + + toResource () : Practitioner { + return this.resource + } + + getIdentifier () : Identifier[] | undefined { + return this.resource.identifier as Identifier[] | undefined + } + + setIdentifier (value: Identifier[]) : this { + Object.assign(this.resource, { identifier: value }) + return this + } + + getName () : HumanName[] | undefined { + return this.resource.name as HumanName[] | undefined + } + + setName (value: HumanName[]) : this { + Object.assign(this.resource, { name: value }) + return this + } + + toProfile () : USCorePractitionerProfile { + return this.resource as USCorePractitionerProfile + } + + public setNPI (input?: USCorePractitionerProfile_Identifier_NPISliceInput): this { + const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as Identifier + const list = (this.resource.identifier ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getNPI (): USCorePractitionerProfile_Identifier_NPISliceInput | undefined { + const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record + const list = this.resource.identifier + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["system"]) as USCorePractitionerProfile_Identifier_NPISliceInput + } + + public getNPIRaw (): Identifier | undefined { + const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record + const list = this.resource.identifier + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "identifier", "USCorePractitionerProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "name", "USCorePractitionerProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Procedure_USCoreProcedureProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Procedure_USCoreProcedureProfile.ts new file mode 100644 index 000000000..45bddb494 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Procedure_USCoreProcedureProfile.ts @@ -0,0 +1,152 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-core/Age"; +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Procedure } from "../../hl7-fhir-r4-core/Procedure"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +export interface USCoreProcedureProfile extends Procedure { + code: CodeableConcept; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreProcedureProfileProfileParams = { + status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); + code: CodeableConcept; + subject: Reference<"Group" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreProcedureProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + + private resource: Procedure + + constructor (resource: Procedure) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure") + } + + static from (resource: Procedure) : USCoreProcedureProfileProfile { + return new USCoreProcedureProfileProfile(resource) + } + + static createResource (args: USCoreProcedureProfileProfileParams) : Procedure { + const resource: Procedure = { + resourceType: "Procedure", + status: args.status, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"] }, + } as unknown as Procedure + return resource + } + + static create (args: USCoreProcedureProfileProfileParams) : USCoreProcedureProfileProfile { + return USCoreProcedureProfileProfile.from(USCoreProcedureProfileProfile.createResource(args)) + } + + toResource () : Procedure { + return this.resource + } + + getStatus () : ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Group" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Group" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Group" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getPerformedDateTime () : string | undefined { + return this.resource.performedDateTime as string | undefined + } + + setPerformedDateTime (value: string) : this { + Object.assign(this.resource, { performedDateTime: value }) + return this + } + + getPerformedPeriod () : Period | undefined { + return this.resource.performedPeriod as Period | undefined + } + + setPerformedPeriod (value: Period) : this { + Object.assign(this.resource, { performedPeriod: value }) + return this + } + + getPerformedString () : string | undefined { + return this.resource.performedString as string | undefined + } + + setPerformedString (value: string) : this { + Object.assign(this.resource, { performedString: value }) + return this + } + + getPerformedAge () : Age | undefined { + return this.resource.performedAge as Age | undefined + } + + setPerformedAge (value: Age) : this { + Object.assign(this.resource, { performedAge: value }) + return this + } + + getPerformedRange () : Range | undefined { + return this.resource.performedRange as Range | undefined + } + + setPerformedRange (value: Range) : this { + Object.assign(this.resource, { performedRange: value }) + return this + } + + toProfile () : USCoreProcedureProfile { + return this.resource as USCoreProcedureProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateReference(r["basedOn"], ["USCoreCarePlanProfile","USCoreServiceRequestProfile"], "basedOn", "USCoreProcedureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "USCoreProcedureProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["preparation","in-progress","not-done","on-hold","stopped","completed","entered-in-error","unknown"], "status", "USCoreProcedureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreProcedureProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreProcedureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Group","USCorePatientProfile"], "subject", "USCoreProcedureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreProcedureProfile"); if (e) errors.push(e) } + { const e = validateReference(r["reasonReference"], ["Condition","DiagnosticReport","DocumentReference","Observation","Procedure"], "reasonReference", "USCoreProcedureProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreProvenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Provenance_USCoreProvenance.ts similarity index 58% rename from examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreProvenance.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Provenance_USCoreProvenance.ts index 08c5f2580..3585c365f 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreProvenance.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Provenance_USCoreProvenance.ts @@ -4,24 +4,83 @@ import type { Provenance } from "../../hl7-fhir-r4-core/Provenance"; import type { ProvenanceAgent } from "../../hl7-fhir-r4-core/Provenance"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance export type USCoreProvenance_Agent_ProvenanceAuthorSliceInput = Omit; export type USCoreProvenance_Agent_ProvenanceTransmitterSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type USCoreProvenanceProfileParams = { + target: Reference<"Resource">[]; + recorded: string; + agent: ProvenanceAgent[]; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance (pkg: hl7.fhir.us.core#8.0.1) export class USCoreProvenanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + private resource: Provenance constructor (resource: Provenance) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance") + } + + static from (resource: Provenance) : USCoreProvenanceProfile { + return new USCoreProvenanceProfile(resource) + } + + static createResource (args: USCoreProvenanceProfileParams) : Provenance { + const resource: Provenance = { + resourceType: "Provenance", + target: args.target, + recorded: args.recorded, + agent: args.agent, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"] }, + } as unknown as Provenance + return resource + } + + static create (args: USCoreProvenanceProfileParams) : USCoreProvenanceProfile { + return USCoreProvenanceProfile.from(USCoreProvenanceProfile.createResource(args)) } toResource () : Provenance { return this.resource } + getTarget () : Reference<"Resource">[] | undefined { + return this.resource.target as Reference<"Resource">[] | undefined + } + + setTarget (value: Reference<"Resource">[]) : this { + Object.assign(this.resource, { target: value }) + return this + } + + getRecorded () : string | undefined { + return this.resource.recorded as string | undefined + } + + setRecorded (value: string) : this { + Object.assign(this.resource, { recorded: value }) + return this + } + + getAgent () : ProvenanceAgent[] | undefined { + return this.resource.agent as ProvenanceAgent[] | undefined + } + + setAgent (value: ProvenanceAgent[]) : this { + Object.assign(this.resource, { agent: value }) + return this + } + public setProvenanceAuthor (input?: USCoreProvenance_Agent_ProvenanceAuthorSliceInput): this { const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]}} as Record const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ProvenanceAgent @@ -82,5 +141,15 @@ export class USCoreProvenanceProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "target", "USCoreProvenance"); if (e) errors.push(e) } + { const e = validateReference(r["target"], ["Resource"], "target", "USCoreProvenance"); if (e) errors.push(e) } + { const e = validateRequired(r, "recorded", "USCoreProvenance"); if (e) errors.push(e) } + { const e = validateRequired(r, "agent", "USCoreProvenance"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreQuestionnaireResponseProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/QuestionnaireResponse_USCoreQuestionnaireResponseProfile.ts similarity index 59% rename from examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreQuestionnaireResponseProfile.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/QuestionnaireResponse_USCoreQuestionnaireResponseProfile.ts index 8b6d95ce7..c1f440f39 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreQuestionnaireResponseProfile.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/QuestionnaireResponse_USCoreQuestionnaireResponseProfile.ts @@ -9,87 +9,156 @@ import type { QuestionnaireResponse } from "../../hl7-fhir-r4-core/Questionnaire import type { Reference } from "../../hl7-fhir-r4-core/Reference"; import type { Signature } from "../../hl7-fhir-r4-core/Signature"; -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse export interface USCoreQuestionnaireResponseProfile extends QuestionnaireResponse { questionnaire: string; subject: Reference<"Resource" /* 'Resource' | "Patient" */ >; authored: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type USCoreQuestionnaireResponseProfileProfileParams = { + questionnaire: string; + status: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped"); + subject: Reference<"Resource" | "USCorePatientProfile">; + authored: string; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse (pkg: hl7.fhir.us.core#8.0.1) export class USCoreQuestionnaireResponseProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + private resource: QuestionnaireResponse constructor (resource: QuestionnaireResponse) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse") + } + + static from (resource: QuestionnaireResponse) : USCoreQuestionnaireResponseProfileProfile { + return new USCoreQuestionnaireResponseProfileProfile(resource) + } + + static createResource (args: USCoreQuestionnaireResponseProfileProfileParams) : QuestionnaireResponse { + const resource: QuestionnaireResponse = { + resourceType: "QuestionnaireResponse", + questionnaire: args.questionnaire, + status: args.status, + subject: args.subject, + authored: args.authored, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse"] }, + } as unknown as QuestionnaireResponse + return resource + } + + static create (args: USCoreQuestionnaireResponseProfileProfileParams) : USCoreQuestionnaireResponseProfileProfile { + return USCoreQuestionnaireResponseProfileProfile.from(USCoreQuestionnaireResponseProfileProfile.createResource(args)) } toResource () : QuestionnaireResponse { return this.resource } + getQuestionnaire () : string | undefined { + return this.resource.questionnaire as string | undefined + } + + setQuestionnaire (value: string) : this { + Object.assign(this.resource, { questionnaire: value }) + return this + } + + getStatus () : ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped") | undefined { + return this.resource.status as ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped") | undefined + } + + setStatus (value: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Resource" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Resource" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Resource" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getAuthored () : string | undefined { + return this.resource.authored as string | undefined + } + + setAuthored (value: string) : this { + Object.assign(this.resource, { authored: value }) + return this + } + toProfile () : USCoreQuestionnaireResponseProfile { return this.resource as USCoreQuestionnaireResponseProfile } public setSignature (value: Signature): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", valueSignature: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", valueSignature: value } as Extension) return this } public setCompletionMode (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", valueCodeableConcept: value } as Extension) return this } public setQuestionnaireDisplay (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["questionnaire"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/display", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/display", valueString: value } as Extension) return this } public setItemMedia (value: Attachment): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia", valueAttachment: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia", valueAttachment: value } as Extension) return this } public setItemSignature (value: Signature): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", valueSignature: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", valueSignature: value } as Extension) return this } public setItemAnswerMedia (value: Attachment): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answer"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia", valueAttachment: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia", valueAttachment: value } as Extension) return this } public setOrdinalValue (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answer"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/ordinalValue", valueDecimal: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/ordinalValue", valueDecimal: value } as Extension) return this } public setUrl (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["questionnaire"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri", valueUri: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri", valueUri: value } as Extension) return this } public getSignature (): Signature | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature") - return ext?.valueSignature + return (ext as Record | undefined)?.valueSignature as Signature | undefined } public getSignatureExtension (): Extension | undefined { @@ -99,7 +168,7 @@ export class USCoreQuestionnaireResponseProfileProfile { public getCompletionMode (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getCompletionModeExtension (): Extension | undefined { @@ -110,7 +179,7 @@ export class USCoreQuestionnaireResponseProfileProfile { public getQuestionnaireDisplay (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["questionnaire"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/display") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getQuestionnaireDisplayExtension (): Extension | undefined { @@ -122,7 +191,7 @@ export class USCoreQuestionnaireResponseProfileProfile { public getItemMedia (): Attachment | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia") - return ext?.valueAttachment + return (ext as Record | undefined)?.valueAttachment as Attachment | undefined } public getItemMediaExtension (): Extension | undefined { @@ -134,7 +203,7 @@ export class USCoreQuestionnaireResponseProfileProfile { public getItemSignature (): Signature | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature") - return ext?.valueSignature + return (ext as Record | undefined)?.valueSignature as Signature | undefined } public getItemSignatureExtension (): Extension | undefined { @@ -146,7 +215,7 @@ export class USCoreQuestionnaireResponseProfileProfile { public getItemAnswerMedia (): Attachment | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answer"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia") - return ext?.valueAttachment + return (ext as Record | undefined)?.valueAttachment as Attachment | undefined } public getItemAnswerMediaExtension (): Extension | undefined { @@ -158,7 +227,7 @@ export class USCoreQuestionnaireResponseProfileProfile { public getOrdinalValue (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answer"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/ordinalValue") - return ext?.valueDecimal + return (ext as Record | undefined)?.valueDecimal as number | undefined } public getOrdinalValueExtension (): Extension | undefined { @@ -170,7 +239,7 @@ export class USCoreQuestionnaireResponseProfileProfile { public getUrl (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["questionnaire"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri") - return ext?.valueUri + return (ext as Record | undefined)?.valueUri as string | undefined } public getUrlExtension (): Extension | undefined { @@ -179,5 +248,22 @@ export class USCoreQuestionnaireResponseProfileProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateReference(r["basedOn"], ["CarePlan","ServiceRequest"], "basedOn", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateReference(r["partOf"], ["Observation","Procedure"], "partOf", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "questionnaire", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["in-progress","completed","amended","entered-in-error","stopped"], "status", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Resource","USCorePatientProfile"], "subject", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["Encounter"], "encounter", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "authored", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateReference(r["author"], ["Device","PractitionerRole","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "author", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + { const e = validateReference(r["source"], ["Patient","Practitioner","PractitionerRole","RelatedPerson"], "source", "USCoreQuestionnaireResponseProfile"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/RelatedPerson_USCoreRelatedPersonProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/RelatedPerson_USCoreRelatedPersonProfile.ts new file mode 100644 index 000000000..b4c1ca015 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/RelatedPerson_USCoreRelatedPersonProfile.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { RelatedPerson } from "../../hl7-fhir-r4-core/RelatedPerson"; + +export interface USCoreRelatedPersonProfile extends RelatedPerson { + active: boolean; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreRelatedPersonProfileProfileParams = { + active: boolean; + patient: Reference<"USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreRelatedPersonProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + + private resource: RelatedPerson + + constructor (resource: RelatedPerson) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson") + } + + static from (resource: RelatedPerson) : USCoreRelatedPersonProfileProfile { + return new USCoreRelatedPersonProfileProfile(resource) + } + + static createResource (args: USCoreRelatedPersonProfileProfileParams) : RelatedPerson { + const resource: RelatedPerson = { + resourceType: "RelatedPerson", + active: args.active, + patient: args.patient, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson"] }, + } as unknown as RelatedPerson + return resource + } + + static create (args: USCoreRelatedPersonProfileProfileParams) : USCoreRelatedPersonProfileProfile { + return USCoreRelatedPersonProfileProfile.from(USCoreRelatedPersonProfileProfile.createResource(args)) + } + + toResource () : RelatedPerson { + return this.resource + } + + getActive () : boolean | undefined { + return this.resource.active as boolean | undefined + } + + setActive (value: boolean) : this { + Object.assign(this.resource, { active: value }) + return this + } + + getPatient () : Reference<"USCorePatientProfile"> | undefined { + return this.resource.patient as Reference<"USCorePatientProfile"> | undefined + } + + setPatient (value: Reference<"USCorePatientProfile">) : this { + Object.assign(this.resource, { patient: value }) + return this + } + + toProfile () : USCoreRelatedPersonProfile { + return this.resource as USCoreRelatedPersonProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "active", "USCoreRelatedPersonProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "patient", "USCoreRelatedPersonProfile"); if (e) errors.push(e) } + { const e = validateReference(r["patient"], ["USCorePatientProfile"], "patient", "USCoreRelatedPersonProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/ServiceRequest_USCoreServiceRequestProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/ServiceRequest_USCoreServiceRequestProfile.ts new file mode 100644 index 000000000..aada4af6c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/ServiceRequest_USCoreServiceRequestProfile.ts @@ -0,0 +1,146 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { ServiceRequest } from "../../hl7-fhir-r4-core/ServiceRequest"; +import type { Timing } from "../../hl7-fhir-r4-core/Timing"; + +export interface USCoreServiceRequestProfile extends ServiceRequest { + code: CodeableConcept; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreServiceRequestProfileProfileParams = { + status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); + intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); + code: CodeableConcept; + subject: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreServiceRequestProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest" + + private resource: ServiceRequest + + constructor (resource: ServiceRequest) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest") + } + + static from (resource: ServiceRequest) : USCoreServiceRequestProfileProfile { + return new USCoreServiceRequestProfileProfile(resource) + } + + static createResource (args: USCoreServiceRequestProfileProfileParams) : ServiceRequest { + const resource: ServiceRequest = { + resourceType: "ServiceRequest", + status: args.status, + intent: args.intent, + code: args.code, + subject: args.subject, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest"] }, + } as unknown as ServiceRequest + return resource + } + + static create (args: USCoreServiceRequestProfileProfileParams) : USCoreServiceRequestProfileProfile { + return USCoreServiceRequestProfileProfile.from(USCoreServiceRequestProfileProfile.createResource(args)) + } + + toResource () : ServiceRequest { + return this.resource + } + + getStatus () : ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getIntent () : ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option") | undefined { + return this.resource.intent as ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option") | undefined + } + + setIntent (value: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option")) : this { + Object.assign(this.resource, { intent: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "USCoreLocationProfile" | "USCorePatientProfile">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getOccurrencePeriod () : Period | undefined { + return this.resource.occurrencePeriod as Period | undefined + } + + setOccurrencePeriod (value: Period) : this { + Object.assign(this.resource, { occurrencePeriod: value }) + return this + } + + getOccurrenceDateTime () : string | undefined { + return this.resource.occurrenceDateTime as string | undefined + } + + setOccurrenceDateTime (value: string) : this { + Object.assign(this.resource, { occurrenceDateTime: value }) + return this + } + + getOccurrenceTiming () : Timing | undefined { + return this.resource.occurrenceTiming as Timing | undefined + } + + setOccurrenceTiming (value: Timing) : this { + Object.assign(this.resource, { occurrenceTiming: value }) + return this + } + + toProfile () : USCoreServiceRequestProfile { + return this.resource as USCoreServiceRequestProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","on-hold","revoked","completed","entered-in-error","unknown"], "status", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "intent", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateEnum(r["intent"], ["proposal","plan","directive","order","original-order","reflex-order","filler-order","instance-order","option"], "intent", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","USCoreLocationProfile","USCorePatientProfile"], "subject", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["USCoreEncounterProfile"], "encounter", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateReference(r["requester"], ["Device","PractitionerRole","USCoreOrganizationProfile","USCorePatientProfile","USCorePractitionerProfile","USCoreRelatedPersonProfile"], "requester", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + { const e = validateReference(r["reasonReference"], ["Condition","DiagnosticReport","DocumentReference","Observation"], "reasonReference", "USCoreServiceRequestProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Specimen_USCoreSpecimenProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Specimen_USCoreSpecimenProfile.ts new file mode 100644 index 000000000..9799880a5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Specimen_USCoreSpecimenProfile.ts @@ -0,0 +1,75 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Specimen } from "../../hl7-fhir-r4-core/Specimen"; + +export interface USCoreSpecimenProfile extends Specimen { + type: CodeableConcept; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type USCoreSpecimenProfileProfileParams = { + type: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen (pkg: hl7.fhir.us.core#8.0.1) +export class USCoreSpecimenProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen" + + private resource: Specimen + + constructor (resource: Specimen) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen")) profiles.push("http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen") + } + + static from (resource: Specimen) : USCoreSpecimenProfileProfile { + return new USCoreSpecimenProfileProfile(resource) + } + + static createResource (args: USCoreSpecimenProfileProfileParams) : Specimen { + const resource: Specimen = { + resourceType: "Specimen", + type: args.type, + meta: { profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen"] }, + } as unknown as Specimen + return resource + } + + static create (args: USCoreSpecimenProfileProfileParams) : USCoreSpecimenProfileProfile { + return USCoreSpecimenProfileProfile.from(USCoreSpecimenProfileProfile.createResource(args)) + } + + toResource () : Specimen { + return this.resource + } + + getType () : CodeableConcept | undefined { + return this.resource.type as CodeableConcept | undefined + } + + setType (value: CodeableConcept) : this { + Object.assign(this.resource, { type: value }) + return this + } + + toProfile () : USCoreSpecimenProfile { + return this.resource as USCoreSpecimenProfile + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "USCoreSpecimenProfile"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","Substance","USCoreLocationProfile","USCorePatientProfile"], "subject", "USCoreSpecimenProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAdidocumentReferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAdidocumentReferenceProfile.ts deleted file mode 100644 index 2b27a0a18..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAdidocumentReferenceProfile.ts +++ /dev/null @@ -1,49 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { DocumentReference } from "../../hl7-fhir-r4-core/DocumentReference"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference -export interface USCoreADIDocumentReferenceProfile extends DocumentReference { - type: CodeableConcept; - category: CodeableConcept[]; - subject: Reference<'Device' | 'Group' | 'Practitioner' | "Patient" /*USCorePatientProfile*/>; -} - -export class USCoreADIDocumentReferenceProfileProfile { - private resource: DocumentReference - - constructor (resource: DocumentReference) { - this.resource = resource - } - - toResource () : DocumentReference { - return this.resource - } - - toProfile () : USCoreADIDocumentReferenceProfile { - return this.resource as USCoreADIDocumentReferenceProfile - } - - public setAuthenticationTime (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time", valueDateTime: value }) - return this - } - - public getAuthenticationTime (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time") - return ext?.valueDateTime - } - - public getAuthenticationTimeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAllergyIntolerance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAllergyIntolerance.ts deleted file mode 100644 index 5d3698190..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAllergyIntolerance.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { AllergyIntolerance } from "../../hl7-fhir-r4-core/AllergyIntolerance"; -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance -export interface USCoreAllergyIntolerance extends AllergyIntolerance { - code: CodeableConcept; -} - -export class USCoreAllergyIntoleranceProfile { - private resource: AllergyIntolerance - - constructor (resource: AllergyIntolerance) { - this.resource = resource - } - - toResource () : AllergyIntolerance { - return this.resource - } - - toProfile () : USCoreAllergyIntolerance { - return this.resource as USCoreAllergyIntolerance - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAverageBloodPressureProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAverageBloodPressureProfile.ts deleted file mode 100644 index adae28709..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreAverageBloodPressureProfile.ts +++ /dev/null @@ -1,128 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure -export interface USCoreAverageBloodPressureProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreAverageBloodPressureProfile_Category_VSCatSliceInput = Omit; -export type USCoreAverageBloodPressureProfile_Component_SystolicSliceInput = Omit; -export type USCoreAverageBloodPressureProfile_Component_DiastolicSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreAverageBloodPressureProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreAverageBloodPressureProfile { - return this.resource as USCoreAverageBloodPressureProfile - } - - public setVscat (input?: USCoreAverageBloodPressureProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setSystolic (input?: USCoreAverageBloodPressureProfile_Component_SystolicSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent - const list = (this.resource.component ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setDiastolic (input?: USCoreAverageBloodPressureProfile_Component_DiastolicSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent - const list = (this.resource.component ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreAverageBloodPressureProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreAverageBloodPressureProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getSystolic (): USCoreAverageBloodPressureProfile_Component_SystolicSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreAverageBloodPressureProfile_Component_SystolicSliceInput - } - - public getSystolicRaw (): ObservationComponent | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96608-5"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getDiastolic (): USCoreAverageBloodPressureProfile_Component_DiastolicSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreAverageBloodPressureProfile_Component_DiastolicSliceInput - } - - public getDiastolicRaw (): ObservationComponent | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"96609-3"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBloodPressureProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBloodPressureProfile.ts deleted file mode 100644 index 3546708da..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBloodPressureProfile.ts +++ /dev/null @@ -1,128 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure -export interface USCoreBloodPressureProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreBloodPressureProfile_Category_VSCatSliceInput = Omit; -export type USCoreBloodPressureProfile_Component_SystolicSliceInput = Omit; -export type USCoreBloodPressureProfile_Component_DiastolicSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreBloodPressureProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreBloodPressureProfile { - return this.resource as USCoreBloodPressureProfile - } - - public setVscat (input?: USCoreBloodPressureProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setSystolic (input?: USCoreBloodPressureProfile_Component_SystolicSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent - const list = (this.resource.component ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setDiastolic (input?: USCoreBloodPressureProfile_Component_DiastolicSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent - const list = (this.resource.component ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreBloodPressureProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBloodPressureProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getSystolic (): USCoreBloodPressureProfile_Component_SystolicSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreBloodPressureProfile_Component_SystolicSliceInput - } - - public getSystolicRaw (): ObservationComponent | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8480-6"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getDiastolic (): USCoreBloodPressureProfile_Component_DiastolicSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreBloodPressureProfile_Component_DiastolicSliceInput - } - - public getDiastolicRaw (): ObservationComponent | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"8462-4"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBmiprofile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBmiprofile.ts deleted file mode 100644 index 2820d3350..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBmiprofile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi -export interface USCoreBMIProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreBMIProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreBMIProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreBMIProfile { - return this.resource as USCoreBMIProfile - } - - public setVscat (input?: USCoreBMIProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreBMIProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBMIProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyHeightProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyHeightProfile.ts deleted file mode 100644 index e16add91a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyHeightProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height -export interface USCoreBodyHeightProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreBodyHeightProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreBodyHeightProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreBodyHeightProfile { - return this.resource as USCoreBodyHeightProfile - } - - public setVscat (input?: USCoreBodyHeightProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreBodyHeightProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBodyHeightProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyTemperatureProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyTemperatureProfile.ts deleted file mode 100644 index d69135d3c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyTemperatureProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature -export interface USCoreBodyTemperatureProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreBodyTemperatureProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreBodyTemperatureProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreBodyTemperatureProfile { - return this.resource as USCoreBodyTemperatureProfile - } - - public setVscat (input?: USCoreBodyTemperatureProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreBodyTemperatureProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBodyTemperatureProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyWeightProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyWeightProfile.ts deleted file mode 100644 index c76777770..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreBodyWeightProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight -export interface USCoreBodyWeightProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreBodyWeightProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreBodyWeightProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreBodyWeightProfile { - return this.resource as USCoreBodyWeightProfile - } - - public setVscat (input?: USCoreBodyWeightProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreBodyWeightProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreBodyWeightProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCareExperiencePreferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCareExperiencePreferenceProfile.ts deleted file mode 100644 index dc398834e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCareExperiencePreferenceProfile.ts +++ /dev/null @@ -1,64 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference -export interface USCoreCareExperiencePreferenceProfile extends Observation { - subject: Reference<"Patient">; -} - -export type USCoreCareExperiencePreferenceProfile_Category_Us_coreSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreCareExperiencePreferenceProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreCareExperiencePreferenceProfile { - return this.resource as USCoreCareExperiencePreferenceProfile - } - - public setUsCore (input?: USCoreCareExperiencePreferenceProfile_Category_Us_coreSliceInput): this { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"care-experience-preference"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getUsCore (): USCoreCareExperiencePreferenceProfile_Category_Us_coreSliceInput | undefined { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"care-experience-preference"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreCareExperiencePreferenceProfile_Category_Us_coreSliceInput - } - - public getUsCoreRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"care-experience-preference"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCarePlanProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCarePlanProfile.ts deleted file mode 100644 index 465be6218..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCarePlanProfile.ts +++ /dev/null @@ -1,63 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CarePlan } from "../../hl7-fhir-r4-core/CarePlan"; -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan -export interface USCoreCarePlanProfile extends CarePlan { - category: CodeableConcept[]; -} - -export type USCoreCarePlanProfile_Category_AssessPlanSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreCarePlanProfileProfile { - private resource: CarePlan - - constructor (resource: CarePlan) { - this.resource = resource - } - - toResource () : CarePlan { - return this.resource - } - - toProfile () : USCoreCarePlanProfile { - return this.resource as USCoreCarePlanProfile - } - - public setAssessPlan (input?: USCoreCarePlanProfile_Category_AssessPlanSliceInput): this { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getAssessPlan (): USCoreCarePlanProfile_Category_AssessPlanSliceInput | undefined { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreCarePlanProfile_Category_AssessPlanSliceInput - } - - public getAssessPlanRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCareTeam.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCareTeam.ts deleted file mode 100644 index 2765f7b92..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreCareTeam.ts +++ /dev/null @@ -1,31 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CareTeam } from "../../hl7-fhir-r4-core/CareTeam"; -import type { CareTeamParticipant } from "../../hl7-fhir-r4-core/CareTeam"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam -export interface USCoreCareTeam extends CareTeam { - subject: Reference<'Group' | "Patient" /*USCorePatientProfile*/>; - participant: CareTeamParticipant[]; -} - -export class USCoreCareTeamProfile { - private resource: CareTeam - - constructor (resource: CareTeam) { - this.resource = resource - } - - toResource () : CareTeam { - return this.resource - } - - toProfile () : USCoreCareTeam { - return this.resource as USCoreCareTeam - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreConditionEncounterDiagnosisProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreConditionEncounterDiagnosisProfile.ts deleted file mode 100644 index 66e836281..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreConditionEncounterDiagnosisProfile.ts +++ /dev/null @@ -1,64 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Condition } from "../../hl7-fhir-r4-core/Condition"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis -export interface USCoreConditionEncounterDiagnosisProfile extends Condition { - category: CodeableConcept[]; - code: CodeableConcept; -} - -export type USCoreConditionEncounterDiagnosisProfile_Category_Us_coreSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreConditionEncounterDiagnosisProfileProfile { - private resource: Condition - - constructor (resource: Condition) { - this.resource = resource - } - - toResource () : Condition { - return this.resource - } - - toProfile () : USCoreConditionEncounterDiagnosisProfile { - return this.resource as USCoreConditionEncounterDiagnosisProfile - } - - public setUsCore (input?: USCoreConditionEncounterDiagnosisProfile_Category_Us_coreSliceInput): this { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getUsCore (): USCoreConditionEncounterDiagnosisProfile_Category_Us_coreSliceInput | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreConditionEncounterDiagnosisProfile_Category_Us_coreSliceInput - } - - public getUsCoreRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreConditionProblemsHealthConcernsProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreConditionProblemsHealthConcernsProfile.ts deleted file mode 100644 index fd63fc157..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreConditionProblemsHealthConcernsProfile.ts +++ /dev/null @@ -1,47 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Condition } from "../../hl7-fhir-r4-core/Condition"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns -export interface USCoreConditionProblemsHealthConcernsProfile extends Condition { - category: CodeableConcept[]; - code: CodeableConcept; -} - -export class USCoreConditionProblemsHealthConcernsProfileProfile { - private resource: Condition - - constructor (resource: Condition) { - this.resource = resource - } - - toResource () : Condition { - return this.resource - } - - toProfile () : USCoreConditionProblemsHealthConcernsProfile { - return this.resource as USCoreConditionProblemsHealthConcernsProfile - } - - public setAssertedDate (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", valueDateTime: value }) - return this - } - - public getAssertedDate (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/condition-assertedDate") - return ext?.valueDateTime - } - - public getAssertedDateExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/condition-assertedDate") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDiagnosticReportProfileLaboratoryReporting.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDiagnosticReportProfileLaboratoryReporting.ts deleted file mode 100644 index c39040b94..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDiagnosticReportProfileLaboratoryReporting.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { DiagnosticReport } from "../../hl7-fhir-r4-core/DiagnosticReport"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab -export interface USCoreDiagnosticReportProfileLaboratoryReporting extends DiagnosticReport { - category: CodeableConcept[]; - subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; -} - -export type USCoreDiagnosticReportProfileLaboratoryReporting_Category_LaboratorySliceSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreDiagnosticReportProfileLaboratoryReportingProfile { - private resource: DiagnosticReport - - constructor (resource: DiagnosticReport) { - this.resource = resource - } - - toResource () : DiagnosticReport { - return this.resource - } - - toProfile () : USCoreDiagnosticReportProfileLaboratoryReporting { - return this.resource as USCoreDiagnosticReportProfileLaboratoryReporting - } - - public setLaboratorySlice (input?: USCoreDiagnosticReportProfileLaboratoryReporting_Category_LaboratorySliceSliceInput): this { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getLaboratorySlice (): USCoreDiagnosticReportProfileLaboratoryReporting_Category_LaboratorySliceSliceInput | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreDiagnosticReportProfileLaboratoryReporting_Category_LaboratorySliceSliceInput - } - - public getLaboratorySliceRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDiagnosticReportProfileNoteExchange.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDiagnosticReportProfileNoteExchange.ts deleted file mode 100644 index 3ad614961..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDiagnosticReportProfileNoteExchange.ts +++ /dev/null @@ -1,31 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { DiagnosticReport } from "../../hl7-fhir-r4-core/DiagnosticReport"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note -export interface USCoreDiagnosticReportProfileNoteExchange extends DiagnosticReport { - category: CodeableConcept[]; - subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; -} - -export class USCoreDiagnosticReportProfileNoteExchangeProfile { - private resource: DiagnosticReport - - constructor (resource: DiagnosticReport) { - this.resource = resource - } - - toResource () : DiagnosticReport { - return this.resource - } - - toProfile () : USCoreDiagnosticReportProfileNoteExchange { - return this.resource as USCoreDiagnosticReportProfileNoteExchange - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDocumentReferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDocumentReferenceProfile.ts deleted file mode 100644 index 031ea7080..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreDocumentReferenceProfile.ts +++ /dev/null @@ -1,32 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { DocumentReference } from "../../hl7-fhir-r4-core/DocumentReference"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference -export interface USCoreDocumentReferenceProfile extends DocumentReference { - type: CodeableConcept; - category: CodeableConcept[]; - subject: Reference<'Device' | 'Group' | 'Practitioner' | "Patient" /*USCorePatientProfile*/>; -} - -export class USCoreDocumentReferenceProfileProfile { - private resource: DocumentReference - - constructor (resource: DocumentReference) { - this.resource = resource - } - - toResource () : DocumentReference { - return this.resource - } - - toProfile () : USCoreDocumentReferenceProfile { - return this.resource as USCoreDocumentReferenceProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreEncounterProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreEncounterProfile.ts deleted file mode 100644 index 1e25915a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreEncounterProfile.ts +++ /dev/null @@ -1,49 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../../hl7-fhir-r4-core/Coding"; -import type { Encounter } from "../../hl7-fhir-r4-core/Encounter"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter -export interface USCoreEncounterProfile extends Encounter { - type: CodeableConcept[]; - subject: Reference<'Group' | "Patient" /*USCorePatientProfile*/>; -} - -export class USCoreEncounterProfileProfile { - private resource: Encounter - - constructor (resource: Encounter) { - this.resource = resource - } - - toResource () : Encounter { - return this.resource - } - - toProfile () : USCoreEncounterProfile { - return this.resource as USCoreEncounterProfile - } - - public setInterpreterRequired (value: Coding): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed", valueCoding: value }) - return this - } - - public getInterpreterRequired (): Coding | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed") - return ext?.valueCoding - } - - public getInterpreterRequiredExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreGoalProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreGoalProfile.ts deleted file mode 100644 index 541840c03..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreGoalProfile.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Goal } from "../../hl7-fhir-r4-core/Goal"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal -export class USCoreGoalProfileProfile { - private resource: Goal - - constructor (resource: Goal) { - this.resource = resource - } - - toResource () : Goal { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreHeadCircumferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreHeadCircumferenceProfile.ts deleted file mode 100644 index e1fcdf442..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreHeadCircumferenceProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference -export interface USCoreHeadCircumferenceProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreHeadCircumferenceProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreHeadCircumferenceProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreHeadCircumferenceProfile { - return this.resource as USCoreHeadCircumferenceProfile - } - - public setVscat (input?: USCoreHeadCircumferenceProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreHeadCircumferenceProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreHeadCircumferenceProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreHeartRateProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreHeartRateProfile.ts deleted file mode 100644 index f4a8e81f6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreHeartRateProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate -export interface USCoreHeartRateProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreHeartRateProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreHeartRateProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreHeartRateProfile { - return this.resource as USCoreHeartRateProfile - } - - public setVscat (input?: USCoreHeartRateProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreHeartRateProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreHeartRateProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreImmunizationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreImmunizationProfile.ts deleted file mode 100644 index fa59390b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreImmunizationProfile.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Immunization } from "../../hl7-fhir-r4-core/Immunization"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization -export class USCoreImmunizationProfileProfile { - private resource: Immunization - - constructor (resource: Immunization) { - this.resource = resource - } - - toResource () : Immunization { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreImplantableDeviceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreImplantableDeviceProfile.ts deleted file mode 100644 index 7a1be858a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreImplantableDeviceProfile.ts +++ /dev/null @@ -1,31 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Device } from "../../hl7-fhir-r4-core/Device"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device -export interface USCoreImplantableDeviceProfile extends Device { - type: CodeableConcept; - patient: Reference<"Patient" /*USCorePatientProfile*/>; -} - -export class USCoreImplantableDeviceProfileProfile { - private resource: Device - - constructor (resource: Device) { - this.resource = resource - } - - toResource () : Device { - return this.resource - } - - toProfile () : USCoreImplantableDeviceProfile { - return this.resource as USCoreImplantableDeviceProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreLaboratoryResultObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreLaboratoryResultObservationProfile.ts deleted file mode 100644 index ed898706d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreLaboratoryResultObservationProfile.ts +++ /dev/null @@ -1,31 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab -export interface USCoreLaboratoryResultObservationProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; -} - -export class USCoreLaboratoryResultObservationProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreLaboratoryResultObservationProfile { - return this.resource as USCoreLaboratoryResultObservationProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreLocationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreLocationProfile.ts deleted file mode 100644 index c730e1f84..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreLocationProfile.ts +++ /dev/null @@ -1,28 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Location } from "../../hl7-fhir-r4-core/Location"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location -export interface USCoreLocationProfile extends Location { - name: string; -} - -export class USCoreLocationProfileProfile { - private resource: Location - - constructor (resource: Location) { - this.resource = resource - } - - toResource () : Location { - return this.resource - } - - toProfile () : USCoreLocationProfile { - return this.resource as USCoreLocationProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationDispenseProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationDispenseProfile.ts deleted file mode 100644 index 02f16f062..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationDispenseProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { MedicationDispense } from "../../hl7-fhir-r4-core/MedicationDispense"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense -export interface USCoreMedicationDispenseProfile extends MedicationDispense { - subject: Reference<'Group' | "Patient" /*USCorePatientProfile*/>; -} - -export class USCoreMedicationDispenseProfileProfile { - private resource: MedicationDispense - - constructor (resource: MedicationDispense) { - this.resource = resource - } - - toResource () : MedicationDispense { - return this.resource - } - - toProfile () : USCoreMedicationDispenseProfile { - return this.resource as USCoreMedicationDispenseProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationProfile.ts deleted file mode 100644 index 06d8f4236..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Medication } from "../../hl7-fhir-r4-core/Medication"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication -export interface USCoreMedicationProfile extends Medication { - code: CodeableConcept; -} - -export class USCoreMedicationProfileProfile { - private resource: Medication - - constructor (resource: Medication) { - this.resource = resource - } - - toResource () : Medication { - return this.resource - } - - toProfile () : USCoreMedicationProfile { - return this.resource as USCoreMedicationProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationRequestProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationRequestProfile.ts deleted file mode 100644 index 53528c4b5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreMedicationRequestProfile.ts +++ /dev/null @@ -1,60 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { MedicationRequest } from "../../hl7-fhir-r4-core/MedicationRequest"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest -export type USCoreMedicationRequestProfile_MedicationAdherenceInput = { - medicationAdherence: CodeableConcept; - dateAsserted: string; - informationSource?: CodeableConcept[]; -} - -import { extractComplexExtension } from "../../profile-helpers"; - -export class USCoreMedicationRequestProfileProfile { - private resource: MedicationRequest - - constructor (resource: MedicationRequest) { - this.resource = resource - } - - toResource () : MedicationRequest { - return this.resource - } - - public setMedicationAdherence (input: USCoreMedicationRequestProfile_MedicationAdherenceInput): this { - const subExtensions: Extension[] = [] - if (input.medicationAdherence !== undefined) { - subExtensions.push({ url: "medicationAdherence", valueCodeableConcept: input.medicationAdherence }) - } - if (input.dateAsserted !== undefined) { - subExtensions.push({ url: "dateAsserted", valueDateTime: input.dateAsserted }) - } - if (input.informationSource) { - for (const item of input.informationSource) { - subExtensions.push({ url: "informationSource", valueCodeableConcept: item }) - } - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence", extension: subExtensions }) - return this - } - - public getMedicationAdherence (): USCoreMedicationRequestProfile_MedicationAdherenceInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence") - if (!ext) return undefined - const config = [{ name: "medicationAdherence", valueField: "valueCodeableConcept", isArray: false }, { name: "dateAsserted", valueField: "valueDateTime", isArray: false }, { name: "informationSource", valueField: "valueCodeableConcept", isArray: true }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as USCoreMedicationRequestProfile_MedicationAdherenceInput - } - - public getMedicationAdherenceExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationAdidocumentationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationAdidocumentationProfile.ts deleted file mode 100644 index 989054d45..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationAdidocumentationProfile.ts +++ /dev/null @@ -1,81 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation -export interface USCoreObservationADIDocumentationProfile extends Observation { - subject: Reference<"Patient">; -} - -export type USCoreObservationADIDocumentationProfile_Category_Us_coreSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreObservationADIDocumentationProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreObservationADIDocumentationProfile { - return this.resource as USCoreObservationADIDocumentationProfile - } - - public setSupportingInfo (value: Reference): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", valueReference: value }) - return this - } - - public setUsCore (input?: USCoreObservationADIDocumentationProfile_Category_Us_coreSliceInput): this { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"observation-adi-documentation"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getSupportingInfo (): Reference | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo") - return ext?.valueReference - } - - public getSupportingInfoExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo") - return ext - } - - public getUsCore (): USCoreObservationADIDocumentationProfile_Category_Us_coreSliceInput | undefined { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"observation-adi-documentation"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationADIDocumentationProfile_Category_Us_coreSliceInput - } - - public getUsCoreRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"observation-adi-documentation"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationClinicalResultProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationClinicalResultProfile.ts deleted file mode 100644 index 1a95b0af6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationClinicalResultProfile.ts +++ /dev/null @@ -1,31 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result -export interface USCoreObservationClinicalResultProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; -} - -export class USCoreObservationClinicalResultProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreObservationClinicalResultProfile { - return this.resource as USCoreObservationClinicalResultProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationOccupationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationOccupationProfile.ts deleted file mode 100644 index 7821e34c5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationOccupationProfile.ts +++ /dev/null @@ -1,97 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation -export interface USCoreObservationOccupationProfile extends Observation { - subject: Reference<"Patient">; - valueCodeableConcept: CodeableConcept; -} - -export type USCoreObservationOccupationProfile_Category_SocialhistorySliceInput = Omit; -export type USCoreObservationOccupationProfile_Component_IndustrySliceInput = Omit & Required>; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreObservationOccupationProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreObservationOccupationProfile { - return this.resource as USCoreObservationOccupationProfile - } - - public setSocialhistory (input?: USCoreObservationOccupationProfile_Category_SocialhistorySliceInput): this { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setIndustry (input: USCoreObservationOccupationProfile_Component_IndustrySliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"86188-0"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as ObservationComponent - const list = (this.resource.component ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getSocialhistory (): USCoreObservationOccupationProfile_Category_SocialhistorySliceInput | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationOccupationProfile_Category_SocialhistorySliceInput - } - - public getSocialhistoryRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getIndustry (): USCoreObservationOccupationProfile_Component_IndustrySliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"86188-0"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["code"]) as USCoreObservationOccupationProfile_Component_IndustrySliceInput - } - - public getIndustryRaw (): ObservationComponent | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"86188-0"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationPregnancyIntentProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationPregnancyIntentProfile.ts deleted file mode 100644 index 12db79bbf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationPregnancyIntentProfile.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent -export interface USCoreObservationPregnancyIntentProfile extends Observation { - subject: Reference<"Patient">; - effectiveDateTime: string; - valueCodeableConcept: CodeableConcept; -} - -export type USCoreObservationPregnancyIntentProfile_Category_SocialHistorySliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreObservationPregnancyIntentProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreObservationPregnancyIntentProfile { - return this.resource as USCoreObservationPregnancyIntentProfile - } - - public setSocialHistory (input?: USCoreObservationPregnancyIntentProfile_Category_SocialHistorySliceInput): this { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getSocialHistory (): USCoreObservationPregnancyIntentProfile_Category_SocialHistorySliceInput | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationPregnancyIntentProfile_Category_SocialHistorySliceInput - } - - public getSocialHistoryRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationPregnancyStatusProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationPregnancyStatusProfile.ts deleted file mode 100644 index 662639c36..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationPregnancyStatusProfile.ts +++ /dev/null @@ -1,66 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus -export interface USCoreObservationPregnancyStatusProfile extends Observation { - subject: Reference<"Patient">; - effectiveDateTime: string; - valueCodeableConcept: CodeableConcept; -} - -export type USCoreObservationPregnancyStatusProfile_Category_SocialHistorySliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreObservationPregnancyStatusProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreObservationPregnancyStatusProfile { - return this.resource as USCoreObservationPregnancyStatusProfile - } - - public setSocialHistory (input?: USCoreObservationPregnancyStatusProfile_Category_SocialHistorySliceInput): this { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getSocialHistory (): USCoreObservationPregnancyStatusProfile_Category_SocialHistorySliceInput | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationPregnancyStatusProfile_Category_SocialHistorySliceInput - } - - public getSocialHistoryRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationScreeningAssessmentProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationScreeningAssessmentProfile.ts deleted file mode 100644 index 75cd5674c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationScreeningAssessmentProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -export interface USCoreObservationScreeningAssessmentProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; -} - -export type USCoreObservationScreeningAssessmentProfile_Category_SurveySliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreObservationScreeningAssessmentProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreObservationScreeningAssessmentProfile { - return this.resource as USCoreObservationScreeningAssessmentProfile - } - - public setSurvey (input?: USCoreObservationScreeningAssessmentProfile_Category_SurveySliceInput): this { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getSurvey (): USCoreObservationScreeningAssessmentProfile_Category_SurveySliceInput | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreObservationScreeningAssessmentProfile_Category_SurveySliceInput - } - - public getSurveyRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationSexualOrientationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationSexualOrientationProfile.ts deleted file mode 100644 index d9467b91d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreObservationSexualOrientationProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation -export interface USCoreObservationSexualOrientationProfile extends Observation { - subject: Reference<"Patient">; -} - -export class USCoreObservationSexualOrientationProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreObservationSexualOrientationProfile { - return this.resource as USCoreObservationSexualOrientationProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricBmiforAgeObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricBmiforAgeObservationProfile.ts deleted file mode 100644 index b6ccfd24a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricBmiforAgeObservationProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age -export interface USCorePediatricBMIforAgeObservationProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCorePediatricBMIforAgeObservationProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCorePediatricBMIforAgeObservationProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCorePediatricBMIforAgeObservationProfile { - return this.resource as USCorePediatricBMIforAgeObservationProfile - } - - public setVscat (input?: USCorePediatricBMIforAgeObservationProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCorePediatricBMIforAgeObservationProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCorePediatricBMIforAgeObservationProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts deleted file mode 100644 index 0d3217ab5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile -export interface USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile { - return this.resource as USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile - } - - public setVscat (input?: USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricWeightForHeightObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricWeightForHeightObservationProfile.ts deleted file mode 100644 index 85499b5ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePediatricWeightForHeightObservationProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height -export interface USCorePediatricWeightForHeightObservationProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCorePediatricWeightForHeightObservationProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCorePediatricWeightForHeightObservationProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCorePediatricWeightForHeightObservationProfile { - return this.resource as USCorePediatricWeightForHeightObservationProfile - } - - public setVscat (input?: USCorePediatricWeightForHeightObservationProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCorePediatricWeightForHeightObservationProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCorePediatricWeightForHeightObservationProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePractitionerProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePractitionerProfile.ts deleted file mode 100644 index 206ae2eb5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePractitionerProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { HumanName } from "../../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; -import type { Practitioner } from "../../hl7-fhir-r4-core/Practitioner"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner -export interface USCorePractitionerProfile extends Practitioner { - identifier: Identifier[]; - name: HumanName[]; -} - -export type USCorePractitionerProfile_Identifier_NPISliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCorePractitionerProfileProfile { - private resource: Practitioner - - constructor (resource: Practitioner) { - this.resource = resource - } - - toResource () : Practitioner { - return this.resource - } - - toProfile () : USCorePractitionerProfile { - return this.resource as USCorePractitionerProfile - } - - public setNpi (input?: USCorePractitionerProfile_Identifier_NPISliceInput): this { - const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as Identifier - const list = (this.resource.identifier ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getNpi (): USCorePractitionerProfile_Identifier_NPISliceInput | undefined { - const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record - const list = this.resource.identifier - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["system"]) as USCorePractitionerProfile_Identifier_NPISliceInput - } - - public getNpiRaw (): Identifier | undefined { - const match = {"system":"http://hl7.org/fhir/sid/us-npi"} as Record - const list = this.resource.identifier - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePractitionerRoleProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePractitionerRoleProfile.ts deleted file mode 100644 index 605678266..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePractitionerRoleProfile.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { PractitionerRole } from "../../hl7-fhir-r4-core/PractitionerRole"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole -export class USCorePractitionerRoleProfileProfile { - private resource: PractitionerRole - - constructor (resource: PractitionerRole) { - this.resource = resource - } - - toResource () : PractitionerRole { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreProcedureProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreProcedureProfile.ts deleted file mode 100644 index 0da1377ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreProcedureProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Procedure } from "../../hl7-fhir-r4-core/Procedure"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure -export interface USCoreProcedureProfile extends Procedure { - code: CodeableConcept; -} - -export class USCoreProcedureProfileProfile { - private resource: Procedure - - constructor (resource: Procedure) { - this.resource = resource - } - - toResource () : Procedure { - return this.resource - } - - toProfile () : USCoreProcedureProfile { - return this.resource as USCoreProcedureProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePulseOximetryProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePulseOximetryProfile.ts deleted file mode 100644 index 1fe09814b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscorePulseOximetryProfile.ts +++ /dev/null @@ -1,128 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { ObservationComponent } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry -export interface USCorePulseOximetryProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCorePulseOximetryProfile_Category_VSCatSliceInput = Omit; -export type USCorePulseOximetryProfile_Component_FlowRateSliceInput = Omit; -export type USCorePulseOximetryProfile_Component_ConcentrationSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCorePulseOximetryProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCorePulseOximetryProfile { - return this.resource as USCorePulseOximetryProfile - } - - public setVscat (input?: USCorePulseOximetryProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setFlowRate (input?: USCorePulseOximetryProfile_Component_FlowRateSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3151-8"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent - const list = (this.resource.component ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setConcentration (input?: USCorePulseOximetryProfile_Component_ConcentrationSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3150-0"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ObservationComponent - const list = (this.resource.component ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCorePulseOximetryProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCorePulseOximetryProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getFlowRate (): USCorePulseOximetryProfile_Component_FlowRateSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3151-8"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["code"]) as USCorePulseOximetryProfile_Component_FlowRateSliceInput - } - - public getFlowRateRaw (): ObservationComponent | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3151-8"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getConcentration (): USCorePulseOximetryProfile_Component_ConcentrationSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3150-0"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["code"]) as USCorePulseOximetryProfile_Component_ConcentrationSliceInput - } - - public getConcentrationRaw (): ObservationComponent | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"3150-0"}]}} as Record - const list = this.resource.component - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreRelatedPersonProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreRelatedPersonProfile.ts deleted file mode 100644 index 639948c1b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreRelatedPersonProfile.ts +++ /dev/null @@ -1,28 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { RelatedPerson } from "../../hl7-fhir-r4-core/RelatedPerson"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson -export interface USCoreRelatedPersonProfile extends RelatedPerson { - active: boolean; -} - -export class USCoreRelatedPersonProfileProfile { - private resource: RelatedPerson - - constructor (resource: RelatedPerson) { - this.resource = resource - } - - toResource () : RelatedPerson { - return this.resource - } - - toProfile () : USCoreRelatedPersonProfile { - return this.resource as USCoreRelatedPersonProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreRespiratoryRateProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreRespiratoryRateProfile.ts deleted file mode 100644 index ce7855263..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreRespiratoryRateProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate -export interface USCoreRespiratoryRateProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreRespiratoryRateProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreRespiratoryRateProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreRespiratoryRateProfile { - return this.resource as USCoreRespiratoryRateProfile - } - - public setVscat (input?: USCoreRespiratoryRateProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreRespiratoryRateProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreRespiratoryRateProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreServiceRequestProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreServiceRequestProfile.ts deleted file mode 100644 index 0a684d43c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreServiceRequestProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { ServiceRequest } from "../../hl7-fhir-r4-core/ServiceRequest"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest -export interface USCoreServiceRequestProfile extends ServiceRequest { - code: CodeableConcept; -} - -export class USCoreServiceRequestProfileProfile { - private resource: ServiceRequest - - constructor (resource: ServiceRequest) { - this.resource = resource - } - - toResource () : ServiceRequest { - return this.resource - } - - toProfile () : USCoreServiceRequestProfile { - return this.resource as USCoreServiceRequestProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSimpleObservationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSimpleObservationProfile.ts deleted file mode 100644 index 4322e3d14..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSimpleObservationProfile.ts +++ /dev/null @@ -1,31 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation -export interface USCoreSimpleObservationProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<'Device' | 'Group' | "Location" /*USCoreLocationProfile*/ | "Patient" /*USCorePatientProfile*/>; -} - -export class USCoreSimpleObservationProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreSimpleObservationProfile { - return this.resource as USCoreSimpleObservationProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSmokingStatusProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSmokingStatusProfile.ts deleted file mode 100644 index 2256bcfb4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSmokingStatusProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus -export interface USCoreSmokingStatusProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreSmokingStatusProfile_Category_SocialHistorySliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreSmokingStatusProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreSmokingStatusProfile { - return this.resource as USCoreSmokingStatusProfile - } - - public setSocialHistory (input?: USCoreSmokingStatusProfile_Category_SocialHistorySliceInput): this { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getSocialHistory (): USCoreSmokingStatusProfile_Category_SocialHistorySliceInput | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreSmokingStatusProfile_Category_SocialHistorySliceInput - } - - public getSocialHistoryRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSpecimenProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSpecimenProfile.ts deleted file mode 100644 index 179bd503c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreSpecimenProfile.ts +++ /dev/null @@ -1,29 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Specimen } from "../../hl7-fhir-r4-core/Specimen"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen -export interface USCoreSpecimenProfile extends Specimen { - type: CodeableConcept; -} - -export class USCoreSpecimenProfileProfile { - private resource: Specimen - - constructor (resource: Specimen) { - this.resource = resource - } - - toResource () : Specimen { - return this.resource - } - - toProfile () : USCoreSpecimenProfile { - return this.resource as USCoreSpecimenProfile - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreTreatmentInterventionPreferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreTreatmentInterventionPreferenceProfile.ts deleted file mode 100644 index bbd954c53..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreTreatmentInterventionPreferenceProfile.ts +++ /dev/null @@ -1,64 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference -export interface USCoreTreatmentInterventionPreferenceProfile extends Observation { - subject: Reference<"Patient">; -} - -export type USCoreTreatmentInterventionPreferenceProfile_Category_Us_coreSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreTreatmentInterventionPreferenceProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreTreatmentInterventionPreferenceProfile { - return this.resource as USCoreTreatmentInterventionPreferenceProfile - } - - public setUsCore (input?: USCoreTreatmentInterventionPreferenceProfile_Category_Us_coreSliceInput): this { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"treatment-intervention-preference"}]} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getUsCore (): USCoreTreatmentInterventionPreferenceProfile_Category_Us_coreSliceInput | undefined { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"treatment-intervention-preference"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreTreatmentInterventionPreferenceProfile_Category_Us_coreSliceInput - } - - public getUsCoreRaw (): CodeableConcept | undefined { - const match = {"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-category","code":"treatment-intervention-preference"}]} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreVitalSignsProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreVitalSignsProfile.ts deleted file mode 100644 index 3b4095a19..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/UscoreVitalSignsProfile.ts +++ /dev/null @@ -1,65 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Observation } from "../../hl7-fhir-r4-core/Observation"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs -export interface USCoreVitalSignsProfile extends Observation { - category: CodeableConcept[]; - subject: Reference<"Patient">; -} - -export type USCoreVitalSignsProfile_Category_VSCatSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class USCoreVitalSignsProfileProfile { - private resource: Observation - - constructor (resource: Observation) { - this.resource = resource - } - - toResource () : Observation { - return this.resource - } - - toProfile () : USCoreVitalSignsProfile { - return this.resource as USCoreVitalSignsProfile - } - - public setVscat (input?: USCoreVitalSignsProfile_Category_VSCatSliceInput): this { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CodeableConcept - const list = (this.resource.category ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getVscat (): USCoreVitalSignsProfile_Category_VSCatSliceInput | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["coding"]) as USCoreVitalSignsProfile_Category_VSCatSliceInput - } - - public getVscatRaw (): CodeableConcept | undefined { - const match = {"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}} as Record - const list = this.resource.category - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/index.ts index d0eb8a3e3..347e0fbe5 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/index.ts @@ -1,54 +1,105 @@ -export { USCoreADIDocumentReferenceProfileProfile } from "./UscoreAdidocumentReferenceProfile"; -export { USCoreAllergyIntoleranceProfile } from "./UscoreAllergyIntolerance"; -export { USCoreAverageBloodPressureProfileProfile } from "./UscoreAverageBloodPressureProfile"; -export { USCoreBloodPressureProfileProfile } from "./UscoreBloodPressureProfile"; -export { USCoreBMIProfileProfile } from "./UscoreBmiprofile"; -export { USCoreBodyHeightProfileProfile } from "./UscoreBodyHeightProfile"; -export { USCoreBodyTemperatureProfileProfile } from "./UscoreBodyTemperatureProfile"; -export { USCoreBodyWeightProfileProfile } from "./UscoreBodyWeightProfile"; -export { USCoreCareExperiencePreferenceProfileProfile } from "./UscoreCareExperiencePreferenceProfile"; -export { USCoreCarePlanProfileProfile } from "./UscoreCarePlanProfile"; -export { USCoreCareTeamProfile } from "./UscoreCareTeam"; -export { USCoreConditionEncounterDiagnosisProfileProfile } from "./UscoreConditionEncounterDiagnosisProfile"; -export { USCoreConditionProblemsHealthConcernsProfileProfile } from "./UscoreConditionProblemsHealthConcernsProfile"; -export { USCoreCoverageProfileProfile } from "./UscoreCoverageProfile"; -export { USCoreDiagnosticReportProfileLaboratoryReportingProfile } from "./UscoreDiagnosticReportProfileLaboratoryReporting"; -export { USCoreDiagnosticReportProfileNoteExchangeProfile } from "./UscoreDiagnosticReportProfileNoteExchange"; -export { USCoreDocumentReferenceProfileProfile } from "./UscoreDocumentReferenceProfile"; -export { USCoreEncounterProfileProfile } from "./UscoreEncounterProfile"; -export { USCoreGoalProfileProfile } from "./UscoreGoalProfile"; -export { USCoreHeadCircumferenceProfileProfile } from "./UscoreHeadCircumferenceProfile"; -export { USCoreHeartRateProfileProfile } from "./UscoreHeartRateProfile"; -export { USCoreImmunizationProfileProfile } from "./UscoreImmunizationProfile"; -export { USCoreImplantableDeviceProfileProfile } from "./UscoreImplantableDeviceProfile"; -export { USCoreLaboratoryResultObservationProfileProfile } from "./UscoreLaboratoryResultObservationProfile"; -export { USCoreLocationProfileProfile } from "./UscoreLocationProfile"; -export { USCoreMedicationDispenseProfileProfile } from "./UscoreMedicationDispenseProfile"; -export { USCoreMedicationProfileProfile } from "./UscoreMedicationProfile"; -export { USCoreMedicationRequestProfileProfile } from "./UscoreMedicationRequestProfile"; -export { USCoreObservationADIDocumentationProfileProfile } from "./UscoreObservationAdidocumentationProfile"; -export { USCoreObservationClinicalResultProfileProfile } from "./UscoreObservationClinicalResultProfile"; -export { USCoreObservationOccupationProfileProfile } from "./UscoreObservationOccupationProfile"; -export { USCoreObservationPregnancyIntentProfileProfile } from "./UscoreObservationPregnancyIntentProfile"; -export { USCoreObservationPregnancyStatusProfileProfile } from "./UscoreObservationPregnancyStatusProfile"; -export { USCoreObservationScreeningAssessmentProfileProfile } from "./UscoreObservationScreeningAssessmentProfile"; -export { USCoreObservationSexualOrientationProfileProfile } from "./UscoreObservationSexualOrientationProfile"; -export { USCoreOrganizationProfileProfile } from "./UscoreOrganizationProfile"; -export { USCorePatientProfileProfile } from "./UscorePatientProfile"; -export { USCorePediatricBMIforAgeObservationProfileProfile } from "./UscorePediatricBmiforAgeObservationProfile"; -export { USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile } from "./UscorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"; -export { USCorePediatricWeightForHeightObservationProfileProfile } from "./UscorePediatricWeightForHeightObservationProfile"; -export { USCorePractitionerProfileProfile } from "./UscorePractitionerProfile"; -export { USCorePractitionerRoleProfileProfile } from "./UscorePractitionerRoleProfile"; -export { USCoreProcedureProfileProfile } from "./UscoreProcedureProfile"; -export { USCoreProvenanceProfile } from "./UscoreProvenance"; -export { USCorePulseOximetryProfileProfile } from "./UscorePulseOximetryProfile"; -export { USCoreQuestionnaireResponseProfileProfile } from "./UscoreQuestionnaireResponseProfile"; -export { USCoreRelatedPersonProfileProfile } from "./UscoreRelatedPersonProfile"; -export { USCoreRespiratoryRateProfileProfile } from "./UscoreRespiratoryRateProfile"; -export { USCoreServiceRequestProfileProfile } from "./UscoreServiceRequestProfile"; -export { USCoreSimpleObservationProfileProfile } from "./UscoreSimpleObservationProfile"; -export { USCoreSmokingStatusProfileProfile } from "./UscoreSmokingStatusProfile"; -export { USCoreSpecimenProfileProfile } from "./UscoreSpecimenProfile"; -export { USCoreTreatmentInterventionPreferenceProfileProfile } from "./UscoreTreatmentInterventionPreferenceProfile"; -export { USCoreVitalSignsProfileProfile } from "./UscoreVitalSignsProfile"; +export type { USCoreADIDocumentReferenceProfile } from "./DocumentReference_USCoreADIDocumentReferenceProfile"; +export type { USCoreAllergyIntolerance } from "./AllergyIntolerance_USCoreAllergyIntolerance"; +export type { USCoreAverageBloodPressureProfile } from "./Observation_USCoreAverageBloodPressureProfile"; +export type { USCoreCareExperiencePreferenceProfile } from "./Observation_USCoreCareExperiencePreferenceProfile"; +export type { USCoreCarePlanProfile } from "./CarePlan_USCoreCarePlanProfile"; +export type { USCoreCareTeam } from "./CareTeam_USCoreCareTeam"; +export type { USCoreConditionEncounterDiagnosisProfile } from "./Condition_USCoreConditionEncounterDiagnosisProfile"; +export type { USCoreConditionProblemsHealthConcernsProfile } from "./Condition_USCoreConditionProblemsHealthConcernsProfile"; +export type { USCoreCoverageProfile } from "./Coverage_USCoreCoverageProfile"; +export type { USCoreDiagnosticReportProfileLaboratoryReporting } from "./DiagnosticReport_USCoreDiagnosticReportProfileLaboratoryReporting"; +export type { USCoreDiagnosticReportProfileNoteExchange } from "./DiagnosticReport_USCoreDiagnosticReportProfileNoteExchange"; +export type { USCoreDocumentReferenceProfile } from "./DocumentReference_USCoreDocumentReferenceProfile"; +export type { USCoreEncounterProfile } from "./Encounter_USCoreEncounterProfile"; +export type { USCoreImplantableDeviceProfile } from "./Device_USCoreImplantableDeviceProfile"; +export type { USCoreLaboratoryResultObservationProfile } from "./Observation_USCoreLaboratoryResultObservationProfile"; +export type { USCoreLocationProfile } from "./Location_USCoreLocationProfile"; +export type { USCoreMedicationDispenseProfile } from "./MedicationDispense_USCoreMedicationDispenseProfile"; +export type { USCoreMedicationProfile } from "./Medication_USCoreMedicationProfile"; +export type { USCoreObservationADIDocumentationProfile } from "./Observation_USCoreObservationADIDocumentationProfile"; +export type { USCoreObservationClinicalResultProfile } from "./Observation_USCoreObservationClinicalResultProfile"; +export type { USCoreObservationOccupationProfile } from "./Observation_USCoreObservationOccupationProfile"; +export type { USCoreObservationPregnancyIntentProfile } from "./Observation_USCoreObservationPregnancyIntentProfile"; +export type { USCoreObservationPregnancyStatusProfile } from "./Observation_USCoreObservationPregnancyStatusProfile"; +export type { USCoreObservationScreeningAssessmentProfile } from "./Observation_USCoreObservationScreeningAssessmentProfile"; +export type { USCoreObservationSexualOrientationProfile } from "./Observation_USCoreObservationSexualOrientationProfile"; +export type { USCoreOrganizationProfile } from "./Organization_USCoreOrganizationProfile"; +export type { USCorePatientProfile } from "./Patient_USCorePatientProfile"; +export type { USCorePractitionerProfile } from "./Practitioner_USCorePractitionerProfile"; +export type { USCoreProcedureProfile } from "./Procedure_USCoreProcedureProfile"; +export type { USCoreQuestionnaireResponseProfile } from "./QuestionnaireResponse_USCoreQuestionnaireResponseProfile"; +export type { USCoreRelatedPersonProfile } from "./RelatedPerson_USCoreRelatedPersonProfile"; +export type { USCoreServiceRequestProfile } from "./ServiceRequest_USCoreServiceRequestProfile"; +export type { USCoreSimpleObservationProfile } from "./Observation_USCoreSimpleObservationProfile"; +export type { USCoreSmokingStatusProfile } from "./Observation_USCoreSmokingStatusProfile"; +export type { USCoreSpecimenProfile } from "./Specimen_USCoreSpecimenProfile"; +export type { USCoreTreatmentInterventionPreferenceProfile } from "./Observation_USCoreTreatmentInterventionPreferenceProfile"; +export type { USCoreVitalSignsProfile } from "./Observation_USCoreVitalSignsProfile"; +export { USCDIRequirementProfile } from "./Extension_USCDIRequirement"; +export { USCoreADIDocumentReferenceProfileProfile } from "./DocumentReference_USCoreADIDocumentReferenceProfile"; +export { USCoreAllergyIntoleranceProfile } from "./AllergyIntolerance_USCoreAllergyIntolerance"; +export { USCoreAuthenticationTimeExtensionProfile } from "./Extension_USCoreAuthenticationTimeExtension"; +export { USCoreAverageBloodPressureProfileProfile } from "./Observation_USCoreAverageBloodPressureProfile"; +export { USCoreBMIProfileProfile } from "./Observation_USCoreBMIProfile"; +export { USCoreBirthSexExtensionProfile } from "./Extension_USCoreBirthSexExtension"; +export { USCoreBloodPressureProfileProfile } from "./Observation_USCoreBloodPressureProfile"; +export { USCoreBodyHeightProfileProfile } from "./Observation_USCoreBodyHeightProfile"; +export { USCoreBodyTemperatureProfileProfile } from "./Observation_USCoreBodyTemperatureProfile"; +export { USCoreBodyWeightProfileProfile } from "./Observation_USCoreBodyWeightProfile"; +export { USCoreCareExperiencePreferenceProfileProfile } from "./Observation_USCoreCareExperiencePreferenceProfile"; +export { USCoreCarePlanProfileProfile } from "./CarePlan_USCoreCarePlanProfile"; +export { USCoreCareTeamProfile } from "./CareTeam_USCoreCareTeam"; +export { USCoreConditionEncounterDiagnosisProfileProfile } from "./Condition_USCoreConditionEncounterDiagnosisProfile"; +export { USCoreConditionProblemsHealthConcernsProfileProfile } from "./Condition_USCoreConditionProblemsHealthConcernsProfile"; +export { USCoreCoverageProfileProfile } from "./Coverage_USCoreCoverageProfile"; +export { USCoreDiagnosticReportProfileLaboratoryReportingProfile } from "./DiagnosticReport_USCoreDiagnosticReportProfileLaboratoryReporting"; +export { USCoreDiagnosticReportProfileNoteExchangeProfile } from "./DiagnosticReport_USCoreDiagnosticReportProfileNoteExchange"; +export { USCoreDirectEmailExtensionProfile } from "./Extension_USCoreDirectEmailExtension"; +export { USCoreDocumentReferenceProfileProfile } from "./DocumentReference_USCoreDocumentReferenceProfile"; +export { USCoreEncounterProfileProfile } from "./Encounter_USCoreEncounterProfile"; +export { USCoreEthnicityExtensionProfile } from "./Extension_USCoreEthnicityExtension"; +export { USCoreExtensionQuestionnaireUriProfile } from "./Extension_USCoreExtensionQuestionnaireUri"; +export { USCoreGenderIdentityExtensionProfile } from "./Extension_USCoreGenderIdentityExtension"; +export { USCoreGoalProfileProfile } from "./Goal_USCoreGoalProfile"; +export { USCoreHeadCircumferenceProfileProfile } from "./Observation_USCoreHeadCircumferenceProfile"; +export { USCoreHeartRateProfileProfile } from "./Observation_USCoreHeartRateProfile"; +export { USCoreImmunizationProfileProfile } from "./Immunization_USCoreImmunizationProfile"; +export { USCoreImplantableDeviceProfileProfile } from "./Device_USCoreImplantableDeviceProfile"; +export { USCoreIndividualSexExtensionProfile } from "./Extension_USCoreIndividualSexExtension"; +export { USCoreInterpreterNeededExtensionProfile } from "./Extension_USCoreInterpreterNeededExtension"; +export { USCoreJurisdictionExtensionProfile } from "./Extension_USCoreJurisdictionExtension"; +export { USCoreLaboratoryResultObservationProfileProfile } from "./Observation_USCoreLaboratoryResultObservationProfile"; +export { USCoreLocationProfileProfile } from "./Location_USCoreLocationProfile"; +export { USCoreMedicationAdherenceExtensionProfile } from "./Extension_USCoreMedicationAdherenceExtension"; +export { USCoreMedicationDispenseProfileProfile } from "./MedicationDispense_USCoreMedicationDispenseProfile"; +export { USCoreMedicationProfileProfile } from "./Medication_USCoreMedicationProfile"; +export { USCoreMedicationRequestProfileProfile } from "./MedicationRequest_USCoreMedicationRequestProfile"; +export { USCoreObservationADIDocumentationProfileProfile } from "./Observation_USCoreObservationADIDocumentationProfile"; +export { USCoreObservationClinicalResultProfileProfile } from "./Observation_USCoreObservationClinicalResultProfile"; +export { USCoreObservationOccupationProfileProfile } from "./Observation_USCoreObservationOccupationProfile"; +export { USCoreObservationPregnancyIntentProfileProfile } from "./Observation_USCoreObservationPregnancyIntentProfile"; +export { USCoreObservationPregnancyStatusProfileProfile } from "./Observation_USCoreObservationPregnancyStatusProfile"; +export { USCoreObservationScreeningAssessmentProfileProfile } from "./Observation_USCoreObservationScreeningAssessmentProfile"; +export { USCoreObservationSexualOrientationProfileProfile } from "./Observation_USCoreObservationSexualOrientationProfile"; +export { USCoreOrganizationProfileProfile } from "./Organization_USCoreOrganizationProfile"; +export { USCorePatientProfileProfile } from "./Patient_USCorePatientProfile"; +export { USCorePediatricBMIforAgeObservationProfileProfile } from "./Observation_USCorePediatricBMIforAgeObservationProfile"; +export { USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfileProfile } from "./Observation_USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile"; +export { USCorePediatricWeightForHeightObservationProfileProfile } from "./Observation_USCorePediatricWeightForHeightObservationProfile"; +export { USCorePractitionerProfileProfile } from "./Practitioner_USCorePractitionerProfile"; +export { USCorePractitionerRoleProfileProfile } from "./PractitionerRole_USCorePractitionerRoleProfile"; +export { USCoreProcedureProfileProfile } from "./Procedure_USCoreProcedureProfile"; +export { USCoreProvenanceProfile } from "./Provenance_USCoreProvenance"; +export { USCorePulseOximetryProfileProfile } from "./Observation_USCorePulseOximetryProfile"; +export { USCoreQuestionnaireResponseProfileProfile } from "./QuestionnaireResponse_USCoreQuestionnaireResponseProfile"; +export { USCoreRaceExtensionProfile } from "./Extension_USCoreRaceExtension"; +export { USCoreRelatedPersonProfileProfile } from "./RelatedPerson_USCoreRelatedPersonProfile"; +export { USCoreRespiratoryRateProfileProfile } from "./Observation_USCoreRespiratoryRateProfile"; +export { USCoreServiceRequestProfileProfile } from "./ServiceRequest_USCoreServiceRequestProfile"; +export { USCoreSexExtensionProfile } from "./Extension_USCoreSexExtension"; +export { USCoreSimpleObservationProfileProfile } from "./Observation_USCoreSimpleObservationProfile"; +export { USCoreSmokingStatusProfileProfile } from "./Observation_USCoreSmokingStatusProfile"; +export { USCoreSpecimenProfileProfile } from "./Specimen_USCoreSpecimenProfile"; +export { USCoreTreatmentInterventionPreferenceProfileProfile } from "./Observation_USCoreTreatmentInterventionPreferenceProfile"; +export { USCoreTribalAffiliationExtensionProfile } from "./Extension_USCoreTribalAffiliationExtension"; +export { USCoreVitalSignsProfileProfile } from "./Observation_USCoreVitalSignsProfile"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/index.ts new file mode 100644 index 000000000..09303f508 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/index.ts @@ -0,0 +1 @@ +export * from "./profiles"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEAlternativeUserID.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEAlternativeUserID.ts new file mode 100644 index 000000000..60b398fe8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEAlternativeUserID.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEAlternativeUserIDProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AEAlternativeUserIDProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEAlternativeUserIDProfile { + return new AEAlternativeUserIDProfile(resource) + } + + static createResource (args: AEAlternativeUserIDProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AEAlternativeUserIDProfileParams) : AEAlternativeUserIDProfile { + return AEAlternativeUserIDProfile.from(AEAlternativeUserIDProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEAlternativeUserID"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID", "AEAlternativeUserID"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AELifecycle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AELifecycle.ts new file mode 100644 index 000000000..ee33d3e1f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AELifecycle.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AELifecycleProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AELifecycleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AELifecycleProfile { + return new AELifecycleProfile(resource) + } + + static createResource (args: AELifecycleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AELifecycleProfileParams) : AELifecycleProfile { + return AELifecycleProfile.from(AELifecycleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AELifecycle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle", "AELifecycle"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEOnBehalfOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEOnBehalfOf.ts new file mode 100644 index 000000000..01ede56b0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEOnBehalfOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEOnBehalfOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AEOnBehalfOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEOnBehalfOfProfile { + return new AEOnBehalfOfProfile(resource) + } + + static createResource (args: AEOnBehalfOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AEOnBehalfOfProfileParams) : AEOnBehalfOfProfile { + return AEOnBehalfOfProfile.from(AEOnBehalfOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEOnBehalfOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf", "AEOnBehalfOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Abatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Abatement.ts new file mode 100644 index 000000000..a71630267 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Abatement.ts @@ -0,0 +1,107 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r4-core/Age"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AbatementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AbatementProfile { + return new AbatementProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement", + } as unknown as Extension + return resource + } + + static create () : AbatementProfile { + return AbatementProfile.from(AbatementProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueAge () : Age | undefined { + return this.resource.valueAge as Age | undefined + } + + setValueAge (value: Age) : this { + Object.assign(this.resource, { valueAge: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Abatement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement", "Abatement"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined || r["valueAge"] !== undefined || r["valuePeriod"] !== undefined || r["valueRange"] !== undefined || r["valueString"] !== undefined)) { + errors.push("value: at least one of valueDateTime, valueAge, valuePeriod, valueRange, valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdditionalIdentifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdditionalIdentifier.ts new file mode 100644 index 000000000..695a8fb1a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdditionalIdentifier.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AdditionalIdentifierProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/additionalIdentifier (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AdditionalIdentifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/additionalIdentifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AdditionalIdentifierProfile { + return new AdditionalIdentifierProfile(resource) + } + + static createResource (args: AdditionalIdentifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/additionalIdentifier", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AdditionalIdentifierProfileParams) : AdditionalIdentifierProfile { + return AdditionalIdentifierProfile.from(AdditionalIdentifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AdditionalIdentifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/additionalIdentifier", "AdditionalIdentifier"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdheresTo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdheresTo.ts new file mode 100644 index 000000000..54c083359 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdheresTo.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-adheresTo (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AdheresToProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-adheresTo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AdheresToProfile { + return new AdheresToProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-adheresTo", + } as unknown as Extension + return resource + } + + static create () : AdheresToProfile { + return AdheresToProfile.from(AdheresToProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AdheresTo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-adheresTo", "AdheresTo"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueReference"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueReference, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCanonical.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCanonical.ts new file mode 100644 index 000000000..2478f867e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCanonical.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AlternateCanonicalProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/alternate-canonical (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AlternateCanonicalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/alternate-canonical" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlternateCanonicalProfile { + return new AlternateCanonicalProfile(resource) + } + + static createResource (args: AlternateCanonicalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/alternate-canonical", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: AlternateCanonicalProfileParams) : AlternateCanonicalProfile { + return AlternateCanonicalProfile.from(AlternateCanonicalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AlternateCanonical"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/alternate-canonical", "AlternateCanonical"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCodes.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCodes.ts new file mode 100644 index 000000000..b2c02326b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCodes.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AlternateCodesProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/alternate-codes (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AlternateCodesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/alternate-codes" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlternateCodesProfile { + return new AlternateCodesProfile(resource) + } + + static createResource (args: AlternateCodesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/alternate-codes", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AlternateCodesProfileParams) : AlternateCodesProfile { + return AlternateCodesProfile.from(AlternateCodesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AlternateCodes"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/alternate-codes", "AlternateCodes"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateReference.ts new file mode 100644 index 000000000..abe056534 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AlternateReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/alternate-reference (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AlternateReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/alternate-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlternateReferenceProfile { + return new AlternateReferenceProfile(resource) + } + + static createResource (args: AlternateReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/alternate-reference", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AlternateReferenceProfileParams) : AlternateReferenceProfile { + return AlternateReferenceProfile.from(AlternateReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AlternateReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/alternate-reference", "AlternateReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternativeExpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternativeExpression.ts new file mode 100644 index 000000000..e3a3b04ee --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternativeExpression.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AlternativeExpressionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AlternativeExpressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlternativeExpressionProfile { + return new AlternativeExpressionProfile(resource) + } + + static createResource (args: AlternativeExpressionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: AlternativeExpressionProfileParams) : AlternativeExpressionProfile { + return AlternativeExpressionProfile.from(AlternativeExpressionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AlternativeExpression"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression", "AlternativeExpression"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AnnotationType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AnnotationType.ts new file mode 100644 index 000000000..abec0cbc8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AnnotationType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AnnotationTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/annotationType (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class AnnotationTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/annotationType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AnnotationTypeProfile { + return new AnnotationTypeProfile(resource) + } + + static createResource (args: AnnotationTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/annotationType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AnnotationTypeProfileParams) : AnnotationTypeProfile { + return AnnotationTypeProfile.from(AnnotationTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AnnotationType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/annotationType", "AnnotationType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactApprovalDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactApprovalDate.ts new file mode 100644 index 000000000..c561622af --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactApprovalDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactApprovalDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-approvalDate (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactApprovalDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-approvalDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactApprovalDateProfile { + return new ArtifactApprovalDateProfile(resource) + } + + static createResource (args: ArtifactApprovalDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-approvalDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: ArtifactApprovalDateProfileParams) : ArtifactApprovalDateProfile { + return ArtifactApprovalDateProfile.from(ArtifactApprovalDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactApprovalDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-approvalDate", "ArtifactApprovalDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentContent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentContent.ts new file mode 100644 index 000000000..8b5aa74ce --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentContent.ts @@ -0,0 +1,214 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { RelatedArtifact } from "../../hl7-fhir-r4-core/RelatedArtifact"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifactassessment-content (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactAssessmentContentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifactassessment-content" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactAssessmentContentProfile { + return new ArtifactAssessmentContentProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifactassessment-content", + } as unknown as Extension + return resource + } + + static create () : ArtifactAssessmentContentProfile { + return ArtifactAssessmentContentProfile.from(ArtifactAssessmentContentProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setInformationType (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "informationType", valueCode: value } as Extension) + return this + } + + public setSummary (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "summary", valueMarkdown: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setClassifier (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "classifier", valueCodeableConcept: value } as Extension) + return this + } + + public setQuantity (value: Quantity): this { + const list = (this.resource.extension ??= []) + list.push({ url: "quantity", valueQuantity: value } as Extension) + return this + } + + public setAuthor (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "author", valueReference: value } as Extension) + return this + } + + public setPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "path", valueUri: value } as Extension) + return this + } + + public setRelatedArtifact (value: RelatedArtifact): this { + const list = (this.resource.extension ??= []) + list.push({ url: "relatedArtifact", valueRelatedArtifact: value } as Extension) + return this + } + + public setFreeToShare (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "freeToShare", valueBoolean: value } as Extension) + return this + } + + public setComponent (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "component", ...value }) + return this + } + + public getInformationType (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "informationType") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getInformationTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "informationType") + return ext + } + + public getSummary (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "summary") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getSummaryExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "summary") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getClassifier (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "classifier") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getClassifierExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "classifier") + return ext + } + + public getQuantity (): Quantity | undefined { + const ext = this.resource.extension?.find(e => e.url === "quantity") + return (ext as Record | undefined)?.valueQuantity as Quantity | undefined + } + + public getQuantityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "quantity") + return ext + } + + public getAuthor (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "author") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getAuthorExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "author") + return ext + } + + public getPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return ext + } + + public getRelatedArtifact (): RelatedArtifact | undefined { + const ext = this.resource.extension?.find(e => e.url === "relatedArtifact") + return (ext as Record | undefined)?.valueRelatedArtifact as RelatedArtifact | undefined + } + + public getRelatedArtifactExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "relatedArtifact") + return ext + } + + public getFreeToShare (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "freeToShare") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getFreeToShareExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "freeToShare") + return ext + } + + public getComponent (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "component") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactAssessmentContent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifactassessment-content", "ArtifactAssessmentContent"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentDisposition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentDisposition.ts new file mode 100644 index 000000000..d87a7bb3a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentDisposition.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactAssessmentDispositionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactAssessmentDispositionProfile { + return new ArtifactAssessmentDispositionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition", + } as unknown as Extension + return resource + } + + static create () : ArtifactAssessmentDispositionProfile { + return ArtifactAssessmentDispositionProfile.from(ArtifactAssessmentDispositionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactAssessmentDisposition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition", "ArtifactAssessmentDisposition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentWorkflowStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentWorkflowStatus.ts new file mode 100644 index 000000000..1d078595c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentWorkflowStatus.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactAssessmentWorkflowStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactAssessmentWorkflowStatusProfile { + return new ArtifactAssessmentWorkflowStatusProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus", + } as unknown as Extension + return resource + } + + static create () : ArtifactAssessmentWorkflowStatusProfile { + return ArtifactAssessmentWorkflowStatusProfile.from(ArtifactAssessmentWorkflowStatusProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactAssessmentWorkflowStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus", "ArtifactAssessmentWorkflowStatus"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAuthor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAuthor.ts new file mode 100644 index 000000000..c3dd47c7d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAuthor.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactAuthorProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-author (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactAuthorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-author" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactAuthorProfile { + return new ArtifactAuthorProfile(resource) + } + + static createResource (args: ArtifactAuthorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-author", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactAuthorProfileParams) : ArtifactAuthorProfile { + return ArtifactAuthorProfile.from(ArtifactAuthorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactAuthor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-author", "ArtifactAuthor"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCanonicalReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCanonicalReference.ts new file mode 100644 index 000000000..706104fd3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCanonicalReference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactCanonicalReferenceProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactCanonicalReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCanonicalReferenceProfile { + return new ArtifactCanonicalReferenceProfile(resource) + } + + static createResource (args: ArtifactCanonicalReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: ArtifactCanonicalReferenceProfileParams) : ArtifactCanonicalReferenceProfile { + return ArtifactCanonicalReferenceProfile.from(ArtifactCanonicalReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactCanonicalReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference", "ArtifactCanonicalReference"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCiteAs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCiteAs.ts new file mode 100644 index 000000000..8162d5c8f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCiteAs.ts @@ -0,0 +1,75 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-citeAs (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactCiteAsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-citeAs" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCiteAsProfile { + return new ArtifactCiteAsProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-citeAs", + } as unknown as Extension + return resource + } + + static create () : ArtifactCiteAsProfile { + return ArtifactCiteAsProfile.from(ArtifactCiteAsProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactCiteAs"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-citeAs", "ArtifactCiteAs"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactComment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactComment.ts new file mode 100644 index 000000000..8673c7f8f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactComment.ts @@ -0,0 +1,167 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactCommentProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-artifactComment (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactCommentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCommentProfile { + return new ArtifactCommentProfile(resource) + } + + static createResource (args: ArtifactCommentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ArtifactCommentProfileParams) : ArtifactCommentProfile { + return ArtifactCommentProfile.from(ArtifactCommentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCode: value } as Extension) + return this + } + + public setText (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "text", valueMarkdown: value } as Extension) + return this + } + + public setTarget (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "target", valueUri: value } as Extension) + return this + } + + public setReference (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueUri: value } as Extension) + return this + } + + public setUser (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "user", valueString: value } as Extension) + return this + } + + public setAuthoredOn (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "authoredOn", valueDateTime: value } as Extension) + return this + } + + public getType (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getText (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "text") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getTextExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "text") + return ext + } + + public getTarget (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getTargetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return ext + } + + public getReference (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + public getUser (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUserExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return ext + } + + public getAuthoredOn (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "authoredOn") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getAuthoredOnExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "authoredOn") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "ArtifactComment"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "ArtifactComment"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", "ArtifactComment"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactContact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactContact.ts new file mode 100644 index 000000000..fb2bd24cd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactContact.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactContactProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-contact (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactContactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-contact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactContactProfile { + return new ArtifactContactProfile(resource) + } + + static createResource (args: ArtifactContactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-contact", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactContactProfileParams) : ArtifactContactProfile { + return ArtifactContactProfile.from(ArtifactContactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactContact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-contact", "ArtifactContact"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyright.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyright.ts new file mode 100644 index 000000000..e894981dc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyright.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactCopyrightProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-copyright (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactCopyrightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-copyright" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCopyrightProfile { + return new ArtifactCopyrightProfile(resource) + } + + static createResource (args: ArtifactCopyrightProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-copyright", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ArtifactCopyrightProfileParams) : ArtifactCopyrightProfile { + return ArtifactCopyrightProfile.from(ArtifactCopyrightProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactCopyright"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-copyright", "ArtifactCopyright"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyrightLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyrightLabel.ts new file mode 100644 index 000000000..a43591870 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyrightLabel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactCopyrightLabelProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactCopyrightLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCopyrightLabelProfile { + return new ArtifactCopyrightLabelProfile(resource) + } + + static createResource (args: ArtifactCopyrightLabelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactCopyrightLabelProfileParams) : ArtifactCopyrightLabelProfile { + return ArtifactCopyrightLabelProfile.from(ArtifactCopyrightLabelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactCopyrightLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel", "ArtifactCopyrightLabel"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDate.ts new file mode 100644 index 000000000..6edb879d9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-date (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-date" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactDateProfile { + return new ArtifactDateProfile(resource) + } + + static createResource (args: ArtifactDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-date", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ArtifactDateProfileParams) : ArtifactDateProfile { + return ArtifactDateProfile.from(ArtifactDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-date", "ArtifactDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDescription.ts new file mode 100644 index 000000000..61d9ce893 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactDescriptionProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-description (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-description" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactDescriptionProfile { + return new ArtifactDescriptionProfile(resource) + } + + static createResource (args: ArtifactDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-description", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ArtifactDescriptionProfileParams) : ArtifactDescriptionProfile { + return ArtifactDescriptionProfile.from(ArtifactDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-description", "ArtifactDescription"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEditor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEditor.ts new file mode 100644 index 000000000..eec3ee71f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEditor.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactEditorProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-editor (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactEditorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-editor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactEditorProfile { + return new ArtifactEditorProfile(resource) + } + + static createResource (args: ArtifactEditorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-editor", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactEditorProfileParams) : ArtifactEditorProfile { + return ArtifactEditorProfile.from(ArtifactEditorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactEditor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-editor", "ArtifactEditor"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEffectivePeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEffectivePeriod.ts new file mode 100644 index 000000000..42b25ee13 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEffectivePeriod.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactEffectivePeriodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactEffectivePeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactEffectivePeriodProfile { + return new ArtifactEffectivePeriodProfile(resource) + } + + static createResource (args: ArtifactEffectivePeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: ArtifactEffectivePeriodProfileParams) : ArtifactEffectivePeriodProfile { + return ArtifactEffectivePeriodProfile.from(ArtifactEffectivePeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactEffectivePeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod", "ArtifactEffectivePeriod"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEndorser.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEndorser.ts new file mode 100644 index 000000000..187567245 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEndorser.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactEndorserProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-endorser (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactEndorserProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-endorser" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactEndorserProfile { + return new ArtifactEndorserProfile(resource) + } + + static createResource (args: ArtifactEndorserProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-endorser", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactEndorserProfileParams) : ArtifactEndorserProfile { + return ArtifactEndorserProfile.from(ArtifactEndorserProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactEndorser"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-endorser", "ArtifactEndorser"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactExperimental.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactExperimental.ts new file mode 100644 index 000000000..e52731e89 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactExperimental.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactExperimentalProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-experimental (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactExperimentalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-experimental" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactExperimentalProfile { + return new ArtifactExperimentalProfile(resource) + } + + static createResource (args: ArtifactExperimentalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-experimental", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: ArtifactExperimentalProfileParams) : ArtifactExperimentalProfile { + return ArtifactExperimentalProfile.from(ArtifactExperimentalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactExperimental"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-experimental", "ArtifactExperimental"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIdentifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIdentifier.ts new file mode 100644 index 000000000..37e338d49 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIdentifier.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r4-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactIdentifierProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-identifier (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactIdentifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-identifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactIdentifierProfile { + return new ArtifactIdentifierProfile(resource) + } + + static createResource (args: ArtifactIdentifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-identifier", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: ArtifactIdentifierProfileParams) : ArtifactIdentifierProfile { + return ArtifactIdentifierProfile.from(ArtifactIdentifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactIdentifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-identifier", "ArtifactIdentifier"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIsOwned.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIsOwned.ts new file mode 100644 index 000000000..17f298523 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIsOwned.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactIsOwnedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-isOwned (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactIsOwnedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-isOwned" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactIsOwnedProfile { + return new ArtifactIsOwnedProfile(resource) + } + + static createResource (args: ArtifactIsOwnedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-isOwned", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: ArtifactIsOwnedProfileParams) : ArtifactIsOwnedProfile { + return ArtifactIsOwnedProfile.from(ArtifactIsOwnedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactIsOwned"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-isOwned", "ArtifactIsOwned"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactJurisdiction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactJurisdiction.ts new file mode 100644 index 000000000..badb725b9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactJurisdiction.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactJurisdictionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactJurisdictionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactJurisdictionProfile { + return new ArtifactJurisdictionProfile(resource) + } + + static createResource (args: ArtifactJurisdictionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ArtifactJurisdictionProfileParams) : ArtifactJurisdictionProfile { + return ArtifactJurisdictionProfile.from(ArtifactJurisdictionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactJurisdiction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction", "ArtifactJurisdiction"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactLastReviewDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactLastReviewDate.ts new file mode 100644 index 000000000..d5cf177ea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactLastReviewDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactLastReviewDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactLastReviewDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactLastReviewDateProfile { + return new ArtifactLastReviewDateProfile(resource) + } + + static createResource (args: ArtifactLastReviewDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: ArtifactLastReviewDateProfileParams) : ArtifactLastReviewDateProfile { + return ArtifactLastReviewDateProfile.from(ArtifactLastReviewDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactLastReviewDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate", "ArtifactLastReviewDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactName.ts new file mode 100644 index 000000000..cd6404b6f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-name (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactNameProfile { + return new ArtifactNameProfile(resource) + } + + static createResource (args: ArtifactNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactNameProfileParams) : ArtifactNameProfile { + return ArtifactNameProfile.from(ArtifactNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-name", "ArtifactName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPublisher.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPublisher.ts new file mode 100644 index 000000000..2b14ce3f9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPublisher.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactPublisherProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-publisher (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactPublisherProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-publisher" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactPublisherProfile { + return new ArtifactPublisherProfile(resource) + } + + static createResource (args: ArtifactPublisherProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-publisher", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactPublisherProfileParams) : ArtifactPublisherProfile { + return ArtifactPublisherProfile.from(ArtifactPublisherProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactPublisher"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-publisher", "ArtifactPublisher"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPurpose.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPurpose.ts new file mode 100644 index 000000000..42c4bdd93 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPurpose.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactPurposeProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-purpose (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactPurposeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-purpose" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactPurposeProfile { + return new ArtifactPurposeProfile(resource) + } + + static createResource (args: ArtifactPurposeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-purpose", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ArtifactPurposeProfileParams) : ArtifactPurposeProfile { + return ArtifactPurposeProfile.from(ArtifactPurposeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactPurpose"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-purpose", "ArtifactPurpose"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReference.ts new file mode 100644 index 000000000..3169bbe3e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReference.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-reference (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactReferenceProfile { + return new ArtifactReferenceProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-reference", + } as unknown as Extension + return resource + } + + static create () : ArtifactReferenceProfile { + return ArtifactReferenceProfile.from(ArtifactReferenceProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-reference", "ArtifactReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined || r["valueCanonical"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueReference, valueCanonical, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactRelatedArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactRelatedArtifact.ts new file mode 100644 index 000000000..84b5daa63 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactRelatedArtifact.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { RelatedArtifact } from "../../hl7-fhir-r4-core/RelatedArtifact"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactRelatedArtifactProfileParams = { + valueRelatedArtifact: RelatedArtifact; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactRelatedArtifactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactRelatedArtifactProfile { + return new ArtifactRelatedArtifactProfile(resource) + } + + static createResource (args: ArtifactRelatedArtifactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact", + valueRelatedArtifact: args.valueRelatedArtifact, + } as unknown as Extension + return resource + } + + static create (args: ArtifactRelatedArtifactProfileParams) : ArtifactRelatedArtifactProfile { + return ArtifactRelatedArtifactProfile.from(ArtifactRelatedArtifactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueRelatedArtifact () : RelatedArtifact | undefined { + return this.resource.valueRelatedArtifact as RelatedArtifact | undefined + } + + setValueRelatedArtifact (value: RelatedArtifact) : this { + Object.assign(this.resource, { valueRelatedArtifact: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactRelatedArtifact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact", "ArtifactRelatedArtifact"); if (e) errors.push(e) } + if (!(r["valueRelatedArtifact"] !== undefined)) { + errors.push("value: at least one of valueRelatedArtifact is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseDescription.ts new file mode 100644 index 000000000..e7fcaf45e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactReleaseDescriptionProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactReleaseDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactReleaseDescriptionProfile { + return new ArtifactReleaseDescriptionProfile(resource) + } + + static createResource (args: ArtifactReleaseDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ArtifactReleaseDescriptionProfileParams) : ArtifactReleaseDescriptionProfile { + return ArtifactReleaseDescriptionProfile.from(ArtifactReleaseDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactReleaseDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription", "ArtifactReleaseDescription"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseLabel.ts new file mode 100644 index 000000000..1537cfcda --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseLabel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactReleaseLabelProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactReleaseLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactReleaseLabelProfile { + return new ArtifactReleaseLabelProfile(resource) + } + + static createResource (args: ArtifactReleaseLabelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactReleaseLabelProfileParams) : ArtifactReleaseLabelProfile { + return ArtifactReleaseLabelProfile.from(ArtifactReleaseLabelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactReleaseLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel", "ArtifactReleaseLabel"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReviewer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReviewer.ts new file mode 100644 index 000000000..2259370f7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReviewer.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r4-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactReviewerProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-reviewer (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactReviewerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-reviewer" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactReviewerProfile { + return new ArtifactReviewerProfile(resource) + } + + static createResource (args: ArtifactReviewerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-reviewer", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactReviewerProfileParams) : ArtifactReviewerProfile { + return ArtifactReviewerProfile.from(ArtifactReviewerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactReviewer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-reviewer", "ArtifactReviewer"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactStatus.ts new file mode 100644 index 000000000..b427f875e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-status (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactStatusProfile { + return new ArtifactStatusProfile(resource) + } + + static createResource (args: ArtifactStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-status", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: ArtifactStatusProfileParams) : ArtifactStatusProfile { + return ArtifactStatusProfile.from(ArtifactStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-status", "ArtifactStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTitle.ts new file mode 100644 index 000000000..89f9f5cc8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTitle.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactTitleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-title (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactTitleProfile { + return new ArtifactTitleProfile(resource) + } + + static createResource (args: ArtifactTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-title", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactTitleProfileParams) : ArtifactTitleProfile { + return ArtifactTitleProfile.from(ArtifactTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-title", "ArtifactTitle"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTopic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTopic.ts new file mode 100644 index 000000000..954ba1710 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTopic.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactTopicProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-topic (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactTopicProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-topic" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactTopicProfile { + return new ArtifactTopicProfile(resource) + } + + static createResource (args: ArtifactTopicProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-topic", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ArtifactTopicProfileParams) : ArtifactTopicProfile { + return ArtifactTopicProfile.from(ArtifactTopicProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactTopic"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-topic", "ArtifactTopic"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUriReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUriReference.ts new file mode 100644 index 000000000..d2b26db2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUriReference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactUriReferenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-uriReference (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactUriReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-uriReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactUriReferenceProfile { + return new ArtifactUriReferenceProfile(resource) + } + + static createResource (args: ArtifactUriReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-uriReference", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: ArtifactUriReferenceProfileParams) : ArtifactUriReferenceProfile { + return ArtifactUriReferenceProfile.from(ArtifactUriReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactUriReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-uriReference", "ArtifactUriReference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUrl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUrl.ts new file mode 100644 index 000000000..ddb1509d6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUrl.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactUrlProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-url (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactUrlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-url" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactUrlProfile { + return new ArtifactUrlProfile(resource) + } + + static createResource (args: ArtifactUrlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-url", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: ArtifactUrlProfileParams) : ArtifactUrlProfile { + return ArtifactUrlProfile.from(ArtifactUrlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactUrl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-url", "ArtifactUrl"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUsage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUsage.ts new file mode 100644 index 000000000..c68c75694 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUsage.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactUsageProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-usage (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactUsageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-usage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactUsageProfile { + return new ArtifactUsageProfile(resource) + } + + static createResource (args: ArtifactUsageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-usage", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ArtifactUsageProfileParams) : ArtifactUsageProfile { + return ArtifactUsageProfile.from(ArtifactUsageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactUsage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-usage", "ArtifactUsage"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUseContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUseContext.ts new file mode 100644 index 000000000..73311eee9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUseContext.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { UsageContext } from "../../hl7-fhir-r4-core/UsageContext"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactUseContextProfileParams = { + valueUsageContext: UsageContext; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-useContext (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactUseContextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-useContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactUseContextProfile { + return new ArtifactUseContextProfile(resource) + } + + static createResource (args: ArtifactUseContextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-useContext", + valueUsageContext: args.valueUsageContext, + } as unknown as Extension + return resource + } + + static create (args: ArtifactUseContextProfileParams) : ArtifactUseContextProfile { + return ArtifactUseContextProfile.from(ArtifactUseContextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUsageContext () : UsageContext | undefined { + return this.resource.valueUsageContext as UsageContext | undefined + } + + setValueUsageContext (value: UsageContext) : this { + Object.assign(this.resource, { valueUsageContext: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactUseContext"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-useContext", "ArtifactUseContext"); if (e) errors.push(e) } + if (!(r["valueUsageContext"] !== undefined)) { + errors.push("value: at least one of valueUsageContext is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersion.ts new file mode 100644 index 000000000..1e13d36b6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactVersionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-version (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactVersionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactVersionProfile { + return new ArtifactVersionProfile(resource) + } + + static createResource (args: ArtifactVersionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-version", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactVersionProfileParams) : ArtifactVersionProfile { + return ArtifactVersionProfile.from(ArtifactVersionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-version", "ArtifactVersion"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionAlgorithm.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionAlgorithm.ts new file mode 100644 index 000000000..5b134fa1f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionAlgorithm.ts @@ -0,0 +1,83 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactVersionAlgorithmProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactVersionAlgorithmProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactVersionAlgorithmProfile { + return new ArtifactVersionAlgorithmProfile(resource) + } + + static createResource (args: ArtifactVersionAlgorithmProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: ArtifactVersionAlgorithmProfileParams) : ArtifactVersionAlgorithmProfile { + return ArtifactVersionAlgorithmProfile.from(ArtifactVersionAlgorithmProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactVersionAlgorithm"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm", "ArtifactVersionAlgorithm"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionPolicy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionPolicy.ts new file mode 100644 index 000000000..337828271 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionPolicy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactVersionPolicyProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ArtifactVersionPolicyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactVersionPolicyProfile { + return new ArtifactVersionPolicyProfile(resource) + } + + static createResource (args: ArtifactVersionPolicyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ArtifactVersionPolicyProfileParams) : ArtifactVersionPolicyProfile { + return ArtifactVersionPolicyProfile.from(ArtifactVersionPolicyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactVersionPolicy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy", "ArtifactVersionPolicy"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPCollectionProcedure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPCollectionProcedure.ts new file mode 100644 index 000000000..2ca202b36 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPCollectionProcedure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BDPCollectionProcedureProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class BDPCollectionProcedureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BDPCollectionProcedureProfile { + return new BDPCollectionProcedureProfile(resource) + } + + static createResource (args: BDPCollectionProcedureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: BDPCollectionProcedureProfileParams) : BDPCollectionProcedureProfile { + return BDPCollectionProcedureProfile.from(BDPCollectionProcedureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BDPCollectionProcedure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure", "BDPCollectionProcedure"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPManipulation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPManipulation.ts new file mode 100644 index 000000000..e0b0add9c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPManipulation.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class BDPManipulationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BDPManipulationProfile { + return new BDPManipulationProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation", + } as unknown as Extension + return resource + } + + static create () : BDPManipulationProfile { + return BDPManipulationProfile.from(BDPManipulationProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public setProcedure (value: CodeableReference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "procedure", valueCodeableReference: value } as Extension) + return this + } + + public setTime (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "time[x]", valueDateTime: value } as Extension) + return this + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + public getProcedure (): CodeableReference | undefined { + const ext = this.resource.extension?.find(e => e.url === "procedure") + return (ext as Record | undefined)?.valueCodeableReference as CodeableReference | undefined + } + + public getProcedureExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "procedure") + return ext + } + + public getTime (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "time[x]") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getTimeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "time[x]") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BDPManipulation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation", "BDPManipulation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPProcessing.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPProcessing.ts new file mode 100644 index 000000000..85a5f73ad --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPProcessing.ts @@ -0,0 +1,122 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class BDPProcessingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BDPProcessingProfile { + return new BDPProcessingProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing", + } as unknown as Extension + return resource + } + + static create () : BDPProcessingProfile { + return BDPProcessingProfile.from(BDPProcessingProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public setProcedure (value: CodeableReference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "procedure", valueCodeableReference: value } as Extension) + return this + } + + public setAdditive (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "additive", valueReference: value } as Extension) + return this + } + + public setTime (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "time[x]", valueDateTime: value } as Extension) + return this + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + public getProcedure (): CodeableReference | undefined { + const ext = this.resource.extension?.find(e => e.url === "procedure") + return (ext as Record | undefined)?.valueCodeableReference as CodeableReference | undefined + } + + public getProcedureExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "procedure") + return ext + } + + public getAdditive (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "additive") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getAdditiveExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "additive") + return ext + } + + public getTime (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "time[x]") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getTimeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "time[x]") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BDPProcessing"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing", "BDPProcessing"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BusinessEvent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BusinessEvent.ts new file mode 100644 index 000000000..ad264671e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BusinessEvent.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BusinessEventProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/businessEvent (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class BusinessEventProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/businessEvent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BusinessEventProfile { + return new BusinessEventProfile(resource) + } + + static createResource (args: BusinessEventProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/businessEvent", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: BusinessEventProfileParams) : BusinessEventProfile { + return BusinessEventProfile.from(BusinessEventProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setDate (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "date", valueDateTime: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getDate (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "date") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getDateExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "date") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "BusinessEvent"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "BusinessEvent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/businessEvent", "BusinessEvent"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCQLOptions.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCQLOptions.ts new file mode 100644 index 000000000..4df03a294 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCQLOptions.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQFCQLOptionsProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CQFCQLOptionsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFCQLOptionsProfile { + return new CQFCQLOptionsProfile(resource) + } + + static createResource (args: CQFCQLOptionsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: CQFCQLOptionsProfileParams) : CQFCQLOptionsProfile { + return CQFCQLOptionsProfile.from(CQFCQLOptionsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFCQLOptions"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions", "CQFCQLOptions"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCertainty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCertainty.ts new file mode 100644 index 000000000..68713fd95 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCertainty.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Annotation } from "../../hl7-fhir-r4-core/Annotation"; +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-certainty (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CQFCertaintyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-certainty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFCertaintyProfile { + return new CQFCertaintyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-certainty", + } as unknown as Extension + return resource + } + + static create () : CQFCertaintyProfile { + return CQFCertaintyProfile.from(CQFCertaintyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public setNote (value: Annotation): this { + const list = (this.resource.extension ??= []) + list.push({ url: "note", valueAnnotation: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setRating (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "rating", valueCodeableConcept: value } as Extension) + return this + } + + public setRater (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "rater", valueString: value } as Extension) + return this + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + public getNote (): Annotation | undefined { + const ext = this.resource.extension?.find(e => e.url === "note") + return (ext as Record | undefined)?.valueAnnotation as Annotation | undefined + } + + public getNoteExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "note") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getRating (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "rating") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getRatingExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "rating") + return ext + } + + public getRater (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "rater") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRaterExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "rater") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFCertainty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-certainty", "CQFCertainty"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFImprovementNotationGuidance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFImprovementNotationGuidance.ts new file mode 100644 index 000000000..472d3468d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFImprovementNotationGuidance.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQFImprovementNotationGuidanceProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-improvementNotationGuidance (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CQFImprovementNotationGuidanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-improvementNotationGuidance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFImprovementNotationGuidanceProfile { + return new CQFImprovementNotationGuidanceProfile(resource) + } + + static createResource (args: CQFImprovementNotationGuidanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-improvementNotationGuidance", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: CQFImprovementNotationGuidanceProfileParams) : CQFImprovementNotationGuidanceProfile { + return CQFImprovementNotationGuidanceProfile.from(CQFImprovementNotationGuidanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFImprovementNotationGuidance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-improvementNotationGuidance", "CQFImprovementNotationGuidance"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFKnowledgeCapability.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFKnowledgeCapability.ts new file mode 100644 index 000000000..91b55bda6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFKnowledgeCapability.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQFKnowledgeCapabilityProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CQFKnowledgeCapabilityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFKnowledgeCapabilityProfile { + return new CQFKnowledgeCapabilityProfile(resource) + } + + static createResource (args: CQFKnowledgeCapabilityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CQFKnowledgeCapabilityProfileParams) : CQFKnowledgeCapabilityProfile { + return CQFKnowledgeCapabilityProfile.from(CQFKnowledgeCapabilityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFKnowledgeCapability"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", "CQFKnowledgeCapability"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRPublishDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRPublishDate.ts new file mode 100644 index 000000000..a072e933e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRPublishDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CRPublishDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CRPublishDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CRPublishDateProfile { + return new CRPublishDateProfile(resource) + } + + static createResource (args: CRPublishDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: CRPublishDateProfileParams) : CRPublishDateProfile { + return CRPublishDateProfile.from(CRPublishDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CRPublishDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date", "CRPublishDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRShortDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRShortDescription.ts new file mode 100644 index 000000000..56eafa447 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRShortDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CRShortDescriptionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CRShortDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CRShortDescriptionProfile { + return new CRShortDescriptionProfile(resource) + } + + static createResource (args: CRShortDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CRShortDescriptionProfileParams) : CRShortDescriptionProfile { + return CRShortDescriptionProfile.from(CRShortDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CRShortDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description", "CRShortDescription"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSAuthoritativeSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSAuthoritativeSource.ts new file mode 100644 index 000000000..151f97e77 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSAuthoritativeSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSAuthoritativeSourceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CSAuthoritativeSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSAuthoritativeSourceProfile { + return new CSAuthoritativeSourceProfile(resource) + } + + static createResource (args: CSAuthoritativeSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: CSAuthoritativeSourceProfileParams) : CSAuthoritativeSourceProfile { + return CSAuthoritativeSourceProfile.from(CSAuthoritativeSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSAuthoritativeSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource", "CSAuthoritativeSource"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSDeclaredProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSDeclaredProfile.ts new file mode 100644 index 000000000..798bbd9b3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSDeclaredProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSDeclaredProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CSDeclaredProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSDeclaredProfileProfile { + return new CSDeclaredProfileProfile(resource) + } + + static createResource (args: CSDeclaredProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: CSDeclaredProfileProfileParams) : CSDeclaredProfileProfile { + return CSDeclaredProfileProfile.from(CSDeclaredProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSDeclaredProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile", "CSDeclaredProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertiesMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertiesMode.ts new file mode 100644 index 000000000..7e5f0df01 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertiesMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSPropertiesModeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CSPropertiesModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSPropertiesModeProfile { + return new CSPropertiesModeProfile(resource) + } + + static createResource (args: CSPropertiesModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CSPropertiesModeProfileParams) : CSPropertiesModeProfile { + return CSPropertiesModeProfile.from(CSPropertiesModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSPropertiesMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode", "CSPropertiesMode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertyValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertyValueSet.ts new file mode 100644 index 000000000..c61b13fee --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertyValueSet.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSPropertyValueSetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-property-valueset (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CSPropertyValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-property-valueset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSPropertyValueSetProfile { + return new CSPropertyValueSetProfile(resource) + } + + static createResource (args: CSPropertyValueSetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-property-valueset", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: CSPropertyValueSetProfileParams) : CSPropertyValueSetProfile { + return CSPropertyValueSetProfile.from(CSPropertyValueSetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSPropertyValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-property-valueset", "CSPropertyValueSet"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchMode.ts new file mode 100644 index 000000000..a81906a3a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSSearchModeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CSSearchModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSSearchModeProfile { + return new CSSearchModeProfile(resource) + } + + static createResource (args: CSSearchModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CSSearchModeProfileParams) : CSSearchModeProfile { + return CSSearchModeProfile.from(CSSearchModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSSearchMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode", "CSSearchMode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchParameterUse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchParameterUse.ts new file mode 100644 index 000000000..11a0efada --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchParameterUse.ts @@ -0,0 +1,119 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSSearchParameterUseProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CSSearchParameterUseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSSearchParameterUseProfile { + return new CSSearchParameterUseProfile(resource) + } + + static createResource (args: CSSearchParameterUseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: CSSearchParameterUseProfileParams) : CSSearchParameterUseProfile { + return CSSearchParameterUseProfile.from(CSSearchParameterUseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setRequired (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "allow-standalone", valueBoolean: value } as Extension) + return this + } + + public setAllowInclude (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "allow-include", valueBoolean: value } as Extension) + return this + } + + public setAllowRevinclude (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "allow-revinclude", valueBoolean: value } as Extension) + return this + } + + public getRequired (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-standalone") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getRequiredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-standalone") + return ext + } + + public getAllowInclude (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-include") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getAllowIncludeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-include") + return ext + } + + public getAllowRevinclude (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-revinclude") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getAllowRevincludeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-revinclude") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "CSSearchParameterUse"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "CSSearchParameterUse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use", "CSSearchParameterUse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSUseMarkdown.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSUseMarkdown.ts new file mode 100644 index 000000000..11f181098 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSUseMarkdown.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSUseMarkdownProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CSUseMarkdownProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSUseMarkdownProfile { + return new CSUseMarkdownProfile(resource) + } + + static createResource (args: CSUseMarkdownProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: CSUseMarkdownProfileParams) : CSUseMarkdownProfile { + return CSUseMarkdownProfile.from(CSUseMarkdownProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSUseMarkdown"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown", "CSUseMarkdown"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CTAlias.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CTAlias.ts new file mode 100644 index 000000000..19aa2efef --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CTAlias.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CTAliasProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/careteam-alias (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CTAliasProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/careteam-alias" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CTAliasProfile { + return new CTAliasProfile(resource) + } + + static createResource (args: CTAliasProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/careteam-alias", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CTAliasProfileParams) : CTAliasProfile { + return CTAliasProfile.from(CTAliasProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CTAlias"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/careteam-alias", "CTAlias"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CharacteristicExpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CharacteristicExpression.ts new file mode 100644 index 000000000..7d33a6e70 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CharacteristicExpression.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CharacteristicExpressionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/characteristicExpression (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CharacteristicExpressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/characteristicExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CharacteristicExpressionProfile { + return new CharacteristicExpressionProfile(resource) + } + + static createResource (args: CharacteristicExpressionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/characteristicExpression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: CharacteristicExpressionProfileParams) : CharacteristicExpressionProfile { + return CharacteristicExpressionProfile.from(CharacteristicExpressionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CharacteristicExpression"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/characteristicExpression", "CharacteristicExpression"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CitationSocietyAffiliation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CitationSocietyAffiliation.ts new file mode 100644 index 000000000..730ae73ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CitationSocietyAffiliation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CitationSocietyAffiliationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CitationSocietyAffiliationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CitationSocietyAffiliationProfile { + return new CitationSocietyAffiliationProfile(resource) + } + + static createResource (args: CitationSocietyAffiliationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CitationSocietyAffiliationProfileParams) : CitationSocietyAffiliationProfile { + return CitationSocietyAffiliationProfile.from(CitationSocietyAffiliationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CitationSocietyAffiliation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation", "CitationSocietyAffiliation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodeOptions.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodeOptions.ts new file mode 100644 index 000000000..4038800ea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodeOptions.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CodeOptionsProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codeOptions (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CodeOptionsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codeOptions" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CodeOptionsProfile { + return new CodeOptionsProfile(resource) + } + + static createResource (args: CodeOptionsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codeOptions", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: CodeOptionsProfileParams) : CodeOptionsProfile { + return CodeOptionsProfile.from(CodeOptionsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CodeOptions"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codeOptions", "CodeOptions"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodedString.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodedString.ts new file mode 100644 index 000000000..d5f69dc00 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodedString.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CodedStringProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-codedString (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CodedStringProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-codedString" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CodedStringProfile { + return new CodedStringProfile(resource) + } + + static createResource (args: CodedStringProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-codedString", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: CodedStringProfileParams) : CodedStringProfile { + return CodedStringProfile.from(CodedStringProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CodedString"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-codedString", "CodedString"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingConformance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingConformance.ts new file mode 100644 index 000000000..5f52e8da7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingConformance.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CodingConformanceProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/coding-conformance (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CodingConformanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/coding-conformance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CodingConformanceProfile { + return new CodingConformanceProfile(resource) + } + + static createResource (args: CodingConformanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/coding-conformance", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: CodingConformanceProfileParams) : CodingConformanceProfile { + return CodingConformanceProfile.from(CodingConformanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CodingConformance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/coding-conformance", "CodingConformance"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingPurpose.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingPurpose.ts new file mode 100644 index 000000000..61564041f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingPurpose.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CodingPurposeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/coding-purpose (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CodingPurposeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/coding-purpose" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CodingPurposeProfile { + return new CodingPurposeProfile(resource) + } + + static createResource (args: CodingPurposeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/coding-purpose", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: CodingPurposeProfileParams) : CodingPurposeProfile { + return CodingPurposeProfile.from(CodingPurposeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CodingPurpose"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/coding-purpose", "CodingPurpose"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CompliesWith.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CompliesWith.ts new file mode 100644 index 000000000..49d003c98 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CompliesWith.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-compliesWith (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CompliesWithProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-compliesWith" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CompliesWithProfile { + return new CompliesWithProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-compliesWith", + } as unknown as Extension + return resource + } + + static create () : CompliesWithProfile { + return CompliesWithProfile.from(CompliesWithProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CompliesWith"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-compliesWith", "CompliesWith"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueReference"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueReference, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conceptmap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conceptmap.ts new file mode 100644 index 000000000..d13b0cae0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conceptmap.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConceptmapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ConceptmapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConceptmapProfile { + return new ConceptmapProfile(resource) + } + + static createResource (args: ConceptmapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: ConceptmapProfileParams) : ConceptmapProfile { + return ConceptmapProfile.from(ConceptmapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Conceptmap"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap", "Conceptmap"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionDiseaseCourse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionDiseaseCourse.ts new file mode 100644 index 000000000..7ec31cb00 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionDiseaseCourse.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConditionDiseaseCourseProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ConditionDiseaseCourseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionDiseaseCourseProfile { + return new ConditionDiseaseCourseProfile(resource) + } + + static createResource (args: ConditionDiseaseCourseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ConditionDiseaseCourseProfileParams) : ConditionDiseaseCourseProfile { + return ConditionDiseaseCourseProfile.from(ConditionDiseaseCourseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionDiseaseCourse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse", "ConditionDiseaseCourse"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionReviewed.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionReviewed.ts new file mode 100644 index 000000000..ad9cb846e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionReviewed.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConditionReviewedProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-reviewed (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ConditionReviewedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-reviewed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionReviewedProfile { + return new ConditionReviewedProfile(resource) + } + + static createResource (args: ConditionReviewedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-reviewed", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ConditionReviewedProfileParams) : ConditionReviewedProfile { + return ConditionReviewedProfile.from(ConditionReviewedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionReviewed"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-reviewed", "ConditionReviewed"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conditions.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conditions.ts new file mode 100644 index 000000000..11358c050 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conditions.ts @@ -0,0 +1,86 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/dosage-conditions (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ConditionsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/dosage-conditions" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionsProfile { + return new ConditionsProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/dosage-conditions", + } as unknown as Extension + return resource + } + + static create () : ConditionsProfile { + return ConditionsProfile.from(ConditionsProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMeetGoal (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "meetGoal", ...value }) + return this + } + + public setWhenTrigger (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "whenTrigger", ...value }) + return this + } + + public setPrecondition (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "precondition", ...value }) + return this + } + + public getMeetGoal (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "meetGoal") + } + + public getWhenTrigger (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "whenTrigger") + } + + public getPrecondition (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "precondition") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Conditions"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/dosage-conditions", "Conditions"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Confidential.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Confidential.ts new file mode 100644 index 000000000..3bd3c8430 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Confidential.ts @@ -0,0 +1,83 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConfidentialProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/confidential (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ConfidentialProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/confidential" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConfidentialProfile { + return new ConfidentialProfile(resource) + } + + static createResource (args: ConfidentialProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/confidential", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ConfidentialProfileParams) : ConfidentialProfile { + return ConfidentialProfile.from(ConfidentialProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Confidential"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/confidential", "Confidential"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConsentResearchStudyContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConsentResearchStudyContext.ts new file mode 100644 index 000000000..e402cfd56 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConsentResearchStudyContext.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConsentResearchStudyContextProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ConsentResearchStudyContextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConsentResearchStudyContextProfile { + return new ConsentResearchStudyContextProfile(resource) + } + + static createResource (args: ConsentResearchStudyContextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ConsentResearchStudyContextProfileParams) : ConsentResearchStudyContextProfile { + return ConsentResearchStudyContextProfile.from(ConsentResearchStudyContextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConsentResearchStudyContext"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext", "ConsentResearchStudyContext"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactAddress.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactAddress.ts new file mode 100644 index 000000000..e80a3be76 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactAddress.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Address } from "../../hl7-fhir-r4-core/Address"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactAddressProfileParams = { + valueAddress: Address; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-contactAddress (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ContactAddressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-contactAddress" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactAddressProfile { + return new ContactAddressProfile(resource) + } + + static createResource (args: ContactAddressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-contactAddress", + valueAddress: args.valueAddress, + } as unknown as Extension + return resource + } + + static create (args: ContactAddressProfileParams) : ContactAddressProfile { + return ContactAddressProfile.from(ContactAddressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAddress () : Address | undefined { + return this.resource.valueAddress as Address | undefined + } + + setValueAddress (value: Address) : this { + Object.assign(this.resource, { valueAddress: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactAddress"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-contactAddress", "ContactAddress"); if (e) errors.push(e) } + if (!(r["valueAddress"] !== undefined)) { + errors.push("value: at least one of valueAddress is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactDetailReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactDetailReference.ts new file mode 100644 index 000000000..6e5f1a3c8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactDetailReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactDetailReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ContactDetailReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactDetailReferenceProfile { + return new ContactDetailReferenceProfile(resource) + } + + static createResource (args: ContactDetailReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ContactDetailReferenceProfileParams) : ContactDetailReferenceProfile { + return ContactDetailReferenceProfile.from(ContactDetailReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactDetailReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference", "ContactDetailReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointComment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointComment.ts new file mode 100644 index 000000000..f1c4f87d0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointComment.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactPointCommentProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-comment (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ContactPointCommentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-comment" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactPointCommentProfile { + return new ContactPointCommentProfile(resource) + } + + static createResource (args: ContactPointCommentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-comment", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ContactPointCommentProfileParams) : ContactPointCommentProfile { + return ContactPointCommentProfile.from(ContactPointCommentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactPointComment"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-comment", "ContactPointComment"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointPurpose.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointPurpose.ts new file mode 100644 index 000000000..fed54a50c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointPurpose.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactPointPurposeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-purpose (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ContactPointPurposeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-purpose" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactPointPurposeProfile { + return new ContactPointPurposeProfile(resource) + } + + static createResource (args: ContactPointPurposeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-purpose", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ContactPointPurposeProfileParams) : ContactPointPurposeProfile { + return ContactPointPurposeProfile.from(ContactPointPurposeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactPointPurpose"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-purpose", "ContactPointPurpose"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactReference.ts new file mode 100644 index 000000000..4295f7e13 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-contactReference (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ContactReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-contactReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactReferenceProfile { + return new ContactReferenceProfile(resource) + } + + static createResource (args: ContactReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-contactReference", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ContactReferenceProfileParams) : ContactReferenceProfile { + return ContactReferenceProfile.from(ContactReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-contactReference", "ContactReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContributionTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContributionTime.ts new file mode 100644 index 000000000..c6b8540b5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContributionTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContributionTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-contributionTime (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ContributionTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-contributionTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContributionTimeProfile { + return new ContributionTimeProfile(resource) + } + + static createResource (args: ContributionTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-contributionTime", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ContributionTimeProfileParams) : ContributionTimeProfile { + return ContributionTimeProfile.from(ContributionTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContributionTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-contributionTime", "ContributionTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CountQuantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CountQuantity.ts new file mode 100644 index 000000000..2a783c48e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CountQuantity.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/measurereport-countQuantity (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CountQuantityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/measurereport-countQuantity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CountQuantityProfile { + return new CountQuantityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/measurereport-countQuantity", + } as unknown as Extension + return resource + } + + static create () : CountQuantityProfile { + return CountQuantityProfile.from(CountQuantityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CountQuantity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/measurereport-countQuantity", "CountQuantity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlAccessModifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlAccessModifier.ts new file mode 100644 index 000000000..fdff693ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlAccessModifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CqlAccessModifierProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessModifier (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CqlAccessModifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessModifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CqlAccessModifierProfile { + return new CqlAccessModifierProfile(resource) + } + + static createResource (args: CqlAccessModifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessModifier", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CqlAccessModifierProfileParams) : CqlAccessModifierProfile { + return CqlAccessModifierProfile.from(CqlAccessModifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CqlAccessModifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessModifier", "CqlAccessModifier"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlType.ts new file mode 100644 index 000000000..b1432313a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CqlTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-cqlType (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CqlTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-cqlType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CqlTypeProfile { + return new CqlTypeProfile(resource) + } + + static createResource (args: CqlTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-cqlType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CqlTypeProfileParams) : CqlTypeProfile { + return CqlTypeProfile.from(CqlTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CqlType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-cqlType", "CqlType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CriteriaReferenceExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CriteriaReferenceExtension.ts new file mode 100644 index 000000000..5d55805d0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CriteriaReferenceExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class CriteriaReferenceExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CriteriaReferenceExtensionProfile { + return new CriteriaReferenceExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference", + } as unknown as Extension + return resource + } + + static create () : CriteriaReferenceExtensionProfile { + return CriteriaReferenceExtensionProfile.from(CriteriaReferenceExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CriteriaReferenceExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference", "CriteriaReferenceExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRFocus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRFocus.ts new file mode 100644 index 000000000..cdec5df76 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRFocus.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRFocusProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DRFocusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRFocusProfile { + return new DRFocusProfile(resource) + } + + static createResource (args: DRFocusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRFocusProfileParams) : DRFocusProfile { + return DRFocusProfile.from(DRFocusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRFocus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus", "DRFocus"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRSourcePatient.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRSourcePatient.ts new file mode 100644 index 000000000..8ba1d5fc5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRSourcePatient.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRSourcePatientProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DRSourcePatientProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRSourcePatientProfile { + return new DRSourcePatientProfile(resource) + } + + static createResource (args: DRSourcePatientProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRSourcePatientProfileParams) : DRSourcePatientProfile { + return DRSourcePatientProfile.from(DRSourcePatientProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRSourcePatient"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient", "DRSourcePatient"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRThumbnail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRThumbnail.ts new file mode 100644 index 000000000..9949ea45e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRThumbnail.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRThumbnailProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DRThumbnailProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRThumbnailProfile { + return new DRThumbnailProfile(resource) + } + + static createResource (args: DRThumbnailProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: DRThumbnailProfileParams) : DRThumbnailProfile { + return DRThumbnailProfile.from(DRThumbnailProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRThumbnail"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail", "DRThumbnail"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRWorkflowStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRWorkflowStatus.ts new file mode 100644 index 000000000..27bac187f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRWorkflowStatus.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRWorkflowStatusProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DRWorkflowStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRWorkflowStatusProfile { + return new DRWorkflowStatusProfile(resource) + } + + static createResource (args: DRWorkflowStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: DRWorkflowStatusProfileParams) : DRWorkflowStatusProfile { + return DRWorkflowStatusProfile.from(DRWorkflowStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setTimestamp (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "timestamp", valueInstant: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getTimestamp (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "timestamp") + return (ext as Record | undefined)?.valueInstant as string | undefined + } + + public getTimestampExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "timestamp") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "DRWorkflowStatus"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "DRWorkflowStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus", "DRWorkflowStatus"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Datatype.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Datatype.ts new file mode 100644 index 000000000..e0629efb6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Datatype.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DatatypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/_datatype (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DatatypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/_datatype" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DatatypeProfile { + return new DatatypeProfile(resource) + } + + static createResource (args: DatatypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/_datatype", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: DatatypeProfileParams) : DatatypeProfile { + return DatatypeProfile.from(DatatypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Datatype"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/_datatype", "Datatype"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultType.ts new file mode 100644 index 000000000..a3cfe2f5a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DefaultTypeProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DefaultTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DefaultTypeProfile { + return new DefaultTypeProfile(resource) + } + + static createResource (args: DefaultTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: DefaultTypeProfileParams) : DefaultTypeProfile { + return DefaultTypeProfile.from(DefaultTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DefaultType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype", "DefaultType"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultValue.ts new file mode 100644 index 000000000..a9aed984b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultValue.ts @@ -0,0 +1,170 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../../hl7-fhir-r4-core/Ratio"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-defaultValue (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DefaultValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-defaultValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DefaultValueProfile { + return new DefaultValueProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-defaultValue", + } as unknown as Extension + return resource + } + + static create () : DefaultValueProfile { + return DefaultValueProfile.from(DefaultValueProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DefaultValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-defaultValue", "DefaultValue"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefinitionTerm.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefinitionTerm.ts new file mode 100644 index 000000000..59371ab24 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefinitionTerm.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DefinitionTermProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DefinitionTermProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DefinitionTermProfile { + return new DefinitionTermProfile(resource) + } + + static createResource (args: DefinitionTermProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: DefinitionTermProfileParams) : DefinitionTermProfile { + return DefinitionTermProfile.from(DefinitionTermProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTerm (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "term", valueString: value } as Extension) + return this + } + + public setDefinition (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "definition", valueMarkdown: value } as Extension) + return this + } + + public getTerm (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "term") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTermExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "term") + return ext + } + + public getDefinition (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "definition") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getDefinitionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "definition") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "DefinitionTerm"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "DefinitionTerm"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm", "DefinitionTerm"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DevCommercialBrand.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DevCommercialBrand.ts new file mode 100644 index 000000000..93ec70673 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DevCommercialBrand.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DevCommercialBrandProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-commercialBrand (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DevCommercialBrandProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-commercialBrand" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DevCommercialBrandProfile { + return new DevCommercialBrandProfile(resource) + } + + static createResource (args: DevCommercialBrandProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-commercialBrand", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: DevCommercialBrandProfileParams) : DevCommercialBrandProfile { + return DevCommercialBrandProfile.from(DevCommercialBrandProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DevCommercialBrand"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-commercialBrand", "DevCommercialBrand"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceLastMaintenanceTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceLastMaintenanceTime.ts new file mode 100644 index 000000000..f584ab570 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceLastMaintenanceTime.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DeviceLastMaintenanceTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DeviceLastMaintenanceTimeProfile { + return new DeviceLastMaintenanceTimeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime", + } as unknown as Extension + return resource + } + + static create () : DeviceLastMaintenanceTimeProfile { + return DeviceLastMaintenanceTimeProfile.from(DeviceLastMaintenanceTimeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DeviceLastMaintenanceTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime", "DeviceLastMaintenanceTime"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceMaintenanceResponsibility.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceMaintenanceResponsibility.ts new file mode 100644 index 000000000..a14c4bee9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceMaintenanceResponsibility.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DeviceMaintenanceResponsibilityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DeviceMaintenanceResponsibilityProfile { + return new DeviceMaintenanceResponsibilityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility", + } as unknown as Extension + return resource + } + + static create () : DeviceMaintenanceResponsibilityProfile { + return DeviceMaintenanceResponsibilityProfile.from(DeviceMaintenanceResponsibilityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPerson (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "person", valueReference: value } as Extension) + return this + } + + public setOrganization (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "organization", valueReference: value } as Extension) + return this + } + + public getPerson (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "person") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getPersonExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "person") + return ext + } + + public getOrganization (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "organization") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getOrganizationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "organization") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DeviceMaintenanceResponsibility"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility", "DeviceMaintenanceResponsibility"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DirectReferenceCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DirectReferenceCode.ts new file mode 100644 index 000000000..f54f2a8ea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DirectReferenceCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DirectReferenceCodeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DirectReferenceCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DirectReferenceCodeProfile { + return new DirectReferenceCodeProfile(resource) + } + + static createResource (args: DirectReferenceCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: DirectReferenceCodeProfileParams) : DirectReferenceCodeProfile { + return DirectReferenceCodeProfile.from(DirectReferenceCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DirectReferenceCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "DirectReferenceCode"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DosageMinimumGapBetweenDose.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DosageMinimumGapBetweenDose.ts new file mode 100644 index 000000000..038071573 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DosageMinimumGapBetweenDose.ts @@ -0,0 +1,86 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class DosageMinimumGapBetweenDoseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DosageMinimumGapBetweenDoseProfile { + return new DosageMinimumGapBetweenDoseProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose", + } as unknown as Extension + return resource + } + + static create () : DosageMinimumGapBetweenDoseProfile { + return DosageMinimumGapBetweenDoseProfile.from(DosageMinimumGapBetweenDoseProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMeetGoal (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "meetGoal", ...value }) + return this + } + + public setWhenTrigger (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "whenTrigger", ...value }) + return this + } + + public setPrecondition (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "precondition", ...value }) + return this + } + + public getMeetGoal (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "meetGoal") + } + + public getWhenTrigger (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "whenTrigger") + } + + public getPrecondition (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "precondition") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DosageMinimumGapBetweenDose"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose", "DosageMinimumGapBetweenDose"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EncounterSubjectLocationClassification.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EncounterSubjectLocationClassification.ts new file mode 100644 index 000000000..024dba87c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EncounterSubjectLocationClassification.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EncounterSubjectLocationClassificationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/subject-locationClassification (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class EncounterSubjectLocationClassificationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/subject-locationClassification" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EncounterSubjectLocationClassificationProfile { + return new EncounterSubjectLocationClassificationProfile(resource) + } + + static createResource (args: EncounterSubjectLocationClassificationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/subject-locationClassification", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: EncounterSubjectLocationClassificationProfileParams) : EncounterSubjectLocationClassificationProfile { + return EncounterSubjectLocationClassificationProfile.from(EncounterSubjectLocationClassificationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EncounterSubjectLocationClassification"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/subject-locationClassification", "EncounterSubjectLocationClassification"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EndpointFhirVersion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EndpointFhirVersion.ts new file mode 100644 index 000000000..94d304363 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EndpointFhirVersion.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class EndpointFhirVersionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EndpointFhirVersionProfile { + return new EndpointFhirVersionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version", + } as unknown as Extension + return resource + } + + static create () : EndpointFhirVersionProfile { + return EndpointFhirVersionProfile.from(EndpointFhirVersionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EndpointFhirVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version", "EndpointFhirVersion"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EventRecorded.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EventRecorded.ts new file mode 100644 index 000000000..b2ea329ae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EventRecorded.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-recorded (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class EventRecordedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-recorded" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EventRecordedProfile { + return new EventRecordedProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-recorded", + } as unknown as Extension + return resource + } + + static create () : EventRecordedProfile { + return EventRecordedProfile.from(EventRecordedProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EventRecorded"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-recorded", "EventRecorded"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ExpansionParameters.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ExpansionParameters.ts new file mode 100644 index 000000000..96803e54b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ExpansionParameters.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ExpansionParametersProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ExpansionParametersProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ExpansionParametersProfile { + return new ExpansionParametersProfile(resource) + } + + static createResource (args: ExpansionParametersProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ExpansionParametersProfileParams) : ExpansionParametersProfile { + return ExpansionParametersProfile.from(ExpansionParametersProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ExpansionParameters"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters", "ExpansionParameters"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FHIRQueryPattern.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FHIRQueryPattern.ts new file mode 100644 index 000000000..7d3ba41d2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FHIRQueryPattern.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FHIRQueryPatternProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class FHIRQueryPatternProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FHIRQueryPatternProfile { + return new FHIRQueryPatternProfile(resource) + } + + static createResource (args: FHIRQueryPatternProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: FHIRQueryPatternProfileParams) : FHIRQueryPatternProfile { + return FHIRQueryPatternProfile.from(FHIRQueryPatternProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FHIRQueryPattern"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern", "FHIRQueryPattern"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FMMSupportDoco.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FMMSupportDoco.ts new file mode 100644 index 000000000..8135a0f2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FMMSupportDoco.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMMSupportDocoProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class FMMSupportDocoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMMSupportDocoProfile { + return new FMMSupportDocoProfile(resource) + } + + static createResource (args: FMMSupportDocoProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: FMMSupportDocoProfileParams) : FMMSupportDocoProfile { + return FMMSupportDocoProfile.from(FMMSupportDocoProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FMMSupportDoco"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support", "FMMSupportDoco"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FeatureAsssertion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FeatureAsssertion.ts new file mode 100644 index 000000000..de1417953 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FeatureAsssertion.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FeatureAsssertionProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/feature-assertion (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class FeatureAsssertionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/feature-assertion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FeatureAsssertionProfile { + return new FeatureAsssertionProfile(resource) + } + + static createResource (args: FeatureAsssertionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/feature-assertion", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: FeatureAsssertionProfileParams) : FeatureAsssertionProfile { + return FeatureAsssertionProfile.from(FeatureAsssertionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FeatureAsssertion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/feature-assertion", "FeatureAsssertion"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FirstCreated.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FirstCreated.ts new file mode 100644 index 000000000..0765bd869 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FirstCreated.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FirstCreatedProfileParams = { + valueInstant: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/firstCreated (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class FirstCreatedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/firstCreated" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FirstCreatedProfile { + return new FirstCreatedProfile(resource) + } + + static createResource (args: FirstCreatedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/firstCreated", + valueInstant: args.valueInstant, + } as unknown as Extension + return resource + } + + static create (args: FirstCreatedProfileParams) : FirstCreatedProfile { + return FirstCreatedProfile.from(FirstCreatedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInstant () : string | undefined { + return this.resource.valueInstant as string | undefined + } + + setValueInstant (value: string) : this { + Object.assign(this.resource, { valueInstant: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FirstCreated"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/firstCreated", "FirstCreated"); if (e) errors.push(e) } + if (!(r["valueInstant"] !== undefined)) { + errors.push("value: at least one of valueInstant is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FollowOnOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FollowOnOf.ts new file mode 100644 index 000000000..02ab567c5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FollowOnOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FollowOnOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-followOnOf (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class FollowOnOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-followOnOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FollowOnOfProfile { + return new FollowOnOfProfile(resource) + } + + static createResource (args: FollowOnOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-followOnOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: FollowOnOfProfileParams) : FollowOnOfProfile { + return FollowOnOfProfile.from(FollowOnOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FollowOnOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-followOnOf", "FollowOnOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GeneratedFrom.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GeneratedFrom.ts new file mode 100644 index 000000000..3f150e116 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GeneratedFrom.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GeneratedFromProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class GeneratedFromProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GeneratedFromProfile { + return new GeneratedFromProfile(resource) + } + + static createResource (args: GeneratedFromProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: GeneratedFromProfileParams) : GeneratedFromProfile { + return GeneratedFromProfile.from(GeneratedFromProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "GeneratedFrom"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom", "GeneratedFrom"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GraphConstraint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GraphConstraint.ts new file mode 100644 index 000000000..5e809c223 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GraphConstraint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GraphConstraintProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class GraphConstraintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GraphConstraintProfile { + return new GraphConstraintProfile(resource) + } + + static createResource (args: GraphConstraintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: GraphConstraintProfileParams) : GraphConstraintProfile { + return GraphConstraintProfile.from(GraphConstraintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "GraphConstraint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint", "GraphConstraint"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IDCheckDigit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IDCheckDigit.ts new file mode 100644 index 000000000..1514059da --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IDCheckDigit.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IDCheckDigitProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/identifier-checkDigit (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class IDCheckDigitProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IDCheckDigitProfile { + return new IDCheckDigitProfile(resource) + } + + static createResource (args: IDCheckDigitProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: IDCheckDigitProfileParams) : IDCheckDigitProfile { + return IDCheckDigitProfile.from(IDCheckDigitProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IDCheckDigit"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", "IDCheckDigit"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IGSourceFile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IGSourceFile.ts new file mode 100644 index 000000000..dbb44b9cf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IGSourceFile.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IGSourceFileProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class IGSourceFileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IGSourceFileProfile { + return new IGSourceFileProfile(resource) + } + + static createResource (args: IGSourceFileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: IGSourceFileProfileParams) : IGSourceFileProfile { + return IGSourceFileProfile.from(IGSourceFileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setFile (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "file", valueReference: value } as Extension) + return this + } + + public setLocation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "location", valueString: value } as Extension) + return this + } + + public setKeepAsResource (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "keepAsResource", valueBoolean: value } as Extension) + return this + } + + public getFile (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "file") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getFileExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "file") + return ext + } + + public getLocation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLocationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return ext + } + + public getKeepAsResource (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "keepAsResource") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getKeepAsResourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "keepAsResource") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "IGSourceFile"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "IGSourceFile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile", "IGSourceFile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_InputParameters.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_InputParameters.ts new file mode 100644 index 000000000..0edbde63f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_InputParameters.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InputParametersProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class InputParametersProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InputParametersProfile { + return new InputParametersProfile(resource) + } + + static createResource (args: InputParametersProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: InputParametersProfileParams) : InputParametersProfile { + return InputParametersProfile.from(InputParametersProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "InputParameters"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters", "InputParameters"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyList.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyList.ts new file mode 100644 index 000000000..ec8ad3283 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyList.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IsEmptyListProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class IsEmptyListProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsEmptyListProfile { + return new IsEmptyListProfile(resource) + } + + static createResource (args: IsEmptyListProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: IsEmptyListProfileParams) : IsEmptyListProfile { + return IsEmptyListProfile.from(IsEmptyListProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsEmptyList"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList", "IsEmptyList"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyTuple.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyTuple.ts new file mode 100644 index 000000000..49d66a18a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyTuple.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IsEmptyTupleProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-isEmptyTuple (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class IsEmptyTupleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyTuple" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsEmptyTupleProfile { + return new IsEmptyTupleProfile(resource) + } + + static createResource (args: IsEmptyTupleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyTuple", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: IsEmptyTupleProfileParams) : IsEmptyTupleProfile { + return IsEmptyTupleProfile.from(IsEmptyTupleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsEmptyTuple"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyTuple", "IsEmptyTuple"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrefetchToken.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrefetchToken.ts new file mode 100644 index 000000000..227729d1c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrefetchToken.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IsPrefetchTokenProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class IsPrefetchTokenProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsPrefetchTokenProfile { + return new IsPrefetchTokenProfile(resource) + } + + static createResource (args: IsPrefetchTokenProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: IsPrefetchTokenProfileParams) : IsPrefetchTokenProfile { + return IsPrefetchTokenProfile.from(IsPrefetchTokenProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsPrefetchToken"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken", "IsPrefetchToken"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrimaryCitation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrimaryCitation.ts new file mode 100644 index 000000000..4b307b919 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrimaryCitation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IsPrimaryCitationProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class IsPrimaryCitationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsPrimaryCitationProfile { + return new IsPrimaryCitationProfile(resource) + } + + static createResource (args: IsPrimaryCitationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: IsPrimaryCitationProfileParams) : IsPrimaryCitationProfile { + return IsPrimaryCitationProfile.from(IsPrimaryCitationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsPrimaryCitation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation", "IsPrimaryCitation"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsSelective.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsSelective.ts new file mode 100644 index 000000000..1d4bd54c5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsSelective.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IsSelectiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-isSelective (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class IsSelectiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-isSelective" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsSelectiveProfile { + return new IsSelectiveProfile(resource) + } + + static createResource (args: IsSelectiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-isSelective", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: IsSelectiveProfileParams) : IsSelectiveProfile { + return IsSelectiveProfile.from(IsSelectiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsSelective"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-isSelective", "IsSelective"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ItemWeight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ItemWeight.ts new file mode 100644 index 000000000..f180b24a2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ItemWeight.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ItemWeightProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/itemWeight (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ItemWeightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/itemWeight" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ItemWeightProfile { + return new ItemWeightProfile(resource) + } + + static createResource (args: ItemWeightProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/itemWeight", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: ItemWeightProfileParams) : ItemWeightProfile { + return ItemWeightProfile.from(ItemWeightProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ItemWeight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/itemWeight", "ItemWeight"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_KnowledgeRepresentationLevel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_KnowledgeRepresentationLevel.ts new file mode 100644 index 000000000..9d0eb22dd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_KnowledgeRepresentationLevel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type KnowledgeRepresentationLevelProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class KnowledgeRepresentationLevelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : KnowledgeRepresentationLevelProfile { + return new KnowledgeRepresentationLevelProfile(resource) + } + + static createResource (args: KnowledgeRepresentationLevelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: KnowledgeRepresentationLevelProfileParams) : KnowledgeRepresentationLevelProfile { + return KnowledgeRepresentationLevelProfile.from(KnowledgeRepresentationLevelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "KnowledgeRepresentationLevel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", "KnowledgeRepresentationLevel"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LargeValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LargeValue.ts new file mode 100644 index 000000000..23b76ce29 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LargeValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LargeValueProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/largeValue (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class LargeValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/largeValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LargeValueProfile { + return new LargeValueProfile(resource) + } + + static createResource (args: LargeValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/largeValue", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: LargeValueProfileParams) : LargeValueProfile { + return LargeValueProfile.from(LargeValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LargeValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/largeValue", "LargeValue"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LastSourceSync.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LastSourceSync.ts new file mode 100644 index 000000000..ee25714e2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LastSourceSync.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LastSourceSyncProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/lastSourceSync (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class LastSourceSyncProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/lastSourceSync" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LastSourceSyncProfile { + return new LastSourceSyncProfile(resource) + } + + static createResource (args: LastSourceSyncProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/lastSourceSync", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: LastSourceSyncProfileParams) : LastSourceSyncProfile { + return LastSourceSyncProfile.from(LastSourceSyncProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LastSourceSync"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/lastSourceSync", "LastSourceSync"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListCategory.ts new file mode 100644 index 000000000..2ac963461 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListCategory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ListCategoryProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/list-category (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ListCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/list-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ListCategoryProfile { + return new ListCategoryProfile(resource) + } + + static createResource (args: ListCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/list-category", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ListCategoryProfileParams) : ListCategoryProfile { + return ListCategoryProfile.from(ListCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ListCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/list-category", "ListCategory"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListFor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListFor.ts new file mode 100644 index 000000000..c3d403b64 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListFor.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ListForProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/list-for (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ListForProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/list-for" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ListForProfile { + return new ListForProfile(resource) + } + + static createResource (args: ListForProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/list-for", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ListForProfileParams) : ListForProfile { + return ListForProfile.from(ListForProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ListFor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/list-for", "ListFor"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LocCommunication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LocCommunication.ts new file mode 100644 index 000000000..f1bde0ce9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LocCommunication.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LocCommunicationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/location-communication (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class LocCommunicationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/location-communication" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LocCommunicationProfile { + return new LocCommunicationProfile(resource) + } + + static createResource (args: LocCommunicationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/location-communication", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: LocCommunicationProfileParams) : LocCommunicationProfile { + return LocCommunicationProfile.from(LocCommunicationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LocCommunication"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/location-communication", "LocCommunication"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LogicDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LogicDefinition.ts new file mode 100644 index 000000000..83449695b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LogicDefinition.ts @@ -0,0 +1,151 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LogicDefinitionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class LogicDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LogicDefinitionProfile { + return new LogicDefinitionProfile(resource) + } + + static createResource (args: LogicDefinitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: LogicDefinitionProfileParams) : LogicDefinitionProfile { + return LogicDefinitionProfile.from(LogicDefinitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLibraryName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "libraryName", valueString: value } as Extension) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setStatement (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "statement", valueString: value } as Extension) + return this + } + + public setDisplayCategory (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "displayCategory", valueString: value } as Extension) + return this + } + + public setDisplaySequence (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "displaySequence", valueInteger: value } as Extension) + return this + } + + public getLibraryName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "libraryName") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLibraryNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "libraryName") + return ext + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getStatement (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "statement") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getStatementExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "statement") + return ext + } + + public getDisplayCategory (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "displayCategory") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDisplayCategoryExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "displayCategory") + return ext + } + + public getDisplaySequence (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "displaySequence") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getDisplaySequenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "displaySequence") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "LogicDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "LogicDefinition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", "LogicDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportCategory.ts new file mode 100644 index 000000000..eb88e8cf4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportCategory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MeasureReportCategoryProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/measurereport-category (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class MeasureReportCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/measurereport-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MeasureReportCategoryProfile { + return new MeasureReportCategoryProfile(resource) + } + + static createResource (args: MeasureReportCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/measurereport-category", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: MeasureReportCategoryProfileParams) : MeasureReportCategoryProfile { + return MeasureReportCategoryProfile.from(MeasureReportCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MeasureReportCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/measurereport-category", "MeasureReportCategory"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportPopulationDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportPopulationDescription.ts new file mode 100644 index 000000000..1c6e9e0a2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportPopulationDescription.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/measurereport-populationDescription (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class MeasureReportPopulationDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/measurereport-populationDescription" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MeasureReportPopulationDescriptionProfile { + return new MeasureReportPopulationDescriptionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/measurereport-populationDescription", + } as unknown as Extension + return resource + } + + static create () : MeasureReportPopulationDescriptionProfile { + return MeasureReportPopulationDescriptionProfile.from(MeasureReportPopulationDescriptionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MeasureReportPopulationDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/measurereport-populationDescription", "MeasureReportPopulationDescription"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedManufacturingBatch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedManufacturingBatch.ts new file mode 100644 index 000000000..a11a863c2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedManufacturingBatch.ts @@ -0,0 +1,181 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class MedManufacturingBatchProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MedManufacturingBatchProfile { + return new MedManufacturingBatchProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch", + } as unknown as Extension + return resource + } + + static create () : MedManufacturingBatchProfile { + return MedManufacturingBatchProfile.from(MedManufacturingBatchProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setManufacturingDate (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "manufacturingDate", valueDateTime: value } as Extension) + return this + } + + public setManufacturingDateClassification (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "manufacturingDateClassification", valueCodeableConcept: value } as Extension) + return this + } + + public setAssignedManufacturer (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "assignedManufacturer", valueReference: value } as Extension) + return this + } + + public setExpirationDateClassification (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expirationDateClassification", valueCodeableConcept: value } as Extension) + return this + } + + public setBatchUtilization (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "batchUtilization", valueCodeableConcept: value } as Extension) + return this + } + + public setBatchQuantity (value: Quantity): this { + const list = (this.resource.extension ??= []) + list.push({ url: "batchQuantity", valueQuantity: value } as Extension) + return this + } + + public setAdditionalInformation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "additionalInformation", valueString: value } as Extension) + return this + } + + public setContainer (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "container", ...value }) + return this + } + + public getManufacturingDate (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "manufacturingDate") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getManufacturingDateExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "manufacturingDate") + return ext + } + + public getManufacturingDateClassification (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "manufacturingDateClassification") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getManufacturingDateClassificationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "manufacturingDateClassification") + return ext + } + + public getAssignedManufacturer (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "assignedManufacturer") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getAssignedManufacturerExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "assignedManufacturer") + return ext + } + + public getExpirationDateClassification (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "expirationDateClassification") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getExpirationDateClassificationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expirationDateClassification") + return ext + } + + public getBatchUtilization (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "batchUtilization") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getBatchUtilizationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "batchUtilization") + return ext + } + + public getBatchQuantity (): Quantity | undefined { + const ext = this.resource.extension?.find(e => e.url === "batchQuantity") + return (ext as Record | undefined)?.valueQuantity as Quantity | undefined + } + + public getBatchQuantityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "batchQuantity") + return ext + } + + public getAdditionalInformation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "additionalInformation") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getAdditionalInformationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "additionalInformation") + return ext + } + + public getContainer (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "container") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MedManufacturingBatch"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch", "MedManufacturingBatch"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedQuantityRemaining.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedQuantityRemaining.ts new file mode 100644 index 000000000..021520d6d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedQuantityRemaining.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MedQuantityRemainingProfileParams = { + valueQuantity: Quantity; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class MedQuantityRemainingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MedQuantityRemainingProfile { + return new MedQuantityRemainingProfile(resource) + } + + static createResource (args: MedQuantityRemainingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining", + valueQuantity: args.valueQuantity, + } as unknown as Extension + return resource + } + + static create (args: MedQuantityRemainingProfileParams) : MedQuantityRemainingProfile { + return MedQuantityRemainingProfile.from(MedQuantityRemainingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MedQuantityRemaining"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining", "MedQuantityRemaining"); if (e) errors.push(e) } + if (!(r["valueQuantity"] !== undefined)) { + errors.push("value: at least one of valueQuantity is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedRefillsRemaining.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedRefillsRemaining.ts new file mode 100644 index 000000000..623c86527 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedRefillsRemaining.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MedRefillsRemainingProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class MedRefillsRemainingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MedRefillsRemainingProfile { + return new MedRefillsRemainingProfile(resource) + } + + static createResource (args: MedRefillsRemainingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: MedRefillsRemainingProfileParams) : MedRefillsRemainingProfile { + return MedRefillsRemainingProfile.from(MedRefillsRemainingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MedRefillsRemaining"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining", "MedRefillsRemaining"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Messages.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Messages.ts new file mode 100644 index 000000000..fe6814e30 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Messages.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MessagesProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-messages (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class MessagesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-messages" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MessagesProfile { + return new MessagesProfile(resource) + } + + static createResource (args: MessagesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-messages", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: MessagesProfileParams) : MessagesProfile { + return MessagesProfile.from(MessagesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Messages"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-messages", "Messages"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsIncluded.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsIncluded.ts new file mode 100644 index 000000000..c675a3d3c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsIncluded.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ModelInfoIsIncludedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ModelInfoIsIncludedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoIsIncludedProfile { + return new ModelInfoIsIncludedProfile(resource) + } + + static createResource (args: ModelInfoIsIncludedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: ModelInfoIsIncludedProfileParams) : ModelInfoIsIncludedProfile { + return ModelInfoIsIncludedProfile.from(ModelInfoIsIncludedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoIsIncluded"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded", "ModelInfoIsIncluded"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsRetrievable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsRetrievable.ts new file mode 100644 index 000000000..39b8e57bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsRetrievable.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ModelInfoIsRetrievableProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ModelInfoIsRetrievableProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoIsRetrievableProfile { + return new ModelInfoIsRetrievableProfile(resource) + } + + static createResource (args: ModelInfoIsRetrievableProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: ModelInfoIsRetrievableProfileParams) : ModelInfoIsRetrievableProfile { + return ModelInfoIsRetrievableProfile.from(ModelInfoIsRetrievableProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoIsRetrievable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable", "ModelInfoIsRetrievable"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoLabel.ts new file mode 100644 index 000000000..a9968e632 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoLabel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ModelInfoLabelProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ModelInfoLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoLabelProfile { + return new ModelInfoLabelProfile(resource) + } + + static createResource (args: ModelInfoLabelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ModelInfoLabelProfileParams) : ModelInfoLabelProfile { + return ModelInfoLabelProfile.from(ModelInfoLabelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label", "ModelInfoLabel"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoPrimaryCodePath.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoPrimaryCodePath.ts new file mode 100644 index 000000000..1146fa481 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoPrimaryCodePath.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ModelInfoPrimaryCodePathProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ModelInfoPrimaryCodePathProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoPrimaryCodePathProfile { + return new ModelInfoPrimaryCodePathProfile(resource) + } + + static createResource (args: ModelInfoPrimaryCodePathProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ModelInfoPrimaryCodePathProfileParams) : ModelInfoPrimaryCodePathProfile { + return ModelInfoPrimaryCodePathProfile.from(ModelInfoPrimaryCodePathProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoPrimaryCodePath"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath", "ModelInfoPrimaryCodePath"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoSettings.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoSettings.ts new file mode 100644 index 000000000..bc99be622 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoSettings.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ModelInfoSettingsProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ModelInfoSettingsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoSettingsProfile { + return new ModelInfoSettingsProfile(resource) + } + + static createResource (args: ModelInfoSettingsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ModelInfoSettingsProfileParams) : ModelInfoSettingsProfile { + return ModelInfoSettingsProfile.from(ModelInfoSettingsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoSettings"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings", "ModelInfoSettings"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NSCheckDigit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NSCheckDigit.ts new file mode 100644 index 000000000..d63757617 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NSCheckDigit.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NSCheckDigitProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class NSCheckDigitProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NSCheckDigitProfile { + return new NSCheckDigitProfile(resource) + } + + static createResource (args: NSCheckDigitProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: NSCheckDigitProfileParams) : NSCheckDigitProfile { + return NSCheckDigitProfile.from(NSCheckDigitProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NSCheckDigit"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", "NSCheckDigit"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NotDoneValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NotDoneValueSet.ts new file mode 100644 index 000000000..737cb8164 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NotDoneValueSet.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NotDoneValueSetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class NotDoneValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NotDoneValueSetProfile { + return new NotDoneValueSetProfile(resource) + } + + static createResource (args: NotDoneValueSetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: NotDoneValueSetProfileParams) : NotDoneValueSetProfile { + return NotDoneValueSetProfile.from(NotDoneValueSetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NotDoneValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet", "NotDoneValueSet"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Note.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Note.ts new file mode 100644 index 000000000..89fa80ffc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Note.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Annotation } from "../../hl7-fhir-r4-core/Annotation"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NoteProfileParams = { + valueAnnotation: Annotation; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/note (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class NoteProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/note" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NoteProfile { + return new NoteProfile(resource) + } + + static createResource (args: NoteProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/note", + valueAnnotation: args.valueAnnotation, + } as unknown as Extension + return resource + } + + static create (args: NoteProfileParams) : NoteProfile { + return NoteProfile.from(NoteProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAnnotation () : Annotation | undefined { + return this.resource.valueAnnotation as Annotation | undefined + } + + setValueAnnotation (value: Annotation) : this { + Object.assign(this.resource, { valueAnnotation: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Note"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/note", "Note"); if (e) errors.push(e) } + if (!(r["valueAnnotation"] !== undefined)) { + errors.push("value: at least one of valueAnnotation is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueCol.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueCol.ts new file mode 100644 index 000000000..92ae1eae4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueCol.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueColProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OOIssueColProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueColProfile { + return new OOIssueColProfile(resource) + } + + static createResource (args: OOIssueColProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOIssueColProfileParams) : OOIssueColProfile { + return OOIssueColProfile.from(OOIssueColProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueCol"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", "OOIssueCol"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueLine.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueLine.ts new file mode 100644 index 000000000..a7de6b362 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueLine.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueLineProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OOIssueLineProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueLineProfile { + return new OOIssueLineProfile(resource) + } + + static createResource (args: OOIssueLineProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: OOIssueLineProfileParams) : OOIssueLineProfile { + return OOIssueLineProfile.from(OOIssueLineProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueLine"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", "OOIssueLine"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueMessageId.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueMessageId.ts new file mode 100644 index 000000000..d3af0adf1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueMessageId.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueMessageIdProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OOIssueMessageIdProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueMessageIdProfile { + return new OOIssueMessageIdProfile(resource) + } + + static createResource (args: OOIssueMessageIdProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOIssueMessageIdProfileParams) : OOIssueMessageIdProfile { + return OOIssueMessageIdProfile.from(OOIssueMessageIdProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueMessageId"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", "OOIssueMessageId"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueServer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueServer.ts new file mode 100644 index 000000000..6124e26a8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueServer.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueServerProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OOIssueServerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueServerProfile { + return new OOIssueServerProfile(resource) + } + + static createResource (args: OOIssueServerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: OOIssueServerProfileParams) : OOIssueServerProfile { + return OOIssueServerProfile.from(OOIssueServerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueServer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server", "OOIssueServer"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueSliceText.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueSliceText.ts new file mode 100644 index 000000000..0d11495af --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueSliceText.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueSliceTextProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OOIssueSliceTextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueSliceTextProfile { + return new OOIssueSliceTextProfile(resource) + } + + static createResource (args: OOIssueSliceTextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOIssueSliceTextProfileParams) : OOIssueSliceTextProfile { + return OOIssueSliceTextProfile.from(OOIssueSliceTextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueSliceText"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext", "OOIssueSliceText"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOSourceFile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOSourceFile.ts new file mode 100644 index 000000000..8ceee5de2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOSourceFile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOSourceFileProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-file (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OOSourceFileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-file" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOSourceFileProfile { + return new OOSourceFileProfile(resource) + } + + static createResource (args: OOSourceFileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-file", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOSourceFileProfileParams) : OOSourceFileProfile { + return OOSourceFileProfile.from(OOSourceFileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOSourceFile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-file", "OOSourceFile"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Obligation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Obligation.ts new file mode 100644 index 000000000..1266b9afb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Obligation.ts @@ -0,0 +1,201 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { UsageContext } from "../../hl7-fhir-r4-core/UsageContext"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/obligation (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ObligationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/obligation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObligationProfile { + return new ObligationProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/obligation", + } as unknown as Extension + return resource + } + + static create () : ObligationProfile { + return ObligationProfile.from(ObligationProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setCode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCode: value } as Extension) + return this + } + + public setElementId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "elementId", valueString: value } as Extension) + return this + } + + public setActor (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "actor", valueCanonical: value } as Extension) + return this + } + + public setDocumentation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "documentation", valueMarkdown: value } as Extension) + return this + } + + public setUsage (value: UsageContext): this { + const list = (this.resource.extension ??= []) + list.push({ url: "usage", valueUsageContext: value } as Extension) + return this + } + + public setFilter (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "filter", valueString: value } as Extension) + return this + } + + public setFilterDocumentation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "filterDocumentation", valueString: value } as Extension) + return this + } + + public setProcess (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "process", valueCanonical: value } as Extension) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getCode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getElementId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "elementId") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getElementIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "elementId") + return ext + } + + public getActor (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "actor") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getActorExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "actor") + return ext + } + + public getDocumentation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "documentation") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getDocumentationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "documentation") + return ext + } + + public getUsage (): UsageContext | undefined { + const ext = this.resource.extension?.find(e => e.url === "usage") + return (ext as Record | undefined)?.valueUsageContext as UsageContext | undefined + } + + public getUsageExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "usage") + return ext + } + + public getFilter (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "filter") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getFilterExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "filter") + return ext + } + + public getFilterDocumentation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "filterDocumentation") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getFilterDocumentationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "filterDocumentation") + return ext + } + + public getProcess (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "process") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getProcessExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "process") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Obligation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/obligation", "Obligation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObligationsProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObligationsProfile.ts new file mode 100644 index 000000000..e4b83e11a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObligationsProfile.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObligationsProfileProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/obligations-profile (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ObligationsProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/obligations-profile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObligationsProfileProfile { + return new ObligationsProfileProfile(resource) + } + + static createResource (args: ObligationsProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/obligations-profile", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ObligationsProfileProfileParams) : ObligationsProfileProfile { + return ObligationsProfileProfile.from(ObligationsProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setProfile (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "profile", valueCanonical: value } as Extension) + return this + } + + public setActor (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "actor", valueUri: value } as Extension) + return this + } + + public getProfile (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "profile") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getProfileExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "profile") + return ext + } + + public getActor (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "actor") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getActorExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "actor") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "ObligationsProfile"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "ObligationsProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/obligations-profile", "ObligationsProfile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsAnalysisDateTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsAnalysisDateTime.ts new file mode 100644 index 000000000..41b2d16cd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsAnalysisDateTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsAnalysisDateTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ObsAnalysisDateTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsAnalysisDateTimeProfile { + return new ObsAnalysisDateTimeProfile(resource) + } + + static createResource (args: ObsAnalysisDateTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ObsAnalysisDateTimeProfileParams) : ObsAnalysisDateTimeProfile { + return ObsAnalysisDateTimeProfile.from(ObsAnalysisDateTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsAnalysisDateTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time", "ObsAnalysisDateTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsComponentCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsComponentCategory.ts new file mode 100644 index 000000000..d0fc8c706 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsComponentCategory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsComponentCategoryProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-componentCategory (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ObsComponentCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-componentCategory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsComponentCategoryProfile { + return new ObsComponentCategoryProfile(resource) + } + + static createResource (args: ObsComponentCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-componentCategory", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsComponentCategoryProfileParams) : ObsComponentCategoryProfile { + return ObsComponentCategoryProfile.from(ObsComponentCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsComponentCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-componentCategory", "ObsComponentCategory"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsNatureAbnormal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsNatureAbnormal.ts new file mode 100644 index 000000000..ffecd12ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsNatureAbnormal.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsNatureAbnormalProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ObsNatureAbnormalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsNatureAbnormalProfile { + return new ObsNatureAbnormalProfile(resource) + } + + static createResource (args: ObsNatureAbnormalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsNatureAbnormalProfileParams) : ObsNatureAbnormalProfile { + return ObsNatureAbnormalProfile.from(ObsNatureAbnormalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsNatureAbnormal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test", "ObsNatureAbnormal"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsV2SubId.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsV2SubId.ts new file mode 100644 index 000000000..ddd0362ba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsV2SubId.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-v2-subid (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ObsV2SubIdProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-v2-subid" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsV2SubIdProfile { + return new ObsV2SubIdProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-v2-subid", + } as unknown as Extension + return resource + } + + static create () : ObsV2SubIdProfile { + return ObsV2SubIdProfile.from(ObsV2SubIdProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setOriginalSubIdentifier (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "original-sub-identifier", valueString: value } as Extension) + return this + } + + public setGroup (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "group", valueDecimal: value } as Extension) + return this + } + + public setSequence (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "sequence", valueDecimal: value } as Extension) + return this + } + + public setIdentifier (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "identifier", valueString: value } as Extension) + return this + } + + public getOriginalSubIdentifier (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "original-sub-identifier") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getOriginalSubIdentifierExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "original-sub-identifier") + return ext + } + + public getGroup (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "group") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getGroupExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "group") + return ext + } + + public getSequence (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "sequence") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getSequenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "sequence") + return ext + } + + public getIdentifier (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "identifier") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getIdentifierExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "identifier") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsV2SubId"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-v2-subid", "ObsV2SubId"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObservationStructureType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObservationStructureType.ts new file mode 100644 index 000000000..790ca84e3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObservationStructureType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObservationStructureTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-structure-type (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ObservationStructureTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-structure-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObservationStructureTypeProfile { + return new ObservationStructureTypeProfile(resource) + } + + static createResource (args: ObservationStructureTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-structure-type", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObservationStructureTypeProfileParams) : ObservationStructureTypeProfile { + return ObservationStructureTypeProfile.from(ObservationStructureTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObservationStructureType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-structure-type", "ObservationStructureType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OfficialAddress.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OfficialAddress.ts new file mode 100644 index 000000000..3791975e7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OfficialAddress.ts @@ -0,0 +1,75 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/address-official (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OfficialAddressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/address-official" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OfficialAddressProfile { + return new OfficialAddressProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/address-official", + } as unknown as Extension + return resource + } + + static create () : OfficialAddressProfile { + return OfficialAddressProfile.from(OfficialAddressProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OfficialAddress"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/address-official", "OfficialAddress"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationBrand.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationBrand.ts new file mode 100644 index 000000000..f32522198 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationBrand.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-brand (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OrganizationBrandProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-brand" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OrganizationBrandProfile { + return new OrganizationBrandProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-brand", + } as unknown as Extension + return resource + } + + static create () : OrganizationBrandProfile { + return OrganizationBrandProfile.from(OrganizationBrandProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setBrandLogo (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "brandLogo", valueUrl: value } as Extension) + return this + } + + public setBrandLogoLicenseType (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "brandLogoLicenseType", valueCoding: value } as Extension) + return this + } + + public setBrandLogoLicense (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "brandLogoLicense", valueUrl: value } as Extension) + return this + } + + public setBrandBundle (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "brandBundle", valueUrl: value } as Extension) + return this + } + + public getBrandLogo (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogo") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getBrandLogoExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogo") + return ext + } + + public getBrandLogoLicenseType (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogoLicenseType") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getBrandLogoLicenseTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogoLicenseType") + return ext + } + + public getBrandLogoLicense (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogoLicense") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getBrandLogoLicenseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogoLicense") + return ext + } + + public getBrandBundle (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandBundle") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getBrandBundleExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandBundle") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OrganizationBrand"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-brand", "OrganizationBrand"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationPortal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationPortal.ts new file mode 100644 index 000000000..1fa0bdeff --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationPortal.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OrganizationPortalProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-portal (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class OrganizationPortalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-portal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OrganizationPortalProfile { + return new OrganizationPortalProfile(resource) + } + + static createResource (args: OrganizationPortalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-portal", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: OrganizationPortalProfileParams) : OrganizationPortalProfile { + return OrganizationPortalProfile.from(OrganizationPortalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPortalName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalName", valueString: value } as Extension) + return this + } + + public setPortalDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalDescription", valueMarkdown: value } as Extension) + return this + } + + public setPortalUrl (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalUrl", valueUrl: value } as Extension) + return this + } + + public setPortalLogo (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalLogo", valueUrl: value } as Extension) + return this + } + + public setPortalLogoLicenseType (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalLogoLicenseType", valueCoding: value } as Extension) + return this + } + + public setPortalLogoLicense (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalLogoLicense", valueUrl: value } as Extension) + return this + } + + public setPortalEndpoint (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalEndpoint", valueReference: value } as Extension) + return this + } + + public getPortalName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalName") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPortalNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalName") + return ext + } + + public getPortalDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalDescription") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getPortalDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalDescription") + return ext + } + + public getPortalUrl (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalUrl") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getPortalUrlExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalUrl") + return ext + } + + public getPortalLogo (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogo") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getPortalLogoExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogo") + return ext + } + + public getPortalLogoLicenseType (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogoLicenseType") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getPortalLogoLicenseTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogoLicenseType") + return ext + } + + public getPortalLogoLicense (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogoLicense") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getPortalLogoLicenseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogoLicense") + return ext + } + + public getPortalEndpoint (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalEndpoint") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getPortalEndpointExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalEndpoint") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "OrganizationPortal"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "OrganizationPortal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-portal", "OrganizationPortal"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PGenderIdentity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PGenderIdentity.ts new file mode 100644 index 000000000..e4c8abb81 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PGenderIdentity.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PGenderIdentityProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/individual-genderIdentity (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PGenderIdentityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PGenderIdentityProfile { + return new PGenderIdentityProfile(resource) + } + + static createResource (args: PGenderIdentityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PGenderIdentityProfileParams) : PGenderIdentityProfile { + return PGenderIdentityProfile.from(PGenderIdentityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "PGenderIdentity"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "PGenderIdentity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity", "PGenderIdentity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PREmploymentStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PREmploymentStatus.ts new file mode 100644 index 000000000..6bdb41e7d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PREmploymentStatus.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PREmploymentStatusProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PREmploymentStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PREmploymentStatusProfile { + return new PREmploymentStatusProfile(resource) + } + + static createResource (args: PREmploymentStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PREmploymentStatusProfileParams) : PREmploymentStatusProfile { + return PREmploymentStatusProfile.from(PREmploymentStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PREmploymentStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus", "PREmploymentStatus"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PRJobTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PRJobTitle.ts new file mode 100644 index 000000000..2b3b2d16a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PRJobTitle.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRJobTitleProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitioner-job-title (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PRJobTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitioner-job-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRJobTitleProfile { + return new PRJobTitleProfile(resource) + } + + static createResource (args: PRJobTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitioner-job-title", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PRJobTitleProfileParams) : PRJobTitleProfile { + return PRJobTitleProfile.from(PRJobTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRJobTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitioner-job-title", "PRJobTitle"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PackageSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PackageSource.ts new file mode 100644 index 000000000..2838b5195 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PackageSource.ts @@ -0,0 +1,119 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PackageSourceProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/package-source (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PackageSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/package-source" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PackageSourceProfile { + return new PackageSourceProfile(resource) + } + + static createResource (args: PackageSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/package-source", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PackageSourceProfileParams) : PackageSourceProfile { + return PackageSourceProfile.from(PackageSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPackageId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "packageId", valueId: value } as Extension) + return this + } + + public setVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "version", valueString: value } as Extension) + return this + } + + public setUri (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "uri", valueUri: value } as Extension) + return this + } + + public getPackageId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "packageId") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getPackageIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "packageId") + return ext + } + + public getVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "version") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "version") + return ext + } + + public getUri (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "uri") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getUriExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "uri") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "PackageSource"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "PackageSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/package-source", "PackageSource"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParameterDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParameterDefinition.ts new file mode 100644 index 000000000..782e465bb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParameterDefinition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { ParameterDefinition } from "../../hl7-fhir-r4-core/ParameterDefinition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ParameterDefinitionProfileParams = { + valueParameterDefinition: ParameterDefinition; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ParameterDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ParameterDefinitionProfile { + return new ParameterDefinitionProfile(resource) + } + + static createResource (args: ParameterDefinitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition", + valueParameterDefinition: args.valueParameterDefinition, + } as unknown as Extension + return resource + } + + static create (args: ParameterDefinitionProfileParams) : ParameterDefinitionProfile { + return ParameterDefinitionProfile.from(ParameterDefinitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueParameterDefinition () : ParameterDefinition | undefined { + return this.resource.valueParameterDefinition as ParameterDefinition | undefined + } + + setValueParameterDefinition (value: ParameterDefinition) : this { + Object.assign(this.resource, { valueParameterDefinition: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ParameterDefinition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition", "ParameterDefinition"); if (e) errors.push(e) } + if (!(r["valueParameterDefinition"] !== undefined)) { + errors.push("value: at least one of valueParameterDefinition is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParametersDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParametersDefinition.ts new file mode 100644 index 000000000..168a1cacd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParametersDefinition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { ParameterDefinition } from "../../hl7-fhir-r4-core/ParameterDefinition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ParametersDefinitionProfileParams = { + valueParameterDefinition: ParameterDefinition; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/parameters-definition (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ParametersDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/parameters-definition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ParametersDefinitionProfile { + return new ParametersDefinitionProfile(resource) + } + + static createResource (args: ParametersDefinitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/parameters-definition", + valueParameterDefinition: args.valueParameterDefinition, + } as unknown as Extension + return resource + } + + static create (args: ParametersDefinitionProfileParams) : ParametersDefinitionProfile { + return ParametersDefinitionProfile.from(ParametersDefinitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueParameterDefinition () : ParameterDefinition | undefined { + return this.resource.valueParameterDefinition as ParameterDefinition | undefined + } + + setValueParameterDefinition (value: ParameterDefinition) : this { + Object.assign(this.resource, { valueParameterDefinition: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ParametersDefinition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/parameters-definition", "ParametersDefinition"); if (e) errors.push(e) } + if (!(r["valueParameterDefinition"] !== undefined)) { + errors.push("value: at least one of valueParameterDefinition is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PartOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PartOf.ts new file mode 100644 index 000000000..271ea4378 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PartOf.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-partOf (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PartOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-partOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PartOfProfile { + return new PartOfProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-partOf", + } as unknown as Extension + return resource + } + + static create () : PartOfProfile { + return PartOfProfile.from(PartOfProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PartOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-partOf", "PartOf"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatBornStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatBornStatus.ts new file mode 100644 index 000000000..8b7305a20 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatBornStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatBornStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-bornStatus (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatBornStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-bornStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatBornStatusProfile { + return new PatBornStatusProfile(resource) + } + + static createResource (args: PatBornStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-bornStatus", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: PatBornStatusProfileParams) : PatBornStatusProfile { + return PatBornStatusProfile.from(PatBornStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatBornStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-bornStatus", "PatBornStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatContactPriority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatContactPriority.ts new file mode 100644 index 000000000..9966da349 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatContactPriority.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatContactPriorityProfileParams = { + valuePositiveInt: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-contactPriority (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatContactPriorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-contactPriority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatContactPriorityProfile { + return new PatContactPriorityProfile(resource) + } + + static createResource (args: PatContactPriorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-contactPriority", + valuePositiveInt: args.valuePositiveInt, + } as unknown as Extension + return resource + } + + static create (args: PatContactPriorityProfileParams) : PatContactPriorityProfile { + return PatContactPriorityProfile.from(PatContactPriorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePositiveInt () : number | undefined { + return this.resource.valuePositiveInt as number | undefined + } + + setValuePositiveInt (value: number) : this { + Object.assign(this.resource, { valuePositiveInt: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatContactPriority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-contactPriority", "PatContactPriority"); if (e) errors.push(e) } + if (!(r["valuePositiveInt"] !== undefined)) { + errors.push("value: at least one of valuePositiveInt is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatFetalStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatFetalStatus.ts new file mode 100644 index 000000000..7957288df --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatFetalStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatFetalStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-fetalStatus (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatFetalStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-fetalStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatFetalStatusProfile { + return new PatFetalStatusProfile(resource) + } + + static createResource (args: PatFetalStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-fetalStatus", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: PatFetalStatusProfileParams) : PatFetalStatusProfile { + return PatFetalStatusProfile.from(PatFetalStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatFetalStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-fetalStatus", "PatFetalStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatMultipleBirthTotal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatMultipleBirthTotal.ts new file mode 100644 index 000000000..c37c0d3a0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatMultipleBirthTotal.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatMultipleBirthTotalProfileParams = { + valuePositiveInt: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatMultipleBirthTotalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatMultipleBirthTotalProfile { + return new PatMultipleBirthTotalProfile(resource) + } + + static createResource (args: PatMultipleBirthTotalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal", + valuePositiveInt: args.valuePositiveInt, + } as unknown as Extension + return resource + } + + static create (args: PatMultipleBirthTotalProfileParams) : PatMultipleBirthTotalProfile { + return PatMultipleBirthTotalProfile.from(PatMultipleBirthTotalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePositiveInt () : number | undefined { + return this.resource.valuePositiveInt as number | undefined + } + + setValuePositiveInt (value: number) : this { + Object.assign(this.resource, { valuePositiveInt: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatMultipleBirthTotal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal", "PatMultipleBirthTotal"); if (e) errors.push(e) } + if (!(r["valuePositiveInt"] !== undefined)) { + errors.push("value: at least one of valuePositiveInt is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatNoFixedAddress.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatNoFixedAddress.ts new file mode 100644 index 000000000..4946c5c38 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatNoFixedAddress.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatNoFixedAddressProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/no-fixed-address (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatNoFixedAddressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/no-fixed-address" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatNoFixedAddressProfile { + return new PatNoFixedAddressProfile(resource) + } + + static createResource (args: PatNoFixedAddressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/no-fixed-address", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: PatNoFixedAddressProfileParams) : PatNoFixedAddressProfile { + return PatNoFixedAddressProfile.from(PatNoFixedAddressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatNoFixedAddress"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/no-fixed-address", "PatNoFixedAddress"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatSexParameterForClinicalUse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatSexParameterForClinicalUse.ts new file mode 100644 index 000000000..18c217ec1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatSexParameterForClinicalUse.ts @@ -0,0 +1,137 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatSexParameterForClinicalUseProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatSexParameterForClinicalUseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatSexParameterForClinicalUseProfile { + return new PatSexParameterForClinicalUseProfile(resource) + } + + static createResource (args: PatSexParameterForClinicalUseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PatSexParameterForClinicalUseProfileParams) : PatSexParameterForClinicalUseProfile { + return PatSexParameterForClinicalUseProfile.from(PatSexParameterForClinicalUseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public setSupportingInfo (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "supportingInfo", valueCodeableConcept: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + public getSupportingInfo (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "supportingInfo") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSupportingInfoExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "supportingInfo") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "PatSexParameterForClinicalUse"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "PatSexParameterForClinicalUse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse", "PatSexParameterForClinicalUse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientKnownNonDuplicate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientKnownNonDuplicate.ts new file mode 100644 index 000000000..52caac80c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientKnownNonDuplicate.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatientKnownNonDuplicateProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatientKnownNonDuplicateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatientKnownNonDuplicateProfile { + return new PatientKnownNonDuplicateProfile(resource) + } + + static createResource (args: PatientKnownNonDuplicateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: PatientKnownNonDuplicateProfileParams) : PatientKnownNonDuplicateProfile { + return PatientKnownNonDuplicateProfile.from(PatientKnownNonDuplicateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatientKnownNonDuplicate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate", "PatientKnownNonDuplicate"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientPreferredPharmacy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientPreferredPharmacy.ts new file mode 100644 index 000000000..9d4abd2cf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientPreferredPharmacy.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatientPreferredPharmacyProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatientPreferredPharmacyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatientPreferredPharmacyProfile { + return new PatientPreferredPharmacyProfile(resource) + } + + static createResource (args: PatientPreferredPharmacyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PatientPreferredPharmacyProfileParams) : PatientPreferredPharmacyProfile { + return PatientPreferredPharmacyProfile.from(PatientPreferredPharmacyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPharmacy (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "pharmacy", valueReference: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public getPharmacy (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "pharmacy") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getPharmacyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "pharmacy") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "PatientPreferredPharmacy"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "PatientPreferredPharmacy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy", "PatientPreferredPharmacy"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientUnknownIdentity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientUnknownIdentity.ts new file mode 100644 index 000000000..edd98307c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientUnknownIdentity.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatientUnknownIdentityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatientUnknownIdentityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatientUnknownIdentityProfile { + return new PatientUnknownIdentityProfile(resource) + } + + static createResource (args: PatientUnknownIdentityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PatientUnknownIdentityProfileParams) : PatientUnknownIdentityProfile { + return PatientUnknownIdentityProfile.from(PatientUnknownIdentityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatientUnknownIdentity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity", "PatientUnknownIdentity"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pattern.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pattern.ts new file mode 100644 index 000000000..44c7f7f3d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pattern.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatternProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PatternProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatternProfile { + return new PatternProfile(resource) + } + + static createResource (args: PatternProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: PatternProfileParams) : PatternProfile { + return PatternProfile.from(PatternProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Pattern"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern", "Pattern"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PeriodDuration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PeriodDuration.ts new file mode 100644 index 000000000..c317f6486 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PeriodDuration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-core/Duration"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PeriodDurationProfileParams = { + valueDuration: Duration; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-periodDuration (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PeriodDurationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-periodDuration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PeriodDurationProfile { + return new PeriodDurationProfile(resource) + } + + static createResource (args: PeriodDurationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-periodDuration", + valueDuration: args.valueDuration, + } as unknown as Extension + return resource + } + + static create (args: PeriodDurationProfileParams) : PeriodDurationProfile { + return PeriodDurationProfile.from(PeriodDurationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PeriodDuration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-periodDuration", "PeriodDuration"); if (e) errors.push(e) } + if (!(r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PreferredTerminologyServer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PreferredTerminologyServer.ts new file mode 100644 index 000000000..8e3a68719 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PreferredTerminologyServer.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PreferredTerminologyServerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PreferredTerminologyServerProfile { + return new PreferredTerminologyServerProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer", + } as unknown as Extension + return resource + } + + static create () : PreferredTerminologyServerProfile { + return PreferredTerminologyServerProfile.from(PreferredTerminologyServerProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PreferredTerminologyServer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer", "PreferredTerminologyServer"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pronouns.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pronouns.ts new file mode 100644 index 000000000..fdb6deb10 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pronouns.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PronounsProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/individual-pronouns (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PronounsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/individual-pronouns" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PronounsProfile { + return new PronounsProfile(resource) + } + + static createResource (args: PronounsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/individual-pronouns", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PronounsProfileParams) : PronounsProfile { + return PronounsProfile.from(PronounsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Pronouns"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Pronouns"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/individual-pronouns", "Pronouns"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationDate.ts new file mode 100644 index 000000000..4c8a701d5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublicationDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-publicationDate (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PublicationDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-publicationDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PublicationDateProfile { + return new PublicationDateProfile(resource) + } + + static createResource (args: PublicationDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-publicationDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: PublicationDateProfileParams) : PublicationDateProfile { + return PublicationDateProfile.from(PublicationDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublicationDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-publicationDate", "PublicationDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationStatus.ts new file mode 100644 index 000000000..4c84e0b2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PublicationStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class PublicationStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PublicationStatusProfile { + return new PublicationStatusProfile(resource) + } + + static createResource (args: PublicationStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: PublicationStatusProfileParams) : PublicationStatusProfile { + return PublicationStatusProfile.from(PublicationStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublicationStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus", "PublicationStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QDefinitionBased.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QDefinitionBased.ts new file mode 100644 index 000000000..4af09771e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QDefinitionBased.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QDefinitionBasedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class QDefinitionBasedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QDefinitionBasedProfile { + return new QDefinitionBasedProfile(resource) + } + + static createResource (args: QDefinitionBasedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: QDefinitionBasedProfileParams) : QDefinitionBasedProfile { + return QDefinitionBasedProfile.from(QDefinitionBasedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QDefinitionBased"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased", "QDefinitionBased"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QOptionRestriction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QOptionRestriction.ts new file mode 100644 index 000000000..7ed414564 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QOptionRestriction.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QOptionRestrictionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class QOptionRestrictionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QOptionRestrictionProfile { + return new QOptionRestrictionProfile(resource) + } + + static createResource (args: QOptionRestrictionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: QOptionRestrictionProfileParams) : QOptionRestrictionProfile { + return QOptionRestrictionProfile.from(QOptionRestrictionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setOption (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "option", valueInteger: value } as Extension) + return this + } + + public setExpression (value: Expression): this { + const list = (this.resource.extension ??= []) + list.push({ url: "requirements", valueExpression: value } as Extension) + return this + } + + public getOption (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "option") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getOptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "option") + return ext + } + + public getExpression (): Expression | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return (ext as Record | undefined)?.valueExpression as Expression | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "QOptionRestriction"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "QOptionRestriction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction", "QOptionRestriction"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QRAttester.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QRAttester.ts new file mode 100644 index 000000000..a825d2a91 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QRAttester.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRAttesterProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class QRAttesterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRAttesterProfile { + return new QRAttesterProfile(resource) + } + + static createResource (args: QRAttesterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: QRAttesterProfileParams) : QRAttesterProfile { + return QRAttesterProfile.from(QRAttesterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "mode", valueCode: value } as Extension) + return this + } + + public setTime (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "time", valueDateTime: value } as Extension) + return this + } + + public setParty (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "party", valueReference: value } as Extension) + return this + } + + public getMode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "mode") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getModeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "mode") + return ext + } + + public getTime (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "time") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getTimeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "time") + return ext + } + + public getParty (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "party") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getPartyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "party") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "QRAttester"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "QRAttester"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester", "QRAttester"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuantityTranslation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuantityTranslation.ts new file mode 100644 index 000000000..00043e39b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuantityTranslation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QuantityTranslationProfileParams = { + valueQuantity: Quantity; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/extension-quantity-translation (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class QuantityTranslationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/extension-quantity-translation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QuantityTranslationProfile { + return new QuantityTranslationProfile(resource) + } + + static createResource (args: QuantityTranslationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/extension-quantity-translation", + valueQuantity: args.valueQuantity, + } as unknown as Extension + return resource + } + + static create (args: QuantityTranslationProfileParams) : QuantityTranslationProfile { + return QuantityTranslationProfile.from(QuantityTranslationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QuantityTranslation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/extension-quantity-translation", "QuantityTranslation"); if (e) errors.push(e) } + if (!(r["valueQuantity"] !== undefined)) { + errors.push("value: at least one of valueQuantity is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuestionnaireDerivationType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuestionnaireDerivationType.ts new file mode 100644 index 000000000..166f2251b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuestionnaireDerivationType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QuestionnaireDerivationTypeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class QuestionnaireDerivationTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QuestionnaireDerivationTypeProfile { + return new QuestionnaireDerivationTypeProfile(resource) + } + + static createResource (args: QuestionnaireDerivationTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: QuestionnaireDerivationTypeProfileParams) : QuestionnaireDerivationTypeProfile { + return QuestionnaireDerivationTypeProfile.from(QuestionnaireDerivationTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QuestionnaireDerivationType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType", "QuestionnaireDerivationType"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSSiteRecruitment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSSiteRecruitment.ts new file mode 100644 index 000000000..705df3669 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSSiteRecruitment.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class RSSiteRecruitmentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RSSiteRecruitmentProfile { + return new RSSiteRecruitmentProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment", + } as unknown as Extension + return resource + } + + static create () : RSSiteRecruitmentProfile { + return RSSiteRecruitmentProfile.from(RSSiteRecruitmentProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTargetNumber (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "targetNumber", valueUnsignedInt: value } as Extension) + return this + } + + public setActualNumber (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "actualNumber", valueUnsignedInt: value } as Extension) + return this + } + + public setEligibility (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "eligibility", valueMarkdown: value } as Extension) + return this + } + + public getTargetNumber (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetNumber") + return (ext as Record | undefined)?.valueUnsignedInt as number | undefined + } + + public getTargetNumberExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetNumber") + return ext + } + + public getActualNumber (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "actualNumber") + return (ext as Record | undefined)?.valueUnsignedInt as number | undefined + } + + public getActualNumberExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "actualNumber") + return ext + } + + public getEligibility (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "eligibility") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getEligibilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "eligibility") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RSSiteRecruitment"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment", "RSSiteRecruitment"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSStudyRegistration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSStudyRegistration.ts new file mode 100644 index 000000000..a67cd2b6a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSStudyRegistration.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RSStudyRegistrationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class RSStudyRegistrationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RSStudyRegistrationProfile { + return new RSStudyRegistrationProfile(resource) + } + + static createResource (args: RSStudyRegistrationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: RSStudyRegistrationProfileParams) : RSStudyRegistrationProfile { + return RSStudyRegistrationProfile.from(RSStudyRegistrationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setActivity (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "activity", valueCodeableConcept: value } as Extension) + return this + } + + public setActual (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "actual", valueBoolean: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public getActivity (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "activity") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getActivityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "activity") + return ext + } + + public getActual (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "actual") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getActualExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "actual") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "RSStudyRegistration"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "RSStudyRegistration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration", "RSStudyRegistration"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RecordedSexOrGender.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RecordedSexOrGender.ts new file mode 100644 index 000000000..8e154c485 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RecordedSexOrGender.ts @@ -0,0 +1,233 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RecordedSexOrGenderProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class RecordedSexOrGenderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RecordedSexOrGenderProfile { + return new RecordedSexOrGenderProfile(resource) + } + + static createResource (args: RecordedSexOrGenderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: RecordedSexOrGenderProfileParams) : RecordedSexOrGenderProfile { + return RecordedSexOrGenderProfile.from(RecordedSexOrGenderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setEffectivePeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "effectivePeriod", valuePeriod: value } as Extension) + return this + } + + public setAcquisitionDate (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "acquisitionDate", valueDateTime: value } as Extension) + return this + } + + public setSource (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "source", valueCodeableConcept: value } as Extension) + return this + } + + public setSourceDocument (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "sourceDocument", valueCodeableConcept: value } as Extension) + return this + } + + public setSourceField (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "sourceField", valueString: value } as Extension) + return this + } + + public setJurisdiction (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "jurisdiction", valueCodeableConcept: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public setGenderElementQualifier (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "genderElementQualifier", valueBoolean: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getEffectivePeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "effectivePeriod") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getEffectivePeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "effectivePeriod") + return ext + } + + public getAcquisitionDate (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "acquisitionDate") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getAcquisitionDateExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "acquisitionDate") + return ext + } + + public getSource (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "source") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "source") + return ext + } + + public getSourceDocument (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "sourceDocument") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSourceDocumentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "sourceDocument") + return ext + } + + public getSourceField (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "sourceField") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getSourceFieldExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "sourceField") + return ext + } + + public getJurisdiction (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "jurisdiction") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getJurisdictionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "jurisdiction") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + public getGenderElementQualifier (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderElementQualifier") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getGenderElementQualifierExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderElementQualifier") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "RecordedSexOrGender"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "RecordedSexOrGender"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender", "RecordedSexOrGender"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReferencesContained.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReferencesContained.ts new file mode 100644 index 000000000..734541069 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReferencesContained.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ReferencesContainedProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/referencesContained (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ReferencesContainedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/referencesContained" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReferencesContainedProfile { + return new ReferencesContainedProfile(resource) + } + + static createResource (args: ReferencesContainedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/referencesContained", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ReferencesContainedProfileParams) : ReferencesContainedProfile { + return ReferencesContainedProfile.from(ReferencesContainedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ReferencesContained"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/referencesContained", "ReferencesContained"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReleaseDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReleaseDate.ts new file mode 100644 index 000000000..739a0c04f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReleaseDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ReleaseDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-releaseDate (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ReleaseDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-releaseDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReleaseDateProfile { + return new ReleaseDateProfile(resource) + } + + static createResource (args: ReleaseDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-releaseDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ReleaseDateProfileParams) : ReleaseDateProfile { + return ReleaseDateProfile.from(ReleaseDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ReleaseDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-releaseDate", "ReleaseDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RequirementsParent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RequirementsParent.ts new file mode 100644 index 000000000..b956c9cf8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RequirementsParent.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RequirementsParentProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/requirements-parent (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class RequirementsParentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/requirements-parent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RequirementsParentProfile { + return new RequirementsParentProfile(resource) + } + + static createResource (args: RequirementsParentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/requirements-parent", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: RequirementsParentProfileParams) : RequirementsParentProfile { + return RequirementsParentProfile.from(RequirementsParentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RequirementsParent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/requirements-parent", "RequirementsParent"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResolveAsVersionSpecific.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResolveAsVersionSpecific.ts new file mode 100644 index 000000000..605723bd2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResolveAsVersionSpecific.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResolveAsVersionSpecificProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ResolveAsVersionSpecificProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResolveAsVersionSpecificProfile { + return new ResolveAsVersionSpecificProfile(resource) + } + + static createResource (args: ResolveAsVersionSpecificProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: ResolveAsVersionSpecificProfileParams) : ResolveAsVersionSpecificProfile { + return ResolveAsVersionSpecificProfile.from(ResolveAsVersionSpecificProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResolveAsVersionSpecific"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific", "ResolveAsVersionSpecific"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceDerivationReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceDerivationReference.ts new file mode 100644 index 000000000..8e2b7662c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceDerivationReference.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/derivation-reference (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ResourceDerivationReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/derivation-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceDerivationReferenceProfile { + return new ResourceDerivationReferenceProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + } as unknown as Extension + return resource + } + + static create () : ResourceDerivationReferenceProfile { + return ResourceDerivationReferenceProfile.from(ResourceDerivationReferenceProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueReference: value } as Extension) + return this + } + + public setPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "path", valueString: value } as Extension) + return this + } + + public setOffset (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "offset", valueInteger: value } as Extension) + return this + } + + public setLength (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "length", valueInteger: value } as Extension) + return this + } + + public getReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + public getPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return ext + } + + public getOffset (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getOffsetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return ext + } + + public getLength (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "length") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getLengthExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "length") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceDerivationReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/derivation-reference", "ResourceDerivationReference"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceDescription.ts new file mode 100644 index 000000000..51b2c383f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceInstanceDescriptionProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-instance-description (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ResourceInstanceDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-instance-description" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceInstanceDescriptionProfile { + return new ResourceInstanceDescriptionProfile(resource) + } + + static createResource (args: ResourceInstanceDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-instance-description", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ResourceInstanceDescriptionProfileParams) : ResourceInstanceDescriptionProfile { + return ResourceInstanceDescriptionProfile.from(ResourceInstanceDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceInstanceDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-instance-description", "ResourceInstanceDescription"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceName.ts new file mode 100644 index 000000000..d55d99b2a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceInstanceNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-instance-name (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ResourceInstanceNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-instance-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceInstanceNameProfile { + return new ResourceInstanceNameProfile(resource) + } + + static createResource (args: ResourceInstanceNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-instance-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ResourceInstanceNameProfileParams) : ResourceInstanceNameProfile { + return ResourceInstanceNameProfile.from(ResourceInstanceNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceInstanceName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-instance-name", "ResourceInstanceName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceSatisfiesRequirement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceSatisfiesRequirement.ts new file mode 100644 index 000000000..10f93fc69 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceSatisfiesRequirement.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceSatisfiesRequirementProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/satisfies-requirement (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ResourceSatisfiesRequirementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/satisfies-requirement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceSatisfiesRequirementProfile { + return new ResourceSatisfiesRequirementProfile(resource) + } + + static createResource (args: ResourceSatisfiesRequirementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/satisfies-requirement", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ResourceSatisfiesRequirementProfileParams) : ResourceSatisfiesRequirementProfile { + return ResourceSatisfiesRequirementProfile.from(ResourceSatisfiesRequirementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setReference (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueCanonical: value } as Extension) + return this + } + + public setKey (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "key", valueId: value } as Extension) + return this + } + + public getReference (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + public getKey (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getKeyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "ResourceSatisfiesRequirement"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "ResourceSatisfiesRequirement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/satisfies-requirement", "ResourceSatisfiesRequirement"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceType.ts new file mode 100644 index 000000000..421673e6d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-resourceType (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ResourceTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-resourceType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceTypeProfile { + return new ResourceTypeProfile(resource) + } + + static createResource (args: ResourceTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-resourceType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: ResourceTypeProfileParams) : ResourceTypeProfile { + return ResourceTypeProfile.from(ResourceTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-resourceType", "ResourceType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDExtensionMeaning.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDExtensionMeaning.ts new file mode 100644 index 000000000..539ce1f22 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDExtensionMeaning.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDExtensionMeaningProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SDExtensionMeaningProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDExtensionMeaningProfile { + return new SDExtensionMeaningProfile(resource) + } + + static createResource (args: SDExtensionMeaningProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SDExtensionMeaningProfileParams) : SDExtensionMeaningProfile { + return SDExtensionMeaningProfile.from(SDExtensionMeaningProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDExtensionMeaning"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning", "SDExtensionMeaning"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDImposeProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDImposeProfile.ts new file mode 100644 index 000000000..b0ed3ea35 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDImposeProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDImposeProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SDImposeProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDImposeProfileProfile { + return new SDImposeProfileProfile(resource) + } + + static createResource (args: SDImposeProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: SDImposeProfileProfileParams) : SDImposeProfileProfile { + return SDImposeProfileProfile.from(SDImposeProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDImposeProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile", "SDImposeProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInheritanceControl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInheritanceControl.ts new file mode 100644 index 000000000..0679a3e84 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInheritanceControl.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDInheritanceControlProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SDInheritanceControlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDInheritanceControlProfile { + return new SDInheritanceControlProfile(resource) + } + + static createResource (args: SDInheritanceControlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDInheritanceControlProfileParams) : SDInheritanceControlProfile { + return SDInheritanceControlProfile.from(SDInheritanceControlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDInheritanceControl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control", "SDInheritanceControl"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInterface.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInterface.ts new file mode 100644 index 000000000..f484ba677 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInterface.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDInterfaceProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-interface (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SDInterfaceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-interface" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDInterfaceProfile { + return new SDInterfaceProfile(resource) + } + + static createResource (args: SDInterfaceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-interface", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: SDInterfaceProfileParams) : SDInterfaceProfile { + return SDInterfaceProfile.from(SDInterfaceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDInterface"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-interface", "SDInterface"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStandardsStatusReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStandardsStatusReason.ts new file mode 100644 index 000000000..326887bb0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStandardsStatusReason.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDStandardsStatusReasonProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SDStandardsStatusReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDStandardsStatusReasonProfile { + return new SDStandardsStatusReasonProfile(resource) + } + + static createResource (args: SDStandardsStatusReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: SDStandardsStatusReasonProfileParams) : SDStandardsStatusReasonProfile { + return SDStandardsStatusReasonProfile.from(SDStandardsStatusReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDStandardsStatusReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason", "SDStandardsStatusReason"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStatusDerivation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStatusDerivation.ts new file mode 100644 index 000000000..2327f998a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStatusDerivation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDStatusDerivationProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SDStatusDerivationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDStatusDerivationProfile { + return new SDStatusDerivationProfile(resource) + } + + static createResource (args: SDStatusDerivationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: SDStatusDerivationProfileParams) : SDStatusDerivationProfile { + return SDStatusDerivationProfile.from(SDStatusDerivationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDStatusDerivation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "SDStatusDerivation"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDTypeCharacteristics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDTypeCharacteristics.ts new file mode 100644 index 000000000..ce8290569 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDTypeCharacteristics.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDTypeCharacteristicsProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SDTypeCharacteristicsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDTypeCharacteristicsProfile { + return new SDTypeCharacteristicsProfile(resource) + } + + static createResource (args: SDTypeCharacteristicsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDTypeCharacteristicsProfileParams) : SDTypeCharacteristicsProfile { + return SDTypeCharacteristicsProfile.from(SDTypeCharacteristicsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDTypeCharacteristics"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", "SDTypeCharacteristics"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDcompliesWithProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDcompliesWithProfile.ts new file mode 100644 index 000000000..68525947a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDcompliesWithProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDcompliesWithProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SDcompliesWithProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDcompliesWithProfileProfile { + return new SDcompliesWithProfileProfile(resource) + } + + static createResource (args: SDcompliesWithProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: SDcompliesWithProfileProfileParams) : SDcompliesWithProfileProfile { + return SDcompliesWithProfileProfile.from(SDcompliesWithProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDcompliesWithProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile", "SDcompliesWithProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SROrderCallbackPhoneNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SROrderCallbackPhoneNumber.ts new file mode 100644 index 000000000..92bb7d091 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SROrderCallbackPhoneNumber.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactPoint } from "../../hl7-fhir-r4-core/ContactPoint"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SROrderCallbackPhoneNumberProfileParams = { + valueContactPoint: ContactPoint; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SROrderCallbackPhoneNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SROrderCallbackPhoneNumberProfile { + return new SROrderCallbackPhoneNumberProfile(resource) + } + + static createResource (args: SROrderCallbackPhoneNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number", + valueContactPoint: args.valueContactPoint, + } as unknown as Extension + return resource + } + + static create (args: SROrderCallbackPhoneNumberProfileParams) : SROrderCallbackPhoneNumberProfile { + return SROrderCallbackPhoneNumberProfile.from(SROrderCallbackPhoneNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactPoint () : ContactPoint | undefined { + return this.resource.valueContactPoint as ContactPoint | undefined + } + + setValueContactPoint (value: ContactPoint) : this { + Object.assign(this.resource, { valueContactPoint: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SROrderCallbackPhoneNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number", "SROrderCallbackPhoneNumber"); if (e) errors.push(e) } + if (!(r["valueContactPoint"] !== undefined)) { + errors.push("value: at least one of valueContactPoint is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Scope.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Scope.ts new file mode 100644 index 000000000..0ebc6319f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Scope.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-scope (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ScopeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-scope" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ScopeProfile { + return new ScopeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-scope", + } as unknown as Extension + return resource + } + + static create () : ScopeProfile { + return ScopeProfile.from(ScopeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Scope"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-scope", "Scope"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SelectByMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SelectByMap.ts new file mode 100644 index 000000000..7025ab42b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SelectByMap.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SelectByMapProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-select-by-map (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SelectByMapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-select-by-map" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SelectByMapProfile { + return new SelectByMapProfile(resource) + } + + static createResource (args: SelectByMapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-select-by-map", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: SelectByMapProfileParams) : SelectByMapProfile { + return SelectByMapProfile.from(SelectByMapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMap (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "map", valueCanonical: value } as Extension) + return this + } + + public setFilter (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "filter", valueCode: value } as Extension) + return this + } + + public getMap (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "map") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getMapExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "map") + return ext + } + + public getFilter (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "filter") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getFilterExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "filter") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "SelectByMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "SelectByMap"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-select-by-map", "SelectByMap"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShallComplyWith.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShallComplyWith.ts new file mode 100644 index 000000000..a68c479e5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShallComplyWith.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ShallComplyWithProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ShallComplyWithProfile { + return new ShallComplyWithProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith", + } as unknown as Extension + return resource + } + + static create () : ShallComplyWithProfile { + return ShallComplyWithProfile.from(ShallComplyWithProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShallComplyWith"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith", "ShallComplyWith"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueReference"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueReference, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShouldTraceDependency.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShouldTraceDependency.ts new file mode 100644 index 000000000..a1362899b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShouldTraceDependency.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ShouldTraceDependencyProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-shouldTraceDependency (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ShouldTraceDependencyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-shouldTraceDependency" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ShouldTraceDependencyProfile { + return new ShouldTraceDependencyProfile(resource) + } + + static createResource (args: ShouldTraceDependencyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-shouldTraceDependency", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: ShouldTraceDependencyProfileParams) : ShouldTraceDependencyProfile { + return ShouldTraceDependencyProfile.from(ShouldTraceDependencyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShouldTraceDependency"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-shouldTraceDependency", "ShouldTraceDependency"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SpecimenRejectReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SpecimenRejectReason.ts new file mode 100644 index 000000000..7669a9494 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SpecimenRejectReason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SpecimenRejectReasonProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-reject-reason (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SpecimenRejectReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-reject-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SpecimenRejectReasonProfile { + return new SpecimenRejectReasonProfile(resource) + } + + static createResource (args: SpecimenRejectReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-reject-reason", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SpecimenRejectReasonProfileParams) : SpecimenRejectReasonProfile { + return SpecimenRejectReasonProfile.from(SpecimenRejectReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SpecimenRejectReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-reject-reason", "SpecimenRejectReason"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_StatisticModelIncludeIf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_StatisticModelIncludeIf.ts new file mode 100644 index 000000000..30df133ff --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_StatisticModelIncludeIf.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/statistic-model-include-if (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class StatisticModelIncludeIfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/statistic-model-include-if" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : StatisticModelIncludeIfProfile { + return new StatisticModelIncludeIfProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/statistic-model-include-if", + } as unknown as Extension + return resource + } + + static create () : StatisticModelIncludeIfProfile { + return StatisticModelIncludeIfProfile.from(StatisticModelIncludeIfProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setAttribute (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "attribute", valueCodeableConcept: value } as Extension) + return this + } + + public setValue (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueBoolean: value } as Extension) + return this + } + + public getAttribute (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "attribute") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getAttributeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "attribute") + return ext + } + + public getValue (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "StatisticModelIncludeIf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/statistic-model-include-if", "StatisticModelIncludeIf"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SubscriptionBestEffort.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SubscriptionBestEffort.ts new file mode 100644 index 000000000..6f4a59612 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SubscriptionBestEffort.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SubscriptionBestEffortProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/subscription-best-effort (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SubscriptionBestEffortProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/subscription-best-effort" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SubscriptionBestEffortProfile { + return new SubscriptionBestEffortProfile(resource) + } + + static createResource (args: SubscriptionBestEffortProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/subscription-best-effort", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: SubscriptionBestEffortProfileParams) : SubscriptionBestEffortProfile { + return SubscriptionBestEffortProfile.from(SubscriptionBestEffortProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SubscriptionBestEffort"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/subscription-best-effort", "SubscriptionBestEffort"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SupportedCqlVersion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SupportedCqlVersion.ts new file mode 100644 index 000000000..f422680c3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SupportedCqlVersion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SupportedCqlVersionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SupportedCqlVersionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedCqlVersionProfile { + return new SupportedCqlVersionProfile(resource) + } + + static createResource (args: SupportedCqlVersionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: SupportedCqlVersionProfileParams) : SupportedCqlVersionProfile { + return SupportedCqlVersionProfile.from(SupportedCqlVersionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedCqlVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion", "SupportedCqlVersion"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Suppress.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Suppress.ts new file mode 100644 index 000000000..84f914272 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Suppress.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SuppressProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class SuppressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SuppressProfile { + return new SuppressProfile(resource) + } + + static createResource (args: SuppressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: SuppressProfileParams) : SuppressProfile { + return SuppressProfile.from(SuppressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Suppress"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress", "Suppress"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetConstraint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetConstraint.ts new file mode 100644 index 000000000..792408455 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetConstraint.ts @@ -0,0 +1,168 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TargetConstraintProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/targetConstraint (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TargetConstraintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/targetConstraint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TargetConstraintProfile { + return new TargetConstraintProfile(resource) + } + + static createResource (args: TargetConstraintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/targetConstraint", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: TargetConstraintProfileParams) : TargetConstraintProfile { + return TargetConstraintProfile.from(TargetConstraintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setKey (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "key", valueId: value } as Extension) + return this + } + + public setRequirements (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "requirements", valueMarkdown: value } as Extension) + return this + } + + public setSeverity (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "severity", valueCode: value } as Extension) + return this + } + + public setExpression (value: Expression): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expression", valueExpression: value } as Extension) + return this + } + + public setHuman (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "human", valueString: value } as Extension) + return this + } + + public setLocation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "location", valueString: value } as Extension) + return this + } + + public getKey (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getKeyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return ext + } + + public getRequirements (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getRequirementsExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return ext + } + + public getSeverity (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getSeverityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return ext + } + + public getExpression (): Expression | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return (ext as Record | undefined)?.valueExpression as Expression | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return ext + } + + public getHuman (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "human") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getHumanExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "human") + return ext + } + + public getLocation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLocationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "TargetConstraint"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "TargetConstraint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/targetConstraint", "TargetConstraint"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetElement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetElement.ts new file mode 100644 index 000000000..f77f034fa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetElement.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TargetElementProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/targetElement (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TargetElementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/targetElement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TargetElementProfile { + return new TargetElementProfile(resource) + } + + static createResource (args: TargetElementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/targetElement", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: TargetElementProfileParams) : TargetElementProfile { + return TargetElementProfile.from(TargetElementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TargetElement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/targetElement", "TargetElement"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetInvariant.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetInvariant.ts new file mode 100644 index 000000000..db73ddc84 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetInvariant.ts @@ -0,0 +1,136 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TargetInvariantProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TargetInvariantProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TargetInvariantProfile { + return new TargetInvariantProfile(resource) + } + + static createResource (args: TargetInvariantProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: TargetInvariantProfileParams) : TargetInvariantProfile { + return TargetInvariantProfile.from(TargetInvariantProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setKey (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "key", valueId: value } as Extension) + return this + } + + public setRequirements (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "requirements", valueString: value } as Extension) + return this + } + + public setSeverity (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "severity", valueCode: value } as Extension) + return this + } + + public setExpression (value: Expression): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expression", valueExpression: value } as Extension) + return this + } + + public getKey (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getKeyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return ext + } + + public getRequirements (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRequirementsExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return ext + } + + public getSeverity (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getSeverityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return ext + } + + public getExpression (): Expression | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return (ext as Record | undefined)?.valueExpression as Expression | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "TargetInvariant"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "TargetInvariant"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant", "TargetInvariant"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetPath.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetPath.ts new file mode 100644 index 000000000..f9204826a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetPath.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TargetPathProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/targetPath (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TargetPathProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/targetPath" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TargetPathProfile { + return new TargetPathProfile(resource) + } + + static createResource (args: TargetPathProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/targetPath", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: TargetPathProfileParams) : TargetPathProfile { + return TargetPathProfile.from(TargetPathProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TargetPath"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/targetPath", "TargetPath"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TestArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TestArtifact.ts new file mode 100644 index 000000000..632d130f0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TestArtifact.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-testArtifact (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TestArtifactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-testArtifact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TestArtifactProfile { + return new TestArtifactProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-testArtifact", + } as unknown as Extension + return resource + } + + static create () : TestArtifactProfile { + return TestArtifactProfile.from(TestArtifactProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TestArtifact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-testArtifact", "TestArtifact"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TimezoneCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TimezoneCode.ts new file mode 100644 index 000000000..379361e3f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TimezoneCode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TimezoneCodeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timezone (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TimezoneCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timezone" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TimezoneCodeProfile { + return new TimezoneCodeProfile(resource) + } + + static createResource (args: TimezoneCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timezone", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: TimezoneCodeProfileParams) : TimezoneCodeProfile { + return TimezoneCodeProfile.from(TimezoneCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TimezoneCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timezone", "TimezoneCode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TriggeredBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TriggeredBy.ts new file mode 100644 index 000000000..52cc1879c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TriggeredBy.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TriggeredByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TriggeredByProfile { + return new TriggeredByProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy", + } as unknown as Extension + return resource + } + + static create () : TriggeredByProfile { + return TriggeredByProfile.from(TriggeredByProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TriggeredBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy", "TriggeredBy"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueReference"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueReference, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TxResourceIdentifierMetadata.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TxResourceIdentifierMetadata.ts new file mode 100644 index 000000000..c5c99c7c2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TxResourceIdentifierMetadata.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TxResourceIdentifierMetadataProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TxResourceIdentifierMetadataProfile { + return new TxResourceIdentifierMetadataProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata", + } as unknown as Extension + return resource + } + + static create () : TxResourceIdentifierMetadataProfile { + return TxResourceIdentifierMetadataProfile.from(TxResourceIdentifierMetadataProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPreferred (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "preferred", valueBoolean: value } as Extension) + return this + } + + public setAuthoritative (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "authoritative", valueBoolean: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public getPreferred (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getPreferredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return ext + } + + public getAuthoritative (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "authoritative") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getAuthoritativeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "authoritative") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TxResourceIdentifierMetadata"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata", "TxResourceIdentifierMetadata"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TypeMustSupport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TypeMustSupport.ts new file mode 100644 index 000000000..8af53d2ba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TypeMustSupport.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TypeMustSupportProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class TypeMustSupportProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TypeMustSupportProfile { + return new TypeMustSupportProfile(resource) + } + + static createResource (args: TypeMustSupportProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: TypeMustSupportProfileParams) : TypeMustSupportProfile { + return TypeMustSupportProfile.from(TypeMustSupportProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TypeMustSupport"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", "TypeMustSupport"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainDate.ts new file mode 100644 index 000000000..e19ee04f1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainDate.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UncertainDateProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-uncertainDate (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class UncertainDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-uncertainDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UncertainDateProfile { + return new UncertainDateProfile(resource) + } + + static createResource (args: UncertainDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-uncertainDate", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: UncertainDateProfileParams) : UncertainDateProfile { + return UncertainDateProfile.from(UncertainDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "UncertainDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-uncertainDate", "UncertainDate"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainPeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainPeriod.ts new file mode 100644 index 000000000..0ed1d8ca7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainPeriod.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UncertainPeriodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/uncertainPeriod (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class UncertainPeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/uncertainPeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UncertainPeriodProfile { + return new UncertainPeriodProfile(resource) + } + + static createResource (args: UncertainPeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/uncertainPeriod", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: UncertainPeriodProfileParams) : UncertainPeriodProfile { + return UncertainPeriodProfile.from(UncertainPeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "UncertainPeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/uncertainPeriod", "UncertainPeriod"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreatedBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreatedBy.ts new file mode 100644 index 000000000..6932b471a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreatedBy.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSComposeCreatedByProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class VSComposeCreatedByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSComposeCreatedByProfile { + return new VSComposeCreatedByProfile(resource) + } + + static createResource (args: VSComposeCreatedByProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSComposeCreatedByProfileParams) : VSComposeCreatedByProfile { + return VSComposeCreatedByProfile.from(VSComposeCreatedByProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSComposeCreatedBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy", "VSComposeCreatedBy"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreationDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreationDate.ts new file mode 100644 index 000000000..fb3ff3efb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreationDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSComposeCreationDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class VSComposeCreationDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSComposeCreationDateProfile { + return new VSComposeCreationDateProfile(resource) + } + + static createResource (args: VSComposeCreationDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: VSComposeCreationDateProfileParams) : VSComposeCreationDateProfile { + return VSComposeCreationDateProfile.from(VSComposeCreationDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSComposeCreationDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate", "VSComposeCreationDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSIncludeVSTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSIncludeVSTitle.ts new file mode 100644 index 000000000..7efd4c8ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSIncludeVSTitle.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSIncludeVSTitleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class VSIncludeVSTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSIncludeVSTitleProfile { + return new VSIncludeVSTitleProfile(resource) + } + + static createResource (args: VSIncludeVSTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSIncludeVSTitleProfileParams) : VSIncludeVSTitleProfile { + return VSIncludeVSTitleProfile.from(VSIncludeVSTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSIncludeVSTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle", "VSIncludeVSTitle"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSOtherTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSOtherTitle.ts new file mode 100644 index 000000000..c56d7e4e9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSOtherTitle.ts @@ -0,0 +1,119 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSOtherTitleProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-otherTitle (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class VSOtherTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSOtherTitleProfile { + return new VSOtherTitleProfile(resource) + } + + static createResource (args: VSOtherTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: VSOtherTitleProfileParams) : VSOtherTitleProfile { + return VSOtherTitleProfile.from(VSOtherTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTitle (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "title", valueString: value } as Extension) + return this + } + + public setPreferred (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "preferred", valueBoolean: value } as Extension) + return this + } + + public setLanguage (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "language", valueCode: value } as Extension) + return this + } + + public getTitle (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "title") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTitleExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "title") + return ext + } + + public getPreferred (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getPreferredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return ext + } + + public getLanguage (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "language") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getLanguageExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "language") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "VSOtherTitle"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "VSOtherTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle", "VSOtherTitle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ValueFilter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ValueFilter.ts new file mode 100644 index 000000000..ba69e5196 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ValueFilter.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-valueFilter (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class ValueFilterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ValueFilterProfile { + return new ValueFilterProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter", + } as unknown as Extension + return resource + } + + static create () : ValueFilterProfile { + return ValueFilterProfile.from(ValueFilterProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "path", valueString: value } as Extension) + return this + } + + public setSearchParam (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "searchParam", valueString: value } as Extension) + return this + } + + public setComparator (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comparator", valueCode: value } as Extension) + return this + } + + public setValue (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueBoolean: value } as Extension) + return this + } + + public getPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return ext + } + + public getSearchParam (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "searchParam") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getSearchParamExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "searchParam") + return ext + } + + public getComparator (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comparator") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getComparatorExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comparator") + return ext + } + + public getValue (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ValueFilter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter", "ValueFilter"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificUse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificUse.ts new file mode 100644 index 000000000..02db64ea5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificUse.ts @@ -0,0 +1,88 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/version-specific-use (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class VersionSpecificUseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/version-specific-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VersionSpecificUseProfile { + return new VersionSpecificUseProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/version-specific-use", + } as unknown as Extension + return resource + } + + static create () : VersionSpecificUseProfile { + return VersionSpecificUseProfile.from(VersionSpecificUseProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setStartFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "startFhirVersion", valueCode: value } as Extension) + return this + } + + public setEndFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "endFhirVersion", valueCode: value } as Extension) + return this + } + + public getStartFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "startFhirVersion") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStartFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "startFhirVersion") + return ext + } + + public getEndFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "endFhirVersion") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getEndFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "endFhirVersion") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VersionSpecificUse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/version-specific-use", "VersionSpecificUse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificValue.ts new file mode 100644 index 000000000..aed9ebe6c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificValue.ts @@ -0,0 +1,119 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VersionSpecificValueProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/version-specific-value (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class VersionSpecificValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/version-specific-value" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VersionSpecificValueProfile { + return new VersionSpecificValueProfile(resource) + } + + static createResource (args: VersionSpecificValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/version-specific-value", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: VersionSpecificValueProfileParams) : VersionSpecificValueProfile { + return VersionSpecificValueProfile.from(VersionSpecificValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueString: value } as Extension) + return this + } + + public setStartFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "startFhirVersion", valueCode: value } as Extension) + return this + } + + public setEndFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "endFhirVersion", valueCode: value } as Extension) + return this + } + + public getValue (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getStartFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "startFhirVersion") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStartFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "startFhirVersion") + return ext + } + + public getEndFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "endFhirVersion") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getEndFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "endFhirVersion") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "VersionSpecificValue"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "VersionSpecificValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/version-specific-value", "VersionSpecificValue"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_WorkflowStatusDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_WorkflowStatusDescription.ts new file mode 100644 index 000000000..29d647e5f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_WorkflowStatusDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type WorkflowStatusDescriptionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription (pkg: hl7.fhir.uv.extensions.r4#5.2.0) +export class WorkflowStatusDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : WorkflowStatusDescriptionProfile { + return new WorkflowStatusDescriptionProfile(resource) + } + + static createResource (args: WorkflowStatusDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: WorkflowStatusDescriptionProfileParams) : WorkflowStatusDescriptionProfile { + return WorkflowStatusDescriptionProfile.from(WorkflowStatusDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "WorkflowStatusDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription", "WorkflowStatusDescription"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/index.ts new file mode 100644 index 000000000..d6105bc10 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/index.ts @@ -0,0 +1,237 @@ +export { AEAlternativeUserIDProfile } from "./Extension_AEAlternativeUserID"; +export { AELifecycleProfile } from "./Extension_AELifecycle"; +export { AEOnBehalfOfProfile } from "./Extension_AEOnBehalfOf"; +export { AbatementProfile } from "./Extension_Abatement"; +export { AdditionalIdentifierProfile } from "./Extension_AdditionalIdentifier"; +export { AdheresToProfile } from "./Extension_AdheresTo"; +export { AlternateCanonicalProfile } from "./Extension_AlternateCanonical"; +export { AlternateCodesProfile } from "./Extension_AlternateCodes"; +export { AlternateReferenceProfile } from "./Extension_AlternateReference"; +export { AlternativeExpressionProfile } from "./Extension_AlternativeExpression"; +export { AnnotationTypeProfile } from "./Extension_AnnotationType"; +export { ArtifactApprovalDateProfile } from "./Extension_ArtifactApprovalDate"; +export { ArtifactAssessmentContentProfile } from "./Extension_ArtifactAssessmentContent"; +export { ArtifactAssessmentDispositionProfile } from "./Extension_ArtifactAssessmentDisposition"; +export { ArtifactAssessmentWorkflowStatusProfile } from "./Extension_ArtifactAssessmentWorkflowStatus"; +export { ArtifactAuthorProfile } from "./Extension_ArtifactAuthor"; +export { ArtifactCanonicalReferenceProfile } from "./Extension_ArtifactCanonicalReference"; +export { ArtifactCiteAsProfile } from "./Extension_ArtifactCiteAs"; +export { ArtifactCommentProfile } from "./Extension_ArtifactComment"; +export { ArtifactContactProfile } from "./Extension_ArtifactContact"; +export { ArtifactCopyrightLabelProfile } from "./Extension_ArtifactCopyrightLabel"; +export { ArtifactCopyrightProfile } from "./Extension_ArtifactCopyright"; +export { ArtifactDateProfile } from "./Extension_ArtifactDate"; +export { ArtifactDescriptionProfile } from "./Extension_ArtifactDescription"; +export { ArtifactEditorProfile } from "./Extension_ArtifactEditor"; +export { ArtifactEffectivePeriodProfile } from "./Extension_ArtifactEffectivePeriod"; +export { ArtifactEndorserProfile } from "./Extension_ArtifactEndorser"; +export { ArtifactExperimentalProfile } from "./Extension_ArtifactExperimental"; +export { ArtifactIdentifierProfile } from "./Extension_ArtifactIdentifier"; +export { ArtifactIsOwnedProfile } from "./Extension_ArtifactIsOwned"; +export { ArtifactJurisdictionProfile } from "./Extension_ArtifactJurisdiction"; +export { ArtifactLastReviewDateProfile } from "./Extension_ArtifactLastReviewDate"; +export { ArtifactNameProfile } from "./Extension_ArtifactName"; +export { ArtifactPublisherProfile } from "./Extension_ArtifactPublisher"; +export { ArtifactPurposeProfile } from "./Extension_ArtifactPurpose"; +export { ArtifactReferenceProfile } from "./Extension_ArtifactReference"; +export { ArtifactRelatedArtifactProfile } from "./Extension_ArtifactRelatedArtifact"; +export { ArtifactReleaseDescriptionProfile } from "./Extension_ArtifactReleaseDescription"; +export { ArtifactReleaseLabelProfile } from "./Extension_ArtifactReleaseLabel"; +export { ArtifactReviewerProfile } from "./Extension_ArtifactReviewer"; +export { ArtifactStatusProfile } from "./Extension_ArtifactStatus"; +export { ArtifactTitleProfile } from "./Extension_ArtifactTitle"; +export { ArtifactTopicProfile } from "./Extension_ArtifactTopic"; +export { ArtifactUriReferenceProfile } from "./Extension_ArtifactUriReference"; +export { ArtifactUrlProfile } from "./Extension_ArtifactUrl"; +export { ArtifactUsageProfile } from "./Extension_ArtifactUsage"; +export { ArtifactUseContextProfile } from "./Extension_ArtifactUseContext"; +export { ArtifactVersionAlgorithmProfile } from "./Extension_ArtifactVersionAlgorithm"; +export { ArtifactVersionPolicyProfile } from "./Extension_ArtifactVersionPolicy"; +export { ArtifactVersionProfile } from "./Extension_ArtifactVersion"; +export { BDPCollectionProcedureProfile } from "./Extension_BDPCollectionProcedure"; +export { BDPManipulationProfile } from "./Extension_BDPManipulation"; +export { BDPProcessingProfile } from "./Extension_BDPProcessing"; +export { BusinessEventProfile } from "./Extension_BusinessEvent"; +export { CQFCQLOptionsProfile } from "./Extension_CQFCQLOptions"; +export { CQFCertaintyProfile } from "./Extension_CQFCertainty"; +export { CQFImprovementNotationGuidanceProfile } from "./Extension_CQFImprovementNotationGuidance"; +export { CQFKnowledgeCapabilityProfile } from "./Extension_CQFKnowledgeCapability"; +export { CRPublishDateProfile } from "./Extension_CRPublishDate"; +export { CRShortDescriptionProfile } from "./Extension_CRShortDescription"; +export { CSAuthoritativeSourceProfile } from "./Extension_CSAuthoritativeSource"; +export { CSDeclaredProfileProfile } from "./Extension_CSDeclaredProfile"; +export { CSPropertiesModeProfile } from "./Extension_CSPropertiesMode"; +export { CSPropertyValueSetProfile } from "./Extension_CSPropertyValueSet"; +export { CSSearchModeProfile } from "./Extension_CSSearchMode"; +export { CSSearchParameterUseProfile } from "./Extension_CSSearchParameterUse"; +export { CSUseMarkdownProfile } from "./Extension_CSUseMarkdown"; +export { CTAliasProfile } from "./Extension_CTAlias"; +export { CharacteristicExpressionProfile } from "./Extension_CharacteristicExpression"; +export { CitationSocietyAffiliationProfile } from "./Extension_CitationSocietyAffiliation"; +export { CodeOptionsProfile } from "./Extension_CodeOptions"; +export { CodedStringProfile } from "./Extension_CodedString"; +export { CodingConformanceProfile } from "./Extension_CodingConformance"; +export { CodingPurposeProfile } from "./Extension_CodingPurpose"; +export { CompliesWithProfile } from "./Extension_CompliesWith"; +export { ConceptmapProfile } from "./Extension_Conceptmap"; +export { ConditionDiseaseCourseProfile } from "./Extension_ConditionDiseaseCourse"; +export { ConditionReviewedProfile } from "./Extension_ConditionReviewed"; +export { ConditionsProfile } from "./Extension_Conditions"; +export { ConfidentialProfile } from "./Extension_Confidential"; +export { ConsentResearchStudyContextProfile } from "./Extension_ConsentResearchStudyContext"; +export { ContactAddressProfile } from "./Extension_ContactAddress"; +export { ContactDetailReferenceProfile } from "./Extension_ContactDetailReference"; +export { ContactPointCommentProfile } from "./Extension_ContactPointComment"; +export { ContactPointPurposeProfile } from "./Extension_ContactPointPurpose"; +export { ContactReferenceProfile } from "./Extension_ContactReference"; +export { ContributionTimeProfile } from "./Extension_ContributionTime"; +export { CountQuantityProfile } from "./Extension_CountQuantity"; +export { CqlAccessModifierProfile } from "./Extension_CqlAccessModifier"; +export { CqlTypeProfile } from "./Extension_CqlType"; +export { CriteriaReferenceExtensionProfile } from "./Extension_CriteriaReferenceExtension"; +export { DRFocusProfile } from "./Extension_DRFocus"; +export { DRSourcePatientProfile } from "./Extension_DRSourcePatient"; +export { DRThumbnailProfile } from "./Extension_DRThumbnail"; +export { DRWorkflowStatusProfile } from "./Extension_DRWorkflowStatus"; +export { DatatypeProfile } from "./Extension_Datatype"; +export { DefaultTypeProfile } from "./Extension_DefaultType"; +export { DefaultValueProfile } from "./Extension_DefaultValue"; +export { DefinitionTermProfile } from "./Extension_DefinitionTerm"; +export { DevCommercialBrandProfile } from "./Extension_DevCommercialBrand"; +export { DeviceLastMaintenanceTimeProfile } from "./Extension_DeviceLastMaintenanceTime"; +export { DeviceMaintenanceResponsibilityProfile } from "./Extension_DeviceMaintenanceResponsibility"; +export { DirectReferenceCodeProfile } from "./Extension_DirectReferenceCode"; +export { DosageMinimumGapBetweenDoseProfile } from "./Extension_DosageMinimumGapBetweenDose"; +export { EncounterSubjectLocationClassificationProfile } from "./Extension_EncounterSubjectLocationClassification"; +export { EndpointFhirVersionProfile } from "./Extension_EndpointFhirVersion"; +export { EventRecordedProfile } from "./Extension_EventRecorded"; +export { ExpansionParametersProfile } from "./Extension_ExpansionParameters"; +export { FHIRQueryPatternProfile } from "./Extension_FHIRQueryPattern"; +export { FMMSupportDocoProfile } from "./Extension_FMMSupportDoco"; +export { FeatureAsssertionProfile } from "./Extension_FeatureAsssertion"; +export { FirstCreatedProfile } from "./Extension_FirstCreated"; +export { FollowOnOfProfile } from "./Extension_FollowOnOf"; +export { GeneratedFromProfile } from "./Extension_GeneratedFrom"; +export { GraphConstraintProfile } from "./Extension_GraphConstraint"; +export { IDCheckDigitProfile } from "./Extension_IDCheckDigit"; +export { IGSourceFileProfile } from "./Extension_IGSourceFile"; +export { InputParametersProfile } from "./Extension_InputParameters"; +export { IsEmptyListProfile } from "./Extension_IsEmptyList"; +export { IsEmptyTupleProfile } from "./Extension_IsEmptyTuple"; +export { IsPrefetchTokenProfile } from "./Extension_IsPrefetchToken"; +export { IsPrimaryCitationProfile } from "./Extension_IsPrimaryCitation"; +export { IsSelectiveProfile } from "./Extension_IsSelective"; +export { ItemWeightProfile } from "./Extension_ItemWeight"; +export { KnowledgeRepresentationLevelProfile } from "./Extension_KnowledgeRepresentationLevel"; +export { LargeValueProfile } from "./Extension_LargeValue"; +export { LastSourceSyncProfile } from "./Extension_LastSourceSync"; +export { ListCategoryProfile } from "./Extension_ListCategory"; +export { ListForProfile } from "./Extension_ListFor"; +export { LocCommunicationProfile } from "./Extension_LocCommunication"; +export { LogicDefinitionProfile } from "./Extension_LogicDefinition"; +export { MeasureReportCategoryProfile } from "./Extension_MeasureReportCategory"; +export { MeasureReportPopulationDescriptionProfile } from "./Extension_MeasureReportPopulationDescription"; +export { MedManufacturingBatchProfile } from "./Extension_MedManufacturingBatch"; +export { MedQuantityRemainingProfile } from "./Extension_MedQuantityRemaining"; +export { MedRefillsRemainingProfile } from "./Extension_MedRefillsRemaining"; +export { MessagesProfile } from "./Extension_Messages"; +export { ModelInfoIsIncludedProfile } from "./Extension_ModelInfoIsIncluded"; +export { ModelInfoIsRetrievableProfile } from "./Extension_ModelInfoIsRetrievable"; +export { ModelInfoLabelProfile } from "./Extension_ModelInfoLabel"; +export { ModelInfoPrimaryCodePathProfile } from "./Extension_ModelInfoPrimaryCodePath"; +export { ModelInfoSettingsProfile } from "./Extension_ModelInfoSettings"; +export { NSCheckDigitProfile } from "./Extension_NSCheckDigit"; +export { NotDoneValueSetProfile } from "./Extension_NotDoneValueSet"; +export { NoteProfile } from "./Extension_Note"; +export { OOIssueColProfile } from "./Extension_OOIssueCol"; +export { OOIssueLineProfile } from "./Extension_OOIssueLine"; +export { OOIssueMessageIdProfile } from "./Extension_OOIssueMessageId"; +export { OOIssueServerProfile } from "./Extension_OOIssueServer"; +export { OOIssueSliceTextProfile } from "./Extension_OOIssueSliceText"; +export { OOSourceFileProfile } from "./Extension_OOSourceFile"; +export { ObligationProfile } from "./Extension_Obligation"; +export { ObligationsProfileProfile } from "./Extension_ObligationsProfile"; +export { ObsAnalysisDateTimeProfile } from "./Extension_ObsAnalysisDateTime"; +export { ObsComponentCategoryProfile } from "./Extension_ObsComponentCategory"; +export { ObsNatureAbnormalProfile } from "./Extension_ObsNatureAbnormal"; +export { ObsV2SubIdProfile } from "./Extension_ObsV2SubId"; +export { ObservationStructureTypeProfile } from "./Extension_ObservationStructureType"; +export { OfficialAddressProfile } from "./Extension_OfficialAddress"; +export { OrganizationBrandProfile } from "./Extension_OrganizationBrand"; +export { OrganizationPortalProfile } from "./Extension_OrganizationPortal"; +export { PGenderIdentityProfile } from "./Extension_PGenderIdentity"; +export { PREmploymentStatusProfile } from "./Extension_PREmploymentStatus"; +export { PRJobTitleProfile } from "./Extension_PRJobTitle"; +export { PackageSourceProfile } from "./Extension_PackageSource"; +export { ParameterDefinitionProfile } from "./Extension_ParameterDefinition"; +export { ParametersDefinitionProfile } from "./Extension_ParametersDefinition"; +export { PartOfProfile } from "./Extension_PartOf"; +export { PatBornStatusProfile } from "./Extension_PatBornStatus"; +export { PatContactPriorityProfile } from "./Extension_PatContactPriority"; +export { PatFetalStatusProfile } from "./Extension_PatFetalStatus"; +export { PatMultipleBirthTotalProfile } from "./Extension_PatMultipleBirthTotal"; +export { PatNoFixedAddressProfile } from "./Extension_PatNoFixedAddress"; +export { PatSexParameterForClinicalUseProfile } from "./Extension_PatSexParameterForClinicalUse"; +export { PatientKnownNonDuplicateProfile } from "./Extension_PatientKnownNonDuplicate"; +export { PatientPreferredPharmacyProfile } from "./Extension_PatientPreferredPharmacy"; +export { PatientUnknownIdentityProfile } from "./Extension_PatientUnknownIdentity"; +export { PatternProfile } from "./Extension_Pattern"; +export { PeriodDurationProfile } from "./Extension_PeriodDuration"; +export { PreferredTerminologyServerProfile } from "./Extension_PreferredTerminologyServer"; +export { PronounsProfile } from "./Extension_Pronouns"; +export { PublicationDateProfile } from "./Extension_PublicationDate"; +export { PublicationStatusProfile } from "./Extension_PublicationStatus"; +export { QDefinitionBasedProfile } from "./Extension_QDefinitionBased"; +export { QOptionRestrictionProfile } from "./Extension_QOptionRestriction"; +export { QRAttesterProfile } from "./Extension_QRAttester"; +export { QuantityTranslationProfile } from "./Extension_QuantityTranslation"; +export { QuestionnaireDerivationTypeProfile } from "./Extension_QuestionnaireDerivationType"; +export { RSSiteRecruitmentProfile } from "./Extension_RSSiteRecruitment"; +export { RSStudyRegistrationProfile } from "./Extension_RSStudyRegistration"; +export { RecordedSexOrGenderProfile } from "./Extension_RecordedSexOrGender"; +export { ReferencesContainedProfile } from "./Extension_ReferencesContained"; +export { ReleaseDateProfile } from "./Extension_ReleaseDate"; +export { RequirementsParentProfile } from "./Extension_RequirementsParent"; +export { ResolveAsVersionSpecificProfile } from "./Extension_ResolveAsVersionSpecific"; +export { ResourceDerivationReferenceProfile } from "./Extension_ResourceDerivationReference"; +export { ResourceInstanceDescriptionProfile } from "./Extension_ResourceInstanceDescription"; +export { ResourceInstanceNameProfile } from "./Extension_ResourceInstanceName"; +export { ResourceSatisfiesRequirementProfile } from "./Extension_ResourceSatisfiesRequirement"; +export { ResourceTypeProfile } from "./Extension_ResourceType"; +export { SDExtensionMeaningProfile } from "./Extension_SDExtensionMeaning"; +export { SDImposeProfileProfile } from "./Extension_SDImposeProfile"; +export { SDInheritanceControlProfile } from "./Extension_SDInheritanceControl"; +export { SDInterfaceProfile } from "./Extension_SDInterface"; +export { SDStandardsStatusReasonProfile } from "./Extension_SDStandardsStatusReason"; +export { SDStatusDerivationProfile } from "./Extension_SDStatusDerivation"; +export { SDTypeCharacteristicsProfile } from "./Extension_SDTypeCharacteristics"; +export { SDcompliesWithProfileProfile } from "./Extension_SDcompliesWithProfile"; +export { SROrderCallbackPhoneNumberProfile } from "./Extension_SROrderCallbackPhoneNumber"; +export { ScopeProfile } from "./Extension_Scope"; +export { SelectByMapProfile } from "./Extension_SelectByMap"; +export { ShallComplyWithProfile } from "./Extension_ShallComplyWith"; +export { ShouldTraceDependencyProfile } from "./Extension_ShouldTraceDependency"; +export { SpecimenRejectReasonProfile } from "./Extension_SpecimenRejectReason"; +export { StatisticModelIncludeIfProfile } from "./Extension_StatisticModelIncludeIf"; +export { SubscriptionBestEffortProfile } from "./Extension_SubscriptionBestEffort"; +export { SupportedCqlVersionProfile } from "./Extension_SupportedCqlVersion"; +export { SuppressProfile } from "./Extension_Suppress"; +export { TargetConstraintProfile } from "./Extension_TargetConstraint"; +export { TargetElementProfile } from "./Extension_TargetElement"; +export { TargetInvariantProfile } from "./Extension_TargetInvariant"; +export { TargetPathProfile } from "./Extension_TargetPath"; +export { TestArtifactProfile } from "./Extension_TestArtifact"; +export { TimezoneCodeProfile } from "./Extension_TimezoneCode"; +export { TriggeredByProfile } from "./Extension_TriggeredBy"; +export { TxResourceIdentifierMetadataProfile } from "./Extension_TxResourceIdentifierMetadata"; +export { TypeMustSupportProfile } from "./Extension_TypeMustSupport"; +export { UncertainDateProfile } from "./Extension_UncertainDate"; +export { UncertainPeriodProfile } from "./Extension_UncertainPeriod"; +export { VSComposeCreatedByProfile } from "./Extension_VSComposeCreatedBy"; +export { VSComposeCreationDateProfile } from "./Extension_VSComposeCreationDate"; +export { VSIncludeVSTitleProfile } from "./Extension_VSIncludeVSTitle"; +export { VSOtherTitleProfile } from "./Extension_VSOtherTitle"; +export { ValueFilterProfile } from "./Extension_ValueFilter"; +export { VersionSpecificUseProfile } from "./Extension_VersionSpecificUse"; +export { VersionSpecificValueProfile } from "./Extension_VersionSpecificValue"; +export { WorkflowStatusDescriptionProfile } from "./Extension_WorkflowStatusDescription"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/index.ts new file mode 100644 index 000000000..09303f508 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/index.ts @@ -0,0 +1 @@ +export * from "./profiles"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADUse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADUse.ts new file mode 100644 index 000000000..941a98bc9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADUse.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADUseProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-AD-use (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADUseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADUseProfile { + return new ADUseProfile(resource) + } + + static createResource (args: ADUseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: ADUseProfileParams) : ADUseProfile { + return ADUseProfile.from(ADUseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADUse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use", "ADUse"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPAdditionalLocator.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPAdditionalLocator.ts new file mode 100644 index 000000000..478cfce6c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPAdditionalLocator.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPAdditionalLocatorProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPAdditionalLocatorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPAdditionalLocatorProfile { + return new ADXPAdditionalLocatorProfile(resource) + } + + static createResource (args: ADXPAdditionalLocatorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPAdditionalLocatorProfileParams) : ADXPAdditionalLocatorProfile { + return ADXPAdditionalLocatorProfile.from(ADXPAdditionalLocatorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPAdditionalLocator"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator", "ADXPAdditionalLocator"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPBuildingNumberSuffix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPBuildingNumberSuffix.ts new file mode 100644 index 000000000..2d5027dc0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPBuildingNumberSuffix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPBuildingNumberSuffixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPBuildingNumberSuffixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPBuildingNumberSuffixProfile { + return new ADXPBuildingNumberSuffixProfile(resource) + } + + static createResource (args: ADXPBuildingNumberSuffixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPBuildingNumberSuffixProfileParams) : ADXPBuildingNumberSuffixProfile { + return ADXPBuildingNumberSuffixProfile.from(ADXPBuildingNumberSuffixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPBuildingNumberSuffix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix", "ADXPBuildingNumberSuffix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCareOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCareOf.ts new file mode 100644 index 000000000..3c61ed517 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCareOf.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPCareOfProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPCareOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPCareOfProfile { + return new ADXPCareOfProfile(resource) + } + + static createResource (args: ADXPCareOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPCareOfProfileParams) : ADXPCareOfProfile { + return ADXPCareOfProfile.from(ADXPCareOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPCareOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf", "ADXPCareOf"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCensusTract.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCensusTract.ts new file mode 100644 index 000000000..6816a8397 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCensusTract.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPCensusTractProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPCensusTractProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPCensusTractProfile { + return new ADXPCensusTractProfile(resource) + } + + static createResource (args: ADXPCensusTractProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPCensusTractProfileParams) : ADXPCensusTractProfile { + return ADXPCensusTractProfile.from(ADXPCensusTractProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPCensusTract"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", "ADXPCensusTract"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDelimiter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDelimiter.ts new file mode 100644 index 000000000..1202d06d5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDelimiter.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPDelimiterProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPDelimiterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPDelimiterProfile { + return new ADXPDelimiterProfile(resource) + } + + static createResource (args: ADXPDelimiterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPDelimiterProfileParams) : ADXPDelimiterProfile { + return ADXPDelimiterProfile.from(ADXPDelimiterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPDelimiter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter", "ADXPDelimiter"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryAddressLine.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryAddressLine.ts new file mode 100644 index 000000000..667476afa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryAddressLine.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPDeliveryAddressLineProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPDeliveryAddressLineProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPDeliveryAddressLineProfile { + return new ADXPDeliveryAddressLineProfile(resource) + } + + static createResource (args: ADXPDeliveryAddressLineProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPDeliveryAddressLineProfileParams) : ADXPDeliveryAddressLineProfile { + return ADXPDeliveryAddressLineProfile.from(ADXPDeliveryAddressLineProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPDeliveryAddressLine"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine", "ADXPDeliveryAddressLine"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationArea.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationArea.ts new file mode 100644 index 000000000..bf3baf3ca --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationArea.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPDeliveryInstallationAreaProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPDeliveryInstallationAreaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPDeliveryInstallationAreaProfile { + return new ADXPDeliveryInstallationAreaProfile(resource) + } + + static createResource (args: ADXPDeliveryInstallationAreaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPDeliveryInstallationAreaProfileParams) : ADXPDeliveryInstallationAreaProfile { + return ADXPDeliveryInstallationAreaProfile.from(ADXPDeliveryInstallationAreaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPDeliveryInstallationArea"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea", "ADXPDeliveryInstallationArea"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationQualifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationQualifier.ts new file mode 100644 index 000000000..ed44286fd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationQualifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPDeliveryInstallationQualifierProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPDeliveryInstallationQualifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPDeliveryInstallationQualifierProfile { + return new ADXPDeliveryInstallationQualifierProfile(resource) + } + + static createResource (args: ADXPDeliveryInstallationQualifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPDeliveryInstallationQualifierProfileParams) : ADXPDeliveryInstallationQualifierProfile { + return ADXPDeliveryInstallationQualifierProfile.from(ADXPDeliveryInstallationQualifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPDeliveryInstallationQualifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier", "ADXPDeliveryInstallationQualifier"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationType.ts new file mode 100644 index 000000000..7bbaefcc3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPDeliveryInstallationTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPDeliveryInstallationTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPDeliveryInstallationTypeProfile { + return new ADXPDeliveryInstallationTypeProfile(resource) + } + + static createResource (args: ADXPDeliveryInstallationTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPDeliveryInstallationTypeProfileParams) : ADXPDeliveryInstallationTypeProfile { + return ADXPDeliveryInstallationTypeProfile.from(ADXPDeliveryInstallationTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPDeliveryInstallationType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType", "ADXPDeliveryInstallationType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryMode.ts new file mode 100644 index 000000000..b24536f60 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPDeliveryModeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPDeliveryModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPDeliveryModeProfile { + return new ADXPDeliveryModeProfile(resource) + } + + static createResource (args: ADXPDeliveryModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPDeliveryModeProfileParams) : ADXPDeliveryModeProfile { + return ADXPDeliveryModeProfile.from(ADXPDeliveryModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPDeliveryMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode", "ADXPDeliveryMode"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryModeIdentifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryModeIdentifier.ts new file mode 100644 index 000000000..96c918162 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryModeIdentifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPDeliveryModeIdentifierProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPDeliveryModeIdentifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPDeliveryModeIdentifierProfile { + return new ADXPDeliveryModeIdentifierProfile(resource) + } + + static createResource (args: ADXPDeliveryModeIdentifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPDeliveryModeIdentifierProfileParams) : ADXPDeliveryModeIdentifierProfile { + return ADXPDeliveryModeIdentifierProfile.from(ADXPDeliveryModeIdentifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPDeliveryModeIdentifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier", "ADXPDeliveryModeIdentifier"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDirection.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDirection.ts new file mode 100644 index 000000000..36c8dedeb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDirection.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPDirectionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPDirectionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPDirectionProfile { + return new ADXPDirectionProfile(resource) + } + + static createResource (args: ADXPDirectionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPDirectionProfileParams) : ADXPDirectionProfile { + return ADXPDirectionProfile.from(ADXPDirectionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPDirection"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction", "ADXPDirection"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumber.ts new file mode 100644 index 000000000..16d4c4f8a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPHouseNumberProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPHouseNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPHouseNumberProfile { + return new ADXPHouseNumberProfile(resource) + } + + static createResource (args: ADXPHouseNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPHouseNumberProfileParams) : ADXPHouseNumberProfile { + return ADXPHouseNumberProfile.from(ADXPHouseNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPHouseNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", "ADXPHouseNumber"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumberNumeric.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumberNumeric.ts new file mode 100644 index 000000000..59eda690f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumberNumeric.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPHouseNumberNumericProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPHouseNumberNumericProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPHouseNumberNumericProfile { + return new ADXPHouseNumberNumericProfile(resource) + } + + static createResource (args: ADXPHouseNumberNumericProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPHouseNumberNumericProfileParams) : ADXPHouseNumberNumericProfile { + return ADXPHouseNumberNumericProfile.from(ADXPHouseNumberNumericProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPHouseNumberNumeric"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric", "ADXPHouseNumberNumeric"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPostBox.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPostBox.ts new file mode 100644 index 000000000..8a423f8cf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPostBox.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPPostBoxProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPPostBoxProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPPostBoxProfile { + return new ADXPPostBoxProfile(resource) + } + + static createResource (args: ADXPPostBoxProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPPostBoxProfileParams) : ADXPPostBoxProfile { + return ADXPPostBoxProfile.from(ADXPPostBoxProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPPostBox"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox", "ADXPPostBox"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPrecinct.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPrecinct.ts new file mode 100644 index 000000000..62053b759 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPrecinct.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPPrecinctProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPPrecinctProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPPrecinctProfile { + return new ADXPPrecinctProfile(resource) + } + + static createResource (args: ADXPPrecinctProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPPrecinctProfileParams) : ADXPPrecinctProfile { + return ADXPPrecinctProfile.from(ADXPPrecinctProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPPrecinct"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct", "ADXPPrecinct"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetAddressLine.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetAddressLine.ts new file mode 100644 index 000000000..8f0f8ea68 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetAddressLine.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPStreetAddressLineProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPStreetAddressLineProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPStreetAddressLineProfile { + return new ADXPStreetAddressLineProfile(resource) + } + + static createResource (args: ADXPStreetAddressLineProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPStreetAddressLineProfileParams) : ADXPStreetAddressLineProfile { + return ADXPStreetAddressLineProfile.from(ADXPStreetAddressLineProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPStreetAddressLine"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine", "ADXPStreetAddressLine"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetName.ts new file mode 100644 index 000000000..5dafc8de4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPStreetNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPStreetNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPStreetNameProfile { + return new ADXPStreetNameProfile(resource) + } + + static createResource (args: ADXPStreetNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPStreetNameProfileParams) : ADXPStreetNameProfile { + return ADXPStreetNameProfile.from(ADXPStreetNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPStreetName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", "ADXPStreetName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameBase.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameBase.ts new file mode 100644 index 000000000..bc161b750 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameBase.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPStreetNameBaseProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPStreetNameBaseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPStreetNameBaseProfile { + return new ADXPStreetNameBaseProfile(resource) + } + + static createResource (args: ADXPStreetNameBaseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPStreetNameBaseProfileParams) : ADXPStreetNameBaseProfile { + return ADXPStreetNameBaseProfile.from(ADXPStreetNameBaseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPStreetNameBase"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase", "ADXPStreetNameBase"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameType.ts new file mode 100644 index 000000000..e1adbf9b6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPStreetNameTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPStreetNameTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPStreetNameTypeProfile { + return new ADXPStreetNameTypeProfile(resource) + } + + static createResource (args: ADXPStreetNameTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPStreetNameTypeProfileParams) : ADXPStreetNameTypeProfile { + return ADXPStreetNameTypeProfile.from(ADXPStreetNameTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPStreetNameType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType", "ADXPStreetNameType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitID.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitID.ts new file mode 100644 index 000000000..2b30a57c3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitID.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPUnitIDProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPUnitIDProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPUnitIDProfile { + return new ADXPUnitIDProfile(resource) + } + + static createResource (args: ADXPUnitIDProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPUnitIDProfileParams) : ADXPUnitIDProfile { + return ADXPUnitIDProfile.from(ADXPUnitIDProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPUnitID"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID", "ADXPUnitID"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitType.ts new file mode 100644 index 000000000..c66a8cfb3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ADXPUnitTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ADXPUnitTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ADXPUnitTypeProfile { + return new ADXPUnitTypeProfile(resource) + } + + static createResource (args: ADXPUnitTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ADXPUnitTypeProfileParams) : ADXPUnitTypeProfile { + return ADXPUnitTypeProfile.from(ADXPUnitTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ADXPUnitType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType", "ADXPUnitType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAccession.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAccession.ts new file mode 100644 index 000000000..c7a1825e5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAccession.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEAccessionProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Accession (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AEAccessionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Accession" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEAccessionProfile { + return new AEAccessionProfile(resource) + } + + static createResource (args: AEAccessionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Accession", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AEAccessionProfileParams) : AEAccessionProfile { + return AEAccessionProfile.from(AEAccessionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEAccession"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Accession", "AEAccession"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAlternativeUserID.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAlternativeUserID.ts new file mode 100644 index 000000000..e84bfb1ec --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAlternativeUserID.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEAlternativeUserIDProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AEAlternativeUserIDProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEAlternativeUserIDProfile { + return new AEAlternativeUserIDProfile(resource) + } + + static createResource (args: AEAlternativeUserIDProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AEAlternativeUserIDProfileParams) : AEAlternativeUserIDProfile { + return AEAlternativeUserIDProfile.from(AEAlternativeUserIDProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEAlternativeUserID"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID", "AEAlternativeUserID"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAnonymized.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAnonymized.ts new file mode 100644 index 000000000..e4f1a2d0a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAnonymized.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEAnonymizedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AEAnonymizedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEAnonymizedProfile { + return new AEAnonymizedProfile(resource) + } + + static createResource (args: AEAnonymizedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: AEAnonymizedProfileParams) : AEAnonymizedProfile { + return AEAnonymizedProfile.from(AEAnonymizedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEAnonymized"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized", "AEAnonymized"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEEncrypted.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEEncrypted.ts new file mode 100644 index 000000000..d7ebd3810 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEEncrypted.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEEncryptedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AEEncryptedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEEncryptedProfile { + return new AEEncryptedProfile(resource) + } + + static createResource (args: AEEncryptedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: AEEncryptedProfileParams) : AEEncryptedProfile { + return AEEncryptedProfile.from(AEEncryptedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEEncrypted"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted", "AEEncrypted"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEInstance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEInstance.ts new file mode 100644 index 000000000..160786bb0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEInstance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEInstanceProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Instance (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AEInstanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Instance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEInstanceProfile { + return new AEInstanceProfile(resource) + } + + static createResource (args: AEInstanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Instance", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AEInstanceProfileParams) : AEInstanceProfile { + return AEInstanceProfile.from(AEInstanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEInstance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Instance", "AEInstance"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AELifecycle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AELifecycle.ts new file mode 100644 index 000000000..2e1e2cc58 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AELifecycle.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AELifecycleProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AELifecycleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AELifecycleProfile { + return new AELifecycleProfile(resource) + } + + static createResource (args: AELifecycleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AELifecycleProfileParams) : AELifecycleProfile { + return AELifecycleProfile.from(AELifecycleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AELifecycle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle", "AELifecycle"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEMPPS.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEMPPS.ts new file mode 100644 index 000000000..026cce4f8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEMPPS.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEMPPSProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-MPPS (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AEMPPSProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEMPPSProfile { + return new AEMPPSProfile(resource) + } + + static createResource (args: AEMPPSProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AEMPPSProfileParams) : AEMPPSProfile { + return AEMPPSProfile.from(AEMPPSProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEMPPS"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS", "AEMPPS"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AENumberOfInstances.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AENumberOfInstances.ts new file mode 100644 index 000000000..017f1aa36 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AENumberOfInstances.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AENumberOfInstancesProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AENumberOfInstancesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AENumberOfInstancesProfile { + return new AENumberOfInstancesProfile(resource) + } + + static createResource (args: AENumberOfInstancesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: AENumberOfInstancesProfileParams) : AENumberOfInstancesProfile { + return AENumberOfInstancesProfile.from(AENumberOfInstancesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AENumberOfInstances"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances", "AENumberOfInstances"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEOnBehalfOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEOnBehalfOf.ts new file mode 100644 index 000000000..c3b9690ba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEOnBehalfOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEOnBehalfOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AEOnBehalfOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEOnBehalfOfProfile { + return new AEOnBehalfOfProfile(resource) + } + + static createResource (args: AEOnBehalfOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AEOnBehalfOfProfileParams) : AEOnBehalfOfProfile { + return AEOnBehalfOfProfile.from(AEOnBehalfOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEOnBehalfOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf", "AEOnBehalfOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEParticipantObjectContainsStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEParticipantObjectContainsStudy.ts new file mode 100644 index 000000000..4eee82453 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEParticipantObjectContainsStudy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AEParticipantObjectContainsStudyProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AEParticipantObjectContainsStudyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AEParticipantObjectContainsStudyProfile { + return new AEParticipantObjectContainsStudyProfile(resource) + } + + static createResource (args: AEParticipantObjectContainsStudyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AEParticipantObjectContainsStudyProfileParams) : AEParticipantObjectContainsStudyProfile { + return AEParticipantObjectContainsStudyProfile.from(AEParticipantObjectContainsStudyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AEParticipantObjectContainsStudy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy", "AEParticipantObjectContainsStudy"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AESOPClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AESOPClass.ts new file mode 100644 index 000000000..833384e69 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AESOPClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AESOPClassProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AESOPClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AESOPClassProfile { + return new AESOPClassProfile(resource) + } + + static createResource (args: AESOPClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AESOPClassProfileParams) : AESOPClassProfile { + return AESOPClassProfile.from(AESOPClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AESOPClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass", "AESOPClass"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAdministration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAdministration.ts new file mode 100644 index 000000000..68eed0284 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAdministration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIAdministrationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-administration (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIAdministrationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-administration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIAdministrationProfile { + return new AIAdministrationProfile(resource) + } + + static createResource (args: AIAdministrationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-administration", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AIAdministrationProfileParams) : AIAdministrationProfile { + return AIAdministrationProfile.from(AIAdministrationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIAdministration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-administration", "AIAdministration"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAssertedDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAssertedDate.ts new file mode 100644 index 000000000..cc45a9726 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAssertedDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIAssertedDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIAssertedDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIAssertedDateProfile { + return new AIAssertedDateProfile(resource) + } + + static createResource (args: AIAssertedDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: AIAssertedDateProfileParams) : AIAssertedDateProfile { + return AIAssertedDateProfile.from(AIAssertedDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIAssertedDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate", "AIAssertedDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICareplan.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICareplan.ts new file mode 100644 index 000000000..82f07a16c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICareplan.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AICareplanProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-careplan (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AICareplanProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-careplan" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AICareplanProfile { + return new AICareplanProfile(resource) + } + + static createResource (args: AICareplanProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-careplan", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AICareplanProfileParams) : AICareplanProfile { + return AICareplanProfile.from(AICareplanProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AICareplan"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-careplan", "AICareplan"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICertainty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICertainty.ts new file mode 100644 index 000000000..0d1885a22 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICertainty.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AICertaintyProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AICertaintyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AICertaintyProfile { + return new AICertaintyProfile(resource) + } + + static createResource (args: AICertaintyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AICertaintyProfileParams) : AICertaintyProfile { + return AICertaintyProfile.from(AICertaintyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AICertainty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty", "AICertainty"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIDuration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIDuration.ts new file mode 100644 index 000000000..5443db02a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIDuration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r5-core/Duration"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIDurationProfileParams = { + valueDuration: Duration; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIDurationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIDurationProfile { + return new AIDurationProfile(resource) + } + + static createResource (args: AIDurationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration", + valueDuration: args.valueDuration, + } as unknown as Extension + return resource + } + + static create (args: AIDurationProfileParams) : AIDurationProfile { + return AIDurationProfile.from(AIDurationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIDuration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration", "AIDuration"); if (e) errors.push(e) } + if (!(r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDate.ts new file mode 100644 index 000000000..6f6716cb1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIExposureDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIExposureDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIExposureDateProfile { + return new AIExposureDateProfile(resource) + } + + static createResource (args: AIExposureDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: AIExposureDateProfileParams) : AIExposureDateProfile { + return AIExposureDateProfile.from(AIExposureDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIExposureDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate", "AIExposureDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDescription.ts new file mode 100644 index 000000000..e400e3ed6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIExposureDescriptionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIExposureDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIExposureDescriptionProfile { + return new AIExposureDescriptionProfile(resource) + } + + static createResource (args: AIExposureDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: AIExposureDescriptionProfileParams) : AIExposureDescriptionProfile { + return AIExposureDescriptionProfile.from(AIExposureDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIExposureDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription", "AIExposureDescription"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDuration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDuration.ts new file mode 100644 index 000000000..e0c5646ad --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDuration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r5-core/Duration"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIExposureDurationProfileParams = { + valueDuration: Duration; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIExposureDurationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIExposureDurationProfile { + return new AIExposureDurationProfile(resource) + } + + static createResource (args: AIExposureDurationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration", + valueDuration: args.valueDuration, + } as unknown as Extension + return resource + } + + static create (args: AIExposureDurationProfileParams) : AIExposureDurationProfile { + return AIExposureDurationProfile.from(AIExposureDurationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIExposureDuration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration", "AIExposureDuration"); if (e) errors.push(e) } + if (!(r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AILocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AILocation.ts new file mode 100644 index 000000000..370498607 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AILocation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AILocationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-location (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AILocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-location" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AILocationProfile { + return new AILocationProfile(resource) + } + + static createResource (args: AILocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-location", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AILocationProfileParams) : AILocationProfile { + return AILocationProfile.from(AILocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AILocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-location", "AILocation"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIManagement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIManagement.ts new file mode 100644 index 000000000..fabd2b358 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIManagement.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIManagementProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/openEHR-management (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIManagementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/openEHR-management" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIManagementProfile { + return new AIManagementProfile(resource) + } + + static createResource (args: AIManagementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/openEHR-management", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: AIManagementProfileParams) : AIManagementProfile { + return AIManagementProfile.from(AIManagementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIManagement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/openEHR-management", "AIManagement"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIReasonRefuted.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIReasonRefuted.ts new file mode 100644 index 000000000..9240fc1e5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIReasonRefuted.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIReasonRefutedProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIReasonRefutedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIReasonRefutedProfile { + return new AIReasonRefutedProfile(resource) + } + + static createResource (args: AIReasonRefutedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AIReasonRefutedProfileParams) : AIReasonRefutedProfile { + return AIReasonRefutedProfile.from(AIReasonRefutedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIReasonRefuted"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted", "AIReasonRefuted"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIResolutionAge.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIResolutionAge.ts new file mode 100644 index 000000000..3179a117b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIResolutionAge.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r5-core/Age"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AIResolutionAgeProfileParams = { + valueAge: Age; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AIResolutionAgeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AIResolutionAgeProfile { + return new AIResolutionAgeProfile(resource) + } + + static createResource (args: AIResolutionAgeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge", + valueAge: args.valueAge, + } as unknown as Extension + return resource + } + + static create (args: AIResolutionAgeProfileParams) : AIResolutionAgeProfile { + return AIResolutionAgeProfile.from(AIResolutionAgeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAge () : Age | undefined { + return this.resource.valueAge as Age | undefined + } + + setValueAge (value: Age) : this { + Object.assign(this.resource, { valueAge: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AIResolutionAge"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge", "AIResolutionAge"); if (e) errors.push(e) } + if (!(r["valueAge"] !== undefined)) { + errors.push("value: at least one of valueAge is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AISubstanceExposureRisk.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AISubstanceExposureRisk.ts new file mode 100644 index 000000000..b38a2588e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AISubstanceExposureRisk.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AISubstanceExposureRiskProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AISubstanceExposureRiskProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AISubstanceExposureRiskProfile { + return new AISubstanceExposureRiskProfile(resource) + } + + static createResource (args: AISubstanceExposureRiskProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: AISubstanceExposureRiskProfileParams) : AISubstanceExposureRiskProfile { + return AISubstanceExposureRiskProfile.from(AISubstanceExposureRiskProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setSubstance (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "substance", valueCodeableConcept: value } as Extension) + return this + } + + public setExposureRisk (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "exposureRisk", valueCodeableConcept: value } as Extension) + return this + } + + public getSubstance (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "substance") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSubstanceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "substance") + return ext + } + + public getExposureRisk (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "exposureRisk") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getExposureRiskExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "exposureRisk") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "AISubstanceExposureRisk"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "AISubstanceExposureRisk"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk", "AISubstanceExposureRisk"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Abatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Abatement.ts new file mode 100644 index 000000000..031c7061d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Abatement.ts @@ -0,0 +1,107 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r5-core/Age"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Range } from "../../hl7-fhir-r5-core/Range"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AbatementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AbatementProfile { + return new AbatementProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement", + } as unknown as Extension + return resource + } + + static create () : AbatementProfile { + return AbatementProfile.from(AbatementProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueAge () : Age | undefined { + return this.resource.valueAge as Age | undefined + } + + setValueAge (value: Age) : this { + Object.assign(this.resource, { valueAge: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Abatement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement", "Abatement"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined || r["valueAge"] !== undefined || r["valuePeriod"] !== undefined || r["valueRange"] !== undefined || r["valueString"] !== undefined)) { + errors.push("value: at least one of valueDateTime, valueAge, valuePeriod, valueRange, valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdditionalIdentifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdditionalIdentifier.ts new file mode 100644 index 000000000..6019cc6a5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdditionalIdentifier.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AdditionalIdentifierProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/additionalIdentifier (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AdditionalIdentifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/additionalIdentifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AdditionalIdentifierProfile { + return new AdditionalIdentifierProfile(resource) + } + + static createResource (args: AdditionalIdentifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/additionalIdentifier", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: AdditionalIdentifierProfileParams) : AdditionalIdentifierProfile { + return AdditionalIdentifierProfile.from(AdditionalIdentifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AdditionalIdentifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/additionalIdentifier", "AdditionalIdentifier"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdheresTo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdheresTo.ts new file mode 100644 index 000000000..d47221da4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdheresTo.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-adheresTo (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AdheresToProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-adheresTo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AdheresToProfile { + return new AdheresToProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-adheresTo", + } as unknown as Extension + return resource + } + + static create () : AdheresToProfile { + return AdheresToProfile.from(AdheresToProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AdheresTo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-adheresTo", "AdheresTo"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueReference"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueReference, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AllowedUnits.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AllowedUnits.ts new file mode 100644 index 000000000..e0eba9b13 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AllowedUnits.ts @@ -0,0 +1,78 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AllowedUnitsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AllowedUnitsProfile { + return new AllowedUnitsProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", + } as unknown as Extension + return resource + } + + static create () : AllowedUnitsProfile { + return AllowedUnitsProfile.from(AllowedUnitsProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AllowedUnits"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits", "AllowedUnits"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCanonical.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCanonical.ts new file mode 100644 index 000000000..a71997fa1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCanonical.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AlternateCanonicalProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/alternate-canonical (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AlternateCanonicalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/alternate-canonical" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlternateCanonicalProfile { + return new AlternateCanonicalProfile(resource) + } + + static createResource (args: AlternateCanonicalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/alternate-canonical", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: AlternateCanonicalProfileParams) : AlternateCanonicalProfile { + return AlternateCanonicalProfile.from(AlternateCanonicalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AlternateCanonical"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/alternate-canonical", "AlternateCanonical"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCodes.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCodes.ts new file mode 100644 index 000000000..24c29631d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCodes.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AlternateCodesProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/alternate-codes (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AlternateCodesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/alternate-codes" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlternateCodesProfile { + return new AlternateCodesProfile(resource) + } + + static createResource (args: AlternateCodesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/alternate-codes", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AlternateCodesProfileParams) : AlternateCodesProfile { + return AlternateCodesProfile.from(AlternateCodesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AlternateCodes"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/alternate-codes", "AlternateCodes"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateReference.ts new file mode 100644 index 000000000..eaa6eaa7c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AlternateReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/alternate-reference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AlternateReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/alternate-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlternateReferenceProfile { + return new AlternateReferenceProfile(resource) + } + + static createResource (args: AlternateReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/alternate-reference", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: AlternateReferenceProfileParams) : AlternateReferenceProfile { + return AlternateReferenceProfile.from(AlternateReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AlternateReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/alternate-reference", "AlternateReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternativeExpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternativeExpression.ts new file mode 100644 index 000000000..3d1bb2115 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternativeExpression.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AlternativeExpressionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AlternativeExpressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AlternativeExpressionProfile { + return new AlternativeExpressionProfile(resource) + } + + static createResource (args: AlternativeExpressionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: AlternativeExpressionProfileParams) : AlternativeExpressionProfile { + return AlternativeExpressionProfile.from(AlternativeExpressionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AlternativeExpression"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression", "AlternativeExpression"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AnnotationType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AnnotationType.ts new file mode 100644 index 000000000..d5f103a1b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AnnotationType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AnnotationTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/annotationType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AnnotationTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/annotationType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AnnotationTypeProfile { + return new AnnotationTypeProfile(resource) + } + + static createResource (args: AnnotationTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/annotationType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: AnnotationTypeProfileParams) : AnnotationTypeProfile { + return AnnotationTypeProfile.from(AnnotationTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AnnotationType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/annotationType", "AnnotationType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactApprovalDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactApprovalDate.ts new file mode 100644 index 000000000..0742e8464 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactApprovalDate.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-approvalDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactApprovalDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-approvalDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactApprovalDateProfile { + return new ArtifactApprovalDateProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-approvalDate", + } as unknown as Extension + return resource + } + + static create () : ArtifactApprovalDateProfile { + return ArtifactApprovalDateProfile.from(ArtifactApprovalDateProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactApprovalDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-approvalDate", "ArtifactApprovalDate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentContent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentContent.ts new file mode 100644 index 000000000..5fad32c6f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentContent.ts @@ -0,0 +1,214 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; +import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifactassessment-content (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactAssessmentContentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifactassessment-content" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactAssessmentContentProfile { + return new ArtifactAssessmentContentProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifactassessment-content", + } as unknown as Extension + return resource + } + + static create () : ArtifactAssessmentContentProfile { + return ArtifactAssessmentContentProfile.from(ArtifactAssessmentContentProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setInformationType (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "informationType", valueCode: value } as Extension) + return this + } + + public setSummary (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "summary", valueMarkdown: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setClassifier (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "classifier", valueCodeableConcept: value } as Extension) + return this + } + + public setQuantity (value: Quantity): this { + const list = (this.resource.extension ??= []) + list.push({ url: "quantity", valueQuantity: value } as Extension) + return this + } + + public setAuthor (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "author", valueReference: value } as Extension) + return this + } + + public setPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "path", valueUri: value } as Extension) + return this + } + + public setRelatedArtifact (value: RelatedArtifact): this { + const list = (this.resource.extension ??= []) + list.push({ url: "relatedArtifact", valueRelatedArtifact: value } as Extension) + return this + } + + public setFreeToShare (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "freeToShare", valueBoolean: value } as Extension) + return this + } + + public setComponent (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "component", ...value }) + return this + } + + public getInformationType (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "informationType") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getInformationTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "informationType") + return ext + } + + public getSummary (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "summary") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getSummaryExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "summary") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getClassifier (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "classifier") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getClassifierExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "classifier") + return ext + } + + public getQuantity (): Quantity | undefined { + const ext = this.resource.extension?.find(e => e.url === "quantity") + return (ext as Record | undefined)?.valueQuantity as Quantity | undefined + } + + public getQuantityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "quantity") + return ext + } + + public getAuthor (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "author") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getAuthorExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "author") + return ext + } + + public getPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return ext + } + + public getRelatedArtifact (): RelatedArtifact | undefined { + const ext = this.resource.extension?.find(e => e.url === "relatedArtifact") + return (ext as Record | undefined)?.valueRelatedArtifact as RelatedArtifact | undefined + } + + public getRelatedArtifactExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "relatedArtifact") + return ext + } + + public getFreeToShare (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "freeToShare") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getFreeToShareExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "freeToShare") + return ext + } + + public getComponent (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "component") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactAssessmentContent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifactassessment-content", "ArtifactAssessmentContent"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentDisposition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentDisposition.ts new file mode 100644 index 000000000..dd7e80b2c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentDisposition.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactAssessmentDispositionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactAssessmentDispositionProfile { + return new ArtifactAssessmentDispositionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition", + } as unknown as Extension + return resource + } + + static create () : ArtifactAssessmentDispositionProfile { + return ArtifactAssessmentDispositionProfile.from(ArtifactAssessmentDispositionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactAssessmentDisposition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition", "ArtifactAssessmentDisposition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentWorkflowStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentWorkflowStatus.ts new file mode 100644 index 000000000..9c0462e3b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentWorkflowStatus.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactAssessmentWorkflowStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactAssessmentWorkflowStatusProfile { + return new ArtifactAssessmentWorkflowStatusProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus", + } as unknown as Extension + return resource + } + + static create () : ArtifactAssessmentWorkflowStatusProfile { + return ArtifactAssessmentWorkflowStatusProfile.from(ArtifactAssessmentWorkflowStatusProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactAssessmentWorkflowStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus", "ArtifactAssessmentWorkflowStatus"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAuthor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAuthor.ts new file mode 100644 index 000000000..b74fc8068 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAuthor.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r5-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactAuthorProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-author (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactAuthorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-author" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactAuthorProfile { + return new ArtifactAuthorProfile(resource) + } + + static createResource (args: ArtifactAuthorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-author", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactAuthorProfileParams) : ArtifactAuthorProfile { + return ArtifactAuthorProfile.from(ArtifactAuthorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactAuthor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-author", "ArtifactAuthor"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCanonicalReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCanonicalReference.ts new file mode 100644 index 000000000..bb7fbecde --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCanonicalReference.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactCanonicalReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCanonicalReferenceProfile { + return new ArtifactCanonicalReferenceProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference", + } as unknown as Extension + return resource + } + + static create () : ArtifactCanonicalReferenceProfile { + return ArtifactCanonicalReferenceProfile.from(ArtifactCanonicalReferenceProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactCanonicalReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference", "ArtifactCanonicalReference"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCiteAs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCiteAs.ts new file mode 100644 index 000000000..e22985e80 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCiteAs.ts @@ -0,0 +1,75 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-citeAs (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactCiteAsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-citeAs" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCiteAsProfile { + return new ArtifactCiteAsProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-citeAs", + } as unknown as Extension + return resource + } + + static create () : ArtifactCiteAsProfile { + return ArtifactCiteAsProfile.from(ArtifactCiteAsProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactCiteAs"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-citeAs", "ArtifactCiteAs"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactComment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactComment.ts new file mode 100644 index 000000000..fc78af743 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactComment.ts @@ -0,0 +1,167 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactCommentProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-artifactComment (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactCommentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCommentProfile { + return new ArtifactCommentProfile(resource) + } + + static createResource (args: ArtifactCommentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ArtifactCommentProfileParams) : ArtifactCommentProfile { + return ArtifactCommentProfile.from(ArtifactCommentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCode: value } as Extension) + return this + } + + public setText (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "text", valueMarkdown: value } as Extension) + return this + } + + public setTarget (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "target", valueUri: value } as Extension) + return this + } + + public setReference (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueUri: value } as Extension) + return this + } + + public setUser (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "user", valueString: value } as Extension) + return this + } + + public setAuthoredOn (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "authoredOn", valueDateTime: value } as Extension) + return this + } + + public getType (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getText (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "text") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getTextExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "text") + return ext + } + + public getTarget (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getTargetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return ext + } + + public getReference (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + public getUser (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUserExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return ext + } + + public getAuthoredOn (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "authoredOn") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getAuthoredOnExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "authoredOn") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "ArtifactComment"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "ArtifactComment"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment", "ArtifactComment"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactContact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactContact.ts new file mode 100644 index 000000000..5e9bd2734 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactContact.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r5-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactContactProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-contact (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactContactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-contact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactContactProfile { + return new ArtifactContactProfile(resource) + } + + static createResource (args: ArtifactContactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-contact", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactContactProfileParams) : ArtifactContactProfile { + return ArtifactContactProfile.from(ArtifactContactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactContact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-contact", "ArtifactContact"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyright.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyright.ts new file mode 100644 index 000000000..3de7520c1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyright.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactCopyrightProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-copyright (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactCopyrightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-copyright" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCopyrightProfile { + return new ArtifactCopyrightProfile(resource) + } + + static createResource (args: ArtifactCopyrightProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-copyright", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ArtifactCopyrightProfileParams) : ArtifactCopyrightProfile { + return ArtifactCopyrightProfile.from(ArtifactCopyrightProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactCopyright"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-copyright", "ArtifactCopyright"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyrightLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyrightLabel.ts new file mode 100644 index 000000000..265008bc5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyrightLabel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactCopyrightLabelProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactCopyrightLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactCopyrightLabelProfile { + return new ArtifactCopyrightLabelProfile(resource) + } + + static createResource (args: ArtifactCopyrightLabelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactCopyrightLabelProfileParams) : ArtifactCopyrightLabelProfile { + return ArtifactCopyrightLabelProfile.from(ArtifactCopyrightLabelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactCopyrightLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel", "ArtifactCopyrightLabel"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDate.ts new file mode 100644 index 000000000..603a605cb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-date (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-date" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactDateProfile { + return new ArtifactDateProfile(resource) + } + + static createResource (args: ArtifactDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-date", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ArtifactDateProfileParams) : ArtifactDateProfile { + return ArtifactDateProfile.from(ArtifactDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-date", "ArtifactDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDescription.ts new file mode 100644 index 000000000..6dfb05347 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactDescriptionProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-description (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-description" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactDescriptionProfile { + return new ArtifactDescriptionProfile(resource) + } + + static createResource (args: ArtifactDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-description", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ArtifactDescriptionProfileParams) : ArtifactDescriptionProfile { + return ArtifactDescriptionProfile.from(ArtifactDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-description", "ArtifactDescription"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEditor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEditor.ts new file mode 100644 index 000000000..2d5d2d6ab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEditor.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r5-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactEditorProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-editor (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactEditorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-editor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactEditorProfile { + return new ArtifactEditorProfile(resource) + } + + static createResource (args: ArtifactEditorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-editor", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactEditorProfileParams) : ArtifactEditorProfile { + return ArtifactEditorProfile.from(ArtifactEditorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactEditor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-editor", "ArtifactEditor"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEffectivePeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEffectivePeriod.ts new file mode 100644 index 000000000..eed388d43 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEffectivePeriod.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactEffectivePeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactEffectivePeriodProfile { + return new ArtifactEffectivePeriodProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod", + } as unknown as Extension + return resource + } + + static create () : ArtifactEffectivePeriodProfile { + return ArtifactEffectivePeriodProfile.from(ArtifactEffectivePeriodProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactEffectivePeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod", "ArtifactEffectivePeriod"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEndorser.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEndorser.ts new file mode 100644 index 000000000..566dfcaf5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEndorser.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r5-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactEndorserProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-endorser (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactEndorserProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-endorser" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactEndorserProfile { + return new ArtifactEndorserProfile(resource) + } + + static createResource (args: ArtifactEndorserProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-endorser", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactEndorserProfileParams) : ArtifactEndorserProfile { + return ArtifactEndorserProfile.from(ArtifactEndorserProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactEndorser"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-endorser", "ArtifactEndorser"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactExperimental.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactExperimental.ts new file mode 100644 index 000000000..98f62f50c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactExperimental.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactExperimentalProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-experimental (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactExperimentalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-experimental" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactExperimentalProfile { + return new ArtifactExperimentalProfile(resource) + } + + static createResource (args: ArtifactExperimentalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-experimental", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: ArtifactExperimentalProfileParams) : ArtifactExperimentalProfile { + return ArtifactExperimentalProfile.from(ArtifactExperimentalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactExperimental"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-experimental", "ArtifactExperimental"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIdentifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIdentifier.ts new file mode 100644 index 000000000..e6ce4ab8c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIdentifier.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactIdentifierProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-identifier (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactIdentifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-identifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactIdentifierProfile { + return new ArtifactIdentifierProfile(resource) + } + + static createResource (args: ArtifactIdentifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-identifier", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: ArtifactIdentifierProfileParams) : ArtifactIdentifierProfile { + return ArtifactIdentifierProfile.from(ArtifactIdentifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactIdentifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-identifier", "ArtifactIdentifier"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIsOwned.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIsOwned.ts new file mode 100644 index 000000000..a4799f24b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIsOwned.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-isOwned (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactIsOwnedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-isOwned" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactIsOwnedProfile { + return new ArtifactIsOwnedProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-isOwned", + } as unknown as Extension + return resource + } + + static create () : ArtifactIsOwnedProfile { + return ArtifactIsOwnedProfile.from(ArtifactIsOwnedProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactIsOwned"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-isOwned", "ArtifactIsOwned"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactJurisdiction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactJurisdiction.ts new file mode 100644 index 000000000..3f62c3cb8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactJurisdiction.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactJurisdictionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactJurisdictionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactJurisdictionProfile { + return new ArtifactJurisdictionProfile(resource) + } + + static createResource (args: ArtifactJurisdictionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ArtifactJurisdictionProfileParams) : ArtifactJurisdictionProfile { + return ArtifactJurisdictionProfile.from(ArtifactJurisdictionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactJurisdiction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction", "ArtifactJurisdiction"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactLastReviewDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactLastReviewDate.ts new file mode 100644 index 000000000..a13ca02d3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactLastReviewDate.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactLastReviewDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactLastReviewDateProfile { + return new ArtifactLastReviewDateProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate", + } as unknown as Extension + return resource + } + + static create () : ArtifactLastReviewDateProfile { + return ArtifactLastReviewDateProfile.from(ArtifactLastReviewDateProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactLastReviewDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate", "ArtifactLastReviewDate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactName.ts new file mode 100644 index 000000000..68aabcfa3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-name (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactNameProfile { + return new ArtifactNameProfile(resource) + } + + static createResource (args: ArtifactNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactNameProfileParams) : ArtifactNameProfile { + return ArtifactNameProfile.from(ArtifactNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-name", "ArtifactName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPublisher.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPublisher.ts new file mode 100644 index 000000000..bb2bbcadb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPublisher.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactPublisherProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-publisher (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactPublisherProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-publisher" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactPublisherProfile { + return new ArtifactPublisherProfile(resource) + } + + static createResource (args: ArtifactPublisherProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-publisher", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactPublisherProfileParams) : ArtifactPublisherProfile { + return ArtifactPublisherProfile.from(ArtifactPublisherProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactPublisher"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-publisher", "ArtifactPublisher"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPurpose.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPurpose.ts new file mode 100644 index 000000000..ee73bc97f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPurpose.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactPurposeProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-purpose (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactPurposeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-purpose" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactPurposeProfile { + return new ArtifactPurposeProfile(resource) + } + + static createResource (args: ArtifactPurposeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-purpose", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ArtifactPurposeProfileParams) : ArtifactPurposeProfile { + return ArtifactPurposeProfile.from(ArtifactPurposeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactPurpose"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-purpose", "ArtifactPurpose"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReference.ts new file mode 100644 index 000000000..a498e8b35 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReference.ts @@ -0,0 +1,84 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-reference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactReferenceProfile { + return new ArtifactReferenceProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-reference", + } as unknown as Extension + return resource + } + + static create () : ArtifactReferenceProfile { + return ArtifactReferenceProfile.from(ArtifactReferenceProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-reference", "ArtifactReference"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactRelatedArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactRelatedArtifact.ts new file mode 100644 index 000000000..dda6acc68 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactRelatedArtifact.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactRelatedArtifactProfileParams = { + valueRelatedArtifact: RelatedArtifact; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactRelatedArtifactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactRelatedArtifactProfile { + return new ArtifactRelatedArtifactProfile(resource) + } + + static createResource (args: ArtifactRelatedArtifactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact", + valueRelatedArtifact: args.valueRelatedArtifact, + } as unknown as Extension + return resource + } + + static create (args: ArtifactRelatedArtifactProfileParams) : ArtifactRelatedArtifactProfile { + return ArtifactRelatedArtifactProfile.from(ArtifactRelatedArtifactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueRelatedArtifact () : RelatedArtifact | undefined { + return this.resource.valueRelatedArtifact as RelatedArtifact | undefined + } + + setValueRelatedArtifact (value: RelatedArtifact) : this { + Object.assign(this.resource, { valueRelatedArtifact: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactRelatedArtifact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact", "ArtifactRelatedArtifact"); if (e) errors.push(e) } + if (!(r["valueRelatedArtifact"] !== undefined)) { + errors.push("value: at least one of valueRelatedArtifact is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseDescription.ts new file mode 100644 index 000000000..0d8df116b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseDescription.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactReleaseDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactReleaseDescriptionProfile { + return new ArtifactReleaseDescriptionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription", + } as unknown as Extension + return resource + } + + static create () : ArtifactReleaseDescriptionProfile { + return ArtifactReleaseDescriptionProfile.from(ArtifactReleaseDescriptionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactReleaseDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription", "ArtifactReleaseDescription"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseLabel.ts new file mode 100644 index 000000000..84784e439 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseLabel.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactReleaseLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactReleaseLabelProfile { + return new ArtifactReleaseLabelProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel", + } as unknown as Extension + return resource + } + + static create () : ArtifactReleaseLabelProfile { + return ArtifactReleaseLabelProfile.from(ArtifactReleaseLabelProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactReleaseLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel", "ArtifactReleaseLabel"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReviewer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReviewer.ts new file mode 100644 index 000000000..bf052fa34 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReviewer.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../../hl7-fhir-r5-core/ContactDetail"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactReviewerProfileParams = { + valueContactDetail: ContactDetail; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-reviewer (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactReviewerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-reviewer" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactReviewerProfile { + return new ArtifactReviewerProfile(resource) + } + + static createResource (args: ArtifactReviewerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-reviewer", + valueContactDetail: args.valueContactDetail, + } as unknown as Extension + return resource + } + + static create (args: ArtifactReviewerProfileParams) : ArtifactReviewerProfile { + return ArtifactReviewerProfile.from(ArtifactReviewerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactDetail () : ContactDetail | undefined { + return this.resource.valueContactDetail as ContactDetail | undefined + } + + setValueContactDetail (value: ContactDetail) : this { + Object.assign(this.resource, { valueContactDetail: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactReviewer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-reviewer", "ArtifactReviewer"); if (e) errors.push(e) } + if (!(r["valueContactDetail"] !== undefined)) { + errors.push("value: at least one of valueContactDetail is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactStatus.ts new file mode 100644 index 000000000..52c5f7b22 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-status (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactStatusProfile { + return new ArtifactStatusProfile(resource) + } + + static createResource (args: ArtifactStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-status", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: ArtifactStatusProfileParams) : ArtifactStatusProfile { + return ArtifactStatusProfile.from(ArtifactStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-status", "ArtifactStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTitle.ts new file mode 100644 index 000000000..248369351 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTitle.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactTitleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-title (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactTitleProfile { + return new ArtifactTitleProfile(resource) + } + + static createResource (args: ArtifactTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-title", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactTitleProfileParams) : ArtifactTitleProfile { + return ArtifactTitleProfile.from(ArtifactTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-title", "ArtifactTitle"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTopic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTopic.ts new file mode 100644 index 000000000..a85da9285 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTopic.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactTopicProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-topic (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactTopicProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-topic" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactTopicProfile { + return new ArtifactTopicProfile(resource) + } + + static createResource (args: ArtifactTopicProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-topic", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ArtifactTopicProfileParams) : ArtifactTopicProfile { + return ArtifactTopicProfile.from(ArtifactTopicProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactTopic"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-topic", "ArtifactTopic"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUrl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUrl.ts new file mode 100644 index 000000000..ba3d662f0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUrl.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactUrlProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-url (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactUrlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-url" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactUrlProfile { + return new ArtifactUrlProfile(resource) + } + + static createResource (args: ArtifactUrlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-url", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: ArtifactUrlProfileParams) : ArtifactUrlProfile { + return ArtifactUrlProfile.from(ArtifactUrlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactUrl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-url", "ArtifactUrl"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUsage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUsage.ts new file mode 100644 index 000000000..b292f49bf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUsage.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-usage (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactUsageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-usage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactUsageProfile { + return new ArtifactUsageProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-usage", + } as unknown as Extension + return resource + } + + static create () : ArtifactUsageProfile { + return ArtifactUsageProfile.from(ArtifactUsageProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactUsage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-usage", "ArtifactUsage"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUseContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUseContext.ts new file mode 100644 index 000000000..5bb250f68 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUseContext.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { UsageContext } from "../../hl7-fhir-r5-core/UsageContext"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactUseContextProfileParams = { + valueUsageContext: UsageContext; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-useContext (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactUseContextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-useContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactUseContextProfile { + return new ArtifactUseContextProfile(resource) + } + + static createResource (args: ArtifactUseContextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-useContext", + valueUsageContext: args.valueUsageContext, + } as unknown as Extension + return resource + } + + static create (args: ArtifactUseContextProfileParams) : ArtifactUseContextProfile { + return ArtifactUseContextProfile.from(ArtifactUseContextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUsageContext () : UsageContext | undefined { + return this.resource.valueUsageContext as UsageContext | undefined + } + + setValueUsageContext (value: UsageContext) : this { + Object.assign(this.resource, { valueUsageContext: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactUseContext"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-useContext", "ArtifactUseContext"); if (e) errors.push(e) } + if (!(r["valueUsageContext"] !== undefined)) { + errors.push("value: at least one of valueUsageContext is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersion.ts new file mode 100644 index 000000000..8b924ef51 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ArtifactVersionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-version (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactVersionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactVersionProfile { + return new ArtifactVersionProfile(resource) + } + + static createResource (args: ArtifactVersionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-version", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ArtifactVersionProfileParams) : ArtifactVersionProfile { + return ArtifactVersionProfile.from(ArtifactVersionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-version", "ArtifactVersion"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionAlgorithm.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionAlgorithm.ts new file mode 100644 index 000000000..bd324fd50 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionAlgorithm.ts @@ -0,0 +1,78 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactVersionAlgorithmProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactVersionAlgorithmProfile { + return new ArtifactVersionAlgorithmProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm", + } as unknown as Extension + return resource + } + + static create () : ArtifactVersionAlgorithmProfile { + return ArtifactVersionAlgorithmProfile.from(ArtifactVersionAlgorithmProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactVersionAlgorithm"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm", "ArtifactVersionAlgorithm"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined || r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueString, valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionPolicy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionPolicy.ts new file mode 100644 index 000000000..aa50ca64e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionPolicy.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ArtifactVersionPolicyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ArtifactVersionPolicyProfile { + return new ArtifactVersionPolicyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy", + } as unknown as Extension + return resource + } + + static create () : ArtifactVersionPolicyProfile { + return ArtifactVersionPolicyProfile.from(ArtifactVersionPolicyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ArtifactVersionPolicy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy", "ArtifactVersionPolicy"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AssemblyOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AssemblyOrder.ts new file mode 100644 index 000000000..8bcd1c27f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AssemblyOrder.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AssemblyOrderProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-assembly-order (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class AssemblyOrderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssemblyOrderProfile { + return new AssemblyOrderProfile(resource) + } + + static createResource (args: AssemblyOrderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: AssemblyOrderProfileParams) : AssemblyOrderProfile { + return AssemblyOrderProfile.from(AssemblyOrderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssemblyOrder"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order", "AssemblyOrder"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPCollectionProcedure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPCollectionProcedure.ts new file mode 100644 index 000000000..a5d84503a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPCollectionProcedure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BDPCollectionProcedureProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BDPCollectionProcedureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BDPCollectionProcedureProfile { + return new BDPCollectionProcedureProfile(resource) + } + + static createResource (args: BDPCollectionProcedureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: BDPCollectionProcedureProfileParams) : BDPCollectionProcedureProfile { + return BDPCollectionProcedureProfile.from(BDPCollectionProcedureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BDPCollectionProcedure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure", "BDPCollectionProcedure"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPManipulation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPManipulation.ts new file mode 100644 index 000000000..59e3b05c1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPManipulation.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BDPManipulationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BDPManipulationProfile { + return new BDPManipulationProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation", + } as unknown as Extension + return resource + } + + static create () : BDPManipulationProfile { + return BDPManipulationProfile.from(BDPManipulationProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public setProcedure (value: CodeableReference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "procedure", valueCodeableReference: value } as Extension) + return this + } + + public setTime (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "time[x]", valueDateTime: value } as Extension) + return this + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + public getProcedure (): CodeableReference | undefined { + const ext = this.resource.extension?.find(e => e.url === "procedure") + return (ext as Record | undefined)?.valueCodeableReference as CodeableReference | undefined + } + + public getProcedureExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "procedure") + return ext + } + + public getTime (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "time[x]") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getTimeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "time[x]") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BDPManipulation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation", "BDPManipulation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPProcessing.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPProcessing.ts new file mode 100644 index 000000000..5386a1d45 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPProcessing.ts @@ -0,0 +1,122 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BDPProcessingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BDPProcessingProfile { + return new BDPProcessingProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing", + } as unknown as Extension + return resource + } + + static create () : BDPProcessingProfile { + return BDPProcessingProfile.from(BDPProcessingProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public setProcedure (value: CodeableReference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "procedure", valueCodeableReference: value } as Extension) + return this + } + + public setAdditive (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "additive", valueReference: value } as Extension) + return this + } + + public setTime (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "time[x]", valueDateTime: value } as Extension) + return this + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + public getProcedure (): CodeableReference | undefined { + const ext = this.resource.extension?.find(e => e.url === "procedure") + return (ext as Record | undefined)?.valueCodeableReference as CodeableReference | undefined + } + + public getProcedureExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "procedure") + return ext + } + + public getAdditive (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "additive") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getAdditiveExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "additive") + return ext + } + + public getTime (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "time[x]") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getTimeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "time[x]") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BDPProcessing"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing", "BDPProcessing"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BasedOn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BasedOn.ts new file mode 100644 index 000000000..ef76f72d2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BasedOn.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BasedOnProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-basedOn (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BasedOnProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-basedOn" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BasedOnProfile { + return new BasedOnProfile(resource) + } + + static createResource (args: BasedOnProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-basedOn", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: BasedOnProfileParams) : BasedOnProfile { + return BasedOnProfile.from(BasedOnProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BasedOn"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-basedOn", "BasedOn"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPractice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPractice.ts new file mode 100644 index 000000000..f851a1868 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPractice.ts @@ -0,0 +1,78 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BestPracticeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BestPracticeProfile { + return new BestPracticeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + } as unknown as Extension + return resource + } + + static create () : BestPracticeProfile { + return BestPracticeProfile.from(BestPracticeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BestPractice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "BestPractice"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined || r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueBoolean, valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPracticeExplanation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPracticeExplanation.ts new file mode 100644 index 000000000..4c15ed736 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPracticeExplanation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BestPracticeExplanationProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BestPracticeExplanationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BestPracticeExplanationProfile { + return new BestPracticeExplanationProfile(resource) + } + + static createResource (args: BestPracticeExplanationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: BestPracticeExplanationProfileParams) : BestPracticeExplanationProfile { + return BestPracticeExplanationProfile.from(BestPracticeExplanationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BestPracticeExplanation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "BestPracticeExplanation"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BindingName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BindingName.ts new file mode 100644 index 000000000..d58a1904e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BindingName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BindingNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BindingNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BindingNameProfile { + return new BindingNameProfile(resource) + } + + static createResource (args: BindingNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: BindingNameProfileParams) : BindingNameProfile { + return BindingNameProfile.from(BindingNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BindingName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "BindingName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BodyStructureReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BodyStructureReference.ts new file mode 100644 index 000000000..384278507 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BodyStructureReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BodyStructureReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodySite (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BodyStructureReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/bodySite" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BodyStructureReferenceProfile { + return new BodyStructureReferenceProfile(resource) + } + + static createResource (args: BodyStructureReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/bodySite", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: BodyStructureReferenceProfileParams) : BodyStructureReferenceProfile { + return BodyStructureReferenceProfile.from(BodyStructureReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BodyStructureReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/bodySite", "BodyStructureReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleHttpResponseHeader.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleHttpResponseHeader.ts new file mode 100644 index 000000000..d7bc41e25 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleHttpResponseHeader.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BundleHttpResponseHeaderProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/http-response-header (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BundleHttpResponseHeaderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/http-response-header" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BundleHttpResponseHeaderProfile { + return new BundleHttpResponseHeaderProfile(resource) + } + + static createResource (args: BundleHttpResponseHeaderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/http-response-header", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: BundleHttpResponseHeaderProfileParams) : BundleHttpResponseHeaderProfile { + return BundleHttpResponseHeaderProfile.from(BundleHttpResponseHeaderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BundleHttpResponseHeader"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/http-response-header", "BundleHttpResponseHeader"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleLocationDistance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleLocationDistance.ts new file mode 100644 index 000000000..8d3e3c66f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleLocationDistance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Distance } from "../../hl7-fhir-r5-core/Distance"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BundleLocationDistanceProfileParams = { + valueDistance: Distance; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/location-distance (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BundleLocationDistanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/location-distance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BundleLocationDistanceProfile { + return new BundleLocationDistanceProfile(resource) + } + + static createResource (args: BundleLocationDistanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/location-distance", + valueDistance: args.valueDistance, + } as unknown as Extension + return resource + } + + static create (args: BundleLocationDistanceProfileParams) : BundleLocationDistanceProfile { + return BundleLocationDistanceProfile.from(BundleLocationDistanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDistance () : Distance | undefined { + return this.resource.valueDistance as Distance | undefined + } + + setValueDistance (value: Distance) : this { + Object.assign(this.resource, { valueDistance: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BundleLocationDistance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/location-distance", "BundleLocationDistance"); if (e) errors.push(e) } + if (!(r["valueDistance"] !== undefined)) { + errors.push("value: at least one of valueDistance is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleMatchGrade.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleMatchGrade.ts new file mode 100644 index 000000000..432465384 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleMatchGrade.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type BundleMatchGradeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/match-grade (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class BundleMatchGradeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/match-grade" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : BundleMatchGradeProfile { + return new BundleMatchGradeProfile(resource) + } + + static createResource (args: BundleMatchGradeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/match-grade", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: BundleMatchGradeProfileParams) : BundleMatchGradeProfile { + return BundleMatchGradeProfile.from(BundleMatchGradeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "BundleMatchGrade"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/match-grade", "BundleMatchGrade"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CDVersionNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CDVersionNumber.ts new file mode 100644 index 000000000..741feba9b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CDVersionNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CDVersionNumberProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CDVersionNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CDVersionNumberProfile { + return new CDVersionNumberProfile(resource) + } + + static createResource (args: CDVersionNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CDVersionNumberProfileParams) : CDVersionNumberProfile { + return CDVersionNumberProfile.from(CDVersionNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CDVersionNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber", "CDVersionNumber"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMBidirectional.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMBidirectional.ts new file mode 100644 index 000000000..15ae9b78b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMBidirectional.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CMBidirectionalProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/concept-bidirectional (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CMBidirectionalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/concept-bidirectional" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CMBidirectionalProfile { + return new CMBidirectionalProfile(resource) + } + + static createResource (args: CMBidirectionalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/concept-bidirectional", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: CMBidirectionalProfileParams) : CMBidirectionalProfile { + return CMBidirectionalProfile.from(CMBidirectionalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CMBidirectional"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/concept-bidirectional", "CMBidirectional"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMedia.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMedia.ts new file mode 100644 index 000000000..8a0afcc8a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMedia.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CMediaProfileParams = { + valueAttachment: Attachment; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/communication-media (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CMediaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/communication-media" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CMediaProfile { + return new CMediaProfile(resource) + } + + static createResource (args: CMediaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/communication-media", + valueAttachment: args.valueAttachment, + } as unknown as Extension + return resource + } + + static create (args: CMediaProfileParams) : CMediaProfile { + return CMediaProfile.from(CMediaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAttachment () : Attachment | undefined { + return this.resource.valueAttachment as Attachment | undefined + } + + setValueAttachment (value: Attachment) : this { + Object.assign(this.resource, { valueAttachment: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CMedia"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/communication-media", "CMedia"); if (e) errors.push(e) } + if (!(r["valueAttachment"] !== undefined)) { + errors.push("value: at least one of valueAttachment is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CPActivityTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CPActivityTitle.ts new file mode 100644 index 000000000..db3c231e3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CPActivityTitle.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CPActivityTitleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/careplan-activity-title (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CPActivityTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/careplan-activity-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CPActivityTitleProfile { + return new CPActivityTitleProfile(resource) + } + + static createResource (args: CPActivityTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/careplan-activity-title", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CPActivityTitleProfileParams) : CPActivityTitleProfile { + return CPActivityTitleProfile.from(CPActivityTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CPActivityTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/careplan-activity-title", "CPActivityTitle"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCQLOptions.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCQLOptions.ts new file mode 100644 index 000000000..2e3432050 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCQLOptions.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQFCQLOptionsProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CQFCQLOptionsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFCQLOptionsProfile { + return new CQFCQLOptionsProfile(resource) + } + + static createResource (args: CQFCQLOptionsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: CQFCQLOptionsProfileParams) : CQFCQLOptionsProfile { + return CQFCQLOptionsProfile.from(CQFCQLOptionsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFCQLOptions"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions", "CQFCQLOptions"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCertainty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCertainty.ts new file mode 100644 index 000000000..887467b79 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCertainty.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Annotation } from "../../hl7-fhir-r5-core/Annotation"; +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-certainty (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CQFCertaintyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-certainty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFCertaintyProfile { + return new CQFCertaintyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-certainty", + } as unknown as Extension + return resource + } + + static create () : CQFCertaintyProfile { + return CQFCertaintyProfile.from(CQFCertaintyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public setNote (value: Annotation): this { + const list = (this.resource.extension ??= []) + list.push({ url: "note", valueAnnotation: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setRating (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "rating", valueCodeableConcept: value } as Extension) + return this + } + + public setRater (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "rater", valueString: value } as Extension) + return this + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + public getNote (): Annotation | undefined { + const ext = this.resource.extension?.find(e => e.url === "note") + return (ext as Record | undefined)?.valueAnnotation as Annotation | undefined + } + + public getNoteExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "note") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getRating (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "rating") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getRatingExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "rating") + return ext + } + + public getRater (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "rater") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRaterExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "rater") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFCertainty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-certainty", "CQFCertainty"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCitation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCitation.ts new file mode 100644 index 000000000..2fd61187e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCitation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQFCitationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-citation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CQFCitationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-citation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFCitationProfile { + return new CQFCitationProfile(resource) + } + + static createResource (args: CQFCitationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-citation", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CQFCitationProfileParams) : CQFCitationProfile { + return CQFCitationProfile.from(CQFCitationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFCitation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-citation", "CQFCitation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFExpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFExpression.ts new file mode 100644 index 000000000..3bd19c532 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFExpression.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQFExpressionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-expression (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CQFExpressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-expression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFExpressionProfile { + return new CQFExpressionProfile(resource) + } + + static createResource (args: CQFExpressionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: CQFExpressionProfileParams) : CQFExpressionProfile { + return CQFExpressionProfile.from(CQFExpressionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFExpression"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-expression", "CQFExpression"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFKnowledgeCapability.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFKnowledgeCapability.ts new file mode 100644 index 000000000..a68d6de51 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFKnowledgeCapability.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQFKnowledgeCapabilityProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CQFKnowledgeCapabilityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFKnowledgeCapabilityProfile { + return new CQFKnowledgeCapabilityProfile(resource) + } + + static createResource (args: CQFKnowledgeCapabilityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CQFKnowledgeCapabilityProfileParams) : CQFKnowledgeCapabilityProfile { + return CQFKnowledgeCapabilityProfile.from(CQFKnowledgeCapabilityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFKnowledgeCapability"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability", "CQFKnowledgeCapability"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFLibrary.ts new file mode 100644 index 000000000..af669a3b2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFLibrary.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CQFLibraryProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-library (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CQFLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-library" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CQFLibraryProfile { + return new CQFLibraryProfile(resource) + } + + static createResource (args: CQFLibraryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-library", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: CQFLibraryProfileParams) : CQFLibraryProfile { + return CQFLibraryProfile.from(CQFLibraryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CQFLibrary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-library", "CQFLibrary"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRInitiatingLocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRInitiatingLocation.ts new file mode 100644 index 000000000..6bc3675a4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRInitiatingLocation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CRInitiatingLocationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CRInitiatingLocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CRInitiatingLocationProfile { + return new CRInitiatingLocationProfile(resource) + } + + static createResource (args: CRInitiatingLocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: CRInitiatingLocationProfileParams) : CRInitiatingLocationProfile { + return CRInitiatingLocationProfile.from(CRInitiatingLocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CRInitiatingLocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation", "CRInitiatingLocation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRPublishDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRPublishDate.ts new file mode 100644 index 000000000..5e435d021 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRPublishDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CRPublishDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CRPublishDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CRPublishDateProfile { + return new CRPublishDateProfile(resource) + } + + static createResource (args: CRPublishDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: CRPublishDateProfileParams) : CRPublishDateProfile { + return CRPublishDateProfile.from(CRPublishDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CRPublishDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date", "CRPublishDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRShortDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRShortDescription.ts new file mode 100644 index 000000000..692ad2657 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRShortDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CRShortDescriptionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CRShortDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CRShortDescriptionProfile { + return new CRShortDescriptionProfile(resource) + } + + static createResource (args: CRShortDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CRShortDescriptionProfileParams) : CRShortDescriptionProfile { + return CRShortDescriptionProfile.from(CRShortDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CRShortDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description", "CRShortDescription"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAlternate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAlternate.ts new file mode 100644 index 000000000..b6ec3fa8e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAlternate.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSAlternateProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-alternate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSAlternateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-alternate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSAlternateProfile { + return new CSAlternateProfile(resource) + } + + static createResource (args: CSAlternateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-alternate", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: CSAlternateProfileParams) : CSAlternateProfile { + return CSAlternateProfile.from(CSAlternateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCode: value } as Extension) + return this + } + + public setUse (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "use", valueCoding: value } as Extension) + return this + } + + public getCode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getUse (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getUseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "CSAlternate"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "CSAlternate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-alternate", "CSAlternate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAuthoritativeSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAuthoritativeSource.ts new file mode 100644 index 000000000..dedc03812 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAuthoritativeSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSAuthoritativeSourceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSAuthoritativeSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSAuthoritativeSourceProfile { + return new CSAuthoritativeSourceProfile(resource) + } + + static createResource (args: CSAuthoritativeSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: CSAuthoritativeSourceProfileParams) : CSAuthoritativeSourceProfile { + return CSAuthoritativeSourceProfile.from(CSAuthoritativeSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSAuthoritativeSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource", "CSAuthoritativeSource"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptComments.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptComments.ts new file mode 100644 index 000000000..5ccabc14b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptComments.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSConceptCommentsProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSConceptCommentsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSConceptCommentsProfile { + return new CSConceptCommentsProfile(resource) + } + + static createResource (args: CSConceptCommentsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CSConceptCommentsProfileParams) : CSConceptCommentsProfile { + return CSConceptCommentsProfile.from(CSConceptCommentsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSConceptComments"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments", "CSConceptComments"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptOrder.ts new file mode 100644 index 000000000..624da85f4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptOrder.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSConceptOrderProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSConceptOrderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSConceptOrderProfile { + return new CSConceptOrderProfile(resource) + } + + static createResource (args: CSConceptOrderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: CSConceptOrderProfileParams) : CSConceptOrderProfile { + return CSConceptOrderProfile.from(CSConceptOrderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSConceptOrder"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder", "CSConceptOrder"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSDeclaredProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSDeclaredProfile.ts new file mode 100644 index 000000000..67b7b21a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSDeclaredProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSDeclaredProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSDeclaredProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSDeclaredProfileProfile { + return new CSDeclaredProfileProfile(resource) + } + + static createResource (args: CSDeclaredProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: CSDeclaredProfileProfileParams) : CSDeclaredProfileProfile { + return CSDeclaredProfileProfile.from(CSDeclaredProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSDeclaredProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile", "CSDeclaredProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSExpectation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSExpectation.ts new file mode 100644 index 000000000..e912f3050 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSExpectation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSExpectationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSExpectationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSExpectationProfile { + return new CSExpectationProfile(resource) + } + + static createResource (args: CSExpectationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CSExpectationProfileParams) : CSExpectationProfile { + return CSExpectationProfile.from(CSExpectationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSExpectation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", "CSExpectation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSHistory.ts new file mode 100644 index 000000000..f6a2d171c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSHistory.ts @@ -0,0 +1,82 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-history (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-history" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSHistoryProfile { + return new CSHistoryProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-history", + } as unknown as Extension + return resource + } + + static create () : CSHistoryProfile { + return CSHistoryProfile.from(CSHistoryProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setRevision (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "revision", ...value }) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getRevision (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "revision") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-history", "CSHistory"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSKeyWord.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSKeyWord.ts new file mode 100644 index 000000000..83893de51 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSKeyWord.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSKeyWordProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-keyWord (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSKeyWordProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSKeyWordProfile { + return new CSKeyWordProfile(resource) + } + + static createResource (args: CSKeyWordProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CSKeyWordProfileParams) : CSKeyWordProfile { + return CSKeyWordProfile.from(CSKeyWordProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSKeyWord"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord", "CSKeyWord"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSLabel.ts new file mode 100644 index 000000000..54296d22b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSLabel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSLabelProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-label (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-label" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSLabelProfile { + return new CSLabelProfile(resource) + } + + static createResource (args: CSLabelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-label", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CSLabelProfileParams) : CSLabelProfile { + return CSLabelProfile.from(CSLabelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-label", "CSLabel"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSMap.ts new file mode 100644 index 000000000..37846c162 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSMap.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSMapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-map (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSMapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-map" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSMapProfile { + return new CSMapProfile(resource) + } + + static createResource (args: CSMapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-map", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: CSMapProfileParams) : CSMapProfile { + return CSMapProfile.from(CSMapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSMap"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-map", "CSMap"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSOtherName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSOtherName.ts new file mode 100644 index 000000000..22acf6a28 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSOtherName.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSOtherNameProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-otherName (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSOtherNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-otherName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSOtherNameProfile { + return new CSOtherNameProfile(resource) + } + + static createResource (args: CSOtherNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-otherName", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: CSOtherNameProfileParams) : CSOtherNameProfile { + return CSOtherNameProfile.from(CSOtherNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setPreferred (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "preferred", valueBoolean: value } as Extension) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getPreferred (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getPreferredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "CSOtherName"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "CSOtherName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-otherName", "CSOtherName"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSProhibited.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSProhibited.ts new file mode 100644 index 000000000..64c9bf943 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSProhibited.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSProhibitedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSProhibitedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSProhibitedProfile { + return new CSProhibitedProfile(resource) + } + + static createResource (args: CSProhibitedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: CSProhibitedProfileParams) : CSProhibitedProfile { + return CSProhibitedProfile.from(CSProhibitedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSProhibited"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited", "CSProhibited"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSPropertiesMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSPropertiesMode.ts new file mode 100644 index 000000000..483ba66a2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSPropertiesMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSPropertiesModeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSPropertiesModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSPropertiesModeProfile { + return new CSPropertiesModeProfile(resource) + } + + static createResource (args: CSPropertiesModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CSPropertiesModeProfileParams) : CSPropertiesModeProfile { + return CSPropertiesModeProfile.from(CSPropertiesModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSPropertiesMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode", "CSPropertiesMode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSReplacedby.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSReplacedby.ts new file mode 100644 index 000000000..cbb2e0fc7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSReplacedby.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSReplacedbyProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-replacedby (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSReplacedbyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSReplacedbyProfile { + return new CSReplacedbyProfile(resource) + } + + static createResource (args: CSReplacedbyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: CSReplacedbyProfileParams) : CSReplacedbyProfile { + return CSReplacedbyProfile.from(CSReplacedbyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSReplacedby"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", "CSReplacedby"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchMode.ts new file mode 100644 index 000000000..4e8453f46 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSSearchModeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSSearchModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSSearchModeProfile { + return new CSSearchModeProfile(resource) + } + + static createResource (args: CSSearchModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CSSearchModeProfileParams) : CSSearchModeProfile { + return CSSearchModeProfile.from(CSSearchModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSSearchMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode", "CSSearchMode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterCombination.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterCombination.ts new file mode 100644 index 000000000..0fc7b3697 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterCombination.ts @@ -0,0 +1,88 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSSearchParameterCombinationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSSearchParameterCombinationProfile { + return new CSSearchParameterCombinationProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + } as unknown as Extension + return resource + } + + static create () : CSSearchParameterCombinationProfile { + return CSSearchParameterCombinationProfile.from(CSSearchParameterCombinationProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setRequired (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "required", valueString: value } as Extension) + return this + } + + public setOptional (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "optional", valueString: value } as Extension) + return this + } + + public getRequired (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "required") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRequiredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "required") + return ext + } + + public getOptional (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "optional") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getOptionalExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "optional") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSSearchParameterCombination"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", "CSSearchParameterCombination"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterUse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterUse.ts new file mode 100644 index 000000000..d6954a262 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterUse.ts @@ -0,0 +1,119 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSSearchParameterUseProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSSearchParameterUseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSSearchParameterUseProfile { + return new CSSearchParameterUseProfile(resource) + } + + static createResource (args: CSSearchParameterUseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: CSSearchParameterUseProfileParams) : CSSearchParameterUseProfile { + return CSSearchParameterUseProfile.from(CSSearchParameterUseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setRequired (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "allow-standalone", valueBoolean: value } as Extension) + return this + } + + public setAllowInclude (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "allow-include", valueBoolean: value } as Extension) + return this + } + + public setAllowRevinclude (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "allow-revinclude", valueBoolean: value } as Extension) + return this + } + + public getRequired (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-standalone") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getRequiredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-standalone") + return ext + } + + public getAllowInclude (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-include") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getAllowIncludeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-include") + return ext + } + + public getAllowRevinclude (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-revinclude") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getAllowRevincludeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "allow-revinclude") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "CSSearchParameterUse"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "CSSearchParameterUse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use", "CSSearchParameterUse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSourceReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSourceReference.ts new file mode 100644 index 000000000..878499518 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSourceReference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSSourceReferenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSSourceReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSSourceReferenceProfile { + return new CSSourceReferenceProfile(resource) + } + + static createResource (args: CSSourceReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: CSSourceReferenceProfileParams) : CSSourceReferenceProfile { + return CSSourceReferenceProfile.from(CSSourceReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSSourceReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference", "CSSourceReference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSupportedSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSupportedSystem.ts new file mode 100644 index 000000000..5ae4e6b87 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSupportedSystem.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSSupportedSystemProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSSupportedSystemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSSupportedSystemProfile { + return new CSSupportedSystemProfile(resource) + } + + static createResource (args: CSSupportedSystemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: CSSupportedSystemProfileParams) : CSSupportedSystemProfile { + return CSSupportedSystemProfile.from(CSSupportedSystemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSSupportedSystem"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system", "CSSupportedSystem"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSTrustedExpansion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSTrustedExpansion.ts new file mode 100644 index 000000000..74958e387 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSTrustedExpansion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSTrustedExpansionProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSTrustedExpansionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSTrustedExpansionProfile { + return new CSTrustedExpansionProfile(resource) + } + + static createResource (args: CSTrustedExpansionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: CSTrustedExpansionProfileParams) : CSTrustedExpansionProfile { + return CSTrustedExpansionProfile.from(CSTrustedExpansionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSTrustedExpansion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion", "CSTrustedExpansion"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUsage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUsage.ts new file mode 100644 index 000000000..5ef2ee97c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUsage.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSUsageProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-usage (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSUsageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-usage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSUsageProfile { + return new CSUsageProfile(resource) + } + + static createResource (args: CSUsageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-usage", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: CSUsageProfileParams) : CSUsageProfile { + return CSUsageProfile.from(CSUsageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setUser (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "user", valueString: value } as Extension) + return this + } + + public setUse (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "use", valueString: value } as Extension) + return this + } + + public getUser (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUserExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return ext + } + + public getUse (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "CSUsage"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "CSUsage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-usage", "CSUsage"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUseMarkdown.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUseMarkdown.ts new file mode 100644 index 000000000..68cbac188 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUseMarkdown.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSUseMarkdownProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSUseMarkdownProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSUseMarkdownProfile { + return new CSUseMarkdownProfile(resource) + } + + static createResource (args: CSUseMarkdownProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: CSUseMarkdownProfileParams) : CSUseMarkdownProfile { + return CSUseMarkdownProfile.from(CSUseMarkdownProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSUseMarkdown"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown", "CSUseMarkdown"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWarning.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWarning.ts new file mode 100644 index 000000000..03f56fa3d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWarning.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSWarningProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-warning (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSWarningProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-warning" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSWarningProfile { + return new CSWarningProfile(resource) + } + + static createResource (args: CSWarningProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-warning", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: CSWarningProfileParams) : CSWarningProfile { + return CSWarningProfile.from(CSWarningProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSWarning"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-warning", "CSWarning"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWebsocket.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWebsocket.ts new file mode 100644 index 000000000..e7ab89f22 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWebsocket.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSWebsocketProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSWebsocketProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSWebsocketProfile { + return new CSWebsocketProfile(resource) + } + + static createResource (args: CSWebsocketProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: CSWebsocketProfileParams) : CSWebsocketProfile { + return CSWebsocketProfile.from(CSWebsocketProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSWebsocket"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket", "CSWebsocket"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWorkflowStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWorkflowStatus.ts new file mode 100644 index 000000000..70b683393 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWorkflowStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSWorkflowStatusProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSWorkflowStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSWorkflowStatusProfile { + return new CSWorkflowStatusProfile(resource) + } + + static createResource (args: CSWorkflowStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CSWorkflowStatusProfileParams) : CSWorkflowStatusProfile { + return CSWorkflowStatusProfile.from(CSWorkflowStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSWorkflowStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus", "CSWorkflowStatus"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSectionSubject.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSectionSubject.ts new file mode 100644 index 000000000..508bdb3eb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSectionSubject.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CSectionSubjectProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/composition-section-subject (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CSectionSubjectProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/composition-section-subject" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CSectionSubjectProfile { + return new CSectionSubjectProfile(resource) + } + + static createResource (args: CSectionSubjectProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/composition-section-subject", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CSectionSubjectProfileParams) : CSectionSubjectProfile { + return CSectionSubjectProfile.from(CSectionSubjectProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CSectionSubject"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/composition-section-subject", "CSectionSubject"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CTAlias.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CTAlias.ts new file mode 100644 index 000000000..0e928a037 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CTAlias.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CTAliasProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/careteam-alias (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CTAliasProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/careteam-alias" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CTAliasProfile { + return new CTAliasProfile(resource) + } + + static createResource (args: CTAliasProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/careteam-alias", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CTAliasProfileParams) : CTAliasProfile { + return CTAliasProfile.from(CTAliasProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CTAlias"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/careteam-alias", "CTAlias"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CValidityPeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CValidityPeriod.ts new file mode 100644 index 000000000..f9c2fec38 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CValidityPeriod.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CValidityPeriodProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CValidityPeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CValidityPeriodProfile { + return new CValidityPeriodProfile(resource) + } + + static createResource (args: CValidityPeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: CValidityPeriodProfileParams) : CValidityPeriodProfile { + return CValidityPeriodProfile.from(CValidityPeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CValidityPeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod", "CValidityPeriod"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CalculatedValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CalculatedValue.ts new file mode 100644 index 000000000..9c2c89e58 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CalculatedValue.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CalculatedValueProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CalculatedValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CalculatedValueProfile { + return new CalculatedValueProfile(resource) + } + + static createResource (args: CalculatedValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: CalculatedValueProfileParams) : CalculatedValueProfile { + return CalculatedValueProfile.from(CalculatedValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CalculatedValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue", "CalculatedValue"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Capabilities.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Capabilities.ts new file mode 100644 index 000000000..378a97b30 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Capabilities.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CapabilitiesProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CapabilitiesProfile { + static readonly canonicalUrl = "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CapabilitiesProfile { + return new CapabilitiesProfile(resource) + } + + static createResource (args: CapabilitiesProfileParams) : Extension { + const resource: Extension = { + url: "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: CapabilitiesProfileParams) : CapabilitiesProfile { + return CapabilitiesProfile.from(CapabilitiesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Capabilities"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities", "Capabilities"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CdsHooksEndpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CdsHooksEndpoint.ts new file mode 100644 index 000000000..70c6f044b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CdsHooksEndpoint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CdsHooksEndpointProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CdsHooksEndpointProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CdsHooksEndpointProfile { + return new CdsHooksEndpointProfile(resource) + } + + static createResource (args: CdsHooksEndpointProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: CdsHooksEndpointProfileParams) : CdsHooksEndpointProfile { + return CdsHooksEndpointProfile.from(CdsHooksEndpointProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CdsHooksEndpoint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint", "CdsHooksEndpoint"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CharacteristicExpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CharacteristicExpression.ts new file mode 100644 index 000000000..1f4e57a7e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CharacteristicExpression.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CharacteristicExpressionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/characteristicExpression (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CharacteristicExpressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/characteristicExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CharacteristicExpressionProfile { + return new CharacteristicExpressionProfile(resource) + } + + static createResource (args: CharacteristicExpressionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/characteristicExpression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: CharacteristicExpressionProfileParams) : CharacteristicExpressionProfile { + return CharacteristicExpressionProfile.from(CharacteristicExpressionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CharacteristicExpression"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/characteristicExpression", "CharacteristicExpression"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CitationSocietyAffiliation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CitationSocietyAffiliation.ts new file mode 100644 index 000000000..02af39281 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CitationSocietyAffiliation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CitationSocietyAffiliationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CitationSocietyAffiliationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CitationSocietyAffiliationProfile { + return new CitationSocietyAffiliationProfile(resource) + } + + static createResource (args: CitationSocietyAffiliationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: CitationSocietyAffiliationProfileParams) : CitationSocietyAffiliationProfile { + return CitationSocietyAffiliationProfile.from(CitationSocietyAffiliationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CitationSocietyAffiliation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation", "CitationSocietyAffiliation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodedString.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodedString.ts new file mode 100644 index 000000000..53b25067e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodedString.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CodedStringProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-codedString (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CodedStringProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-codedString" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CodedStringProfile { + return new CodedStringProfile(resource) + } + + static createResource (args: CodedStringProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-codedString", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: CodedStringProfileParams) : CodedStringProfile { + return CodedStringProfile.from(CodedStringProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CodedString"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-codedString", "CodedString"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingConformance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingConformance.ts new file mode 100644 index 000000000..a9023169a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingConformance.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CodingConformanceProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/coding-conformance (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CodingConformanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/coding-conformance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CodingConformanceProfile { + return new CodingConformanceProfile(resource) + } + + static createResource (args: CodingConformanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/coding-conformance", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: CodingConformanceProfileParams) : CodingConformanceProfile { + return CodingConformanceProfile.from(CodingConformanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CodingConformance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/coding-conformance", "CodingConformance"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingPurpose.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingPurpose.ts new file mode 100644 index 000000000..31ed0bec1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingPurpose.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CodingPurposeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/coding-purpose (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CodingPurposeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/coding-purpose" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CodingPurposeProfile { + return new CodingPurposeProfile(resource) + } + + static createResource (args: CodingPurposeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/coding-purpose", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: CodingPurposeProfileParams) : CodingPurposeProfile { + return CodingPurposeProfile.from(CodingPurposeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CodingPurpose"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/coding-purpose", "CodingPurpose"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CompliesWith.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CompliesWith.ts new file mode 100644 index 000000000..d6ddc0f96 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CompliesWith.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-compliesWith (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class CompliesWithProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-compliesWith" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CompliesWithProfile { + return new CompliesWithProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-compliesWith", + } as unknown as Extension + return resource + } + + static create () : CompliesWithProfile { + return CompliesWithProfile.from(CompliesWithProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CompliesWith"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-compliesWith", "CompliesWith"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueReference"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueReference, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conceptmap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conceptmap.ts new file mode 100644 index 000000000..aecf9e8dc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conceptmap.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConceptmapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConceptmapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConceptmapProfile { + return new ConceptmapProfile(resource) + } + + static createResource (args: ConceptmapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: ConceptmapProfileParams) : ConceptmapProfile { + return ConceptmapProfile.from(ConceptmapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Conceptmap"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap", "Conceptmap"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionAssertedDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionAssertedDate.ts new file mode 100644 index 000000000..0d217baca --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionAssertedDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConditionAssertedDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-assertedDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionAssertedDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionAssertedDateProfile { + return new ConditionAssertedDateProfile(resource) + } + + static createResource (args: ConditionAssertedDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ConditionAssertedDateProfileParams) : ConditionAssertedDateProfile { + return ConditionAssertedDateProfile.from(ConditionAssertedDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionAssertedDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", "ConditionAssertedDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDiseaseCourse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDiseaseCourse.ts new file mode 100644 index 000000000..408814e15 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDiseaseCourse.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConditionDiseaseCourseProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionDiseaseCourseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionDiseaseCourseProfile { + return new ConditionDiseaseCourseProfile(resource) + } + + static createResource (args: ConditionDiseaseCourseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ConditionDiseaseCourseProfileParams) : ConditionDiseaseCourseProfile { + return ConditionDiseaseCourseProfile.from(ConditionDiseaseCourseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionDiseaseCourse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse", "ConditionDiseaseCourse"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDueTo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDueTo.ts new file mode 100644 index 000000000..9b8b0f7ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDueTo.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-dueTo (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionDueToProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-dueTo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionDueToProfile { + return new ConditionDueToProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + } as unknown as Extension + return resource + } + + static create () : ConditionDueToProfile { + return ConditionDueToProfile.from(ConditionDueToProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionDueTo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "ConditionDueTo"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOccurredFollowing.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOccurredFollowing.ts new file mode 100644 index 000000000..7f10c0c3d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOccurredFollowing.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionOccurredFollowingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionOccurredFollowingProfile { + return new ConditionOccurredFollowingProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing", + } as unknown as Extension + return resource + } + + static create () : ConditionOccurredFollowingProfile { + return ConditionOccurredFollowingProfile.from(ConditionOccurredFollowingProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionOccurredFollowing"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing", "ConditionOccurredFollowing"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOutcome.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOutcome.ts new file mode 100644 index 000000000..4dbeea786 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOutcome.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConditionOutcomeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-outcome (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionOutcomeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-outcome" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionOutcomeProfile { + return new ConditionOutcomeProfile(resource) + } + + static createResource (args: ConditionOutcomeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-outcome", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ConditionOutcomeProfileParams) : ConditionOutcomeProfile { + return ConditionOutcomeProfile.from(ConditionOutcomeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionOutcome"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-outcome", "ConditionOutcome"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRelated.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRelated.ts new file mode 100644 index 000000000..4d99fc464 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRelated.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConditionRelatedProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-related (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionRelatedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-related" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionRelatedProfile { + return new ConditionRelatedProfile(resource) + } + + static createResource (args: ConditionRelatedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-related", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ConditionRelatedProfileParams) : ConditionRelatedProfile { + return ConditionRelatedProfile.from(ConditionRelatedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionRelated"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-related", "ConditionRelated"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionReviewed.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionReviewed.ts new file mode 100644 index 000000000..65c2f77fe --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionReviewed.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConditionReviewedProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-reviewed (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionReviewedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-reviewed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionReviewedProfile { + return new ConditionReviewedProfile(resource) + } + + static createResource (args: ConditionReviewedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-reviewed", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ConditionReviewedProfileParams) : ConditionReviewedProfile { + return ConditionReviewedProfile.from(ConditionReviewedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionReviewed"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-reviewed", "ConditionReviewed"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRuledOut.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRuledOut.ts new file mode 100644 index 000000000..28bf05f15 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRuledOut.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConditionRuledOutProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/condition-ruledOut (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionRuledOutProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/condition-ruledOut" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionRuledOutProfile { + return new ConditionRuledOutProfile(resource) + } + + static createResource (args: ConditionRuledOutProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/condition-ruledOut", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ConditionRuledOutProfileParams) : ConditionRuledOutProfile { + return ConditionRuledOutProfile.from(ConditionRuledOutProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConditionRuledOut"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/condition-ruledOut", "ConditionRuledOut"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conditions.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conditions.ts new file mode 100644 index 000000000..eb5e2307a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conditions.ts @@ -0,0 +1,86 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/dosage-conditions (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConditionsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/dosage-conditions" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConditionsProfile { + return new ConditionsProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/dosage-conditions", + } as unknown as Extension + return resource + } + + static create () : ConditionsProfile { + return ConditionsProfile.from(ConditionsProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMeetGoal (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "meetGoal", ...value }) + return this + } + + public setWhenTrigger (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "whenTrigger", ...value }) + return this + } + + public setPrecondition (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "precondition", ...value }) + return this + } + + public getMeetGoal (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "meetGoal") + } + + public getWhenTrigger (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "whenTrigger") + } + + public getPrecondition (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "precondition") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Conditions"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/dosage-conditions", "Conditions"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Confidential.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Confidential.ts new file mode 100644 index 000000000..28c2d7407 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Confidential.ts @@ -0,0 +1,83 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConfidentialProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/confidential (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConfidentialProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/confidential" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConfidentialProfile { + return new ConfidentialProfile(resource) + } + + static createResource (args: ConfidentialProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/confidential", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ConfidentialProfileParams) : ConfidentialProfile { + return ConfidentialProfile.from(ConfidentialProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Confidential"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/confidential", "Confidential"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentLocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentLocation.ts new file mode 100644 index 000000000..68b39014a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentLocation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConsentLocationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-location (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConsentLocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-location" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConsentLocationProfile { + return new ConsentLocationProfile(resource) + } + + static createResource (args: ConsentLocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-location", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ConsentLocationProfileParams) : ConsentLocationProfile { + return ConsentLocationProfile.from(ConsentLocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConsentLocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-location", "ConsentLocation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentNotificationEndpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentNotificationEndpoint.ts new file mode 100644 index 000000000..8cae03e89 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentNotificationEndpoint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConsentNotificationEndpointProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConsentNotificationEndpointProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConsentNotificationEndpointProfile { + return new ConsentNotificationEndpointProfile(resource) + } + + static createResource (args: ConsentNotificationEndpointProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: ConsentNotificationEndpointProfileParams) : ConsentNotificationEndpointProfile { + return ConsentNotificationEndpointProfile.from(ConsentNotificationEndpointProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConsentNotificationEndpoint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint", "ConsentNotificationEndpoint"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentResearchStudyContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentResearchStudyContext.ts new file mode 100644 index 000000000..efc4a726f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentResearchStudyContext.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConsentResearchStudyContextProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConsentResearchStudyContextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConsentResearchStudyContextProfile { + return new ConsentResearchStudyContextProfile(resource) + } + + static createResource (args: ConsentResearchStudyContextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ConsentResearchStudyContextProfileParams) : ConsentResearchStudyContextProfile { + return ConsentResearchStudyContextProfile.from(ConsentResearchStudyContextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConsentResearchStudyContext"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext", "ConsentResearchStudyContext"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentTranscriber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentTranscriber.ts new file mode 100644 index 000000000..db247455b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentTranscriber.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConsentTranscriberProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-Transcriber (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConsentTranscriberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-Transcriber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConsentTranscriberProfile { + return new ConsentTranscriberProfile(resource) + } + + static createResource (args: ConsentTranscriberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-Transcriber", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ConsentTranscriberProfileParams) : ConsentTranscriberProfile { + return ConsentTranscriberProfile.from(ConsentTranscriberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConsentTranscriber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-Transcriber", "ConsentTranscriber"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentWitness.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentWitness.ts new file mode 100644 index 000000000..bc8faf219 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentWitness.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ConsentWitnessProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/consent-Witness (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ConsentWitnessProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/consent-Witness" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ConsentWitnessProfile { + return new ConsentWitnessProfile(resource) + } + + static createResource (args: ConsentWitnessProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/consent-Witness", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ConsentWitnessProfileParams) : ConsentWitnessProfile { + return ConsentWitnessProfile.from(ConsentWitnessProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ConsentWitness"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/consent-Witness", "ConsentWitness"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactAddress.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactAddress.ts new file mode 100644 index 000000000..0d892e752 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactAddress.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Address } from "../../hl7-fhir-r5-core/Address"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactAddressProfileParams = { + valueAddress: Address; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-contactAddress (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactAddressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-contactAddress" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactAddressProfile { + return new ContactAddressProfile(resource) + } + + static createResource (args: ContactAddressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-contactAddress", + valueAddress: args.valueAddress, + } as unknown as Extension + return resource + } + + static create (args: ContactAddressProfileParams) : ContactAddressProfile { + return ContactAddressProfile.from(ContactAddressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAddress () : Address | undefined { + return this.resource.valueAddress as Address | undefined + } + + setValueAddress (value: Address) : this { + Object.assign(this.resource, { valueAddress: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactAddress"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-contactAddress", "ContactAddress"); if (e) errors.push(e) } + if (!(r["valueAddress"] !== undefined)) { + errors.push("value: at least one of valueAddress is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactDetailReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactDetailReference.ts new file mode 100644 index 000000000..7c8991ccb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactDetailReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactDetailReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactDetailReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactDetailReferenceProfile { + return new ContactDetailReferenceProfile(resource) + } + + static createResource (args: ContactDetailReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ContactDetailReferenceProfileParams) : ContactDetailReferenceProfile { + return ContactDetailReferenceProfile.from(ContactDetailReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactDetailReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference", "ContactDetailReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointArea.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointArea.ts new file mode 100644 index 000000000..c68d4a49b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointArea.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactPointAreaProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-area (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactPointAreaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-area" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactPointAreaProfile { + return new ContactPointAreaProfile(resource) + } + + static createResource (args: ContactPointAreaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-area", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ContactPointAreaProfileParams) : ContactPointAreaProfile { + return ContactPointAreaProfile.from(ContactPointAreaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactPointArea"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-area", "ContactPointArea"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointComment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointComment.ts new file mode 100644 index 000000000..3caa7575e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointComment.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactPointCommentProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-comment (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactPointCommentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-comment" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactPointCommentProfile { + return new ContactPointCommentProfile(resource) + } + + static createResource (args: ContactPointCommentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-comment", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ContactPointCommentProfileParams) : ContactPointCommentProfile { + return ContactPointCommentProfile.from(ContactPointCommentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactPointComment"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-comment", "ContactPointComment"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointCountry.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointCountry.ts new file mode 100644 index 000000000..67a140758 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointCountry.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactPointCountryProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-country (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactPointCountryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-country" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactPointCountryProfile { + return new ContactPointCountryProfile(resource) + } + + static createResource (args: ContactPointCountryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-country", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ContactPointCountryProfileParams) : ContactPointCountryProfile { + return ContactPointCountryProfile.from(ContactPointCountryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactPointCountry"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-country", "ContactPointCountry"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointExtension.ts new file mode 100644 index 000000000..8b7a6590c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointExtension.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactPointExtensionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-extension (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactPointExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-extension" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactPointExtensionProfile { + return new ContactPointExtensionProfile(resource) + } + + static createResource (args: ContactPointExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-extension", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ContactPointExtensionProfileParams) : ContactPointExtensionProfile { + return ContactPointExtensionProfile.from(ContactPointExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactPointExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-extension", "ContactPointExtension"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointLocal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointLocal.ts new file mode 100644 index 000000000..a82bc2f74 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointLocal.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactPointLocalProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-local (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactPointLocalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-local" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactPointLocalProfile { + return new ContactPointLocalProfile(resource) + } + + static createResource (args: ContactPointLocalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-local", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ContactPointLocalProfileParams) : ContactPointLocalProfile { + return ContactPointLocalProfile.from(ContactPointLocalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactPointLocal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-local", "ContactPointLocal"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointPurpose.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointPurpose.ts new file mode 100644 index 000000000..39b54d5a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointPurpose.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactPointPurposeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/contactpoint-purpose (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactPointPurposeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/contactpoint-purpose" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactPointPurposeProfile { + return new ContactPointPurposeProfile(resource) + } + + static createResource (args: ContactPointPurposeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/contactpoint-purpose", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ContactPointPurposeProfileParams) : ContactPointPurposeProfile { + return ContactPointPurposeProfile.from(ContactPointPurposeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactPointPurpose"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/contactpoint-purpose", "ContactPointPurpose"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactReference.ts new file mode 100644 index 000000000..26bab3d16 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactReference.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContactReferenceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-contactReference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContactReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-contactReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContactReferenceProfile { + return new ContactReferenceProfile(resource) + } + + static createResource (args: ContactReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-contactReference", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ContactReferenceProfileParams) : ContactReferenceProfile { + return ContactReferenceProfile.from(ContactReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContactReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-contactReference", "ContactReference"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContributionTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContributionTime.ts new file mode 100644 index 000000000..4150e6290 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContributionTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContributionTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-contributionTime (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ContributionTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-contributionTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContributionTimeProfile { + return new ContributionTimeProfile(resource) + } + + static createResource (args: ContributionTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-contributionTime", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ContributionTimeProfileParams) : ContributionTimeProfile { + return ContributionTimeProfile.from(ContributionTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ContributionTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-contributionTime", "ContributionTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRAddendumOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRAddendumOf.ts new file mode 100644 index 000000000..6355020f7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRAddendumOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRAddendumOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRAddendumOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRAddendumOfProfile { + return new DRAddendumOfProfile(resource) + } + + static createResource (args: DRAddendumOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRAddendumOfProfileParams) : DRAddendumOfProfile { + return DRAddendumOfProfile.from(DRAddendumOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRAddendumOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf", "DRAddendumOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRExtends.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRExtends.ts new file mode 100644 index 000000000..bf7045430 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRExtends.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRExtendsProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRExtendsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRExtendsProfile { + return new DRExtendsProfile(resource) + } + + static createResource (args: DRExtendsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRExtendsProfileParams) : DRExtendsProfile { + return DRExtendsProfile.from(DRExtendsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRExtends"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends", "DRExtends"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRFocus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRFocus.ts new file mode 100644 index 000000000..1cd506d13 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRFocus.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRFocusProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRFocusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRFocusProfile { + return new DRFocusProfile(resource) + } + + static createResource (args: DRFocusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRFocusProfileParams) : DRFocusProfile { + return DRFocusProfile.from(DRFocusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRFocus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus", "DRFocus"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRLocationPerformed.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRLocationPerformed.ts new file mode 100644 index 000000000..f902d55a6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRLocationPerformed.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRLocationPerformedProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRLocationPerformedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRLocationPerformedProfile { + return new DRLocationPerformedProfile(resource) + } + + static createResource (args: DRLocationPerformedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRLocationPerformedProfileParams) : DRLocationPerformedProfile { + return DRLocationPerformedProfile.from(DRLocationPerformedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRLocationPerformed"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed", "DRLocationPerformed"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRPatientInstruction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRPatientInstruction.ts new file mode 100644 index 000000000..63ca056ae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRPatientInstruction.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRPatientInstructionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRPatientInstructionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRPatientInstructionProfile { + return new DRPatientInstructionProfile(resource) + } + + static createResource (args: DRPatientInstructionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: DRPatientInstructionProfileParams) : DRPatientInstructionProfile { + return DRPatientInstructionProfile.from(DRPatientInstructionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLang (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "lang", valueCode: value } as Extension) + return this + } + + public setContent (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "content", valueString: value } as Extension) + return this + } + + public getLang (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getLangExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return ext + } + + public getContent (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getContentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "DRPatientInstruction"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "DRPatientInstruction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction", "DRPatientInstruction"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRReplaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRReplaces.ts new file mode 100644 index 000000000..73b2cbb56 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRReplaces.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRReplacesProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRReplacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRReplacesProfile { + return new DRReplacesProfile(resource) + } + + static createResource (args: DRReplacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRReplacesProfileParams) : DRReplacesProfile { + return DRReplacesProfile.from(DRReplacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRReplaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces", "DRReplaces"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRRisk.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRRisk.ts new file mode 100644 index 000000000..8e4a44137 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRRisk.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRRiskProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRRiskProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRRiskProfile { + return new DRRiskProfile(resource) + } + + static createResource (args: DRRiskProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRRiskProfileParams) : DRRiskProfile { + return DRRiskProfile.from(DRRiskProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRRisk"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk", "DRRisk"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSourcePatient.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSourcePatient.ts new file mode 100644 index 000000000..7d5a2b00b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSourcePatient.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRSourcePatientProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRSourcePatientProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRSourcePatientProfile { + return new DRSourcePatientProfile(resource) + } + + static createResource (args: DRSourcePatientProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRSourcePatientProfileParams) : DRSourcePatientProfile { + return DRSourcePatientProfile.from(DRSourcePatientProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRSourcePatient"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient", "DRSourcePatient"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSummaryOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSummaryOf.ts new file mode 100644 index 000000000..2ef969d7b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSummaryOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRSummaryOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRSummaryOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRSummaryOfProfile { + return new DRSummaryOfProfile(resource) + } + + static createResource (args: DRSummaryOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: DRSummaryOfProfileParams) : DRSummaryOfProfile { + return DRSummaryOfProfile.from(DRSummaryOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRSummaryOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf", "DRSummaryOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRThumbnail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRThumbnail.ts new file mode 100644 index 000000000..4ae43cb73 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRThumbnail.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRThumbnailProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRThumbnailProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRThumbnailProfile { + return new DRThumbnailProfile(resource) + } + + static createResource (args: DRThumbnailProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: DRThumbnailProfileParams) : DRThumbnailProfile { + return DRThumbnailProfile.from(DRThumbnailProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DRThumbnail"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail", "DRThumbnail"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRWorkflowStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRWorkflowStatus.ts new file mode 100644 index 000000000..89092e41c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRWorkflowStatus.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DRWorkflowStatusProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DRWorkflowStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DRWorkflowStatusProfile { + return new DRWorkflowStatusProfile(resource) + } + + static createResource (args: DRWorkflowStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: DRWorkflowStatusProfileParams) : DRWorkflowStatusProfile { + return DRWorkflowStatusProfile.from(DRWorkflowStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setTimestamp (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "timestamp", valueInstant: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getTimestamp (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "timestamp") + return (ext as Record | undefined)?.valueInstant as string | undefined + } + + public getTimestampExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "timestamp") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "DRWorkflowStatus"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "DRWorkflowStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus", "DRWorkflowStatus"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DataAbsentReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DataAbsentReason.ts new file mode 100644 index 000000000..d846693bd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DataAbsentReason.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DataAbsentReasonProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/data-absent-reason (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DataAbsentReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DataAbsentReasonProfile { + return new DataAbsentReasonProfile(resource) + } + + static createResource (args: DataAbsentReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: DataAbsentReasonProfileParams) : DataAbsentReasonProfile { + return DataAbsentReasonProfile.from(DataAbsentReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DataAbsentReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "DataAbsentReason"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Datatype.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Datatype.ts new file mode 100644 index 000000000..21176b6a6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Datatype.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DatatypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/_datatype (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DatatypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/_datatype" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DatatypeProfile { + return new DatatypeProfile(resource) + } + + static createResource (args: DatatypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/_datatype", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: DatatypeProfileParams) : DatatypeProfile { + return DatatypeProfile.from(DatatypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Datatype"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/_datatype", "Datatype"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DaysOfCycle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DaysOfCycle.ts new file mode 100644 index 000000000..4f15f4cad --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DaysOfCycle.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DaysOfCycleProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DaysOfCycleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DaysOfCycleProfile { + return new DaysOfCycleProfile(resource) + } + + static createResource (args: DaysOfCycleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: DaysOfCycleProfileParams) : DaysOfCycleProfile { + return DaysOfCycleProfile.from(DaysOfCycleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setDay (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "day", valueInteger: value } as Extension) + return this + } + + public getDay (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "day") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getDayExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "day") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "DaysOfCycle"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "DaysOfCycle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle", "DaysOfCycle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultType.ts new file mode 100644 index 000000000..78057d665 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DefaultTypeProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DefaultTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DefaultTypeProfile { + return new DefaultTypeProfile(resource) + } + + static createResource (args: DefaultTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: DefaultTypeProfileParams) : DefaultTypeProfile { + return DefaultTypeProfile.from(DefaultTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DefaultType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype", "DefaultType"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultValue.ts new file mode 100644 index 000000000..e0e8ec8ab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultValue.ts @@ -0,0 +1,170 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Range } from "../../hl7-fhir-r5-core/Range"; +import type { Ratio } from "../../hl7-fhir-r5-core/Ratio"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-defaultValue (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DefaultValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-defaultValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DefaultValueProfile { + return new DefaultValueProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-defaultValue", + } as unknown as Extension + return resource + } + + static create () : DefaultValueProfile { + return DefaultValueProfile.from(DefaultValueProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getValueRatio () : Ratio | undefined { + return this.resource.valueRatio as Ratio | undefined + } + + setValueRatio (value: Ratio) : this { + Object.assign(this.resource, { valueRatio: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DefaultValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-defaultValue", "DefaultValue"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefinitionTerm.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefinitionTerm.ts new file mode 100644 index 000000000..72b7ff153 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefinitionTerm.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DefinitionTermProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DefinitionTermProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DefinitionTermProfile { + return new DefinitionTermProfile(resource) + } + + static createResource (args: DefinitionTermProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: DefinitionTermProfileParams) : DefinitionTermProfile { + return DefinitionTermProfile.from(DefinitionTermProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTerm (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "term", valueString: value } as Extension) + return this + } + + public setDefinition (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "definition", valueMarkdown: value } as Extension) + return this + } + + public getTerm (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "term") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTermExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "term") + return ext + } + + public getDefinition (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "definition") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getDefinitionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "definition") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "DefinitionTerm"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "DefinitionTerm"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm", "DefinitionTerm"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DesignNote.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DesignNote.ts new file mode 100644 index 000000000..c44b6533a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DesignNote.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DesignNoteProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/designNote (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DesignNoteProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/designNote" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DesignNoteProfile { + return new DesignNoteProfile(resource) + } + + static createResource (args: DesignNoteProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/designNote", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: DesignNoteProfileParams) : DesignNoteProfile { + return DesignNoteProfile.from(DesignNoteProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DesignNote"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/designNote", "DesignNote"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevCommercialBrand.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevCommercialBrand.ts new file mode 100644 index 000000000..8d7752bc5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevCommercialBrand.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DevCommercialBrandProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-commercialBrand (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DevCommercialBrandProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-commercialBrand" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DevCommercialBrandProfile { + return new DevCommercialBrandProfile(resource) + } + + static createResource (args: DevCommercialBrandProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-commercialBrand", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: DevCommercialBrandProfileParams) : DevCommercialBrandProfile { + return DevCommercialBrandProfile.from(DevCommercialBrandProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DevCommercialBrand"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-commercialBrand", "DevCommercialBrand"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevImplantStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevImplantStatus.ts new file mode 100644 index 000000000..0413b7b0e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevImplantStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DevImplantStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-implantStatus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DevImplantStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-implantStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DevImplantStatusProfile { + return new DevImplantStatusProfile(resource) + } + + static createResource (args: DevImplantStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-implantStatus", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: DevImplantStatusProfileParams) : DevImplantStatusProfile { + return DevImplantStatusProfile.from(DevImplantStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DevImplantStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-implantStatus", "DevImplantStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceLastMaintenanceTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceLastMaintenanceTime.ts new file mode 100644 index 000000000..efe636b02 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceLastMaintenanceTime.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DeviceLastMaintenanceTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DeviceLastMaintenanceTimeProfile { + return new DeviceLastMaintenanceTimeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime", + } as unknown as Extension + return resource + } + + static create () : DeviceLastMaintenanceTimeProfile { + return DeviceLastMaintenanceTimeProfile.from(DeviceLastMaintenanceTimeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DeviceLastMaintenanceTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime", "DeviceLastMaintenanceTime"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceMaintenanceResponsibility.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceMaintenanceResponsibility.ts new file mode 100644 index 000000000..d1ba7d3d3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceMaintenanceResponsibility.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DeviceMaintenanceResponsibilityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DeviceMaintenanceResponsibilityProfile { + return new DeviceMaintenanceResponsibilityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility", + } as unknown as Extension + return resource + } + + static create () : DeviceMaintenanceResponsibilityProfile { + return DeviceMaintenanceResponsibilityProfile.from(DeviceMaintenanceResponsibilityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPerson (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "person", valueReference: value } as Extension) + return this + } + + public setOrganization (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "organization", valueReference: value } as Extension) + return this + } + + public getPerson (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "person") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getPersonExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "person") + return ext + } + + public getOrganization (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "organization") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getOrganizationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "organization") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DeviceMaintenanceResponsibility"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility", "DeviceMaintenanceResponsibility"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DirectReferenceCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DirectReferenceCode.ts new file mode 100644 index 000000000..66cca2bfa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DirectReferenceCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DirectReferenceCodeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DirectReferenceCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DirectReferenceCodeProfile { + return new DirectReferenceCodeProfile(resource) + } + + static createResource (args: DirectReferenceCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: DirectReferenceCodeProfileParams) : DirectReferenceCodeProfile { + return DirectReferenceCodeProfile.from(DirectReferenceCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DirectReferenceCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "DirectReferenceCode"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DisplayName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DisplayName.ts new file mode 100644 index 000000000..257c32f31 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DisplayName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DisplayNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/display (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DisplayNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/display" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DisplayNameProfile { + return new DisplayNameProfile(resource) + } + + static createResource (args: DisplayNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/display", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: DisplayNameProfileParams) : DisplayNameProfile { + return DisplayNameProfile.from(DisplayNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DisplayName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/display", "DisplayName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DoNotPerform.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DoNotPerform.ts new file mode 100644 index 000000000..364ef8b45 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DoNotPerform.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type DoNotPerformProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-doNotPerform (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DoNotPerformProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-doNotPerform" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DoNotPerformProfile { + return new DoNotPerformProfile(resource) + } + + static createResource (args: DoNotPerformProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-doNotPerform", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: DoNotPerformProfileParams) : DoNotPerformProfile { + return DoNotPerformProfile.from(DoNotPerformProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DoNotPerform"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-doNotPerform", "DoNotPerform"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DosageMinimumGapBetweenDose.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DosageMinimumGapBetweenDose.ts new file mode 100644 index 000000000..f685c6cd7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DosageMinimumGapBetweenDose.ts @@ -0,0 +1,86 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class DosageMinimumGapBetweenDoseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : DosageMinimumGapBetweenDoseProfile { + return new DosageMinimumGapBetweenDoseProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose", + } as unknown as Extension + return resource + } + + static create () : DosageMinimumGapBetweenDoseProfile { + return DosageMinimumGapBetweenDoseProfile.from(DosageMinimumGapBetweenDoseProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMeetGoal (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "meetGoal", ...value }) + return this + } + + public setWhenTrigger (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "whenTrigger", ...value }) + return this + } + + public setPrecondition (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "precondition", ...value }) + return this + } + + public getMeetGoal (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "meetGoal") + } + + public getWhenTrigger (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "whenTrigger") + } + + public getPrecondition (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "precondition") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "DosageMinimumGapBetweenDose"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose", "DosageMinimumGapBetweenDose"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENQualifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENQualifier.ts new file mode 100644 index 000000000..536b4bfd7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENQualifier.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ENQualifierProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ENQualifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ENQualifierProfile { + return new ENQualifierProfile(resource) + } + + static createResource (args: ENQualifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: ENQualifierProfileParams) : ENQualifierProfile { + return ENQualifierProfile.from(ENQualifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ENQualifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", "ENQualifier"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENRepresentation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENRepresentation.ts new file mode 100644 index 000000000..ad62da004 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENRepresentation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ENRepresentationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ENRepresentationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ENRepresentationProfile { + return new ENRepresentationProfile(resource) + } + + static createResource (args: ENRepresentationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: ENRepresentationProfileParams) : ENRepresentationProfile { + return ENRepresentationProfile.from(ENRepresentationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ENRepresentation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation", "ENRepresentation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENUse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENUse.ts new file mode 100644 index 000000000..63387ae72 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENUse.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ENUseProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-use (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ENUseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ENUseProfile { + return new ENUseProfile(resource) + } + + static createResource (args: ENUseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: ENUseProfileParams) : ENUseProfile { + return ENUseProfile.from(ENUseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ENUse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use", "ENUse"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncAssociatedEncounter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncAssociatedEncounter.ts new file mode 100644 index 000000000..86c018b50 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncAssociatedEncounter.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EncAssociatedEncounterProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EncAssociatedEncounterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EncAssociatedEncounterProfile { + return new EncAssociatedEncounterProfile(resource) + } + + static createResource (args: EncAssociatedEncounterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: EncAssociatedEncounterProfileParams) : EncAssociatedEncounterProfile { + return EncAssociatedEncounterProfile.from(EncAssociatedEncounterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EncAssociatedEncounter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter", "EncAssociatedEncounter"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncModeOfArrival.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncModeOfArrival.ts new file mode 100644 index 000000000..bd2879228 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncModeOfArrival.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EncModeOfArrivalProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EncModeOfArrivalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EncModeOfArrivalProfile { + return new EncModeOfArrivalProfile(resource) + } + + static createResource (args: EncModeOfArrivalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: EncModeOfArrivalProfileParams) : EncModeOfArrivalProfile { + return EncModeOfArrivalProfile.from(EncModeOfArrivalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EncModeOfArrival"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", "EncModeOfArrival"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncReasonCancelled.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncReasonCancelled.ts new file mode 100644 index 000000000..2346278e9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncReasonCancelled.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EncReasonCancelledProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EncReasonCancelledProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EncReasonCancelledProfile { + return new EncReasonCancelledProfile(resource) + } + + static createResource (args: EncReasonCancelledProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: EncReasonCancelledProfileParams) : EncReasonCancelledProfile { + return EncReasonCancelledProfile.from(EncReasonCancelledProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EncReasonCancelled"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled", "EncReasonCancelled"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterClass.ts new file mode 100644 index 000000000..e12735c9b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EncounterClassProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-encounterClass (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EncounterClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EncounterClassProfile { + return new EncounterClassProfile(resource) + } + + static createResource (args: EncounterClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: EncounterClassProfileParams) : EncounterClassProfile { + return EncounterClassProfile.from(EncounterClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EncounterClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass", "EncounterClass"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterType.ts new file mode 100644 index 000000000..b1b3a432b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EncounterTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-encounterType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EncounterTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-encounterType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EncounterTypeProfile { + return new EncounterTypeProfile(resource) + } + + static createResource (args: EncounterTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-encounterType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: EncounterTypeProfileParams) : EncounterTypeProfile { + return EncounterTypeProfile.from(EncounterTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EncounterType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-encounterType", "EncounterType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EndpointFhirVersion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EndpointFhirVersion.ts new file mode 100644 index 000000000..4e33087bf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EndpointFhirVersion.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EndpointFhirVersionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EndpointFhirVersionProfile { + return new EndpointFhirVersionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version", + } as unknown as Extension + return resource + } + + static create () : EndpointFhirVersionProfile { + return EndpointFhirVersionProfile.from(EndpointFhirVersionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EndpointFhirVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version", "EndpointFhirVersion"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EntryFormat.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EntryFormat.ts new file mode 100644 index 000000000..fb406b25e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EntryFormat.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EntryFormatProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/entryFormat (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EntryFormatProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/entryFormat" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EntryFormatProfile { + return new EntryFormatProfile(resource) + } + + static createResource (args: EntryFormatProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/entryFormat", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: EntryFormatProfileParams) : EntryFormatProfile { + return EntryFormatProfile.from(EntryFormatProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EntryFormat"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/entryFormat", "EntryFormat"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EpisodeOfCare.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EpisodeOfCare.ts new file mode 100644 index 000000000..943dd0fe5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EpisodeOfCare.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EpisodeOfCareProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EpisodeOfCareProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EpisodeOfCareProfile { + return new EpisodeOfCareProfile(resource) + } + + static createResource (args: EpisodeOfCareProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: EpisodeOfCareProfileParams) : EpisodeOfCareProfile { + return EpisodeOfCareProfile.from(EpisodeOfCareProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EpisodeOfCare"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare", "EpisodeOfCare"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Equivalence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Equivalence.ts new file mode 100644 index 000000000..ecc6733bb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Equivalence.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EquivalenceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EquivalenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EquivalenceProfile { + return new EquivalenceProfile(resource) + } + + static createResource (args: EquivalenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: EquivalenceProfileParams) : EquivalenceProfile { + return EquivalenceProfile.from(EquivalenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Equivalence"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence", "Equivalence"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventHistory.ts new file mode 100644 index 000000000..3fe498062 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventHistory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EventHistoryProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-eventHistory (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EventHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-eventHistory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EventHistoryProfile { + return new EventHistoryProfile(resource) + } + + static createResource (args: EventHistoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-eventHistory", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: EventHistoryProfileParams) : EventHistoryProfile { + return EventHistoryProfile.from(EventHistoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EventHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-eventHistory", "EventHistory"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventLocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventLocation.ts new file mode 100644 index 000000000..390ed03cd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventLocation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EventLocationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-location (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EventLocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-location" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EventLocationProfile { + return new EventLocationProfile(resource) + } + + static createResource (args: EventLocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-location", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: EventLocationProfileParams) : EventLocationProfile { + return EventLocationProfile.from(EventLocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EventLocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-location", "EventLocation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventStatusReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventStatusReason.ts new file mode 100644 index 000000000..b30926ffb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventStatusReason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type EventStatusReasonProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-statusReason (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class EventStatusReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-statusReason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EventStatusReasonProfile { + return new EventStatusReasonProfile(resource) + } + + static createResource (args: EventStatusReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-statusReason", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: EventStatusReasonProfileParams) : EventStatusReasonProfile { + return EventStatusReasonProfile.from(EventStatusReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EventStatusReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-statusReason", "EventStatusReason"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExpansionParameters.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExpansionParameters.ts new file mode 100644 index 000000000..17edd7e7e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExpansionParameters.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ExpansionParametersProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ExpansionParametersProfile { + return new ExpansionParametersProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters", + } as unknown as Extension + return resource + } + + static create () : ExpansionParametersProfile { + return ExpansionParametersProfile.from(ExpansionParametersProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ExpansionParameters"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters", "ExpansionParameters"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExtendedContactAvailability.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExtendedContactAvailability.ts new file mode 100644 index 000000000..f3aad48e8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExtendedContactAvailability.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Availability } from "../../hl7-fhir-r5-core/Availability"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ExtendedContactAvailabilityProfileParams = { + valueAvailability: Availability; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/extended-contact-availability (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ExtendedContactAvailabilityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/extended-contact-availability" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ExtendedContactAvailabilityProfile { + return new ExtendedContactAvailabilityProfile(resource) + } + + static createResource (args: ExtendedContactAvailabilityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/extended-contact-availability", + valueAvailability: args.valueAvailability, + } as unknown as Extension + return resource + } + + static create (args: ExtendedContactAvailabilityProfileParams) : ExtendedContactAvailabilityProfile { + return ExtendedContactAvailabilityProfile.from(ExtendedContactAvailabilityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAvailability () : Availability | undefined { + return this.resource.valueAvailability as Availability | undefined + } + + setValueAvailability (value: Availability) : this { + Object.assign(this.resource, { valueAvailability: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ExtendedContactAvailability"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/extended-contact-availability", "ExtendedContactAvailability"); if (e) errors.push(e) } + if (!(r["valueAvailability"] !== undefined)) { + errors.push("value: at least one of valueAvailability is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FHIRQueryPattern.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FHIRQueryPattern.ts new file mode 100644 index 000000000..be810df89 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FHIRQueryPattern.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FHIRQueryPatternProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FHIRQueryPatternProfile { + return new FHIRQueryPatternProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern", + } as unknown as Extension + return resource + } + + static create () : FHIRQueryPatternProfile { + return FHIRQueryPatternProfile.from(FHIRQueryPatternProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FHIRQueryPattern"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern", "FHIRQueryPattern"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHAbatement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHAbatement.ts new file mode 100644 index 000000000..43848959a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHAbatement.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Age } from "../../hl7-fhir-r5-core/Age"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMHAbatementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMHAbatementProfile { + return new FMHAbatementProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", + } as unknown as Extension + return resource + } + + static create () : FMHAbatementProfile { + return FMHAbatementProfile.from(FMHAbatementProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueAge () : Age | undefined { + return this.resource.valueAge as Age | undefined + } + + setValueAge (value: Age) : this { + Object.assign(this.resource, { valueAge: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FMHAbatement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement", "FMHAbatement"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueAge"] !== undefined || r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueDate, valueAge, valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHObservation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHObservation.ts new file mode 100644 index 000000000..bb717df1f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHObservation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMHObservationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMHObservationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMHObservationProfile { + return new FMHObservationProfile(resource) + } + + static createResource (args: FMHObservationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: FMHObservationProfileParams) : FMHObservationProfile { + return FMHObservationProfile.from(FMHObservationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FMHObservation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation", "FMHObservation"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHParent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHParent.ts new file mode 100644 index 000000000..a590a5bdd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHParent.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMHParentProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMHParentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMHParentProfile { + return new FMHParentProfile(resource) + } + + static createResource (args: FMHParentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: FMHParentProfileParams) : FMHParentProfile { + return FMHParentProfile.from(FMHParentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "FMHParent"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "FMHParent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent", "FMHParent"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHPatientRecord.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHPatientRecord.ts new file mode 100644 index 000000000..09512af09 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHPatientRecord.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMHPatientRecordProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMHPatientRecordProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMHPatientRecordProfile { + return new FMHPatientRecordProfile(resource) + } + + static createResource (args: FMHPatientRecordProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: FMHPatientRecordProfileParams) : FMHPatientRecordProfile { + return FMHPatientRecordProfile.from(FMHPatientRecordProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FMHPatientRecord"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record", "FMHPatientRecord"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSeverity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSeverity.ts new file mode 100644 index 000000000..16df5371d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSeverity.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMHSeverityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMHSeverityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMHSeverityProfile { + return new FMHSeverityProfile(resource) + } + + static createResource (args: FMHSeverityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: FMHSeverityProfileParams) : FMHSeverityProfile { + return FMHSeverityProfile.from(FMHSeverityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FMHSeverity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity", "FMHSeverity"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSibling.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSibling.ts new file mode 100644 index 000000000..9e5a21e33 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSibling.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMHSiblingProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMHSiblingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMHSiblingProfile { + return new FMHSiblingProfile(resource) + } + + static createResource (args: FMHSiblingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: FMHSiblingProfileParams) : FMHSiblingProfile { + return FMHSiblingProfile.from(FMHSiblingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "FMHSibling"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "FMHSibling"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling", "FMHSibling"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHType.ts new file mode 100644 index 000000000..c451d9df9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMHTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-type (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMHTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMHTypeProfile { + return new FMHTypeProfile(resource) + } + + static createResource (args: FMHTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: FMHTypeProfileParams) : FMHTypeProfile { + return FMHTypeProfile.from(FMHTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FMHType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type", "FMHType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMLevel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMLevel.ts new file mode 100644 index 000000000..a6fd2f9b2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMLevel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMMLevelProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMMLevelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMMLevelProfile { + return new FMMLevelProfile(resource) + } + + static createResource (args: FMMLevelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: FMMLevelProfileParams) : FMMLevelProfile { + return FMMLevelProfile.from(FMMLevelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FMMLevel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "FMMLevel"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMSupportDoco.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMSupportDoco.ts new file mode 100644 index 000000000..f1aef468f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMSupportDoco.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FMMSupportDocoProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FMMSupportDocoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FMMSupportDocoProfile { + return new FMMSupportDocoProfile(resource) + } + + static createResource (args: FMMSupportDocoProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: FMMSupportDocoProfileParams) : FMMSupportDocoProfile { + return FMMSupportDocoProfile.from(FMMSupportDocoProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FMMSupportDoco"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support", "FMMSupportDoco"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FathersFamily.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FathersFamily.ts new file mode 100644 index 000000000..be2b777e0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FathersFamily.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FathersFamilyProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-fathers-family (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FathersFamilyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FathersFamilyProfile { + return new FathersFamilyProfile(resource) + } + + static createResource (args: FathersFamilyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: FathersFamilyProfileParams) : FathersFamilyProfile { + return FathersFamilyProfile.from(FathersFamilyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FathersFamily"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family", "FathersFamily"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FirstCreated.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FirstCreated.ts new file mode 100644 index 000000000..4ffd573c4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FirstCreated.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FirstCreatedProfileParams = { + valueInstant: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/firstCreated (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FirstCreatedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/firstCreated" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FirstCreatedProfile { + return new FirstCreatedProfile(resource) + } + + static createResource (args: FirstCreatedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/firstCreated", + valueInstant: args.valueInstant, + } as unknown as Extension + return resource + } + + static create (args: FirstCreatedProfileParams) : FirstCreatedProfile { + return FirstCreatedProfile.from(FirstCreatedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInstant () : string | undefined { + return this.resource.valueInstant as string | undefined + } + + setValueInstant (value: string) : this { + Object.assign(this.resource, { valueInstant: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FirstCreated"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/firstCreated", "FirstCreated"); if (e) errors.push(e) } + if (!(r["valueInstant"] !== undefined)) { + errors.push("value: at least one of valueInstant is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagDetail.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagDetail.ts new file mode 100644 index 000000000..06d27ebfc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagDetail.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FlagDetailProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/flag-detail (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FlagDetailProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/flag-detail" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FlagDetailProfile { + return new FlagDetailProfile(resource) + } + + static createResource (args: FlagDetailProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/flag-detail", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: FlagDetailProfileParams) : FlagDetailProfile { + return FlagDetailProfile.from(FlagDetailProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FlagDetail"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/flag-detail", "FlagDetail"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagPriority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagPriority.ts new file mode 100644 index 000000000..863be1afc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagPriority.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FlagPriorityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/flag-priority (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FlagPriorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/flag-priority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FlagPriorityProfile { + return new FlagPriorityProfile(resource) + } + + static createResource (args: FlagPriorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/flag-priority", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: FlagPriorityProfileParams) : FlagPriorityProfile { + return FlagPriorityProfile.from(FlagPriorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FlagPriority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/flag-priority", "FlagPriority"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FollowOnOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FollowOnOf.ts new file mode 100644 index 000000000..30a19832d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FollowOnOf.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type FollowOnOfProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-followOnOf (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class FollowOnOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-followOnOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : FollowOnOfProfile { + return new FollowOnOfProfile(resource) + } + + static createResource (args: FollowOnOfProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-followOnOf", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: FollowOnOfProfileParams) : FollowOnOfProfile { + return FollowOnOfProfile.from(FollowOnOfProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "FollowOnOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-followOnOf", "FollowOnOf"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GeneratedFrom.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GeneratedFrom.ts new file mode 100644 index 000000000..b84fae5d4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GeneratedFrom.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GeneratedFromProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class GeneratedFromProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GeneratedFromProfile { + return new GeneratedFromProfile(resource) + } + + static createResource (args: GeneratedFromProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: GeneratedFromProfileParams) : GeneratedFromProfile { + return GeneratedFromProfile.from(GeneratedFromProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "GeneratedFrom"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom", "GeneratedFrom"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Geolocation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Geolocation.ts new file mode 100644 index 000000000..de43ecb75 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Geolocation.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GeolocationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/geolocation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class GeolocationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/geolocation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GeolocationProfile { + return new GeolocationProfile(resource) + } + + static createResource (args: GeolocationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/geolocation", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: GeolocationProfileParams) : GeolocationProfile { + return GeolocationProfile.from(GeolocationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLatitude (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "latitude", valueDecimal: value } as Extension) + return this + } + + public setLongitude (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "longitude", valueDecimal: value } as Extension) + return this + } + + public getLatitude (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "latitude") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getLatitudeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "latitude") + return ext + } + + public getLongitude (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "longitude") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getLongitudeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "longitude") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Geolocation"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Geolocation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/geolocation", "Geolocation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalAcceptance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalAcceptance.ts new file mode 100644 index 000000000..fec42bcb9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalAcceptance.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GoalAcceptanceProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-acceptance (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class GoalAcceptanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-acceptance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GoalAcceptanceProfile { + return new GoalAcceptanceProfile(resource) + } + + static createResource (args: GoalAcceptanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-acceptance", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: GoalAcceptanceProfileParams) : GoalAcceptanceProfile { + return GoalAcceptanceProfile.from(GoalAcceptanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setIndividual (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "individual", valueReference: value } as Extension) + return this + } + + public setStatus (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "status", valueCode: value } as Extension) + return this + } + + public setPriority (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "priority", valueCodeableConcept: value } as Extension) + return this + } + + public getIndividual (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "individual") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getIndividualExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "individual") + return ext + } + + public getStatus (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStatusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "status") + return ext + } + + public getPriority (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "priority") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getPriorityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "priority") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "GoalAcceptance"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "GoalAcceptance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-acceptance", "GoalAcceptance"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalReasonRejected.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalReasonRejected.ts new file mode 100644 index 000000000..af21e7ece --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalReasonRejected.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GoalReasonRejectedProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-reasonRejected (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class GoalReasonRejectedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GoalReasonRejectedProfile { + return new GoalReasonRejectedProfile(resource) + } + + static createResource (args: GoalReasonRejectedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: GoalReasonRejectedProfileParams) : GoalReasonRejectedProfile { + return GoalReasonRejectedProfile.from(GoalReasonRejectedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "GoalReasonRejected"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected", "GoalReasonRejected"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalRelationship.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalRelationship.ts new file mode 100644 index 000000000..914aae5f8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalRelationship.ts @@ -0,0 +1,105 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GoalRelationshipProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/goal-relationship (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class GoalRelationshipProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/goal-relationship" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GoalRelationshipProfile { + return new GoalRelationshipProfile(resource) + } + + static createResource (args: GoalRelationshipProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/goal-relationship", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: GoalRelationshipProfileParams) : GoalRelationshipProfile { + return GoalRelationshipProfile.from(GoalRelationshipProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setTarget (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "target", valueReference: value } as Extension) + return this + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getTarget (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getTargetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "GoalRelationship"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "GoalRelationship"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/goal-relationship", "GoalRelationship"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GraphConstraint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GraphConstraint.ts new file mode 100644 index 000000000..ac7b2cbe1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GraphConstraint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type GraphConstraintProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class GraphConstraintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : GraphConstraintProfile { + return new GraphConstraintProfile(resource) + } + + static createResource (args: GraphConstraintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: GraphConstraintProfileParams) : GraphConstraintProfile { + return GraphConstraintProfile.from(GraphConstraintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "GraphConstraint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint", "GraphConstraint"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_HumanLanguage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_HumanLanguage.ts new file mode 100644 index 000000000..dec0a0a3e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_HumanLanguage.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type HumanLanguageProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/language (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class HumanLanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/language" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : HumanLanguageProfile { + return new HumanLanguageProfile(resource) + } + + static createResource (args: HumanLanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/language", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: HumanLanguageProfileParams) : HumanLanguageProfile { + return HumanLanguageProfile.from(HumanLanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "HumanLanguage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/language", "HumanLanguage"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IDCheckDigit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IDCheckDigit.ts new file mode 100644 index 000000000..ba8db464e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IDCheckDigit.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IDCheckDigitProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/identifier-checkDigit (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class IDCheckDigitProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IDCheckDigitProfile { + return new IDCheckDigitProfile(resource) + } + + static createResource (args: IDCheckDigitProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: IDCheckDigitProfileParams) : IDCheckDigitProfile { + return IDCheckDigitProfile.from(IDCheckDigitProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IDCheckDigit"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", "IDCheckDigit"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IGSourceFile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IGSourceFile.ts new file mode 100644 index 000000000..29460392d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IGSourceFile.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IGSourceFileProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class IGSourceFileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IGSourceFileProfile { + return new IGSourceFileProfile(resource) + } + + static createResource (args: IGSourceFileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: IGSourceFileProfileParams) : IGSourceFileProfile { + return IGSourceFileProfile.from(IGSourceFileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setFile (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "file", valueReference: value } as Extension) + return this + } + + public setLocation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "file", valueString: value } as Extension) + return this + } + + public setKeepAsResource (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "file", valueBoolean: value } as Extension) + return this + } + + public getFile (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "file") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getFileExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "file") + return ext + } + + public getLocation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "file") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLocationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "file") + return ext + } + + public getKeepAsResource (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "file") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getKeepAsResourceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "file") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "IGSourceFile"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "IGSourceFile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile", "IGSourceFile"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Identifier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Identifier.ts new file mode 100644 index 000000000..90e8d7afd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Identifier.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Identifier } from "../../hl7-fhir-r5-core/Identifier"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IdentifierProfileParams = { + valueIdentifier: Identifier; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class IdentifierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IdentifierProfile { + return new IdentifierProfile(resource) + } + + static createResource (args: IdentifierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier", + valueIdentifier: args.valueIdentifier, + } as unknown as Extension + return resource + } + + static create (args: IdentifierProfileParams) : IdentifierProfile { + return IdentifierProfile.from(IdentifierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueIdentifier () : Identifier | undefined { + return this.resource.valueIdentifier as Identifier | undefined + } + + setValueIdentifier (value: Identifier) : this { + Object.assign(this.resource, { valueIdentifier: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Identifier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier", "Identifier"); if (e) errors.push(e) } + if (!(r["valueIdentifier"] !== undefined)) { + errors.push("value: at least one of valueIdentifier is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ImmProcedure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ImmProcedure.ts new file mode 100644 index 000000000..15388420f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ImmProcedure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ImmProcedureProfileParams = { + valueCodeableReference: CodeableReference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/immunization-procedure (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ImmProcedureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/immunization-procedure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ImmProcedureProfile { + return new ImmProcedureProfile(resource) + } + + static createResource (args: ImmProcedureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/immunization-procedure", + valueCodeableReference: args.valueCodeableReference, + } as unknown as Extension + return resource + } + + static create (args: ImmProcedureProfileParams) : ImmProcedureProfile { + return ImmProcedureProfile.from(ImmProcedureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableReference () : CodeableReference | undefined { + return this.resource.valueCodeableReference as CodeableReference | undefined + } + + setValueCodeableReference (value: CodeableReference) : this { + Object.assign(this.resource, { valueCodeableReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ImmProcedure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/immunization-procedure", "ImmProcedure"); if (e) errors.push(e) } + if (!(r["valueCodeableReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InheritedExtensibleValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InheritedExtensibleValueSet.ts new file mode 100644 index 000000000..148c2f383 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InheritedExtensibleValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class InheritedExtensibleValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InheritedExtensibleValueSetProfile { + return new InheritedExtensibleValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet", + } as unknown as Extension + return resource + } + + static create () : InheritedExtensibleValueSetProfile { + return InheritedExtensibleValueSetProfile.from(InheritedExtensibleValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "InheritedExtensibleValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet", "InheritedExtensibleValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitialValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitialValue.ts new file mode 100644 index 000000000..d65183955 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitialValue.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InitialValueProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initialValue (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class InitialValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initialValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InitialValueProfile { + return new InitialValueProfile(resource) + } + + static createResource (args: InitialValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initialValue", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: InitialValueProfileParams) : InitialValueProfile { + return InitialValueProfile.from(InitialValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "InitialValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initialValue", "InitialValue"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingOrganization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingOrganization.ts new file mode 100644 index 000000000..bcd2927d3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingOrganization.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InitiatingOrganizationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class InitiatingOrganizationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InitiatingOrganizationProfile { + return new InitiatingOrganizationProfile(resource) + } + + static createResource (args: InitiatingOrganizationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: InitiatingOrganizationProfileParams) : InitiatingOrganizationProfile { + return InitiatingOrganizationProfile.from(InitiatingOrganizationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "InitiatingOrganization"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization", "InitiatingOrganization"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingPerson.ts new file mode 100644 index 000000000..02c60f887 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InitiatingPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class InitiatingPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InitiatingPersonProfile { + return new InitiatingPersonProfile(resource) + } + + static createResource (args: InitiatingPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: InitiatingPersonProfileParams) : InitiatingPersonProfile { + return InitiatingPersonProfile.from(InitiatingPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "InitiatingPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson", "InitiatingPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InputParameters.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InputParameters.ts new file mode 100644 index 000000000..70ecd316e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InputParameters.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type InputParametersProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class InputParametersProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InputParametersProfile { + return new InputParametersProfile(resource) + } + + static createResource (args: InputParametersProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: InputParametersProfileParams) : InputParametersProfile { + return InputParametersProfile.from(InputParametersProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "InputParameters"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters", "InputParameters"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsCommonBinding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsCommonBinding.ts new file mode 100644 index 000000000..6bcbcdba7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsCommonBinding.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IsCommonBindingProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class IsCommonBindingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsCommonBindingProfile { + return new IsCommonBindingProfile(resource) + } + + static createResource (args: IsCommonBindingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: IsCommonBindingProfileParams) : IsCommonBindingProfile { + return IsCommonBindingProfile.from(IsCommonBindingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsCommonBinding"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "IsCommonBinding"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrefetchToken.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrefetchToken.ts new file mode 100644 index 000000000..62e57f808 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrefetchToken.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type IsPrefetchTokenProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class IsPrefetchTokenProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsPrefetchTokenProfile { + return new IsPrefetchTokenProfile(resource) + } + + static createResource (args: IsPrefetchTokenProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: IsPrefetchTokenProfileParams) : IsPrefetchTokenProfile { + return IsPrefetchTokenProfile.from(IsPrefetchTokenProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsPrefetchToken"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken", "IsPrefetchToken"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrimaryCitation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrimaryCitation.ts new file mode 100644 index 000000000..b50ac10a2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrimaryCitation.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class IsPrimaryCitationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsPrimaryCitationProfile { + return new IsPrimaryCitationProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation", + } as unknown as Extension + return resource + } + + static create () : IsPrimaryCitationProfile { + return IsPrimaryCitationProfile.from(IsPrimaryCitationProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsPrimaryCitation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation", "IsPrimaryCitation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsSelective.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsSelective.ts new file mode 100644 index 000000000..5dcfeaf2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsSelective.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-isSelective (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class IsSelectiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-isSelective" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsSelectiveProfile { + return new IsSelectiveProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-isSelective", + } as unknown as Extension + return resource + } + + static create () : IsSelectiveProfile { + return IsSelectiveProfile.from(IsSelectiveProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsSelective"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-isSelective", "IsSelective"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ItemWeight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ItemWeight.ts new file mode 100644 index 000000000..3deba91f0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ItemWeight.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ItemWeightProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/itemWeight (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ItemWeightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/itemWeight" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ItemWeightProfile { + return new ItemWeightProfile(resource) + } + + static createResource (args: ItemWeightProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/itemWeight", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: ItemWeightProfileParams) : ItemWeightProfile { + return ItemWeightProfile.from(ItemWeightProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ItemWeight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/itemWeight", "ItemWeight"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_KnowledgeRepresentationLevel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_KnowledgeRepresentationLevel.ts new file mode 100644 index 000000000..062bb59d1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_KnowledgeRepresentationLevel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type KnowledgeRepresentationLevelProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class KnowledgeRepresentationLevelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : KnowledgeRepresentationLevelProfile { + return new KnowledgeRepresentationLevelProfile(resource) + } + + static createResource (args: KnowledgeRepresentationLevelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: KnowledgeRepresentationLevelProfileParams) : KnowledgeRepresentationLevelProfile { + return KnowledgeRepresentationLevelProfile.from(KnowledgeRepresentationLevelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "KnowledgeRepresentationLevel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel", "KnowledgeRepresentationLevel"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LargeValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LargeValue.ts new file mode 100644 index 000000000..9a8a6cb18 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LargeValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LargeValueProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/largeValue (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class LargeValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/largeValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LargeValueProfile { + return new LargeValueProfile(resource) + } + + static createResource (args: LargeValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/largeValue", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: LargeValueProfileParams) : LargeValueProfile { + return LargeValueProfile.from(LargeValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LargeValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/largeValue", "LargeValue"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LastSourceSync.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LastSourceSync.ts new file mode 100644 index 000000000..7e7a1fb5e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LastSourceSync.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LastSourceSyncProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/lastSourceSync (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class LastSourceSyncProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/lastSourceSync" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LastSourceSyncProfile { + return new LastSourceSyncProfile(resource) + } + + static createResource (args: LastSourceSyncProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/lastSourceSync", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: LastSourceSyncProfileParams) : LastSourceSyncProfile { + return LastSourceSyncProfile.from(LastSourceSyncProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LastSourceSync"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/lastSourceSync", "LastSourceSync"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListCategory.ts new file mode 100644 index 000000000..66d68cc86 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListCategory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ListCategoryProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/list-category (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ListCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/list-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ListCategoryProfile { + return new ListCategoryProfile(resource) + } + + static createResource (args: ListCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/list-category", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ListCategoryProfileParams) : ListCategoryProfile { + return ListCategoryProfile.from(ListCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ListCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/list-category", "ListCategory"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListChangeBase.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListChangeBase.ts new file mode 100644 index 000000000..d8d5a307e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListChangeBase.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ListChangeBaseProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/list-changeBase (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ListChangeBaseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/list-changeBase" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ListChangeBaseProfile { + return new ListChangeBaseProfile(resource) + } + + static createResource (args: ListChangeBaseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/list-changeBase", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ListChangeBaseProfileParams) : ListChangeBaseProfile { + return ListChangeBaseProfile.from(ListChangeBaseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ListChangeBase"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/list-changeBase", "ListChangeBase"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListFor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListFor.ts new file mode 100644 index 000000000..7a0977148 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListFor.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ListForProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/list-for (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ListForProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/list-for" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ListForProfile { + return new ListForProfile(resource) + } + + static createResource (args: ListForProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/list-for", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ListForProfileParams) : ListForProfile { + return ListForProfile.from(ListForProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ListFor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/list-for", "ListFor"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocBoundaryGeojson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocBoundaryGeojson.ts new file mode 100644 index 000000000..3c8360e98 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocBoundaryGeojson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r5-core/Attachment"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LocBoundaryGeojsonProfileParams = { + valueAttachment: Attachment; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/location-boundary-geojson (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class LocBoundaryGeojsonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LocBoundaryGeojsonProfile { + return new LocBoundaryGeojsonProfile(resource) + } + + static createResource (args: LocBoundaryGeojsonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson", + valueAttachment: args.valueAttachment, + } as unknown as Extension + return resource + } + + static create (args: LocBoundaryGeojsonProfileParams) : LocBoundaryGeojsonProfile { + return LocBoundaryGeojsonProfile.from(LocBoundaryGeojsonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAttachment () : Attachment | undefined { + return this.resource.valueAttachment as Attachment | undefined + } + + setValueAttachment (value: Attachment) : this { + Object.assign(this.resource, { valueAttachment: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LocBoundaryGeojson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson", "LocBoundaryGeojson"); if (e) errors.push(e) } + if (!(r["valueAttachment"] !== undefined)) { + errors.push("value: at least one of valueAttachment is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocCommunication.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocCommunication.ts new file mode 100644 index 000000000..3d8d1dccb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocCommunication.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LocCommunicationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/location-communication (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class LocCommunicationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/location-communication" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LocCommunicationProfile { + return new LocCommunicationProfile(resource) + } + + static createResource (args: LocCommunicationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/location-communication", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: LocCommunicationProfileParams) : LocCommunicationProfile { + return LocCommunicationProfile.from(LocCommunicationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LocCommunication"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/location-communication", "LocCommunication"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LogicDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LogicDefinition.ts new file mode 100644 index 000000000..581cc4703 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LogicDefinition.ts @@ -0,0 +1,151 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LogicDefinitionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class LogicDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LogicDefinitionProfile { + return new LogicDefinitionProfile(resource) + } + + static createResource (args: LogicDefinitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: LogicDefinitionProfileParams) : LogicDefinitionProfile { + return LogicDefinitionProfile.from(LogicDefinitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLibraryName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "libraryName", valueString: value } as Extension) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setStatement (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "statement", valueString: value } as Extension) + return this + } + + public setDisplayCategory (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "displayCategory", valueString: value } as Extension) + return this + } + + public setDisplaySequence (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "displaySequence", valueInteger: value } as Extension) + return this + } + + public getLibraryName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "libraryName") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLibraryNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "libraryName") + return ext + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getStatement (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "statement") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getStatementExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "statement") + return ext + } + + public getDisplayCategory (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "displayCategory") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDisplayCategoryExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "displayCategory") + return ext + } + + public getDisplaySequence (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "displaySequence") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getDisplaySequenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "displaySequence") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "LogicDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "LogicDefinition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", "LogicDefinition"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Markdown.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Markdown.ts new file mode 100644 index 000000000..4bbd2f374 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Markdown.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MarkdownProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-markdown (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MarkdownProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-markdown" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MarkdownProfile { + return new MarkdownProfile(resource) + } + + static createResource (args: MarkdownProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-markdown", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: MarkdownProfileParams) : MarkdownProfile { + return MarkdownProfile.from(MarkdownProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Markdown"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-markdown", "Markdown"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxDecimalPlaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxDecimalPlaces.ts new file mode 100644 index 000000000..e37f4c6a6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxDecimalPlaces.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MaxDecimalPlacesProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MaxDecimalPlacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MaxDecimalPlacesProfile { + return new MaxDecimalPlacesProfile(resource) + } + + static createResource (args: MaxDecimalPlacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: MaxDecimalPlacesProfileParams) : MaxDecimalPlacesProfile { + return MaxDecimalPlacesProfile.from(MaxDecimalPlacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MaxDecimalPlaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces", "MaxDecimalPlaces"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxSize.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxSize.ts new file mode 100644 index 000000000..30f5043f3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxSize.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MaxSizeProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxSize (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MaxSizeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxSize" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MaxSizeProfile { + return new MaxSizeProfile(resource) + } + + static createResource (args: MaxSizeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxSize", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: MaxSizeProfileParams) : MaxSizeProfile { + return MaxSizeProfile.from(MaxSizeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MaxSize"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxSize", "MaxSize"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValue.ts new file mode 100644 index 000000000..561475e07 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValue.ts @@ -0,0 +1,114 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/maxValue (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MaxValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/maxValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MaxValueProfile { + return new MaxValueProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/maxValue", + } as unknown as Extension + return resource + } + + static create () : MaxValueProfile { + return MaxValueProfile.from(MaxValueProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MaxValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/maxValue", "MaxValue"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueDateTime"] !== undefined || r["valueTime"] !== undefined || r["valueDecimal"] !== undefined || r["valueInteger"] !== undefined || r["valueQuantity"] !== undefined)) { + errors.push("value: at least one of valueDate, valueDateTime, valueTime, valueDecimal, valueInteger, valueQuantity is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValueSet.ts new file mode 100644 index 000000000..489447340 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MaxValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MaxValueSetProfile { + return new MaxValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + } as unknown as Extension + return resource + } + + static create () : MaxValueSetProfile { + return MaxValueSetProfile.from(MaxValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MaxValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "MaxValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MeasureInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MeasureInfo.ts new file mode 100644 index 000000000..72312c4bb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MeasureInfo.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-measureInfo (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MeasureInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MeasureInfoProfile { + return new MeasureInfoProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", + } as unknown as Extension + return resource + } + + static create () : MeasureInfoProfile { + return MeasureInfoProfile.from(MeasureInfoProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMeasure (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "measure", valueCanonical: value } as Extension) + return this + } + + public setGroupId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "groupId", valueString: value } as Extension) + return this + } + + public setPopulationId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "populationId", valueString: value } as Extension) + return this + } + + public getMeasure (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "measure") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getMeasureExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "measure") + return ext + } + + public getGroupId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "groupId") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getGroupIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "groupId") + return ext + } + + public getPopulationId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "populationId") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPopulationIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "populationId") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MeasureInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", "MeasureInfo"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedManufacturingBatch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedManufacturingBatch.ts new file mode 100644 index 000000000..18ddb4894 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedManufacturingBatch.ts @@ -0,0 +1,181 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MedManufacturingBatchProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MedManufacturingBatchProfile { + return new MedManufacturingBatchProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch", + } as unknown as Extension + return resource + } + + static create () : MedManufacturingBatchProfile { + return MedManufacturingBatchProfile.from(MedManufacturingBatchProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setManufacturingDate (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "manufacturingDate", valueDateTime: value } as Extension) + return this + } + + public setManufacturingDateClassification (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "manufacturingDateClassification", valueCodeableConcept: value } as Extension) + return this + } + + public setAssignedManufacturer (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "assignedManufacturer", valueReference: value } as Extension) + return this + } + + public setExpirationDateClassification (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expirationDateClassification", valueCodeableConcept: value } as Extension) + return this + } + + public setBatchUtilization (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "batchUtilization", valueCodeableConcept: value } as Extension) + return this + } + + public setBatchQuantity (value: Quantity): this { + const list = (this.resource.extension ??= []) + list.push({ url: "batchQuantity", valueQuantity: value } as Extension) + return this + } + + public setAdditionalInformation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "additionalInformation", valueString: value } as Extension) + return this + } + + public setContainer (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "container", ...value }) + return this + } + + public getManufacturingDate (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "manufacturingDate") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getManufacturingDateExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "manufacturingDate") + return ext + } + + public getManufacturingDateClassification (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "manufacturingDateClassification") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getManufacturingDateClassificationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "manufacturingDateClassification") + return ext + } + + public getAssignedManufacturer (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "assignedManufacturer") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getAssignedManufacturerExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "assignedManufacturer") + return ext + } + + public getExpirationDateClassification (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "expirationDateClassification") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getExpirationDateClassificationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expirationDateClassification") + return ext + } + + public getBatchUtilization (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "batchUtilization") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getBatchUtilizationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "batchUtilization") + return ext + } + + public getBatchQuantity (): Quantity | undefined { + const ext = this.resource.extension?.find(e => e.url === "batchQuantity") + return (ext as Record | undefined)?.valueQuantity as Quantity | undefined + } + + public getBatchQuantityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "batchQuantity") + return ext + } + + public getAdditionalInformation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "additionalInformation") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getAdditionalInformationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "additionalInformation") + return ext + } + + public getContainer (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "container") + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MedManufacturingBatch"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch", "MedManufacturingBatch"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedQuantityRemaining.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedQuantityRemaining.ts new file mode 100644 index 000000000..4f0fe8952 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedQuantityRemaining.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MedQuantityRemainingProfileParams = { + valueQuantity: Quantity; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MedQuantityRemainingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MedQuantityRemainingProfile { + return new MedQuantityRemainingProfile(resource) + } + + static createResource (args: MedQuantityRemainingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining", + valueQuantity: args.valueQuantity, + } as unknown as Extension + return resource + } + + static create (args: MedQuantityRemainingProfileParams) : MedQuantityRemainingProfile { + return MedQuantityRemainingProfile.from(MedQuantityRemainingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MedQuantityRemaining"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining", "MedQuantityRemaining"); if (e) errors.push(e) } + if (!(r["valueQuantity"] !== undefined)) { + errors.push("value: at least one of valueQuantity is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedRefillsRemaining.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedRefillsRemaining.ts new file mode 100644 index 000000000..4f56a8d92 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedRefillsRemaining.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MedRefillsRemainingProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MedRefillsRemainingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MedRefillsRemainingProfile { + return new MedRefillsRemainingProfile(resource) + } + + static createResource (args: MedRefillsRemainingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: MedRefillsRemainingProfileParams) : MedRefillsRemainingProfile { + return MedRefillsRemainingProfile.from(MedRefillsRemainingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MedRefillsRemaining"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining", "MedRefillsRemaining"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Messages.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Messages.ts new file mode 100644 index 000000000..5cde9d668 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Messages.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-messages (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MessagesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-messages" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MessagesProfile { + return new MessagesProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-messages", + } as unknown as Extension + return resource + } + + static create () : MessagesProfile { + return MessagesProfile.from(MessagesProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Messages"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-messages", "Messages"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MimeType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MimeType.ts new file mode 100644 index 000000000..92215a280 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MimeType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MimeTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/mimeType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MimeTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/mimeType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MimeTypeProfile { + return new MimeTypeProfile(resource) + } + + static createResource (args: MimeTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/mimeType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: MimeTypeProfileParams) : MimeTypeProfile { + return MimeTypeProfile.from(MimeTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MimeType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/mimeType", "MimeType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinLength.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinLength.ts new file mode 100644 index 000000000..070ba6c11 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinLength.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MinLengthProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/minLength (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MinLengthProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/minLength" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MinLengthProfile { + return new MinLengthProfile(resource) + } + + static createResource (args: MinLengthProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/minLength", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: MinLengthProfileParams) : MinLengthProfile { + return MinLengthProfile.from(MinLengthProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MinLength"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/minLength", "MinLength"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValue.ts new file mode 100644 index 000000000..659074564 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValue.ts @@ -0,0 +1,114 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/minValue (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MinValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/minValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MinValueProfile { + return new MinValueProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/minValue", + } as unknown as Extension + return resource + } + + static create () : MinValueProfile { + return MinValueProfile.from(MinValueProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getValueTime () : string | undefined { + return this.resource.valueTime as string | undefined + } + + setValueTime (value: string) : this { + Object.assign(this.resource, { valueTime: value }) + return this + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MinValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/minValue", "MinValue"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined || r["valueDateTime"] !== undefined || r["valueTime"] !== undefined || r["valueDecimal"] !== undefined || r["valueInteger"] !== undefined || r["valueQuantity"] !== undefined)) { + errors.push("value: at least one of valueDate, valueDateTime, valueTime, valueDecimal, valueInteger, valueQuantity is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValueSet.ts new file mode 100644 index 000000000..3c0fc24dc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValueSet.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MinValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MinValueSetProfile { + return new MinValueSetProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + } as unknown as Extension + return resource + } + + static create () : MinValueSetProfile { + return MinValueSetProfile.from(MinValueSetProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MinValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", "MinValueSet"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined || r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueUri, valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsIncluded.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsIncluded.ts new file mode 100644 index 000000000..156cc816a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsIncluded.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ModelInfoIsIncludedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoIsIncludedProfile { + return new ModelInfoIsIncludedProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded", + } as unknown as Extension + return resource + } + + static create () : ModelInfoIsIncludedProfile { + return ModelInfoIsIncludedProfile.from(ModelInfoIsIncludedProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoIsIncluded"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded", "ModelInfoIsIncluded"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsRetrievable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsRetrievable.ts new file mode 100644 index 000000000..1496e0c2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsRetrievable.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ModelInfoIsRetrievableProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoIsRetrievableProfile { + return new ModelInfoIsRetrievableProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable", + } as unknown as Extension + return resource + } + + static create () : ModelInfoIsRetrievableProfile { + return ModelInfoIsRetrievableProfile.from(ModelInfoIsRetrievableProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoIsRetrievable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable", "ModelInfoIsRetrievable"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoLabel.ts new file mode 100644 index 000000000..8b2f38900 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoLabel.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ModelInfoLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoLabelProfile { + return new ModelInfoLabelProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label", + } as unknown as Extension + return resource + } + + static create () : ModelInfoLabelProfile { + return ModelInfoLabelProfile.from(ModelInfoLabelProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label", "ModelInfoLabel"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoPrimaryCodePath.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoPrimaryCodePath.ts new file mode 100644 index 000000000..c1adb32ab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoPrimaryCodePath.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ModelInfoPrimaryCodePathProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoPrimaryCodePathProfile { + return new ModelInfoPrimaryCodePathProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath", + } as unknown as Extension + return resource + } + + static create () : ModelInfoPrimaryCodePathProfile { + return ModelInfoPrimaryCodePathProfile.from(ModelInfoPrimaryCodePathProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoPrimaryCodePath"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath", "ModelInfoPrimaryCodePath"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoSettings.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoSettings.ts new file mode 100644 index 000000000..a3d3473db --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoSettings.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ModelInfoSettingsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ModelInfoSettingsProfile { + return new ModelInfoSettingsProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings", + } as unknown as Extension + return resource + } + + static create () : ModelInfoSettingsProfile { + return ModelInfoSettingsProfile.from(ModelInfoSettingsProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ModelInfoSettings"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings", "ModelInfoSettings"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MothersFamily.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MothersFamily.ts new file mode 100644 index 000000000..5f8ddadfd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MothersFamily.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MothersFamilyProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-mothers-family (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MothersFamilyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MothersFamilyProfile { + return new MothersFamilyProfile(resource) + } + + static createResource (args: MothersFamilyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: MothersFamilyProfileParams) : MothersFamilyProfile { + return MothersFamilyProfile.from(MothersFamilyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MothersFamily"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family", "MothersFamily"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MsgResponseRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MsgResponseRequest.ts new file mode 100644 index 000000000..141e88e72 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MsgResponseRequest.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type MsgResponseRequestProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/messageheader-response-request (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class MsgResponseRequestProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/messageheader-response-request" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MsgResponseRequestProfile { + return new MsgResponseRequestProfile(resource) + } + + static createResource (args: MsgResponseRequestProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/messageheader-response-request", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: MsgResponseRequestProfileParams) : MsgResponseRequestProfile { + return MsgResponseRequestProfile.from(MsgResponseRequestProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MsgResponseRequest"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/messageheader-response-request", "MsgResponseRequest"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NSCheckDigit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NSCheckDigit.ts new file mode 100644 index 000000000..6ccb5be6f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NSCheckDigit.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NSCheckDigitProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class NSCheckDigitProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NSCheckDigitProfile { + return new NSCheckDigitProfile(resource) + } + + static createResource (args: NSCheckDigitProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: NSCheckDigitProfileParams) : NSCheckDigitProfile { + return NSCheckDigitProfile.from(NSCheckDigitProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NSCheckDigit"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", "NSCheckDigit"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NarrativeLink.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NarrativeLink.ts new file mode 100644 index 000000000..99841984c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NarrativeLink.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NarrativeLinkProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/narrativeLink (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class NarrativeLinkProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/narrativeLink" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NarrativeLinkProfile { + return new NarrativeLinkProfile(resource) + } + + static createResource (args: NarrativeLinkProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/narrativeLink", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: NarrativeLinkProfileParams) : NarrativeLinkProfile { + return NarrativeLinkProfile.from(NarrativeLinkProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NarrativeLink"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/narrativeLink", "NarrativeLink"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NotDoneValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NotDoneValueSet.ts new file mode 100644 index 000000000..da4abd8c2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NotDoneValueSet.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NotDoneValueSetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class NotDoneValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NotDoneValueSetProfile { + return new NotDoneValueSetProfile(resource) + } + + static createResource (args: NotDoneValueSetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: NotDoneValueSetProfileParams) : NotDoneValueSetProfile { + return NotDoneValueSetProfile.from(NotDoneValueSetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NotDoneValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet", "NotDoneValueSet"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NttAdaptiveFeedingDevice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NttAdaptiveFeedingDevice.ts new file mode 100644 index 000000000..4c0fb47a7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NttAdaptiveFeedingDevice.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NttAdaptiveFeedingDeviceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class NttAdaptiveFeedingDeviceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NttAdaptiveFeedingDeviceProfile { + return new NttAdaptiveFeedingDeviceProfile(resource) + } + + static createResource (args: NttAdaptiveFeedingDeviceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: NttAdaptiveFeedingDeviceProfileParams) : NttAdaptiveFeedingDeviceProfile { + return NttAdaptiveFeedingDeviceProfile.from(NttAdaptiveFeedingDeviceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NttAdaptiveFeedingDevice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice", "NttAdaptiveFeedingDevice"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NullFlavor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NullFlavor.ts new file mode 100644 index 000000000..4aba5ab22 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NullFlavor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type NullFlavorProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class NullFlavorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NullFlavorProfile { + return new NullFlavorProfile(resource) + } + + static createResource (args: NullFlavorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: NullFlavorProfileParams) : NullFlavorProfile { + return NullFlavorProfile.from(NullFlavorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NullFlavor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor", "NullFlavor"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OAuthUris.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OAuthUris.ts new file mode 100644 index 000000000..7021ba1e0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OAuthUris.ts @@ -0,0 +1,135 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OAuthUrisProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OAuthUrisProfile { + static readonly canonicalUrl = "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OAuthUrisProfile { + return new OAuthUrisProfile(resource) + } + + static createResource (args: OAuthUrisProfileParams) : Extension { + const resource: Extension = { + url: "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: OAuthUrisProfileParams) : OAuthUrisProfile { + return OAuthUrisProfile.from(OAuthUrisProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setAuthorize (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "authorize", valueUri: value } as Extension) + return this + } + + public setToken (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "token", valueUri: value } as Extension) + return this + } + + public setRegister (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "register", valueUri: value } as Extension) + return this + } + + public setManage (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "manage", valueUri: value } as Extension) + return this + } + + public getAuthorize (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "authorize") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getAuthorizeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "authorize") + return ext + } + + public getToken (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "token") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getTokenExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "token") + return ext + } + + public getRegister (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "register") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getRegisterExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "register") + return ext + } + + public getManage (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "manage") + return (ext as Record | undefined)?.valueUri as string | undefined + } + + public getManageExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "manage") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "OAuthUris"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "OAuthUris"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", "OAuthUris"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ODProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ODProfile.ts new file mode 100644 index 000000000..06056c473 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ODProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ODProfileProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationdefinition-profile (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ODProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ODProfileProfile { + return new ODProfileProfile(resource) + } + + static createResource (args: ODProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: ODProfileProfileParams) : ODProfileProfile { + return ODProfileProfile.from(ODProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ODProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile", "ODProfile"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOAuthority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOAuthority.ts new file mode 100644 index 000000000..91961307d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOAuthority.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOAuthorityProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-authority (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OOAuthorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOAuthorityProfile { + return new OOAuthorityProfile(resource) + } + + static createResource (args: OOAuthorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: OOAuthorityProfileParams) : OOAuthorityProfile { + return OOAuthorityProfile.from(OOAuthorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOAuthority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority", "OOAuthority"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OODetectedIssue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OODetectedIssue.ts new file mode 100644 index 000000000..d63cf57af --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OODetectedIssue.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OODetectedIssueProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OODetectedIssueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OODetectedIssueProfile { + return new OODetectedIssueProfile(resource) + } + + static createResource (args: OODetectedIssueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: OODetectedIssueProfileParams) : OODetectedIssueProfile { + return OODetectedIssueProfile.from(OODetectedIssueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OODetectedIssue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue", "OODetectedIssue"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueCol.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueCol.ts new file mode 100644 index 000000000..89c96e531 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueCol.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueColProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OOIssueColProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueColProfile { + return new OOIssueColProfile(resource) + } + + static createResource (args: OOIssueColProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOIssueColProfileParams) : OOIssueColProfile { + return OOIssueColProfile.from(OOIssueColProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueCol"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", "OOIssueCol"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueLine.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueLine.ts new file mode 100644 index 000000000..8ad4099aa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueLine.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueLineProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OOIssueLineProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueLineProfile { + return new OOIssueLineProfile(resource) + } + + static createResource (args: OOIssueLineProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOIssueLineProfileParams) : OOIssueLineProfile { + return OOIssueLineProfile.from(OOIssueLineProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueLine"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", "OOIssueLine"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueMessageId.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueMessageId.ts new file mode 100644 index 000000000..8cad03432 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueMessageId.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueMessageIdProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OOIssueMessageIdProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueMessageIdProfile { + return new OOIssueMessageIdProfile(resource) + } + + static createResource (args: OOIssueMessageIdProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOIssueMessageIdProfileParams) : OOIssueMessageIdProfile { + return OOIssueMessageIdProfile.from(OOIssueMessageIdProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueMessageId"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", "OOIssueMessageId"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueServer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueServer.ts new file mode 100644 index 000000000..4c0883476 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueServer.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueServerProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OOIssueServerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueServerProfile { + return new OOIssueServerProfile(resource) + } + + static createResource (args: OOIssueServerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: OOIssueServerProfileParams) : OOIssueServerProfile { + return OOIssueServerProfile.from(OOIssueServerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueServer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server", "OOIssueServer"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSliceText.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSliceText.ts new file mode 100644 index 000000000..36e787404 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSliceText.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueSliceTextProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OOIssueSliceTextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueSliceTextProfile { + return new OOIssueSliceTextProfile(resource) + } + + static createResource (args: OOIssueSliceTextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOIssueSliceTextProfileParams) : OOIssueSliceTextProfile { + return OOIssueSliceTextProfile.from(OOIssueSliceTextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueSliceText"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext", "OOIssueSliceText"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSource.ts new file mode 100644 index 000000000..e5d4ab293 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOIssueSourceProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OOIssueSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOIssueSourceProfile { + return new OOIssueSourceProfile(resource) + } + + static createResource (args: OOIssueSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOIssueSourceProfileParams) : OOIssueSourceProfile { + return OOIssueSourceProfile.from(OOIssueSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOIssueSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source", "OOIssueSource"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOSourceFile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOSourceFile.ts new file mode 100644 index 000000000..167387ef4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOSourceFile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OOSourceFileProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/operationoutcome-file (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OOSourceFileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/operationoutcome-file" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OOSourceFileProfile { + return new OOSourceFileProfile(resource) + } + + static createResource (args: OOSourceFileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/operationoutcome-file", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OOSourceFileProfileParams) : OOSourceFileProfile { + return OOSourceFileProfile.from(OOSourceFileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OOSourceFile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/operationoutcome-file", "OOSourceFile"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClass.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClass.ts new file mode 100644 index 000000000..c8811e386 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClass.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObjectClassProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-objectClass (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObjectClassProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-objectClass" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObjectClassProfile { + return new ObjectClassProfile(resource) + } + + static createResource (args: ObjectClassProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-objectClass", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: ObjectClassProfileParams) : ObjectClassProfile { + return ObjectClassProfile.from(ObjectClassProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObjectClass"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-objectClass", "ObjectClass"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClassProperty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClassProperty.ts new file mode 100644 index 000000000..89768b746 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClassProperty.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObjectClassPropertyProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObjectClassPropertyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObjectClassPropertyProfile { + return new ObjectClassPropertyProfile(resource) + } + + static createResource (args: ObjectClassPropertyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: ObjectClassPropertyProfileParams) : ObjectClassPropertyProfile { + return ObjectClassPropertyProfile.from(ObjectClassPropertyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObjectClassProperty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty", "ObjectClassProperty"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Obligation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Obligation.ts new file mode 100644 index 000000000..344bad1e7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Obligation.ts @@ -0,0 +1,200 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { UsageContext } from "../../hl7-fhir-r5-core/UsageContext"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObligationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/obligation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObligationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/obligation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObligationProfile { + return new ObligationProfile(resource) + } + + static createResource (args: ObligationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/obligation", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ObligationProfileParams) : ObligationProfile { + return ObligationProfile.from(ObligationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCode: value } as Extension) + return this + } + + public setElementId (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "elementId", valueString: value } as Extension) + return this + } + + public setActor (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "actor", valueCanonical: value } as Extension) + return this + } + + public setDocumentation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "documentation", valueMarkdown: value } as Extension) + return this + } + + public setUsage (value: UsageContext): this { + const list = (this.resource.extension ??= []) + list.push({ url: "usage", valueUsageContext: value } as Extension) + return this + } + + public setFilter (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "filter", valueString: value } as Extension) + return this + } + + public setFilterDocumentation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "filterDocumentation", valueString: value } as Extension) + return this + } + + public setProcess (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "process", valueCanonical: value } as Extension) + return this + } + + public getCode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getElementId (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "elementId") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getElementIdExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "elementId") + return ext + } + + public getActor (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "actor") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getActorExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "actor") + return ext + } + + public getDocumentation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "documentation") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getDocumentationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "documentation") + return ext + } + + public getUsage (): UsageContext | undefined { + const ext = this.resource.extension?.find(e => e.url === "usage") + return (ext as Record | undefined)?.valueUsageContext as UsageContext | undefined + } + + public getUsageExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "usage") + return ext + } + + public getFilter (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "filter") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getFilterExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "filter") + return ext + } + + public getFilterDocumentation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "filterDocumentation") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getFilterDocumentationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "filterDocumentation") + return ext + } + + public getProcess (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "process") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getProcessExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "process") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Obligation"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Obligation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/obligation", "Obligation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsAnalysisDateTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsAnalysisDateTime.ts new file mode 100644 index 000000000..cc0e500b4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsAnalysisDateTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsAnalysisDateTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsAnalysisDateTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsAnalysisDateTimeProfile { + return new ObsAnalysisDateTimeProfile(resource) + } + + static createResource (args: ObsAnalysisDateTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ObsAnalysisDateTimeProfileParams) : ObsAnalysisDateTimeProfile { + return ObsAnalysisDateTimeProfile.from(ObsAnalysisDateTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsAnalysisDateTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time", "ObsAnalysisDateTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsBodyPosition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsBodyPosition.ts new file mode 100644 index 000000000..8b38f3a85 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsBodyPosition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsBodyPositionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-bodyPosition (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsBodyPositionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsBodyPositionProfile { + return new ObsBodyPositionProfile(resource) + } + + static createResource (args: ObsBodyPositionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsBodyPositionProfileParams) : ObsBodyPositionProfile { + return ObsBodyPositionProfile.from(ObsBodyPositionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsBodyPosition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition", "ObsBodyPosition"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDelta.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDelta.ts new file mode 100644 index 000000000..a2ccb76e7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDelta.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsDeltaProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-delta (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsDeltaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-delta" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsDeltaProfile { + return new ObsDeltaProfile(resource) + } + + static createResource (args: ObsDeltaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-delta", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsDeltaProfileParams) : ObsDeltaProfile { + return ObsDeltaProfile.from(ObsDeltaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsDelta"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-delta", "ObsDelta"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDeviceCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDeviceCode.ts new file mode 100644 index 000000000..fc1373edf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDeviceCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsDeviceCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-deviceCode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsDeviceCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-deviceCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsDeviceCodeProfile { + return new ObsDeviceCodeProfile(resource) + } + + static createResource (args: ObsDeviceCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-deviceCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsDeviceCodeProfileParams) : ObsDeviceCodeProfile { + return ObsDeviceCodeProfile.from(ObsDeviceCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsDeviceCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-deviceCode", "ObsDeviceCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsFocusCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsFocusCode.ts new file mode 100644 index 000000000..d4408645e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsFocusCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsFocusCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-focusCode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsFocusCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-focusCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsFocusCodeProfile { + return new ObsFocusCodeProfile(resource) + } + + static createResource (args: ObsFocusCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-focusCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsFocusCodeProfileParams) : ObsFocusCodeProfile { + return ObsFocusCodeProfile.from(ObsFocusCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsFocusCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-focusCode", "ObsFocusCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsGatewayDevice.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsGatewayDevice.ts new file mode 100644 index 000000000..6dccaff76 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsGatewayDevice.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsGatewayDeviceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsGatewayDeviceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsGatewayDeviceProfile { + return new ObsGatewayDeviceProfile(resource) + } + + static createResource (args: ObsGatewayDeviceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ObsGatewayDeviceProfileParams) : ObsGatewayDeviceProfile { + return ObsGatewayDeviceProfile.from(ObsGatewayDeviceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsGatewayDevice"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice", "ObsGatewayDevice"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsNatureAbnormal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsNatureAbnormal.ts new file mode 100644 index 000000000..4b0c7f2ea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsNatureAbnormal.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsNatureAbnormalProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsNatureAbnormalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsNatureAbnormalProfile { + return new ObsNatureAbnormalProfile(resource) + } + + static createResource (args: ObsNatureAbnormalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsNatureAbnormalProfileParams) : ObsNatureAbnormalProfile { + return ObsNatureAbnormalProfile.from(ObsNatureAbnormalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsNatureAbnormal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test", "ObsNatureAbnormal"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsPrecondition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsPrecondition.ts new file mode 100644 index 000000000..dcf224d53 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsPrecondition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsPreconditionProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-precondition (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsPreconditionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-precondition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsPreconditionProfile { + return new ObsPreconditionProfile(resource) + } + + static createResource (args: ObsPreconditionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-precondition", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ObsPreconditionProfileParams) : ObsPreconditionProfile { + return ObsPreconditionProfile.from(ObsPreconditionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsPrecondition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-precondition", "ObsPrecondition"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReagent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReagent.ts new file mode 100644 index 000000000..de20d0b44 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReagent.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsReagentProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-reagent (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsReagentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-reagent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsReagentProfile { + return new ObsReagentProfile(resource) + } + + static createResource (args: ObsReagentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-reagent", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ObsReagentProfileParams) : ObsReagentProfile { + return ObsReagentProfile.from(ObsReagentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsReagent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-reagent", "ObsReagent"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReplaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReplaces.ts new file mode 100644 index 000000000..a50a2c402 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReplaces.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsReplacesProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-replaces (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsReplacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-replaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsReplacesProfile { + return new ObsReplacesProfile(resource) + } + + static createResource (args: ObsReplacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-replaces", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ObsReplacesProfileParams) : ObsReplacesProfile { + return ObsReplacesProfile.from(ObsReplacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsReplaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-replaces", "ObsReplaces"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSecondaryFinding.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSecondaryFinding.ts new file mode 100644 index 000000000..95e31a6d5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSecondaryFinding.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsSecondaryFindingProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsSecondaryFindingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsSecondaryFindingProfile { + return new ObsSecondaryFindingProfile(resource) + } + + static createResource (args: ObsSecondaryFindingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsSecondaryFindingProfileParams) : ObsSecondaryFindingProfile { + return ObsSecondaryFindingProfile.from(ObsSecondaryFindingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsSecondaryFinding"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding", "ObsSecondaryFinding"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSequelTo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSequelTo.ts new file mode 100644 index 000000000..2b562cabf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSequelTo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsSequelToProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-sequelTo (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsSequelToProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-sequelTo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsSequelToProfile { + return new ObsSequelToProfile(resource) + } + + static createResource (args: ObsSequelToProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-sequelTo", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ObsSequelToProfileParams) : ObsSequelToProfile { + return ObsSequelToProfile.from(ObsSequelToProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsSequelTo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-sequelTo", "ObsSequelTo"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSpecimenCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSpecimenCode.ts new file mode 100644 index 000000000..d1ce45d51 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSpecimenCode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsSpecimenCodeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-specimenCode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsSpecimenCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-specimenCode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsSpecimenCodeProfile { + return new ObsSpecimenCodeProfile(resource) + } + + static createResource (args: ObsSpecimenCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-specimenCode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: ObsSpecimenCodeProfileParams) : ObsSpecimenCodeProfile { + return ObsSpecimenCodeProfile.from(ObsSpecimenCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsSpecimenCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-specimenCode", "ObsSpecimenCode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsTimeOffset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsTimeOffset.ts new file mode 100644 index 000000000..16274cc4e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsTimeOffset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ObsTimeOffsetProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-timeOffset (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsTimeOffsetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-timeOffset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsTimeOffsetProfile { + return new ObsTimeOffsetProfile(resource) + } + + static createResource (args: ObsTimeOffsetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-timeOffset", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: ObsTimeOffsetProfileParams) : ObsTimeOffsetProfile { + return ObsTimeOffsetProfile.from(ObsTimeOffsetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsTimeOffset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-timeOffset", "ObsTimeOffset"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsV2SubId.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsV2SubId.ts new file mode 100644 index 000000000..0f3533034 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsV2SubId.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/observation-v2-subid (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ObsV2SubIdProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/observation-v2-subid" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObsV2SubIdProfile { + return new ObsV2SubIdProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/observation-v2-subid", + } as unknown as Extension + return resource + } + + static create () : ObsV2SubIdProfile { + return ObsV2SubIdProfile.from(ObsV2SubIdProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setOriginalSubIdentifier (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "original-sub-identifier", valueString: value } as Extension) + return this + } + + public setGroup (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "group", valueDecimal: value } as Extension) + return this + } + + public setSequence (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "sequence", valueDecimal: value } as Extension) + return this + } + + public setIdentifier (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "identifier", valueString: value } as Extension) + return this + } + + public getOriginalSubIdentifier (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "original-sub-identifier") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getOriginalSubIdentifierExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "original-sub-identifier") + return ext + } + + public getGroup (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "group") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getGroupExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "group") + return ext + } + + public getSequence (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "sequence") + return (ext as Record | undefined)?.valueDecimal as number | undefined + } + + public getSequenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "sequence") + return ext + } + + public getIdentifier (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "identifier") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getIdentifierExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "identifier") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObsV2SubId"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/observation-v2-subid", "ObsV2SubId"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPeriod.ts new file mode 100644 index 000000000..d5c7af4d3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPeriod.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OrgPeriodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-period (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OrgPeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-period" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OrgPeriodProfile { + return new OrgPeriodProfile(resource) + } + + static createResource (args: OrgPeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-period", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: OrgPeriodProfileParams) : OrgPeriodProfile { + return OrgPeriodProfile.from(OrgPeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OrgPeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-period", "OrgPeriod"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPreferredContact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPreferredContact.ts new file mode 100644 index 000000000..4d762bc60 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPreferredContact.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OrgPreferredContactProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-preferredContact (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OrgPreferredContactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-preferredContact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OrgPreferredContactProfile { + return new OrgPreferredContactProfile(resource) + } + + static createResource (args: OrgPreferredContactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-preferredContact", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: OrgPreferredContactProfileParams) : OrgPreferredContactProfile { + return OrgPreferredContactProfile.from(OrgPreferredContactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OrgPreferredContact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-preferredContact", "OrgPreferredContact"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPrimaryInd.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPrimaryInd.ts new file mode 100644 index 000000000..2f429d02a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPrimaryInd.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OrgPrimaryIndProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OrgPrimaryIndProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OrgPrimaryIndProfile { + return new OrgPrimaryIndProfile(resource) + } + + static createResource (args: OrgPrimaryIndProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: OrgPrimaryIndProfileParams) : OrgPrimaryIndProfile { + return OrgPrimaryIndProfile.from(OrgPrimaryIndProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OrgPrimaryInd"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd", "OrgPrimaryInd"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationBrand.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationBrand.ts new file mode 100644 index 000000000..b4c048718 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationBrand.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-brand (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OrganizationBrandProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-brand" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OrganizationBrandProfile { + return new OrganizationBrandProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-brand", + } as unknown as Extension + return resource + } + + static create () : OrganizationBrandProfile { + return OrganizationBrandProfile.from(OrganizationBrandProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setBrandLogo (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "brandLogo", valueUrl: value } as Extension) + return this + } + + public setBrandLogoLicenseType (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "brandLogoLicenseType", valueCoding: value } as Extension) + return this + } + + public setBrandLogoLicense (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "brandLogoLicense", valueUrl: value } as Extension) + return this + } + + public setBrandBundle (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "brandBundle", valueUrl: value } as Extension) + return this + } + + public getBrandLogo (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogo") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getBrandLogoExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogo") + return ext + } + + public getBrandLogoLicenseType (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogoLicenseType") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getBrandLogoLicenseTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogoLicenseType") + return ext + } + + public getBrandLogoLicense (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogoLicense") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getBrandLogoLicenseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandLogoLicense") + return ext + } + + public getBrandBundle (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandBundle") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getBrandBundleExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "brandBundle") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OrganizationBrand"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-brand", "OrganizationBrand"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationPortal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationPortal.ts new file mode 100644 index 000000000..1ee17e641 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationPortal.ts @@ -0,0 +1,185 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OrganizationPortalProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/organization-portal (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OrganizationPortalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/organization-portal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OrganizationPortalProfile { + return new OrganizationPortalProfile(resource) + } + + static createResource (args: OrganizationPortalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/organization-portal", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: OrganizationPortalProfileParams) : OrganizationPortalProfile { + return OrganizationPortalProfile.from(OrganizationPortalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPortalName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalName", valueString: value } as Extension) + return this + } + + public setPortalDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalDescription", valueMarkdown: value } as Extension) + return this + } + + public setPortalUrl (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalUrl", valueUrl: value } as Extension) + return this + } + + public setPortalLogo (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalLogo", valueUrl: value } as Extension) + return this + } + + public setPortalLogoLicenseType (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalLogoLicenseType", valueCoding: value } as Extension) + return this + } + + public setPortalLogoLicense (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalLogoLicense", valueUrl: value } as Extension) + return this + } + + public setPortalEndpoint (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "portalEndpoint", valueReference: value } as Extension) + return this + } + + public getPortalName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalName") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPortalNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalName") + return ext + } + + public getPortalDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalDescription") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getPortalDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalDescription") + return ext + } + + public getPortalUrl (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalUrl") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getPortalUrlExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalUrl") + return ext + } + + public getPortalLogo (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogo") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getPortalLogoExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogo") + return ext + } + + public getPortalLogoLicenseType (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogoLicenseType") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getPortalLogoLicenseTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogoLicenseType") + return ext + } + + public getPortalLogoLicense (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogoLicense") + return (ext as Record | undefined)?.valueUrl as string | undefined + } + + public getPortalLogoLicenseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalLogoLicense") + return ext + } + + public getPortalEndpoint (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalEndpoint") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getPortalEndpointExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "portalEndpoint") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "OrganizationPortal"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "OrganizationPortal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/organization-portal", "OrganizationPortal"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OriginalText.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OriginalText.ts new file mode 100644 index 000000000..a6df45156 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OriginalText.ts @@ -0,0 +1,77 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/originalText (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OriginalTextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/originalText" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OriginalTextProfile { + return new OriginalTextProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/originalText", + } as unknown as Extension + return resource + } + + static create () : OriginalTextProfile { + return OriginalTextProfile.from(OriginalTextProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OriginalText"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/originalText", "OriginalText"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined || r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueString, valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnName.ts new file mode 100644 index 000000000..3566fadf6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OwnNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-own-name (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OwnNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-own-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OwnNameProfile { + return new OwnNameProfile(resource) + } + + static createResource (args: OwnNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-own-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OwnNameProfileParams) : OwnNameProfile { + return OwnNameProfile.from(OwnNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OwnName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-own-name", "OwnName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnPrefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnPrefix.ts new file mode 100644 index 000000000..99a7f79e9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnPrefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type OwnPrefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-own-prefix (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class OwnPrefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OwnPrefixProfile { + return new OwnPrefixProfile(resource) + } + + static createResource (args: OwnPrefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: OwnPrefixProfileParams) : OwnPrefixProfile { + return OwnPrefixProfile.from(OwnPrefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OwnPrefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", "OwnPrefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PGenderIdentity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PGenderIdentity.ts new file mode 100644 index 000000000..437125ede --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PGenderIdentity.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PGenderIdentityProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/individual-genderIdentity (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PGenderIdentityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PGenderIdentityProfile { + return new PGenderIdentityProfile(resource) + } + + static createResource (args: PGenderIdentityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PGenderIdentityProfileParams) : PGenderIdentityProfile { + return PGenderIdentityProfile.from(PGenderIdentityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "PGenderIdentity"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "PGenderIdentity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity", "PGenderIdentity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRAnimalSpecies.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRAnimalSpecies.ts new file mode 100644 index 000000000..f8ea9c2c6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRAnimalSpecies.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRAnimalSpeciesProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRAnimalSpeciesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRAnimalSpeciesProfile { + return new PRAnimalSpeciesProfile(resource) + } + + static createResource (args: PRAnimalSpeciesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PRAnimalSpeciesProfileParams) : PRAnimalSpeciesProfile { + return PRAnimalSpeciesProfile.from(PRAnimalSpeciesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRAnimalSpecies"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies", "PRAnimalSpecies"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRApproachBodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRApproachBodyStructure.ts new file mode 100644 index 000000000..10e2dbaa4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRApproachBodyStructure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRApproachBodyStructureProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRApproachBodyStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRApproachBodyStructureProfile { + return new PRApproachBodyStructureProfile(resource) + } + + static createResource (args: PRApproachBodyStructureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: PRApproachBodyStructureProfileParams) : PRApproachBodyStructureProfile { + return PRApproachBodyStructureProfile.from(PRApproachBodyStructureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRApproachBodyStructure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure", "PRApproachBodyStructure"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRCausedBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRCausedBy.ts new file mode 100644 index 000000000..e76bfe6f5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRCausedBy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRCausedByProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-causedBy (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRCausedByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-causedBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRCausedByProfile { + return new PRCausedByProfile(resource) + } + + static createResource (args: PRCausedByProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-causedBy", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: PRCausedByProfileParams) : PRCausedByProfile { + return PRCausedByProfile.from(PRCausedByProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRCausedBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-causedBy", "PRCausedBy"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRDirectedBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRDirectedBy.ts new file mode 100644 index 000000000..1647a96ab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRDirectedBy.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-directedBy (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRDirectedByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-directedBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRDirectedByProfile { + return new PRDirectedByProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-directedBy", + } as unknown as Extension + return resource + } + + static create () : PRDirectedByProfile { + return PRDirectedByProfile.from(PRDirectedByProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRDirectedBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-directedBy", "PRDirectedBy"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined || r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept, valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PREmploymentStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PREmploymentStatus.ts new file mode 100644 index 000000000..91be3b1ef --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PREmploymentStatus.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PREmploymentStatusProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PREmploymentStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PREmploymentStatusProfile { + return new PREmploymentStatusProfile(resource) + } + + static createResource (args: PREmploymentStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PREmploymentStatusProfileParams) : PREmploymentStatusProfile { + return PREmploymentStatusProfile.from(PREmploymentStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PREmploymentStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus", "PREmploymentStatus"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRIncisionDateTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRIncisionDateTime.ts new file mode 100644 index 000000000..3f9b8deea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRIncisionDateTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRIncisionDateTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRIncisionDateTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRIncisionDateTimeProfile { + return new PRIncisionDateTimeProfile(resource) + } + + static createResource (args: PRIncisionDateTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: PRIncisionDateTimeProfileParams) : PRIncisionDateTimeProfile { + return PRIncisionDateTimeProfile.from(PRIncisionDateTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRIncisionDateTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime", "PRIncisionDateTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRJobTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRJobTitle.ts new file mode 100644 index 000000000..654b36eda --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRJobTitle.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRJobTitleProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitioner-job-title (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRJobTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitioner-job-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRJobTitleProfile { + return new PRJobTitleProfile(resource) + } + + static createResource (args: PRJobTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitioner-job-title", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PRJobTitleProfileParams) : PRJobTitleProfile { + return PRJobTitleProfile.from(PRJobTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRJobTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitioner-job-title", "PRJobTitle"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRMethod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRMethod.ts new file mode 100644 index 000000000..1fabca349 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRMethod.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRMethodProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-method (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRMethodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-method" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRMethodProfile { + return new PRMethodProfile(resource) + } + + static createResource (args: PRMethodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-method", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PRMethodProfileParams) : PRMethodProfile { + return PRMethodProfile.from(PRMethodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRMethod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-method", "PRMethod"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRPrimaryInd.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRPrimaryInd.ts new file mode 100644 index 000000000..e6c9bcff8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRPrimaryInd.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRPrimaryIndProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRPrimaryIndProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRPrimaryIndProfile { + return new PRPrimaryIndProfile(resource) + } + + static createResource (args: PRPrimaryIndProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: PRPrimaryIndProfileParams) : PRPrimaryIndProfile { + return PRPrimaryIndProfile.from(PRPrimaryIndProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRPrimaryInd"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd", "PRPrimaryInd"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRProgressStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRProgressStatus.ts new file mode 100644 index 000000000..4dfaf167e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRProgressStatus.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRProgressStatusProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-progressStatus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRProgressStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRProgressStatusProfile { + return new PRProgressStatusProfile(resource) + } + + static createResource (args: PRProgressStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PRProgressStatusProfileParams) : PRProgressStatusProfile { + return PRProgressStatusProfile.from(PRProgressStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRProgressStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus", "PRProgressStatus"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRTargetBodyStructure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRTargetBodyStructure.ts new file mode 100644 index 000000000..2c249796d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRTargetBodyStructure.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PRTargetBodyStructureProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PRTargetBodyStructureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PRTargetBodyStructureProfile { + return new PRTargetBodyStructureProfile(resource) + } + + static createResource (args: PRTargetBodyStructureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: PRTargetBodyStructureProfileParams) : PRTargetBodyStructureProfile { + return PRTargetBodyStructureProfile.from(PRTargetBodyStructureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PRTargetBodyStructure"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure", "PRTargetBodyStructure"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParamFullUrl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParamFullUrl.ts new file mode 100644 index 000000000..ee054b3da --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParamFullUrl.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ParamFullUrlProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/parameters-fullUrl (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ParamFullUrlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ParamFullUrlProfile { + return new ParamFullUrlProfile(resource) + } + + static createResource (args: ParamFullUrlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: ParamFullUrlProfileParams) : ParamFullUrlProfile { + return ParamFullUrlProfile.from(ParamFullUrlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ParamFullUrl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl", "ParamFullUrl"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParameterDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParameterDefinition.ts new file mode 100644 index 000000000..584be5d04 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParameterDefinition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { ParameterDefinition } from "../../hl7-fhir-r5-core/ParameterDefinition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ParameterDefinitionProfileParams = { + valueParameterDefinition: ParameterDefinition; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ParameterDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ParameterDefinitionProfile { + return new ParameterDefinitionProfile(resource) + } + + static createResource (args: ParameterDefinitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition", + valueParameterDefinition: args.valueParameterDefinition, + } as unknown as Extension + return resource + } + + static create (args: ParameterDefinitionProfileParams) : ParameterDefinitionProfile { + return ParameterDefinitionProfile.from(ParameterDefinitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueParameterDefinition () : ParameterDefinition | undefined { + return this.resource.valueParameterDefinition as ParameterDefinition | undefined + } + + setValueParameterDefinition (value: ParameterDefinition) : this { + Object.assign(this.resource, { valueParameterDefinition: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ParameterDefinition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition", "ParameterDefinition"); if (e) errors.push(e) } + if (!(r["valueParameterDefinition"] !== undefined)) { + errors.push("value: at least one of valueParameterDefinition is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParametersDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParametersDefinition.ts new file mode 100644 index 000000000..d5002d263 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParametersDefinition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { ParameterDefinition } from "../../hl7-fhir-r5-core/ParameterDefinition"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ParametersDefinitionProfileParams = { + valueParameterDefinition: ParameterDefinition; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/parameters-definition (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ParametersDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/parameters-definition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ParametersDefinitionProfile { + return new ParametersDefinitionProfile(resource) + } + + static createResource (args: ParametersDefinitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/parameters-definition", + valueParameterDefinition: args.valueParameterDefinition, + } as unknown as Extension + return resource + } + + static create (args: ParametersDefinitionProfileParams) : ParametersDefinitionProfile { + return ParametersDefinitionProfile.from(ParametersDefinitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueParameterDefinition () : ParameterDefinition | undefined { + return this.resource.valueParameterDefinition as ParameterDefinition | undefined + } + + setValueParameterDefinition (value: ParameterDefinition) : this { + Object.assign(this.resource, { valueParameterDefinition: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ParametersDefinition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/parameters-definition", "ParametersDefinition"); if (e) errors.push(e) } + if (!(r["valueParameterDefinition"] !== undefined)) { + errors.push("value: at least one of valueParameterDefinition is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartOf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartOf.ts new file mode 100644 index 000000000..3de7bccd7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartOf.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-partOf (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PartOfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-partOf" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PartOfProfile { + return new PartOfProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-partOf", + } as unknown as Extension + return resource + } + + static create () : PartOfProfile { + return PartOfProfile.from(PartOfProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PartOf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-partOf", "PartOf"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerName.ts new file mode 100644 index 000000000..9394ec4e3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PartnerNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-partner-name (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PartnerNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-partner-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PartnerNameProfile { + return new PartnerNameProfile(resource) + } + + static createResource (args: PartnerNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-partner-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: PartnerNameProfileParams) : PartnerNameProfile { + return PartnerNameProfile.from(PartnerNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PartnerName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-partner-name", "PartnerName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerPrefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerPrefix.ts new file mode 100644 index 000000000..aa36531e3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerPrefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PartnerPrefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PartnerPrefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PartnerPrefixProfile { + return new PartnerPrefixProfile(resource) + } + + static createResource (args: PartnerPrefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: PartnerPrefixProfileParams) : PartnerPrefixProfile { + return PartnerPrefixProfile.from(PartnerPrefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PartnerPrefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix", "PartnerPrefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAdoptionInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAdoptionInfo.ts new file mode 100644 index 000000000..c0efb4f24 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAdoptionInfo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatAdoptionInfoProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatAdoptionInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatAdoptionInfoProfile { + return new PatAdoptionInfoProfile(resource) + } + + static createResource (args: PatAdoptionInfoProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PatAdoptionInfoProfileParams) : PatAdoptionInfoProfile { + return PatAdoptionInfoProfile.from(PatAdoptionInfoProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatAdoptionInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo", "PatAdoptionInfo"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAnimal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAnimal.ts new file mode 100644 index 000000000..7788a88dd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAnimal.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatAnimalProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-animal (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatAnimalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-animal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatAnimalProfile { + return new PatAnimalProfile(resource) + } + + static createResource (args: PatAnimalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-animal", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PatAnimalProfileParams) : PatAnimalProfile { + return PatAnimalProfile.from(PatAnimalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setSpecies (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "species", valueCodeableConcept: value } as Extension) + return this + } + + public setBreed (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "breed", valueCodeableConcept: value } as Extension) + return this + } + + public setGenderStatus (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "genderStatus", valueCodeableConcept: value } as Extension) + return this + } + + public getSpecies (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "species") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSpeciesExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "species") + return ext + } + + public getBreed (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "breed") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getBreedExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "breed") + return ext + } + + public getGenderStatus (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderStatus") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getGenderStatusExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderStatus") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "PatAnimal"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "PatAnimal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-animal", "PatAnimal"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthPlace.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthPlace.ts new file mode 100644 index 000000000..8e33ab580 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthPlace.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Address } from "../../hl7-fhir-r5-core/Address"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatBirthPlaceProfileParams = { + valueAddress: Address; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatBirthPlaceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatBirthPlaceProfile { + return new PatBirthPlaceProfile(resource) + } + + static createResource (args: PatBirthPlaceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + valueAddress: args.valueAddress, + } as unknown as Extension + return resource + } + + static create (args: PatBirthPlaceProfileParams) : PatBirthPlaceProfile { + return PatBirthPlaceProfile.from(PatBirthPlaceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueAddress () : Address | undefined { + return this.resource.valueAddress as Address | undefined + } + + setValueAddress (value: Address) : this { + Object.assign(this.resource, { valueAddress: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatBirthPlace"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", "PatBirthPlace"); if (e) errors.push(e) } + if (!(r["valueAddress"] !== undefined)) { + errors.push("value: at least one of valueAddress is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthTime.ts new file mode 100644 index 000000000..6523968e7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthTime.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatBirthTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthTime (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatBirthTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-birthTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatBirthTimeProfile { + return new PatBirthTimeProfile(resource) + } + + static createResource (args: PatBirthTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: PatBirthTimeProfileParams) : PatBirthTimeProfile { + return PatBirthTimeProfile.from(PatBirthTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatBirthTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-birthTime", "PatBirthTime"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBornStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBornStatus.ts new file mode 100644 index 000000000..ef9796576 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBornStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatBornStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-bornStatus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatBornStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-bornStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatBornStatusProfile { + return new PatBornStatusProfile(resource) + } + + static createResource (args: PatBornStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-bornStatus", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: PatBornStatusProfileParams) : PatBornStatusProfile { + return PatBornStatusProfile.from(PatBornStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatBornStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-bornStatus", "PatBornStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCadavericDonor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCadavericDonor.ts new file mode 100644 index 000000000..a87eb569c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCadavericDonor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatCadavericDonorProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatCadavericDonorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatCadavericDonorProfile { + return new PatCadavericDonorProfile(resource) + } + + static createResource (args: PatCadavericDonorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: PatCadavericDonorProfileParams) : PatCadavericDonorProfile { + return PatCadavericDonorProfile.from(PatCadavericDonorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatCadavericDonor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor", "PatCadavericDonor"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCitizenship.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCitizenship.ts new file mode 100644 index 000000000..3abbe2a3e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCitizenship.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-citizenship (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatCitizenshipProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-citizenship" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatCitizenshipProfile { + return new PatCitizenshipProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + } as unknown as Extension + return resource + } + + static create () : PatCitizenshipProfile { + return PatCitizenshipProfile.from(PatCitizenshipProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatCitizenship"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-citizenship", "PatCitizenship"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCongregation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCongregation.ts new file mode 100644 index 000000000..167b45c32 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCongregation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatCongregationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-congregation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatCongregationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-congregation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatCongregationProfile { + return new PatCongregationProfile(resource) + } + + static createResource (args: PatCongregationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-congregation", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: PatCongregationProfileParams) : PatCongregationProfile { + return PatCongregationProfile.from(PatCongregationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatCongregation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-congregation", "PatCongregation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatContactPriority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatContactPriority.ts new file mode 100644 index 000000000..752687527 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatContactPriority.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatContactPriorityProfileParams = { + valuePositiveInt: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-contactPriority (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatContactPriorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-contactPriority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatContactPriorityProfile { + return new PatContactPriorityProfile(resource) + } + + static createResource (args: PatContactPriorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-contactPriority", + valuePositiveInt: args.valuePositiveInt, + } as unknown as Extension + return resource + } + + static create (args: PatContactPriorityProfileParams) : PatContactPriorityProfile { + return PatContactPriorityProfile.from(PatContactPriorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePositiveInt () : number | undefined { + return this.resource.valuePositiveInt as number | undefined + } + + setValuePositiveInt (value: number) : this { + Object.assign(this.resource, { valuePositiveInt: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatContactPriority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-contactPriority", "PatContactPriority"); if (e) errors.push(e) } + if (!(r["valuePositiveInt"] !== undefined)) { + errors.push("value: at least one of valuePositiveInt is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatDisability.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatDisability.ts new file mode 100644 index 000000000..2c730846b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatDisability.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatDisabilityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-disability (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatDisabilityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-disability" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatDisabilityProfile { + return new PatDisabilityProfile(resource) + } + + static createResource (args: PatDisabilityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-disability", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PatDisabilityProfileParams) : PatDisabilityProfile { + return PatDisabilityProfile.from(PatDisabilityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatDisability"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-disability", "PatDisability"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatImportance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatImportance.ts new file mode 100644 index 000000000..8eaa074a9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatImportance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatImportanceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-importance (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatImportanceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-importance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatImportanceProfile { + return new PatImportanceProfile(resource) + } + + static createResource (args: PatImportanceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-importance", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PatImportanceProfileParams) : PatImportanceProfile { + return PatImportanceProfile.from(PatImportanceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatImportance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-importance", "PatImportance"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatInterpreterRequired.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatInterpreterRequired.ts new file mode 100644 index 000000000..3778565c0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatInterpreterRequired.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatInterpreterRequiredProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatInterpreterRequiredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatInterpreterRequiredProfile { + return new PatInterpreterRequiredProfile(resource) + } + + static createResource (args: PatInterpreterRequiredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: PatInterpreterRequiredProfileParams) : PatInterpreterRequiredProfile { + return PatInterpreterRequiredProfile.from(PatInterpreterRequiredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatInterpreterRequired"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired", "PatInterpreterRequired"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMothersMaidenName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMothersMaidenName.ts new file mode 100644 index 000000000..a87914e43 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMothersMaidenName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatMothersMaidenNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatMothersMaidenNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatMothersMaidenNameProfile { + return new PatMothersMaidenNameProfile(resource) + } + + static createResource (args: PatMothersMaidenNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: PatMothersMaidenNameProfileParams) : PatMothersMaidenNameProfile { + return PatMothersMaidenNameProfile.from(PatMothersMaidenNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatMothersMaidenName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", "PatMothersMaidenName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMultipleBirthTotal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMultipleBirthTotal.ts new file mode 100644 index 000000000..1b9eb2eac --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMultipleBirthTotal.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatMultipleBirthTotalProfileParams = { + valuePositiveInt: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatMultipleBirthTotalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatMultipleBirthTotalProfile { + return new PatMultipleBirthTotalProfile(resource) + } + + static createResource (args: PatMultipleBirthTotalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal", + valuePositiveInt: args.valuePositiveInt, + } as unknown as Extension + return resource + } + + static create (args: PatMultipleBirthTotalProfileParams) : PatMultipleBirthTotalProfile { + return PatMultipleBirthTotalProfile.from(PatMultipleBirthTotalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePositiveInt () : number | undefined { + return this.resource.valuePositiveInt as number | undefined + } + + setValuePositiveInt (value: number) : this { + Object.assign(this.resource, { valuePositiveInt: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatMultipleBirthTotal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal", "PatMultipleBirthTotal"); if (e) errors.push(e) } + if (!(r["valuePositiveInt"] !== undefined)) { + errors.push("value: at least one of valuePositiveInt is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNationality.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNationality.ts new file mode 100644 index 000000000..c3261da94 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNationality.ts @@ -0,0 +1,90 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-nationality (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatNationalityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-nationality" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatNationalityProfile { + return new PatNationalityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-nationality", + } as unknown as Extension + return resource + } + + static create () : PatNationalityProfile { + return PatNationalityProfile.from(PatNationalityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatNationality"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-nationality", "PatNationality"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNoFixedAddress.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNoFixedAddress.ts new file mode 100644 index 000000000..6974c8209 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNoFixedAddress.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatNoFixedAddressProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/no-fixed-address (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatNoFixedAddressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/no-fixed-address" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatNoFixedAddressProfile { + return new PatNoFixedAddressProfile(resource) + } + + static createResource (args: PatNoFixedAddressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/no-fixed-address", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: PatNoFixedAddressProfileParams) : PatNoFixedAddressProfile { + return PatNoFixedAddressProfile.from(PatNoFixedAddressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatNoFixedAddress"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/no-fixed-address", "PatNoFixedAddress"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatPreferenceType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatPreferenceType.ts new file mode 100644 index 000000000..78b46cada --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatPreferenceType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatPreferenceTypeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-preferenceType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatPreferenceTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-preferenceType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatPreferenceTypeProfile { + return new PatPreferenceTypeProfile(resource) + } + + static createResource (args: PatPreferenceTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-preferenceType", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: PatPreferenceTypeProfileParams) : PatPreferenceTypeProfile { + return PatPreferenceTypeProfile.from(PatPreferenceTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatPreferenceType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-preferenceType", "PatPreferenceType"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatProficiency.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatProficiency.ts new file mode 100644 index 000000000..f3171bfb2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatProficiency.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-proficiency (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatProficiencyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-proficiency" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatProficiencyProfile { + return new PatProficiencyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-proficiency", + } as unknown as Extension + return resource + } + + static create () : PatProficiencyProfile { + return PatProficiencyProfile.from(PatProficiencyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLevel (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "level", valueCoding: value } as Extension) + return this + } + + public setType (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCoding: value } as Extension) + return this + } + + public getLevel (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "level") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getLevelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "level") + return ext + } + + public getType (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatProficiency"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-proficiency", "PatProficiency"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatRelatedPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatRelatedPerson.ts new file mode 100644 index 000000000..f3b6bc939 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatRelatedPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatRelatedPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-relatedPerson (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatRelatedPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatRelatedPersonProfile { + return new PatRelatedPersonProfile(resource) + } + + static createResource (args: PatRelatedPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: PatRelatedPersonProfileParams) : PatRelatedPersonProfile { + return PatRelatedPersonProfile.from(PatRelatedPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatRelatedPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson", "PatRelatedPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatReligion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatReligion.ts new file mode 100644 index 000000000..7071dcca0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatReligion.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatReligionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-religion (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatReligionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-religion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatReligionProfile { + return new PatReligionProfile(resource) + } + + static createResource (args: PatReligionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-religion", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PatReligionProfileParams) : PatReligionProfile { + return PatReligionProfile.from(PatReligionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatReligion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-religion", "PatReligion"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatSexParameterForClinicalUse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatSexParameterForClinicalUse.ts new file mode 100644 index 000000000..2c7e51371 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatSexParameterForClinicalUse.ts @@ -0,0 +1,138 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatSexParameterForClinicalUseProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatSexParameterForClinicalUseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatSexParameterForClinicalUseProfile { + return new PatSexParameterForClinicalUseProfile(resource) + } + + static createResource (args: PatSexParameterForClinicalUseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PatSexParameterForClinicalUseProfileParams) : PatSexParameterForClinicalUseProfile { + return PatSexParameterForClinicalUseProfile.from(PatSexParameterForClinicalUseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public setSupportingInfo (value: CodeableReference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "supportingInfo", valueCodeableReference: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + public getSupportingInfo (): CodeableReference | undefined { + const ext = this.resource.extension?.find(e => e.url === "supportingInfo") + return (ext as Record | undefined)?.valueCodeableReference as CodeableReference | undefined + } + + public getSupportingInfoExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "supportingInfo") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "PatSexParameterForClinicalUse"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "PatSexParameterForClinicalUse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse", "PatSexParameterForClinicalUse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientKnownNonDuplicate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientKnownNonDuplicate.ts new file mode 100644 index 000000000..e53359c02 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientKnownNonDuplicate.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatientKnownNonDuplicateProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatientKnownNonDuplicateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatientKnownNonDuplicateProfile { + return new PatientKnownNonDuplicateProfile(resource) + } + + static createResource (args: PatientKnownNonDuplicateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: PatientKnownNonDuplicateProfileParams) : PatientKnownNonDuplicateProfile { + return PatientKnownNonDuplicateProfile.from(PatientKnownNonDuplicateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatientKnownNonDuplicate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate", "PatientKnownNonDuplicate"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientUnknownIdentity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientUnknownIdentity.ts new file mode 100644 index 000000000..bd3d50415 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientUnknownIdentity.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatientUnknownIdentityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatientUnknownIdentityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatientUnknownIdentityProfile { + return new PatientUnknownIdentityProfile(resource) + } + + static createResource (args: PatientUnknownIdentityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PatientUnknownIdentityProfileParams) : PatientUnknownIdentityProfile { + return PatientUnknownIdentityProfile.from(PatientUnknownIdentityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PatientUnknownIdentity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity", "PatientUnknownIdentity"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pattern.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pattern.ts new file mode 100644 index 000000000..c9622394d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pattern.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PatternProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PatternProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PatternProfile { + return new PatternProfile(resource) + } + + static createResource (args: PatternProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: PatternProfileParams) : PatternProfile { + return PatternProfile.from(PatternProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Pattern"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern", "Pattern"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerFunction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerFunction.ts new file mode 100644 index 000000000..a0b669675 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerFunction.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PerformerFunctionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/event-performerFunction (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PerformerFunctionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/event-performerFunction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PerformerFunctionProfile { + return new PerformerFunctionProfile(resource) + } + + static createResource (args: PerformerFunctionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/event-performerFunction", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: PerformerFunctionProfileParams) : PerformerFunctionProfile { + return PerformerFunctionProfile.from(PerformerFunctionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PerformerFunction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/event-performerFunction", "PerformerFunction"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerOrder.ts new file mode 100644 index 000000000..1c3170694 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerOrder.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PerformerOrderProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-performerOrder (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PerformerOrderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-performerOrder" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PerformerOrderProfile { + return new PerformerOrderProfile(resource) + } + + static createResource (args: PerformerOrderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-performerOrder", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: PerformerOrderProfileParams) : PerformerOrderProfile { + return PerformerOrderProfile.from(PerformerOrderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PerformerOrder"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-performerOrder", "PerformerOrder"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PeriodDuration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PeriodDuration.ts new file mode 100644 index 000000000..8f108ab90 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PeriodDuration.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r5-core/Duration"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PeriodDurationProfileParams = { + valueDuration: Duration; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/artifact-periodDuration (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PeriodDurationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/artifact-periodDuration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PeriodDurationProfile { + return new PeriodDurationProfile(resource) + } + + static createResource (args: PeriodDurationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/artifact-periodDuration", + valueDuration: args.valueDuration, + } as unknown as Extension + return resource + } + + static create (args: PeriodDurationProfileParams) : PeriodDurationProfile { + return PeriodDurationProfile.from(PeriodDurationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PeriodDuration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/artifact-periodDuration", "PeriodDuration"); if (e) errors.push(e) } + if (!(r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueConceptmap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueConceptmap.ts new file mode 100644 index 000000000..36d5894f2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueConceptmap.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PermittedValueConceptmapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PermittedValueConceptmapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PermittedValueConceptmapProfile { + return new PermittedValueConceptmapProfile(resource) + } + + static createResource (args: PermittedValueConceptmapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: PermittedValueConceptmapProfileParams) : PermittedValueConceptmapProfile { + return PermittedValueConceptmapProfile.from(PermittedValueConceptmapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PermittedValueConceptmap"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap", "PermittedValueConceptmap"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueValueset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueValueset.ts new file mode 100644 index 000000000..911d113f0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueValueset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PermittedValueValuesetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PermittedValueValuesetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PermittedValueValuesetProfile { + return new PermittedValueValuesetProfile(resource) + } + + static createResource (args: PermittedValueValuesetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: PermittedValueValuesetProfileParams) : PermittedValueValuesetProfile { + return PermittedValueValuesetProfile.from(PermittedValueValuesetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PermittedValueValueset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset", "PermittedValueValueset"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Precision.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Precision.ts new file mode 100644 index 000000000..177e52057 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Precision.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PrecisionProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/quantity-precision (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PrecisionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/quantity-precision" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PrecisionProfile { + return new PrecisionProfile(resource) + } + + static createResource (args: PrecisionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/quantity-precision", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: PrecisionProfileParams) : PrecisionProfile { + return PrecisionProfile.from(PrecisionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Precision"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/quantity-precision", "Precision"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Preferred.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Preferred.ts new file mode 100644 index 000000000..96f21b8ea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Preferred.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PreferredProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-preferred (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PreferredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-preferred" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PreferredProfile { + return new PreferredProfile(resource) + } + + static createResource (args: PreferredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-preferred", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: PreferredProfileParams) : PreferredProfile { + return PreferredProfile.from(PreferredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Preferred"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-preferred", "Preferred"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProfileElement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProfileElement.ts new file mode 100644 index 000000000..e7edde057 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProfileElement.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ProfileElementProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ProfileElementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ProfileElementProfile { + return new ProfileElementProfile(resource) + } + + static createResource (args: ProfileElementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ProfileElementProfileParams) : ProfileElementProfile { + return ProfileElementProfile.from(ProfileElementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ProfileElement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element", "ProfileElement"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pronouns.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pronouns.ts new file mode 100644 index 000000000..c5058ddc8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pronouns.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type PronounsProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/individual-pronouns (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PronounsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/individual-pronouns" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PronounsProfile { + return new PronounsProfile(resource) + } + + static createResource (args: PronounsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/individual-pronouns", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: PronounsProfileParams) : PronounsProfile { + return PronounsProfile.from(PronounsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Pronouns"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Pronouns"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/individual-pronouns", "Pronouns"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProtectiveFactor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProtectiveFactor.ts new file mode 100644 index 000000000..3f673d16e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProtectiveFactor.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ProtectiveFactorProfileParams = { + valueCodeableReference: CodeableReference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ProtectiveFactorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ProtectiveFactorProfile { + return new ProtectiveFactorProfile(resource) + } + + static createResource (args: ProtectiveFactorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor", + valueCodeableReference: args.valueCodeableReference, + } as unknown as Extension + return resource + } + + static create (args: ProtectiveFactorProfileParams) : ProtectiveFactorProfile { + return ProtectiveFactorProfile.from(ProtectiveFactorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableReference () : CodeableReference | undefined { + return this.resource.valueCodeableReference as CodeableReference | undefined + } + + setValueCodeableReference (value: CodeableReference) : this { + Object.assign(this.resource, { valueCodeableReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ProtectiveFactor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor", "ProtectiveFactor"); if (e) errors.push(e) } + if (!(r["valueCodeableReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationDate.ts new file mode 100644 index 000000000..6dadcf604 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationDate.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-publicationDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PublicationDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-publicationDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PublicationDateProfile { + return new PublicationDateProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-publicationDate", + } as unknown as Extension + return resource + } + + static create () : PublicationDateProfile { + return PublicationDateProfile.from(PublicationDateProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublicationDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-publicationDate", "PublicationDate"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationStatus.ts new file mode 100644 index 000000000..ae0466702 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationStatus.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class PublicationStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PublicationStatusProfile { + return new PublicationStatusProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus", + } as unknown as Extension + return resource + } + + static create () : PublicationStatusProfile { + return PublicationStatusProfile.from(PublicationStatusProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PublicationStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus", "PublicationStatus"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QBaseType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QBaseType.ts new file mode 100644 index 000000000..be3eb6794 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QBaseType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QBaseTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-baseType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QBaseTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QBaseTypeProfile { + return new QBaseTypeProfile(resource) + } + + static createResource (args: QBaseTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: QBaseTypeProfileParams) : QBaseTypeProfile { + return QBaseTypeProfile.from(QBaseTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QBaseType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType", "QBaseType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QChoiceOrientation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QChoiceOrientation.ts new file mode 100644 index 000000000..5862b1df7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QChoiceOrientation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QChoiceOrientationProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QChoiceOrientationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QChoiceOrientationProfile { + return new QChoiceOrientationProfile(resource) + } + + static createResource (args: QChoiceOrientationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: QChoiceOrientationProfileParams) : QChoiceOrientationProfile { + return QChoiceOrientationProfile.from(QChoiceOrientationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QChoiceOrientation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", "QChoiceOrientation"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QConstraint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QConstraint.ts new file mode 100644 index 000000000..3476ac80b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QConstraint.ts @@ -0,0 +1,167 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QConstraintProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QConstraintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QConstraintProfile { + return new QConstraintProfile(resource) + } + + static createResource (args: QConstraintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: QConstraintProfileParams) : QConstraintProfile { + return QConstraintProfile.from(QConstraintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setKey (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "key", valueId: value } as Extension) + return this + } + + public setRequirements (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "requirements", valueString: value } as Extension) + return this + } + + public setSeverity (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "severity", valueCode: value } as Extension) + return this + } + + public setExpression (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expression", valueString: value } as Extension) + return this + } + + public setHuman (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "human", valueString: value } as Extension) + return this + } + + public setLocation (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "location", valueString: value } as Extension) + return this + } + + public getKey (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getKeyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return ext + } + + public getRequirements (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRequirementsExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return ext + } + + public getSeverity (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getSeverityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return ext + } + + public getExpression (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return ext + } + + public getHuman (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "human") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getHumanExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "human") + return ext + } + + public getLocation (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLocationExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "location") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "QConstraint"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "QConstraint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint", "QConstraint"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDefinitionBased.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDefinitionBased.ts new file mode 100644 index 000000000..12bac82b7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDefinitionBased.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QDefinitionBasedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QDefinitionBasedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QDefinitionBasedProfile { + return new QDefinitionBasedProfile(resource) + } + + static createResource (args: QDefinitionBasedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: QDefinitionBasedProfileParams) : QDefinitionBasedProfile { + return QDefinitionBasedProfile.from(QDefinitionBasedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QDefinitionBased"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased", "QDefinitionBased"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDisplayCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDisplayCategory.ts new file mode 100644 index 000000000..741548d94 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDisplayCategory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QDisplayCategoryProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QDisplayCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QDisplayCategoryProfile { + return new QDisplayCategoryProfile(resource) + } + + static createResource (args: QDisplayCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: QDisplayCategoryProfileParams) : QDisplayCategoryProfile { + return QDisplayCategoryProfile.from(QDisplayCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QDisplayCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", "QDisplayCategory"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QFhirType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QFhirType.ts new file mode 100644 index 000000000..44c09d1b4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QFhirType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QFhirTypeProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QFhirTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QFhirTypeProfile { + return new QFhirTypeProfile(resource) + } + + static createResource (args: QFhirTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: QFhirTypeProfileParams) : QFhirTypeProfile { + return QFhirTypeProfile.from(QFhirTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QFhirType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "QFhirType"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QHidden.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QHidden.ts new file mode 100644 index 000000000..ed9b066eb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QHidden.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QHiddenProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QHiddenProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QHiddenProfile { + return new QHiddenProfile(resource) + } + + static createResource (args: QHiddenProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: QHiddenProfileParams) : QHiddenProfile { + return QHiddenProfile.from(QHiddenProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QHidden"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", "QHidden"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QItemControl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QItemControl.ts new file mode 100644 index 000000000..0788f032e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QItemControl.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QItemControlProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QItemControlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QItemControlProfile { + return new QItemControlProfile(resource) + } + + static createResource (args: QItemControlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: QItemControlProfileParams) : QItemControlProfile { + return QItemControlProfile.from(QItemControlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QItemControl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "QItemControl"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMaxOccurs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMaxOccurs.ts new file mode 100644 index 000000000..68351c0fc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMaxOccurs.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QMaxOccursProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QMaxOccursProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QMaxOccursProfile { + return new QMaxOccursProfile(resource) + } + + static createResource (args: QMaxOccursProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: QMaxOccursProfileParams) : QMaxOccursProfile { + return QMaxOccursProfile.from(QMaxOccursProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QMaxOccurs"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "QMaxOccurs"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMinOccurs.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMinOccurs.ts new file mode 100644 index 000000000..ff931cbe2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMinOccurs.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QMinOccursProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QMinOccursProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QMinOccursProfile { + return new QMinOccursProfile(resource) + } + + static createResource (args: QMinOccursProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: QMinOccursProfileParams) : QMinOccursProfile { + return QMinOccursProfile.from(QMinOccursProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QMinOccurs"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "QMinOccurs"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionExclusive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionExclusive.ts new file mode 100644 index 000000000..339bcca64 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionExclusive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QOptionExclusiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QOptionExclusiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QOptionExclusiveProfile { + return new QOptionExclusiveProfile(resource) + } + + static createResource (args: QOptionExclusiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: QOptionExclusiveProfileParams) : QOptionExclusiveProfile { + return QOptionExclusiveProfile.from(QOptionExclusiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QOptionExclusive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive", "QOptionExclusive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionPrefix.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionPrefix.ts new file mode 100644 index 000000000..64403c1c0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionPrefix.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QOptionPrefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QOptionPrefixProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QOptionPrefixProfile { + return new QOptionPrefixProfile(resource) + } + + static createResource (args: QOptionPrefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: QOptionPrefixProfileParams) : QOptionPrefixProfile { + return QOptionPrefixProfile.from(QOptionPrefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QOptionPrefix"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", "QOptionPrefix"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionRestriction.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionRestriction.ts new file mode 100644 index 000000000..9770ad3ec --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionRestriction.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QOptionRestrictionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QOptionRestrictionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QOptionRestrictionProfile { + return new QOptionRestrictionProfile(resource) + } + + static createResource (args: QOptionRestrictionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: QOptionRestrictionProfileParams) : QOptionRestrictionProfile { + return QOptionRestrictionProfile.from(QOptionRestrictionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setOption (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "option", valueInteger: value } as Extension) + return this + } + + public setExpression (value: Expression): this { + const list = (this.resource.extension ??= []) + list.push({ url: "requirements", valueExpression: value } as Extension) + return this + } + + public getOption (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "option") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getOptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "option") + return ext + } + + public getExpression (): Expression | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return (ext as Record | undefined)?.valueExpression as Expression | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "QOptionRestriction"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "QOptionRestriction"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction", "QOptionRestriction"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAttester.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAttester.ts new file mode 100644 index 000000000..1ed33c3ef --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAttester.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRAttesterProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRAttesterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRAttesterProfile { + return new QRAttesterProfile(resource) + } + + static createResource (args: QRAttesterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: QRAttesterProfileParams) : QRAttesterProfile { + return QRAttesterProfile.from(QRAttesterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setMode (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "mode", valueCode: value } as Extension) + return this + } + + public setTime (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "time", valueDateTime: value } as Extension) + return this + } + + public setParty (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "party", valueReference: value } as Extension) + return this + } + + public getMode (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "mode") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getModeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "mode") + return ext + } + + public getTime (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "time") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getTimeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "time") + return ext + } + + public getParty (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "party") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getPartyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "party") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "QRAttester"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "QRAttester"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester", "QRAttester"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAuthor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAuthor.ts new file mode 100644 index 000000000..3db9222ea --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAuthor.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRAuthorProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRAuthorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRAuthorProfile { + return new QRAuthorProfile(resource) + } + + static createResource (args: QRAuthorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: QRAuthorProfileParams) : QRAuthorProfile { + return QRAuthorProfile.from(QRAuthorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QRAuthor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author", "QRAuthor"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRCompletionMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRCompletionMode.ts new file mode 100644 index 000000000..c401ae60c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRCompletionMode.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRCompletionModeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRCompletionModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRCompletionModeProfile { + return new QRCompletionModeProfile(resource) + } + + static createResource (args: QRCompletionModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: QRCompletionModeProfileParams) : QRCompletionModeProfile { + return QRCompletionModeProfile.from(QRCompletionModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QRCompletionMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", "QRCompletionMode"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReason.ts new file mode 100644 index 000000000..1fbcbc006 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRReasonProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRReasonProfile { + return new QRReasonProfile(resource) + } + + static createResource (args: QRReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: QRReasonProfileParams) : QRReasonProfile { + return QRReasonProfile.from(QRReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QRReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason", "QRReason"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReviewer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReviewer.ts new file mode 100644 index 000000000..0a3001d6b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReviewer.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRReviewerProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRReviewerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRReviewerProfile { + return new QRReviewerProfile(resource) + } + + static createResource (args: QRReviewerProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: QRReviewerProfileParams) : QRReviewerProfile { + return QRReviewerProfile.from(QRReviewerProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QRReviewer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer", "QRReviewer"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRSignature.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRSignature.ts new file mode 100644 index 000000000..1165b2ef6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRSignature.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Signature } from "../../hl7-fhir-r5-core/Signature"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRSignatureProfileParams = { + valueSignature: Signature; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRSignatureProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRSignatureProfile { + return new QRSignatureProfile(resource) + } + + static createResource (args: QRSignatureProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", + valueSignature: args.valueSignature, + } as unknown as Extension + return resource + } + + static create (args: QRSignatureProfileParams) : QRSignatureProfile { + return QRSignatureProfile.from(QRSignatureProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueSignature () : Signature | undefined { + return this.resource.valueSignature as Signature | undefined + } + + setValueSignature (value: Signature) : this { + Object.assign(this.resource, { valueSignature: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QRSignature"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", "QRSignature"); if (e) errors.push(e) } + if (!(r["valueSignature"] !== undefined)) { + errors.push("value: at least one of valueSignature is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitOption.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitOption.ts new file mode 100644 index 000000000..51939d168 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitOption.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRUnitOptionProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRUnitOptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRUnitOptionProfile { + return new QRUnitOptionProfile(resource) + } + + static createResource (args: QRUnitOptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: QRUnitOptionProfileParams) : QRUnitOptionProfile { + return QRUnitOptionProfile.from(QRUnitOptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QRUnitOption"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", "QRUnitOption"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitValueSet.ts new file mode 100644 index 000000000..e7a751604 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitValueSet.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRUnitValueSetProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRUnitValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRUnitValueSetProfile { + return new QRUnitValueSetProfile(resource) + } + + static createResource (args: QRUnitValueSetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: QRUnitValueSetProfileParams) : QRUnitValueSetProfile { + return QRUnitValueSetProfile.from(QRUnitValueSetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QRUnitValueSet"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet", "QRUnitValueSet"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUsageMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUsageMode.ts new file mode 100644 index 000000000..67320029e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUsageMode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QRUsageModeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QRUsageModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QRUsageModeProfile { + return new QRUsageModeProfile(resource) + } + + static createResource (args: QRUsageModeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: QRUsageModeProfileParams) : QRUsageModeProfile { + return QRUsageModeProfile.from(QRUsageModeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QRUsageMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode", "QRUsageMode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceProfile.ts new file mode 100644 index 000000000..f04c0e54c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QReferenceProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QReferenceProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QReferenceProfileProfile { + return new QReferenceProfileProfile(resource) + } + + static createResource (args: QReferenceProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: QReferenceProfileProfileParams) : QReferenceProfileProfile { + return QReferenceProfileProfile.from(QReferenceProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QReferenceProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile", "QReferenceProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceResource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceResource.ts new file mode 100644 index 000000000..bad5b593f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceResource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QReferenceResourceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QReferenceResourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QReferenceResourceProfile { + return new QReferenceResourceProfile(resource) + } + + static createResource (args: QReferenceResourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: QReferenceResourceProfileParams) : QReferenceResourceProfile { + return QReferenceResourceProfile.from(QReferenceResourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QReferenceResource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource", "QReferenceResource"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSignatureRequired.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSignatureRequired.ts new file mode 100644 index 000000000..268da4c5e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSignatureRequired.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QSignatureRequiredProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QSignatureRequiredProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QSignatureRequiredProfile { + return new QSignatureRequiredProfile(resource) + } + + static createResource (args: QSignatureRequiredProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: QSignatureRequiredProfileParams) : QSignatureRequiredProfile { + return QSignatureRequiredProfile.from(QSignatureRequiredProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QSignatureRequired"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", "QSignatureRequired"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSliderStepValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSliderStepValue.ts new file mode 100644 index 000000000..5df4af78f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSliderStepValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QSliderStepValueProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QSliderStepValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QSliderStepValueProfile { + return new QSliderStepValueProfile(resource) + } + + static createResource (args: QSliderStepValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: QSliderStepValueProfileParams) : QSliderStepValueProfile { + return QSliderStepValueProfile.from(QSliderStepValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QSliderStepValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", "QSliderStepValue"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSupportLink.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSupportLink.ts new file mode 100644 index 000000000..e27a72856 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSupportLink.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QSupportLinkProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QSupportLinkProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QSupportLinkProfile { + return new QSupportLinkProfile(resource) + } + + static createResource (args: QSupportLinkProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: QSupportLinkProfileParams) : QSupportLinkProfile { + return QSupportLinkProfile.from(QSupportLinkProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QSupportLink"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink", "QSupportLink"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QUnit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QUnit.ts new file mode 100644 index 000000000..d076afa93 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QUnit.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QUnitProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-unit (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QUnitProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QUnitProfile { + return new QUnitProfile(resource) + } + + static createResource (args: QUnitProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: QUnitProfileParams) : QUnitProfile { + return QUnitProfile.from(QUnitProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QUnit"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", "QUnit"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QualityOfEvidence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QualityOfEvidence.ts new file mode 100644 index 000000000..a7cfdb1b2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QualityOfEvidence.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QualityOfEvidenceProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QualityOfEvidenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QualityOfEvidenceProfile { + return new QualityOfEvidenceProfile(resource) + } + + static createResource (args: QualityOfEvidenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: QualityOfEvidenceProfileParams) : QualityOfEvidenceProfile { + return QualityOfEvidenceProfile.from(QualityOfEvidenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QualityOfEvidence"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence", "QualityOfEvidence"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuantityTranslation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuantityTranslation.ts new file mode 100644 index 000000000..5e6cb2451 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuantityTranslation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r5-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QuantityTranslationProfileParams = { + valueQuantity: Quantity; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/extension-quantity-translation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QuantityTranslationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/extension-quantity-translation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QuantityTranslationProfile { + return new QuantityTranslationProfile(resource) + } + + static createResource (args: QuantityTranslationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/extension-quantity-translation", + valueQuantity: args.valueQuantity, + } as unknown as Extension + return resource + } + + static create (args: QuantityTranslationProfileParams) : QuantityTranslationProfile { + return QuantityTranslationProfile.from(QuantityTranslationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QuantityTranslation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/extension-quantity-translation", "QuantityTranslation"); if (e) errors.push(e) } + if (!(r["valueQuantity"] !== undefined)) { + errors.push("value: at least one of valueQuantity is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Question.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Question.ts new file mode 100644 index 000000000..78143f21f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Question.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QuestionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-question (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QuestionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-question" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QuestionProfile { + return new QuestionProfile(resource) + } + + static createResource (args: QuestionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: QuestionProfileParams) : QuestionProfile { + return QuestionProfile.from(QuestionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Question"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-question", "Question"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuestionnaireDerivationType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuestionnaireDerivationType.ts new file mode 100644 index 000000000..e46680bf4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuestionnaireDerivationType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r5-core/Coding"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type QuestionnaireDerivationTypeProfileParams = { + valueCoding: Coding; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class QuestionnaireDerivationTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QuestionnaireDerivationTypeProfile { + return new QuestionnaireDerivationTypeProfile(resource) + } + + static createResource (args: QuestionnaireDerivationTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType", + valueCoding: args.valueCoding, + } as unknown as Extension + return resource + } + + static create (args: QuestionnaireDerivationTypeProfileParams) : QuestionnaireDerivationTypeProfile { + return QuestionnaireDerivationTypeProfile.from(QuestionnaireDerivationTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCoding () : Coding | undefined { + return this.resource.valueCoding as Coding | undefined + } + + setValueCoding (value: Coding) : this { + Object.assign(this.resource, { valueCoding: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QuestionnaireDerivationType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType", "QuestionnaireDerivationType"); if (e) errors.push(e) } + if (!(r["valueCoding"] !== undefined)) { + errors.push("value: at least one of valueCoding is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSSiteRecruitment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSSiteRecruitment.ts new file mode 100644 index 000000000..2da9ff200 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSSiteRecruitment.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RSSiteRecruitmentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RSSiteRecruitmentProfile { + return new RSSiteRecruitmentProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment", + } as unknown as Extension + return resource + } + + static create () : RSSiteRecruitmentProfile { + return RSSiteRecruitmentProfile.from(RSSiteRecruitmentProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTargetNumber (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "targetNumber", valueUnsignedInt: value } as Extension) + return this + } + + public setActualNumber (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "actualNumber", valueUnsignedInt: value } as Extension) + return this + } + + public setEligibility (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "eligibility", valueMarkdown: value } as Extension) + return this + } + + public getTargetNumber (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetNumber") + return (ext as Record | undefined)?.valueUnsignedInt as number | undefined + } + + public getTargetNumberExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetNumber") + return ext + } + + public getActualNumber (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "actualNumber") + return (ext as Record | undefined)?.valueUnsignedInt as number | undefined + } + + public getActualNumberExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "actualNumber") + return ext + } + + public getEligibility (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "eligibility") + return (ext as Record | undefined)?.valueMarkdown as string | undefined + } + + public getEligibilityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "eligibility") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RSSiteRecruitment"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment", "RSSiteRecruitment"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSStudyRegistration.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSStudyRegistration.ts new file mode 100644 index 000000000..6fcbfc55c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSStudyRegistration.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RSStudyRegistrationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RSStudyRegistrationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RSStudyRegistrationProfile { + return new RSStudyRegistrationProfile(resource) + } + + static createResource (args: RSStudyRegistrationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: RSStudyRegistrationProfileParams) : RSStudyRegistrationProfile { + return RSStudyRegistrationProfile.from(RSStudyRegistrationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setActivity (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "activity", valueCodeableConcept: value } as Extension) + return this + } + + public setActual (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "actual", valueBoolean: value } as Extension) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value } as Extension) + return this + } + + public getActivity (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "activity") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getActivityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "activity") + return ext + } + + public getActual (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "actual") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getActualExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "actual") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "RSStudyRegistration"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "RSStudyRegistration"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration", "RSStudyRegistration"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingOrganization.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingOrganization.ts new file mode 100644 index 000000000..9b0b9a074 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingOrganization.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ReceivingOrganizationProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ReceivingOrganizationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReceivingOrganizationProfile { + return new ReceivingOrganizationProfile(resource) + } + + static createResource (args: ReceivingOrganizationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ReceivingOrganizationProfileParams) : ReceivingOrganizationProfile { + return ReceivingOrganizationProfile.from(ReceivingOrganizationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ReceivingOrganization"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization", "ReceivingOrganization"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingPerson.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingPerson.ts new file mode 100644 index 000000000..757ef35ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingPerson.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ReceivingPersonProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ReceivingPersonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReceivingPersonProfile { + return new ReceivingPersonProfile(resource) + } + + static createResource (args: ReceivingPersonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ReceivingPersonProfileParams) : ReceivingPersonProfile { + return ReceivingPersonProfile.from(ReceivingPersonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ReceivingPerson"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson", "ReceivingPerson"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientLanguage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientLanguage.ts new file mode 100644 index 000000000..a851d3968 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientLanguage.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RecipientLanguageProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RecipientLanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RecipientLanguageProfile { + return new RecipientLanguageProfile(resource) + } + + static createResource (args: RecipientLanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: RecipientLanguageProfileParams) : RecipientLanguageProfile { + return RecipientLanguageProfile.from(RecipientLanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RecipientLanguage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage", "RecipientLanguage"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientType.ts new file mode 100644 index 000000000..9f9d8a2b3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RecipientTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-recipientType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RecipientTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-recipientType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RecipientTypeProfile { + return new RecipientTypeProfile(resource) + } + + static createResource (args: RecipientTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-recipientType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: RecipientTypeProfileParams) : RecipientTypeProfile { + return RecipientTypeProfile.from(RecipientTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RecipientType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-recipientType", "RecipientType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecordedSexOrGender.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecordedSexOrGender.ts new file mode 100644 index 000000000..ec20b13e6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecordedSexOrGender.ts @@ -0,0 +1,217 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RecordedSexOrGenderProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RecordedSexOrGenderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RecordedSexOrGenderProfile { + return new RecordedSexOrGenderProfile(resource) + } + + static createResource (args: RecordedSexOrGenderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: RecordedSexOrGenderProfileParams) : RecordedSexOrGenderProfile { + return RecordedSexOrGenderProfile.from(RecordedSexOrGenderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueCodeableConcept: value } as Extension) + return this + } + + public setType (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCodeableConcept: value } as Extension) + return this + } + + public setEffectivePeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "effectivePeriod", valuePeriod: value } as Extension) + return this + } + + public setAcquisitionDate (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "acquisitionDate", valueDateTime: value } as Extension) + return this + } + + public setSourceDocument (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "sourceDocument", valueCodeableConcept: value } as Extension) + return this + } + + public setSourceField (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "sourceField", valueString: value } as Extension) + return this + } + + public setJurisdiction (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "jurisdiction", valueCodeableConcept: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public setGenderElementQualifier (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "genderElementQualifier", valueBoolean: value } as Extension) + return this + } + + public getValue (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getType (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getEffectivePeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "effectivePeriod") + return (ext as Record | undefined)?.valuePeriod as Period | undefined + } + + public getEffectivePeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "effectivePeriod") + return ext + } + + public getAcquisitionDate (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "acquisitionDate") + return (ext as Record | undefined)?.valueDateTime as string | undefined + } + + public getAcquisitionDateExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "acquisitionDate") + return ext + } + + public getSourceDocument (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "sourceDocument") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getSourceDocumentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "sourceDocument") + return ext + } + + public getSourceField (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "sourceField") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getSourceFieldExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "sourceField") + return ext + } + + public getJurisdiction (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "jurisdiction") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getJurisdictionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "jurisdiction") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + public getGenderElementQualifier (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderElementQualifier") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getGenderElementQualifierExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "genderElementQualifier") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "RecordedSexOrGender"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "RecordedSexOrGender"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender", "RecordedSexOrGender"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferenceFilter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferenceFilter.ts new file mode 100644 index 000000000..cffe83db3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferenceFilter.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ReferenceFilterProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ReferenceFilterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReferenceFilterProfile { + return new ReferenceFilterProfile(resource) + } + + static createResource (args: ReferenceFilterProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ReferenceFilterProfileParams) : ReferenceFilterProfile { + return ReferenceFilterProfile.from(ReferenceFilterProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ReferenceFilter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", "ReferenceFilter"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferencesContained.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferencesContained.ts new file mode 100644 index 000000000..24ccc1309 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferencesContained.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ReferencesContainedProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/referencesContained (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ReferencesContainedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/referencesContained" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReferencesContainedProfile { + return new ReferencesContainedProfile(resource) + } + + static createResource (args: ReferencesContainedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/referencesContained", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ReferencesContainedProfileParams) : ReferencesContainedProfile { + return ReferencesContainedProfile.from(ReferencesContainedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ReferencesContained"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/referencesContained", "ReferencesContained"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelatedArtifact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelatedArtifact.ts new file mode 100644 index 000000000..698d88ee7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelatedArtifact.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { RelatedArtifact } from "../../hl7-fhir-r5-core/RelatedArtifact"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RelatedArtifactProfileParams = { + valueRelatedArtifact: RelatedArtifact; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RelatedArtifactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RelatedArtifactProfile { + return new RelatedArtifactProfile(resource) + } + + static createResource (args: RelatedArtifactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact", + valueRelatedArtifact: args.valueRelatedArtifact, + } as unknown as Extension + return resource + } + + static create (args: RelatedArtifactProfileParams) : RelatedArtifactProfile { + return RelatedArtifactProfile.from(RelatedArtifactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueRelatedArtifact () : RelatedArtifact | undefined { + return this.resource.valueRelatedArtifact as RelatedArtifact | undefined + } + + setValueRelatedArtifact (value: RelatedArtifact) : this { + Object.assign(this.resource, { valueRelatedArtifact: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RelatedArtifact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact", "RelatedArtifact"); if (e) errors.push(e) } + if (!(r["valueRelatedArtifact"] !== undefined)) { + errors.push("value: at least one of valueRelatedArtifact is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateCriteria.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateCriteria.ts new file mode 100644 index 000000000..52fa983d4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateCriteria.ts @@ -0,0 +1,154 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Duration } from "../../hl7-fhir-r5-core/Duration"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RelativeDateCriteriaProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/relative-date (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RelativeDateCriteriaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/relative-date" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RelativeDateCriteriaProfile { + return new RelativeDateCriteriaProfile(resource) + } + + static createResource (args: RelativeDateCriteriaProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/relative-date", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: RelativeDateCriteriaProfileParams) : RelativeDateCriteriaProfile { + return RelativeDateCriteriaProfile.from(RelativeDateCriteriaProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTargetReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "targetReference", valueReference: value } as Extension) + return this + } + + public setTargetCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "targetCode", valueCodeableConcept: value } as Extension) + return this + } + + public setTargetPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "targetPath", valueString: value } as Extension) + return this + } + + public setRelationship (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "relationship", valueCode: value } as Extension) + return this + } + + public setOffset (value: Duration): this { + const list = (this.resource.extension ??= []) + list.push({ url: "offset", valueDuration: value } as Extension) + return this + } + + public getTargetReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetReference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getTargetReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetReference") + return ext + } + + public getTargetCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetCode") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getTargetCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetCode") + return ext + } + + public getTargetPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetPath") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTargetPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetPath") + return ext + } + + public getRelationship (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getRelationshipExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return ext + } + + public getOffset (): Duration | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return (ext as Record | undefined)?.valueDuration as Duration | undefined + } + + public getOffsetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "RelativeDateCriteria"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "RelativeDateCriteria"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/relative-date", "RelativeDateCriteria"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateTime.ts new file mode 100644 index 000000000..4ac5a3add --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateTime.ts @@ -0,0 +1,137 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r5-core/Duration"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RelativeDateTimeProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RelativeDateTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RelativeDateTimeProfile { + return new RelativeDateTimeProfile(resource) + } + + static createResource (args: RelativeDateTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: RelativeDateTimeProfileParams) : RelativeDateTimeProfile { + return RelativeDateTimeProfile.from(RelativeDateTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTarget (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "target", valueReference: value } as Extension) + return this + } + + public setTargetPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "targetPath", valueString: value } as Extension) + return this + } + + public setRelationship (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "relationship", valueCode: value } as Extension) + return this + } + + public setOffset (value: Duration): this { + const list = (this.resource.extension ??= []) + list.push({ url: "offset", valueDuration: value } as Extension) + return this + } + + public getTarget (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getTargetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "target") + return ext + } + + public getTargetPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetPath") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTargetPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "targetPath") + return ext + } + + public getRelationship (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getRelationshipExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "relationship") + return ext + } + + public getOffset (): Duration | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return (ext as Record | undefined)?.valueDuration as Duration | undefined + } + + public getOffsetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "RelativeDateTime"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "RelativeDateTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime", "RelativeDateTime"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReleaseDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReleaseDate.ts new file mode 100644 index 000000000..3c10dfc66 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReleaseDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ReleaseDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-releaseDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ReleaseDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-releaseDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReleaseDateProfile { + return new ReleaseDateProfile(resource) + } + + static createResource (args: ReleaseDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-releaseDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ReleaseDateProfileParams) : ReleaseDateProfile { + return ReleaseDateProfile.from(ReleaseDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ReleaseDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-releaseDate", "ReleaseDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelevantHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelevantHistory.ts new file mode 100644 index 000000000..ca38dadc7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelevantHistory.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RelevantHistoryProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-relevantHistory (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RelevantHistoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-relevantHistory" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RelevantHistoryProfile { + return new RelevantHistoryProfile(resource) + } + + static createResource (args: RelevantHistoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-relevantHistory", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: RelevantHistoryProfileParams) : RelevantHistoryProfile { + return RelevantHistoryProfile.from(RelevantHistoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RelevantHistory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-relevantHistory", "RelevantHistory"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderedValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderedValue.ts new file mode 100644 index 000000000..714c0b5b3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderedValue.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RenderedValueProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendered-value (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RenderedValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendered-value" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RenderedValueProfile { + return new RenderedValueProfile(resource) + } + + static createResource (args: RenderedValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendered-value", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: RenderedValueProfileParams) : RenderedValueProfile { + return RenderedValueProfile.from(RenderedValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RenderedValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendered-value", "RenderedValue"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderingStyle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderingStyle.ts new file mode 100644 index 000000000..9225093d2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderingStyle.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RenderingStyleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-style (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RenderingStyleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-style" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RenderingStyleProfile { + return new RenderingStyleProfile(resource) + } + + static createResource (args: RenderingStyleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-style", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: RenderingStyleProfileParams) : RenderingStyleProfile { + return RenderingStyleProfile.from(RenderingStyleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RenderingStyle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-style", "RenderingStyle"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Replaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Replaces.ts new file mode 100644 index 000000000..fd0b39d41 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Replaces.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ReplacesProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/replaces (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ReplacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/replaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReplacesProfile { + return new ReplacesProfile(resource) + } + + static createResource (args: ReplacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/replaces", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: ReplacesProfileParams) : ReplacesProfile { + return ReplacesProfile.from(ReplacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Replaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/replaces", "Replaces"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestInsurance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestInsurance.ts new file mode 100644 index 000000000..1fe1c2aaf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestInsurance.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RequestInsuranceProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-insurance (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RequestInsuranceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-insurance" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RequestInsuranceProfile { + return new RequestInsuranceProfile(resource) + } + + static createResource (args: RequestInsuranceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-insurance", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: RequestInsuranceProfileParams) : RequestInsuranceProfile { + return RequestInsuranceProfile.from(RequestInsuranceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RequestInsurance"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-insurance", "RequestInsurance"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestReplaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestReplaces.ts new file mode 100644 index 000000000..5ffdfee77 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestReplaces.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RequestReplacesProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-replaces (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RequestReplacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-replaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RequestReplacesProfile { + return new RequestReplacesProfile(resource) + } + + static createResource (args: RequestReplacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-replaces", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: RequestReplacesProfileParams) : RequestReplacesProfile { + return RequestReplacesProfile.from(RequestReplacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RequestReplaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-replaces", "RequestReplaces"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestStatusReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestStatusReason.ts new file mode 100644 index 000000000..7eb6f009c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestStatusReason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RequestStatusReasonProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/request-statusReason (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RequestStatusReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/request-statusReason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RequestStatusReasonProfile { + return new RequestStatusReasonProfile(resource) + } + + static createResource (args: RequestStatusReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/request-statusReason", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: RequestStatusReasonProfileParams) : RequestStatusReasonProfile { + return RequestStatusReasonProfile.from(RequestStatusReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RequestStatusReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/request-statusReason", "RequestStatusReason"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequirementsParent.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequirementsParent.ts new file mode 100644 index 000000000..257a54f00 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequirementsParent.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type RequirementsParentProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/requirements-parent (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class RequirementsParentProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/requirements-parent" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : RequirementsParentProfile { + return new RequirementsParentProfile(resource) + } + + static createResource (args: RequirementsParentProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/requirements-parent", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: RequirementsParentProfileParams) : RequirementsParentProfile { + return RequirementsParentProfile.from(RequirementsParentProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "RequirementsParent"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/requirements-parent", "RequirementsParent"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResLastReviewDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResLastReviewDate.ts new file mode 100644 index 000000000..392c22933 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResLastReviewDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResLastReviewDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResLastReviewDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResLastReviewDateProfile { + return new ResLastReviewDateProfile(resource) + } + + static createResource (args: ResLastReviewDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: ResLastReviewDateProfileParams) : ResLastReviewDateProfile { + return ResLastReviewDateProfile.from(ResLastReviewDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResLastReviewDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate", "ResLastReviewDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResearchStudy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResearchStudy.ts new file mode 100644 index 000000000..2388d93fc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResearchStudy.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResearchStudyProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResearchStudyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResearchStudyProfile { + return new ResearchStudyProfile(resource) + } + + static createResource (args: ResearchStudyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: ResearchStudyProfileParams) : ResearchStudyProfile { + return ResearchStudyProfile.from(ResearchStudyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResearchStudy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy", "ResearchStudy"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResolveAsVersionSpecific.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResolveAsVersionSpecific.ts new file mode 100644 index 000000000..c7d587fb7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResolveAsVersionSpecific.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResolveAsVersionSpecificProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResolveAsVersionSpecificProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResolveAsVersionSpecificProfile { + return new ResolveAsVersionSpecificProfile(resource) + } + + static createResource (args: ResolveAsVersionSpecificProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: ResolveAsVersionSpecificProfileParams) : ResolveAsVersionSpecificProfile { + return ResolveAsVersionSpecificProfile.from(ResolveAsVersionSpecificProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResolveAsVersionSpecific"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific", "ResolveAsVersionSpecific"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceApprovalDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceApprovalDate.ts new file mode 100644 index 000000000..83b0a00b5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceApprovalDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceApprovalDateProfileParams = { + valueDate: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-approvalDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResourceApprovalDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-approvalDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceApprovalDateProfile { + return new ResourceApprovalDateProfile(resource) + } + + static createResource (args: ResourceApprovalDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-approvalDate", + valueDate: args.valueDate, + } as unknown as Extension + return resource + } + + static create (args: ResourceApprovalDateProfileParams) : ResourceApprovalDateProfile { + return ResourceApprovalDateProfile.from(ResourceApprovalDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDate () : string | undefined { + return this.resource.valueDate as string | undefined + } + + setValueDate (value: string) : this { + Object.assign(this.resource, { valueDate: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceApprovalDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-approvalDate", "ResourceApprovalDate"); if (e) errors.push(e) } + if (!(r["valueDate"] !== undefined)) { + errors.push("value: at least one of valueDate is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceDerivationReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceDerivationReference.ts new file mode 100644 index 000000000..434fac40b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceDerivationReference.ts @@ -0,0 +1,121 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/derivation-reference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResourceDerivationReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/derivation-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceDerivationReferenceProfile { + return new ResourceDerivationReferenceProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + } as unknown as Extension + return resource + } + + static create () : ResourceDerivationReferenceProfile { + return ResourceDerivationReferenceProfile.from(ResourceDerivationReferenceProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setReference (value: Reference): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueReference: value } as Extension) + return this + } + + public setPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "path", valueString: value } as Extension) + return this + } + + public setOffset (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "offset", valueInteger: value } as Extension) + return this + } + + public setLength (value: number): this { + const list = (this.resource.extension ??= []) + list.push({ url: "length", valueInteger: value } as Extension) + return this + } + + public getReference (): Reference | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueReference as Reference | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + public getPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return ext + } + + public getOffset (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getOffsetExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "offset") + return ext + } + + public getLength (): number | undefined { + const ext = this.resource.extension?.find(e => e.url === "length") + return (ext as Record | undefined)?.valueInteger as number | undefined + } + + public getLengthExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "length") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceDerivationReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/derivation-reference", "ResourceDerivationReference"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceEffectivePeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceEffectivePeriod.ts new file mode 100644 index 000000000..6c51cdfdb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceEffectivePeriod.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceEffectivePeriodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResourceEffectivePeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceEffectivePeriodProfile { + return new ResourceEffectivePeriodProfile(resource) + } + + static createResource (args: ResourceEffectivePeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: ResourceEffectivePeriodProfileParams) : ResourceEffectivePeriodProfile { + return ResourceEffectivePeriodProfile.from(ResourceEffectivePeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceEffectivePeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod", "ResourceEffectivePeriod"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceDescription.ts new file mode 100644 index 000000000..a1dade646 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceInstanceDescriptionProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-instance-description (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResourceInstanceDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-instance-description" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceInstanceDescriptionProfile { + return new ResourceInstanceDescriptionProfile(resource) + } + + static createResource (args: ResourceInstanceDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-instance-description", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: ResourceInstanceDescriptionProfileParams) : ResourceInstanceDescriptionProfile { + return ResourceInstanceDescriptionProfile.from(ResourceInstanceDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceInstanceDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-instance-description", "ResourceInstanceDescription"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceName.ts new file mode 100644 index 000000000..310e51ca0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceInstanceNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-instance-name (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResourceInstanceNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-instance-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceInstanceNameProfile { + return new ResourceInstanceNameProfile(resource) + } + + static createResource (args: ResourceInstanceNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-instance-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: ResourceInstanceNameProfileParams) : ResourceInstanceNameProfile { + return ResourceInstanceNameProfile.from(ResourceInstanceNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceInstanceName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-instance-name", "ResourceInstanceName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceSatisfiesRequirement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceSatisfiesRequirement.ts new file mode 100644 index 000000000..bbce07da2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceSatisfiesRequirement.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceSatisfiesRequirementProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/satisfies-requirement (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResourceSatisfiesRequirementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/satisfies-requirement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceSatisfiesRequirementProfile { + return new ResourceSatisfiesRequirementProfile(resource) + } + + static createResource (args: ResourceSatisfiesRequirementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/satisfies-requirement", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ResourceSatisfiesRequirementProfileParams) : ResourceSatisfiesRequirementProfile { + return ResourceSatisfiesRequirementProfile.from(ResourceSatisfiesRequirementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setReference (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "reference", valueCanonical: value } as Extension) + return this + } + + public setKey (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "key", valueId: value } as Extension) + return this + } + + public getReference (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getReferenceExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "reference") + return ext + } + + public getKey (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getKeyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "ResourceSatisfiesRequirement"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "ResourceSatisfiesRequirement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/satisfies-requirement", "ResourceSatisfiesRequirement"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceType.ts new file mode 100644 index 000000000..38e46ccd9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ResourceTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-resourceType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ResourceTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-resourceType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ResourceTypeProfile { + return new ResourceTypeProfile(resource) + } + + static createResource (args: ResourceTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-resourceType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: ResourceTypeProfileParams) : ResourceTypeProfile { + return ResourceTypeProfile.from(ResourceTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ResourceType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-resourceType", "ResourceType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDAncestor.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDAncestor.ts new file mode 100644 index 000000000..2c81d4816 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDAncestor.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDAncestorProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDAncestorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDAncestorProfile { + return new SDAncestorProfile(resource) + } + + static createResource (args: SDAncestorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: SDAncestorProfileParams) : SDAncestorProfile { + return SDAncestorProfile.from(SDAncestorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDAncestor"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor", "SDAncestor"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDApplicableVersion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDApplicableVersion.ts new file mode 100644 index 000000000..58218c36c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDApplicableVersion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDApplicableVersionProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDApplicableVersionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDApplicableVersionProfile { + return new SDApplicableVersionProfile(resource) + } + + static createResource (args: SDApplicableVersionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDApplicableVersionProfileParams) : SDApplicableVersionProfile { + return SDApplicableVersionProfile.from(SDApplicableVersionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDApplicableVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version", "SDApplicableVersion"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCategory.ts new file mode 100644 index 000000000..ac9311d41 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCategory.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDCategoryProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-category (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDCategoryProfile { + return new SDCategoryProfile(resource) + } + + static createResource (args: SDCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: SDCategoryProfileParams) : SDCategoryProfile { + return SDCategoryProfile.from(SDCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "SDCategory"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCodegenSuper.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCodegenSuper.ts new file mode 100644 index 000000000..fa995004d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCodegenSuper.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDCodegenSuperProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDCodegenSuperProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDCodegenSuperProfile { + return new SDCodegenSuperProfile(resource) + } + + static createResource (args: SDCodegenSuperProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: SDCodegenSuperProfileParams) : SDCodegenSuperProfile { + return SDCodegenSuperProfile.from(SDCodegenSuperProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCodegenSuper"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super", "SDCodegenSuper"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDDisplayHint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDDisplayHint.ts new file mode 100644 index 000000000..41b3d575f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDDisplayHint.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDDisplayHintProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDDisplayHintProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDDisplayHintProfile { + return new SDDisplayHintProfile(resource) + } + + static createResource (args: SDDisplayHintProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: SDDisplayHintProfileParams) : SDDisplayHintProfile { + return SDDisplayHintProfile.from(SDDisplayHintProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDDisplayHint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", "SDDisplayHint"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExplicitTypeName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExplicitTypeName.ts new file mode 100644 index 000000000..4ddf5851e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExplicitTypeName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDExplicitTypeNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDExplicitTypeNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDExplicitTypeNameProfile { + return new SDExplicitTypeNameProfile(resource) + } + + static createResource (args: SDExplicitTypeNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: SDExplicitTypeNameProfileParams) : SDExplicitTypeNameProfile { + return SDExplicitTypeNameProfile.from(SDExplicitTypeNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDExplicitTypeName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "SDExplicitTypeName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExtensionMeaning.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExtensionMeaning.ts new file mode 100644 index 000000000..5ceac56f8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExtensionMeaning.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDExtensionMeaningProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDExtensionMeaningProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDExtensionMeaningProfile { + return new SDExtensionMeaningProfile(resource) + } + + static createResource (args: SDExtensionMeaningProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SDExtensionMeaningProfileParams) : SDExtensionMeaningProfile { + return SDExtensionMeaningProfile.from(SDExtensionMeaningProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDExtensionMeaning"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning", "SDExtensionMeaning"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFhirType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFhirType.ts new file mode 100644 index 000000000..0d24f4790 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFhirType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDFhirTypeProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDFhirTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDFhirTypeProfile { + return new SDFhirTypeProfile(resource) + } + + static createResource (args: SDFhirTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: SDFhirTypeProfileParams) : SDFhirTypeProfile { + return SDFhirTypeProfile.from(SDFhirTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDFhirType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "SDFhirType"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFmmNoWarnings.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFmmNoWarnings.ts new file mode 100644 index 000000000..4e13efdaa --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFmmNoWarnings.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDFmmNoWarningsProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDFmmNoWarningsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDFmmNoWarningsProfile { + return new SDFmmNoWarningsProfile(resource) + } + + static createResource (args: SDFmmNoWarningsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: SDFmmNoWarningsProfileParams) : SDFmmNoWarningsProfile { + return SDFmmNoWarningsProfile.from(SDFmmNoWarningsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDFmmNoWarnings"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings", "SDFmmNoWarnings"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDHierarchy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDHierarchy.ts new file mode 100644 index 000000000..671072b00 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDHierarchy.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDHierarchyProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDHierarchyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDHierarchyProfile { + return new SDHierarchyProfile(resource) + } + + static createResource (args: SDHierarchyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: SDHierarchyProfileParams) : SDHierarchyProfile { + return SDHierarchyProfile.from(SDHierarchyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDHierarchy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", "SDHierarchy"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDImposeProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDImposeProfile.ts new file mode 100644 index 000000000..7eda7edbd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDImposeProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDImposeProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDImposeProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDImposeProfileProfile { + return new SDImposeProfileProfile(resource) + } + + static createResource (args: SDImposeProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: SDImposeProfileProfileParams) : SDImposeProfileProfile { + return SDImposeProfileProfile.from(SDImposeProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDImposeProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile", "SDImposeProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInheritanceControl.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInheritanceControl.ts new file mode 100644 index 000000000..8df3ce942 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInheritanceControl.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDInheritanceControlProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDInheritanceControlProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDInheritanceControlProfile { + return new SDInheritanceControlProfile(resource) + } + + static createResource (args: SDInheritanceControlProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDInheritanceControlProfileParams) : SDInheritanceControlProfile { + return SDInheritanceControlProfile.from(SDInheritanceControlProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDInheritanceControl"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control", "SDInheritanceControl"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInterface.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInterface.ts new file mode 100644 index 000000000..652b998ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInterface.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDInterfaceProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-interface (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDInterfaceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-interface" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDInterfaceProfile { + return new SDInterfaceProfile(resource) + } + + static createResource (args: SDInterfaceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-interface", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: SDInterfaceProfileParams) : SDInterfaceProfile { + return SDInterfaceProfile.from(SDInterfaceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDInterface"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-interface", "SDInterface"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDNormativeVersion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDNormativeVersion.ts new file mode 100644 index 000000000..0e0a3814d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDNormativeVersion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDNormativeVersionProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDNormativeVersionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDNormativeVersionProfile { + return new SDNormativeVersionProfile(resource) + } + + static createResource (args: SDNormativeVersionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDNormativeVersionProfileParams) : SDNormativeVersionProfile { + return SDNormativeVersionProfile.from(SDNormativeVersionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDNormativeVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "SDNormativeVersion"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSecurityCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSecurityCategory.ts new file mode 100644 index 000000000..c129649b9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSecurityCategory.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDSecurityCategoryProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDSecurityCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDSecurityCategoryProfile { + return new SDSecurityCategoryProfile(resource) + } + + static createResource (args: SDSecurityCategoryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDSecurityCategoryProfileParams) : SDSecurityCategoryProfile { + return SDSecurityCategoryProfile.from(SDSecurityCategoryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDSecurityCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", "SDSecurityCategory"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatus.ts new file mode 100644 index 000000000..075c23bb1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDStandardsStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDStandardsStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDStandardsStatusProfile { + return new SDStandardsStatusProfile(resource) + } + + static createResource (args: SDStandardsStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDStandardsStatusProfileParams) : SDStandardsStatusProfile { + return SDStandardsStatusProfile.from(SDStandardsStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDStandardsStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "SDStandardsStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatusReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatusReason.ts new file mode 100644 index 000000000..8a4fd13be --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatusReason.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDStandardsStatusReasonProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDStandardsStatusReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDStandardsStatusReasonProfile { + return new SDStandardsStatusReasonProfile(resource) + } + + static createResource (args: SDStandardsStatusReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: SDStandardsStatusReasonProfileParams) : SDStandardsStatusReasonProfile { + return SDStandardsStatusReasonProfile.from(SDStandardsStatusReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDStandardsStatusReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason", "SDStandardsStatusReason"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStatusDerivation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStatusDerivation.ts new file mode 100644 index 000000000..65a71c356 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStatusDerivation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDStatusDerivationProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDStatusDerivationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDStatusDerivationProfile { + return new SDStatusDerivationProfile(resource) + } + + static createResource (args: SDStatusDerivationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: SDStatusDerivationProfileParams) : SDStatusDerivationProfile { + return SDStatusDerivationProfile.from(SDStatusDerivationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDStatusDerivation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "SDStatusDerivation"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSummary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSummary.ts new file mode 100644 index 000000000..e2204742f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSummary.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDSummaryProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-summary (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDSummaryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDSummaryProfile { + return new SDSummaryProfile(resource) + } + + static createResource (args: SDSummaryProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: SDSummaryProfileParams) : SDSummaryProfile { + return SDSummaryProfile.from(SDSummaryProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDSummary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary", "SDSummary"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTableName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTableName.ts new file mode 100644 index 000000000..3f512d65f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTableName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDTableNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDTableNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDTableNameProfile { + return new SDTableNameProfile(resource) + } + + static createResource (args: SDTableNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: SDTableNameProfileParams) : SDTableNameProfile { + return SDTableNameProfile.from(SDTableNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDTableName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name", "SDTableName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTemplateStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTemplateStatus.ts new file mode 100644 index 000000000..7f0651c4b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTemplateStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDTemplateStatusProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDTemplateStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDTemplateStatusProfile { + return new SDTemplateStatusProfile(resource) + } + + static createResource (args: SDTemplateStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDTemplateStatusProfileParams) : SDTemplateStatusProfile { + return SDTemplateStatusProfile.from(SDTemplateStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDTemplateStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status", "SDTemplateStatus"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTypeCharacteristics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTypeCharacteristics.ts new file mode 100644 index 000000000..a9751ac06 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTypeCharacteristics.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDTypeCharacteristicsProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDTypeCharacteristicsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDTypeCharacteristicsProfile { + return new SDTypeCharacteristicsProfile(resource) + } + + static createResource (args: SDTypeCharacteristicsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDTypeCharacteristicsProfileParams) : SDTypeCharacteristicsProfile { + return SDTypeCharacteristicsProfile.from(SDTypeCharacteristicsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDTypeCharacteristics"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", "SDTypeCharacteristics"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDWorkGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDWorkGroup.ts new file mode 100644 index 000000000..10a1611e0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDWorkGroup.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDWorkGroupProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDWorkGroupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDWorkGroupProfile { + return new SDWorkGroupProfile(resource) + } + + static createResource (args: SDWorkGroupProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: SDWorkGroupProfileParams) : SDWorkGroupProfile { + return SDWorkGroupProfile.from(SDWorkGroupProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDWorkGroup"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "SDWorkGroup"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDcompliesWithProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDcompliesWithProfile.ts new file mode 100644 index 000000000..3c31ecdeb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDcompliesWithProfile.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDcompliesWithProfileProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SDcompliesWithProfileProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDcompliesWithProfileProfile { + return new SDcompliesWithProfileProfile(resource) + } + + static createResource (args: SDcompliesWithProfileProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: SDcompliesWithProfileProfileParams) : SDcompliesWithProfileProfile { + return SDcompliesWithProfileProfile.from(SDcompliesWithProfileProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDcompliesWithProfile"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile", "SDcompliesWithProfile"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SROrderCallbackPhoneNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SROrderCallbackPhoneNumber.ts new file mode 100644 index 000000000..bf13efd44 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SROrderCallbackPhoneNumber.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactPoint } from "../../hl7-fhir-r5-core/ContactPoint"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SROrderCallbackPhoneNumberProfileParams = { + valueContactPoint: ContactPoint; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SROrderCallbackPhoneNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SROrderCallbackPhoneNumberProfile { + return new SROrderCallbackPhoneNumberProfile(resource) + } + + static createResource (args: SROrderCallbackPhoneNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number", + valueContactPoint: args.valueContactPoint, + } as unknown as Extension + return resource + } + + static create (args: SROrderCallbackPhoneNumberProfileParams) : SROrderCallbackPhoneNumberProfile { + return SROrderCallbackPhoneNumberProfile.from(SROrderCallbackPhoneNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueContactPoint () : ContactPoint | undefined { + return this.resource.valueContactPoint as ContactPoint | undefined + } + + setValueContactPoint (value: ContactPoint) : this { + Object.assign(this.resource, { valueContactPoint: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SROrderCallbackPhoneNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number", "SROrderCallbackPhoneNumber"); if (e) errors.push(e) } + if (!(r["valueContactPoint"] !== undefined)) { + errors.push("value: at least one of valueContactPoint is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPertainsToGoal.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPertainsToGoal.ts new file mode 100644 index 000000000..861a77807 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPertainsToGoal.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SRPertainsToGoalProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SRPertainsToGoalProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SRPertainsToGoalProfile { + return new SRPertainsToGoalProfile(resource) + } + + static createResource (args: SRPertainsToGoalProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: SRPertainsToGoalProfileParams) : SRPertainsToGoalProfile { + return SRPertainsToGoalProfile.from(SRPertainsToGoalProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SRPertainsToGoal"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal", "SRPertainsToGoal"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPrecondition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPrecondition.ts new file mode 100644 index 000000000..a6330accd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPrecondition.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SRPreconditionProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-precondition (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SRPreconditionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SRPreconditionProfile { + return new SRPreconditionProfile(resource) + } + + static createResource (args: SRPreconditionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SRPreconditionProfileParams) : SRPreconditionProfile { + return SRPreconditionProfile.from(SRPreconditionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SRPrecondition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition", "SRPrecondition"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRQuestionnaireRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRQuestionnaireRequest.ts new file mode 100644 index 000000000..aaace7733 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRQuestionnaireRequest.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SRQuestionnaireRequestProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SRQuestionnaireRequestProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SRQuestionnaireRequestProfile { + return new SRQuestionnaireRequestProfile(resource) + } + + static createResource (args: SRQuestionnaireRequestProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: SRQuestionnaireRequestProfileParams) : SRQuestionnaireRequestProfile { + return SRQuestionnaireRequestProfile.from(SRQuestionnaireRequestProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SRQuestionnaireRequest"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest", "SRQuestionnaireRequest"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Scope.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Scope.ts new file mode 100644 index 000000000..02ebc7196 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Scope.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-scope (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ScopeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-scope" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ScopeProfile { + return new ScopeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-scope", + } as unknown as Extension + return resource + } + + static create () : ScopeProfile { + return ScopeProfile.from(ScopeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Scope"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-scope", "Scope"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SctDescId.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SctDescId.ts new file mode 100644 index 000000000..583623f66 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SctDescId.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SctDescIdProfileParams = { + valueId: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/coding-sctdescid (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SctDescIdProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/coding-sctdescid" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SctDescIdProfile { + return new SctDescIdProfile(resource) + } + + static createResource (args: SctDescIdProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/coding-sctdescid", + valueId: args.valueId, + } as unknown as Extension + return resource + } + + static create (args: SctDescIdProfileParams) : SctDescIdProfile { + return SctDescIdProfile.from(SctDescIdProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueId () : string | undefined { + return this.resource.valueId as string | undefined + } + + setValueId (value: string) : this { + Object.assign(this.resource, { valueId: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SctDescId"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/coding-sctdescid", "SctDescId"); if (e) errors.push(e) } + if (!(r["valueId"] !== undefined)) { + errors.push("value: at least one of valueId is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Selector.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Selector.ts new file mode 100644 index 000000000..ded165e87 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Selector.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SelectorProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-selector (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SelectorProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SelectorProfile { + return new SelectorProfile(resource) + } + + static createResource (args: SelectorProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: SelectorProfileParams) : SelectorProfile { + return SelectorProfile.from(SelectorProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Selector"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector", "Selector"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ShallComplyWith.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ShallComplyWith.ts new file mode 100644 index 000000000..56a7ea59e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ShallComplyWith.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ShallComplyWithProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ShallComplyWithProfile { + return new ShallComplyWithProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith", + } as unknown as Extension + return resource + } + + static create () : ShallComplyWithProfile { + return ShallComplyWithProfile.from(ShallComplyWithProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShallComplyWith"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith", "ShallComplyWith"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueReference"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueReference, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecCollectionPriority.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecCollectionPriority.ts new file mode 100644 index 000000000..9af3beef7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecCollectionPriority.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SpecCollectionPriorityProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SpecCollectionPriorityProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SpecCollectionPriorityProfile { + return new SpecCollectionPriorityProfile(resource) + } + + static createResource (args: SpecCollectionPriorityProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SpecCollectionPriorityProfileParams) : SpecCollectionPriorityProfile { + return SpecCollectionPriorityProfile.from(SpecCollectionPriorityProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SpecCollectionPriority"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority", "SpecCollectionPriority"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecIsDryWeight.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecIsDryWeight.ts new file mode 100644 index 000000000..cb1088826 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecIsDryWeight.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SpecIsDryWeightProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SpecIsDryWeightProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SpecIsDryWeightProfile { + return new SpecIsDryWeightProfile(resource) + } + + static createResource (args: SpecIsDryWeightProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: SpecIsDryWeightProfileParams) : SpecIsDryWeightProfile { + return SpecIsDryWeightProfile.from(SpecIsDryWeightProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SpecIsDryWeight"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight", "SpecIsDryWeight"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecProcessingTime.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecProcessingTime.ts new file mode 100644 index 000000000..c13f25211 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecProcessingTime.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r5-core/Duration"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-processingTime (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SpecProcessingTimeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-processingTime" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SpecProcessingTimeProfile { + return new SpecProcessingTimeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-processingTime", + } as unknown as Extension + return resource + } + + static create () : SpecProcessingTimeProfile { + return SpecProcessingTimeProfile.from(SpecProcessingTimeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SpecProcessingTime"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-processingTime", "SpecProcessingTime"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined || r["valueDuration"] !== undefined)) { + errors.push("value: at least one of valuePeriod, valueDuration is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSequenceNumber.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSequenceNumber.ts new file mode 100644 index 000000000..9cd0d7dd5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSequenceNumber.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SpecSequenceNumberProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SpecSequenceNumberProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SpecSequenceNumberProfile { + return new SpecSequenceNumberProfile(resource) + } + + static createResource (args: SpecSequenceNumberProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: SpecSequenceNumberProfileParams) : SpecSequenceNumberProfile { + return SpecSequenceNumberProfile.from(SpecSequenceNumberProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SpecSequenceNumber"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber", "SpecSequenceNumber"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSpecialHandling.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSpecialHandling.ts new file mode 100644 index 000000000..77f25e7ff --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSpecialHandling.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SpecSpecialHandlingProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-specialHandling (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SpecSpecialHandlingProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SpecSpecialHandlingProfile { + return new SpecSpecialHandlingProfile(resource) + } + + static createResource (args: SpecSpecialHandlingProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SpecSpecialHandlingProfileParams) : SpecSpecialHandlingProfile { + return SpecSpecialHandlingProfile.from(SpecSpecialHandlingProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SpecSpecialHandling"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", "SpecSpecialHandling"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecimenAdditive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecimenAdditive.ts new file mode 100644 index 000000000..e497e8458 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecimenAdditive.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SpecimenAdditiveProfileParams = { + valueCodeableReference: CodeableReference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/specimen-additive (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SpecimenAdditiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/specimen-additive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SpecimenAdditiveProfile { + return new SpecimenAdditiveProfile(resource) + } + + static createResource (args: SpecimenAdditiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/specimen-additive", + valueCodeableReference: args.valueCodeableReference, + } as unknown as Extension + return resource + } + + static create (args: SpecimenAdditiveProfileParams) : SpecimenAdditiveProfile { + return SpecimenAdditiveProfile.from(SpecimenAdditiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableReference () : CodeableReference | undefined { + return this.resource.valueCodeableReference as CodeableReference | undefined + } + + setValueCodeableReference (value: CodeableReference) : this { + Object.assign(this.resource, { valueCodeableReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SpecimenAdditive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/specimen-additive", "SpecimenAdditive"); if (e) errors.push(e) } + if (!(r["valueCodeableReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StatisticModelIncludeIf.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StatisticModelIncludeIf.ts new file mode 100644 index 000000000..4a7158fb4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StatisticModelIncludeIf.ts @@ -0,0 +1,89 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/statistic-model-include-if (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class StatisticModelIncludeIfProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/statistic-model-include-if" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : StatisticModelIncludeIfProfile { + return new StatisticModelIncludeIfProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/statistic-model-include-if", + } as unknown as Extension + return resource + } + + static create () : StatisticModelIncludeIfProfile { + return StatisticModelIncludeIfProfile.from(StatisticModelIncludeIfProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setAttribute (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "attribute", valueCodeableConcept: value } as Extension) + return this + } + + public setValue (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueBoolean: value } as Extension) + return this + } + + public getAttribute (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "attribute") + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined + } + + public getAttributeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "attribute") + return ext + } + + public getValue (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "StatisticModelIncludeIf"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/statistic-model-include-if", "StatisticModelIncludeIf"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StrengthOfRecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StrengthOfRecommendation.ts new file mode 100644 index 000000000..dc28a1cba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StrengthOfRecommendation.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type StrengthOfRecommendationProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class StrengthOfRecommendationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : StrengthOfRecommendationProfile { + return new StrengthOfRecommendationProfile(resource) + } + + static createResource (args: StrengthOfRecommendationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: StrengthOfRecommendationProfileParams) : StrengthOfRecommendationProfile { + return StrengthOfRecommendationProfile.from(StrengthOfRecommendationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "StrengthOfRecommendation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation", "StrengthOfRecommendation"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StyleSensitive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StyleSensitive.ts new file mode 100644 index 000000000..e3ab9b79d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StyleSensitive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type StyleSensitiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class StyleSensitiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : StyleSensitiveProfile { + return new StyleSensitiveProfile(resource) + } + + static createResource (args: StyleSensitiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: StyleSensitiveProfileParams) : StyleSensitiveProfile { + return StyleSensitiveProfile.from(StyleSensitiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "StyleSensitive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", "StyleSensitive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SubscriptionBestEffort.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SubscriptionBestEffort.ts new file mode 100644 index 000000000..5a82a3a14 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SubscriptionBestEffort.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SubscriptionBestEffortProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/subscription-best-effort (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SubscriptionBestEffortProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/subscription-best-effort" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SubscriptionBestEffortProfile { + return new SubscriptionBestEffortProfile(resource) + } + + static createResource (args: SubscriptionBestEffortProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/subscription-best-effort", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: SubscriptionBestEffortProfileParams) : SubscriptionBestEffortProfile { + return SubscriptionBestEffortProfile.from(SubscriptionBestEffortProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SubscriptionBestEffort"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/subscription-best-effort", "SubscriptionBestEffort"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportedCqlVersion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportedCqlVersion.ts new file mode 100644 index 000000000..56ffd1110 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportedCqlVersion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SupportedCqlVersionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SupportedCqlVersionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedCqlVersionProfile { + return new SupportedCqlVersionProfile(resource) + } + + static createResource (args: SupportedCqlVersionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: SupportedCqlVersionProfileParams) : SupportedCqlVersionProfile { + return SupportedCqlVersionProfile.from(SupportedCqlVersionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedCqlVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion", "SupportedCqlVersion"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportingInfo.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportingInfo.ts new file mode 100644 index 000000000..1d76080f1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportingInfo.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SupportingInfoProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SupportingInfoProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportingInfoProfile { + return new SupportingInfoProfile(resource) + } + + static createResource (args: SupportingInfoProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: SupportingInfoProfileParams) : SupportingInfoProfile { + return SupportingInfoProfile.from(SupportingInfoProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportingInfo"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", "SupportingInfo"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Suppress.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Suppress.ts new file mode 100644 index 000000000..d83e52c34 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Suppress.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SuppressProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SuppressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SuppressProfile { + return new SuppressProfile(resource) + } + + static createResource (args: SuppressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: SuppressProfileParams) : SuppressProfile { + return SuppressProfile.from(SuppressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Suppress"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress", "Suppress"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserLanguage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserLanguage.ts new file mode 100644 index 000000000..e39fb041e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserLanguage.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SystemUserLanguageProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SystemUserLanguageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SystemUserLanguageProfile { + return new SystemUserLanguageProfile(resource) + } + + static createResource (args: SystemUserLanguageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SystemUserLanguageProfileParams) : SystemUserLanguageProfile { + return SystemUserLanguageProfile.from(SystemUserLanguageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SystemUserLanguage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage", "SystemUserLanguage"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserTaskContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserTaskContext.ts new file mode 100644 index 000000000..713880c46 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserTaskContext.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SystemUserTaskContextProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SystemUserTaskContextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SystemUserTaskContextProfile { + return new SystemUserTaskContextProfile(resource) + } + + static createResource (args: SystemUserTaskContextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SystemUserTaskContextProfileParams) : SystemUserTaskContextProfile { + return SystemUserTaskContextProfile.from(SystemUserTaskContextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SystemUserTaskContext"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext", "SystemUserTaskContext"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserType.ts new file mode 100644 index 000000000..444d5aa60 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserType.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r5-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SystemUserTypeProfileParams = { + valueCodeableConcept: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-systemUserType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class SystemUserTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SystemUserTypeProfile { + return new SystemUserTypeProfile(resource) + } + + static createResource (args: SystemUserTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType", + valueCodeableConcept: args.valueCodeableConcept, + } as unknown as Extension + return resource + } + + static create (args: SystemUserTypeProfileParams) : SystemUserTypeProfile { + return SystemUserTypeProfile.from(SystemUserTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SystemUserType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType", "SystemUserType"); if (e) errors.push(e) } + if (!(r["valueCodeableConcept"] !== undefined)) { + errors.push("value: at least one of valueCodeableConcept is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TELAddress.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TELAddress.ts new file mode 100644 index 000000000..862fabb5e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TELAddress.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TELAddressProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TELAddressProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TELAddressProfile { + return new TELAddressProfile(resource) + } + + static createResource (args: TELAddressProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: TELAddressProfileParams) : TELAddressProfile { + return TELAddressProfile.from(TELAddressProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TELAddress"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address", "TELAddress"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetElement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetElement.ts new file mode 100644 index 000000000..ece514cab --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetElement.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TargetElementProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/targetElement (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TargetElementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/targetElement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TargetElementProfile { + return new TargetElementProfile(resource) + } + + static createResource (args: TargetElementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/targetElement", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: TargetElementProfileParams) : TargetElementProfile { + return TargetElementProfile.from(TargetElementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TargetElement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/targetElement", "TargetElement"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetInvariant.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetInvariant.ts new file mode 100644 index 000000000..9935a1b03 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetInvariant.ts @@ -0,0 +1,136 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TargetInvariantProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TargetInvariantProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TargetInvariantProfile { + return new TargetInvariantProfile(resource) + } + + static createResource (args: TargetInvariantProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: TargetInvariantProfileParams) : TargetInvariantProfile { + return TargetInvariantProfile.from(TargetInvariantProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setKey (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "key", valueId: value } as Extension) + return this + } + + public setRequirements (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "requirements", valueString: value } as Extension) + return this + } + + public setSeverity (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "severity", valueCode: value } as Extension) + return this + } + + public setExpression (value: Expression): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expression", valueExpression: value } as Extension) + return this + } + + public getKey (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return (ext as Record | undefined)?.valueId as string | undefined + } + + public getKeyExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "key") + return ext + } + + public getRequirements (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getRequirementsExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "requirements") + return ext + } + + public getSeverity (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getSeverityExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "severity") + return ext + } + + public getExpression (): Expression | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return (ext as Record | undefined)?.valueExpression as Expression | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "TargetInvariant"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "TargetInvariant"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant", "TargetInvariant"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetPath.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetPath.ts new file mode 100644 index 000000000..2af3b5598 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetPath.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TargetPathProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/targetPath (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TargetPathProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/targetPath" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TargetPathProfile { + return new TargetPathProfile(resource) + } + + static createResource (args: TargetPathProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/targetPath", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: TargetPathProfileParams) : TargetPathProfile { + return TargetPathProfile.from(TargetPathProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TargetPath"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/targetPath", "TargetPath"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TaskReplaces.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TaskReplaces.ts new file mode 100644 index 000000000..be3da1417 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TaskReplaces.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TaskReplacesProfileParams = { + valueReference: Reference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/task-replaces (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TaskReplacesProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/task-replaces" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TaskReplacesProfile { + return new TaskReplacesProfile(resource) + } + + static createResource (args: TaskReplacesProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/task-replaces", + valueReference: args.valueReference, + } as unknown as Extension + return resource + } + + static create (args: TaskReplacesProfileParams) : TaskReplacesProfile { + return TaskReplacesProfile.from(TaskReplacesProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TaskReplaces"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/task-replaces", "TaskReplaces"); if (e) errors.push(e) } + if (!(r["valueReference"] !== undefined)) { + errors.push("value: at least one of valueReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneCode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneCode.ts new file mode 100644 index 000000000..a9ec748cd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneCode.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TimezoneCodeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timezone (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TimezoneCodeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timezone" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TimezoneCodeProfile { + return new TimezoneCodeProfile(resource) + } + + static createResource (args: TimezoneCodeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timezone", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: TimezoneCodeProfileParams) : TimezoneCodeProfile { + return TimezoneCodeProfile.from(TimezoneCodeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TimezoneCode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timezone", "TimezoneCode"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneOffset.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneOffset.ts new file mode 100644 index 000000000..d686de94c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneOffset.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TimezoneOffsetProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/tz-offset (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TimezoneOffsetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/tz-offset" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TimezoneOffsetProfile { + return new TimezoneOffsetProfile(resource) + } + + static createResource (args: TimezoneOffsetProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/tz-offset", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: TimezoneOffsetProfileParams) : TimezoneOffsetProfile { + return TimezoneOffsetProfile.from(TimezoneOffsetProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TimezoneOffset"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/tz-offset", "TimezoneOffset"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingDayOfMonth.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingDayOfMonth.ts new file mode 100644 index 000000000..9afd63b6d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingDayOfMonth.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TimingDayOfMonthProfileParams = { + valuePositiveInt: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TimingDayOfMonthProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TimingDayOfMonthProfile { + return new TimingDayOfMonthProfile(resource) + } + + static createResource (args: TimingDayOfMonthProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth", + valuePositiveInt: args.valuePositiveInt, + } as unknown as Extension + return resource + } + + static create (args: TimingDayOfMonthProfileParams) : TimingDayOfMonthProfile { + return TimingDayOfMonthProfile.from(TimingDayOfMonthProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePositiveInt () : number | undefined { + return this.resource.valuePositiveInt as number | undefined + } + + setValuePositiveInt (value: number) : this { + Object.assign(this.resource, { valuePositiveInt: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TimingDayOfMonth"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth", "TimingDayOfMonth"); if (e) errors.push(e) } + if (!(r["valuePositiveInt"] !== undefined)) { + errors.push("value: at least one of valuePositiveInt is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingExact.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingExact.ts new file mode 100644 index 000000000..8c8e0d392 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingExact.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TimingExactProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-exact (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TimingExactProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-exact" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TimingExactProfile { + return new TimingExactProfile(resource) + } + + static createResource (args: TimingExactProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-exact", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: TimingExactProfileParams) : TimingExactProfile { + return TimingExactProfile.from(TimingExactProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TimingExact"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-exact", "TimingExact"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translatable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translatable.ts new file mode 100644 index 000000000..fe11be608 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translatable.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TranslatableProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TranslatableProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TranslatableProfile { + return new TranslatableProfile(resource) + } + + static createResource (args: TranslatableProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: TranslatableProfileParams) : TranslatableProfile { + return TranslatableProfile.from(TranslatableProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Translatable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "Translatable"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translation.ts new file mode 100644 index 000000000..3fa5447c1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translation.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TranslationProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/translation (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TranslationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/translation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TranslationProfile { + return new TranslationProfile(resource) + } + + static createResource (args: TranslationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/translation", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: TranslationProfileParams) : TranslationProfile { + return TranslationProfile.from(TranslationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLang (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "lang", valueCode: value } as Extension) + return this + } + + public setContent (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "content", valueString: value } as Extension) + return this + } + + public getLang (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getLangExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "lang") + return ext + } + + public getContent (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getContentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "content") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "Translation"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "Translation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/translation", "Translation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TriggeredBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TriggeredBy.ts new file mode 100644 index 000000000..c9db7f5cd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TriggeredBy.ts @@ -0,0 +1,87 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Reference } from "../../hl7-fhir-r5-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TriggeredByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TriggeredByProfile { + return new TriggeredByProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy", + } as unknown as Extension + return resource + } + + static create () : TriggeredByProfile { + return TriggeredByProfile.from(TriggeredByProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TriggeredBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy", "TriggeredBy"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined || r["valueReference"] !== undefined || r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueCanonical, valueReference, valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TxResourceIdentifierMetadata.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TxResourceIdentifierMetadata.ts new file mode 100644 index 000000000..3f5238896 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TxResourceIdentifierMetadata.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TxResourceIdentifierMetadataProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TxResourceIdentifierMetadataProfile { + return new TxResourceIdentifierMetadataProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata", + } as unknown as Extension + return resource + } + + static create () : TxResourceIdentifierMetadataProfile { + return TxResourceIdentifierMetadataProfile.from(TxResourceIdentifierMetadataProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPreferred (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "preferred", valueBoolean: value } as Extension) + return this + } + + public setAuthoritative (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "authoritative", valueBoolean: value } as Extension) + return this + } + + public setComment (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comment", valueString: value } as Extension) + return this + } + + public getPreferred (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getPreferredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return ext + } + + public getAuthoritative (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "authoritative") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getAuthoritativeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "authoritative") + return ext + } + + public getComment (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getCommentExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comment") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TxResourceIdentifierMetadata"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata", "TxResourceIdentifierMetadata"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TypeMustSupport.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TypeMustSupport.ts new file mode 100644 index 000000000..e060d0ca1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TypeMustSupport.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type TypeMustSupportProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class TypeMustSupportProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TypeMustSupportProfile { + return new TypeMustSupportProfile(resource) + } + + static createResource (args: TypeMustSupportProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: TypeMustSupportProfileParams) : TypeMustSupportProfile { + return TypeMustSupportProfile.from(TypeMustSupportProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TypeMustSupport"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", "TypeMustSupport"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainDate.ts new file mode 100644 index 000000000..4e5ffac6b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainDate.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UncertainDateProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/timing-uncertainDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class UncertainDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/timing-uncertainDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UncertainDateProfile { + return new UncertainDateProfile(resource) + } + + static createResource (args: UncertainDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/timing-uncertainDate", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: UncertainDateProfileParams) : UncertainDateProfile { + return UncertainDateProfile.from(UncertainDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "UncertainDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/timing-uncertainDate", "UncertainDate"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainPeriod.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainPeriod.ts new file mode 100644 index 000000000..3f20cb78b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainPeriod.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; +import type { Period } from "../../hl7-fhir-r5-core/Period"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UncertainPeriodProfileParams = { + valuePeriod: Period; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/uncertainPeriod (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class UncertainPeriodProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/uncertainPeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UncertainPeriodProfile { + return new UncertainPeriodProfile(resource) + } + + static createResource (args: UncertainPeriodProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/uncertainPeriod", + valuePeriod: args.valuePeriod, + } as unknown as Extension + return resource + } + + static create (args: UncertainPeriodProfileParams) : UncertainPeriodProfile { + return UncertainPeriodProfile.from(UncertainPeriodProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValuePeriod () : Period | undefined { + return this.resource.valuePeriod as Period | undefined + } + + setValuePeriod (value: Period) : this { + Object.assign(this.resource, { valuePeriod: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "UncertainPeriod"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/uncertainPeriod", "UncertainPeriod"); if (e) errors.push(e) } + if (!(r["valuePeriod"] !== undefined)) { + errors.push("value: at least one of valuePeriod is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Uncertainty.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Uncertainty.ts new file mode 100644 index 000000000..1e78c65c6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Uncertainty.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UncertaintyProfileParams = { + valueDecimal: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class UncertaintyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UncertaintyProfile { + return new UncertaintyProfile(resource) + } + + static createResource (args: UncertaintyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty", + valueDecimal: args.valueDecimal, + } as unknown as Extension + return resource + } + + static create (args: UncertaintyProfileParams) : UncertaintyProfile { + return UncertaintyProfile.from(UncertaintyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDecimal () : number | undefined { + return this.resource.valueDecimal as number | undefined + } + + setValueDecimal (value: number) : this { + Object.assign(this.resource, { valueDecimal: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Uncertainty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty", "Uncertainty"); if (e) errors.push(e) } + if (!(r["valueDecimal"] !== undefined)) { + errors.push("value: at least one of valueDecimal is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertaintyType.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertaintyType.ts new file mode 100644 index 000000000..fc4e04455 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertaintyType.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UncertaintyTypeProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class UncertaintyTypeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UncertaintyTypeProfile { + return new UncertaintyTypeProfile(resource) + } + + static createResource (args: UncertaintyTypeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: UncertaintyTypeProfileParams) : UncertaintyTypeProfile { + return UncertaintyTypeProfile.from(UncertaintyTypeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "UncertaintyType"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType", "UncertaintyType"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UsageContextGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UsageContextGroup.ts new file mode 100644 index 000000000..a8b095e06 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UsageContextGroup.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UsageContextGroupProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/usagecontext-group (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class UsageContextGroupProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/usagecontext-group" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UsageContextGroupProfile { + return new UsageContextGroupProfile(resource) + } + + static createResource (args: UsageContextGroupProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/usagecontext-group", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: UsageContextGroupProfileParams) : UsageContextGroupProfile { + return UsageContextGroupProfile.from(UsageContextGroupProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "UsageContextGroup"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/usagecontext-group", "UsageContextGroup"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSAuthoritativeSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSAuthoritativeSource.ts new file mode 100644 index 000000000..1f6b2cbdf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSAuthoritativeSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSAuthoritativeSourceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSAuthoritativeSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSAuthoritativeSourceProfile { + return new VSAuthoritativeSourceProfile(resource) + } + + static createResource (args: VSAuthoritativeSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: VSAuthoritativeSourceProfileParams) : VSAuthoritativeSourceProfile { + return VSAuthoritativeSourceProfile.from(VSAuthoritativeSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSAuthoritativeSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource", "VSAuthoritativeSource"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSCaseSensitive.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSCaseSensitive.ts new file mode 100644 index 000000000..5ec0f6104 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSCaseSensitive.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSCaseSensitiveProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSCaseSensitiveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSCaseSensitiveProfile { + return new VSCaseSensitiveProfile(resource) + } + + static createResource (args: VSCaseSensitiveProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: VSCaseSensitiveProfileParams) : VSCaseSensitiveProfile { + return VSCaseSensitiveProfile.from(VSCaseSensitiveProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSCaseSensitive"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive", "VSCaseSensitive"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreatedBy.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreatedBy.ts new file mode 100644 index 000000000..7724dce3d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreatedBy.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSComposeCreatedByProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSComposeCreatedByProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSComposeCreatedByProfile { + return new VSComposeCreatedByProfile(resource) + } + + static createResource (args: VSComposeCreatedByProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSComposeCreatedByProfileParams) : VSComposeCreatedByProfile { + return VSComposeCreatedByProfile.from(VSComposeCreatedByProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSComposeCreatedBy"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy", "VSComposeCreatedBy"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreationDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreationDate.ts new file mode 100644 index 000000000..e326206e1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreationDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSComposeCreationDateProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSComposeCreationDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSComposeCreationDateProfile { + return new VSComposeCreationDateProfile(resource) + } + + static createResource (args: VSComposeCreationDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSComposeCreationDateProfileParams) : VSComposeCreationDateProfile { + return VSComposeCreationDateProfile.from(VSComposeCreationDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSComposeCreationDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate", "VSComposeCreationDate"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptComments.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptComments.ts new file mode 100644 index 000000000..12723adae --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptComments.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSConceptCommentsProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-concept-comments (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSConceptCommentsProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSConceptCommentsProfile { + return new VSConceptCommentsProfile(resource) + } + + static createResource (args: VSConceptCommentsProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSConceptCommentsProfileParams) : VSConceptCommentsProfile { + return VSConceptCommentsProfile.from(VSConceptCommentsProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSConceptComments"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments", "VSConceptComments"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptDefinition.ts new file mode 100644 index 000000000..489e77532 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptDefinition.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSConceptDefinitionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-concept-definition (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSConceptDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSConceptDefinitionProfile { + return new VSConceptDefinitionProfile(resource) + } + + static createResource (args: VSConceptDefinitionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSConceptDefinitionProfileParams) : VSConceptDefinitionProfile { + return VSConceptDefinitionProfile.from(VSConceptDefinitionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSConceptDefinition"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition", "VSConceptDefinition"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptOrder.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptOrder.ts new file mode 100644 index 000000000..45ec48baf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptOrder.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSConceptOrderProfileParams = { + valueInteger: number; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSConceptOrderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSConceptOrderProfile { + return new VSConceptOrderProfile(resource) + } + + static createResource (args: VSConceptOrderProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", + valueInteger: args.valueInteger, + } as unknown as Extension + return resource + } + + static create (args: VSConceptOrderProfileParams) : VSConceptOrderProfile { + return VSConceptOrderProfile.from(VSConceptOrderProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueInteger () : number | undefined { + return this.resource.valueInteger as number | undefined + } + + setValueInteger (value: number) : this { + Object.assign(this.resource, { valueInteger: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSConceptOrder"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", "VSConceptOrder"); if (e) errors.push(e) } + if (!(r["valueInteger"] !== undefined)) { + errors.push("value: at least one of valueInteger is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSDeprecated.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSDeprecated.ts new file mode 100644 index 000000000..21c2cef79 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSDeprecated.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSDeprecatedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-deprecated (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSDeprecatedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-deprecated" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSDeprecatedProfile { + return new VSDeprecatedProfile(resource) + } + + static createResource (args: VSDeprecatedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-deprecated", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: VSDeprecatedProfileParams) : VSDeprecatedProfile { + return VSDeprecatedProfile.from(VSDeprecatedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSDeprecated"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-deprecated", "VSDeprecated"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpansionSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpansionSource.ts new file mode 100644 index 000000000..b8dde5617 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpansionSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSExpansionSourceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expansionSource (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSExpansionSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSExpansionSourceProfile { + return new VSExpansionSourceProfile(resource) + } + + static createResource (args: VSExpansionSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: VSExpansionSourceProfileParams) : VSExpansionSourceProfile { + return VSExpansionSourceProfile.from(VSExpansionSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSExpansionSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource", "VSExpansionSource"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpression.ts new file mode 100644 index 000000000..9efcaeea8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpression.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSExpressionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-expression (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSExpressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-expression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSExpressionProfile { + return new VSExpressionProfile(resource) + } + + static createResource (args: VSExpressionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-expression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: VSExpressionProfileParams) : VSExpressionProfile { + return VSExpressionProfile.from(VSExpressionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSExpression"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-expression", "VSExpression"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExtensible.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExtensible.ts new file mode 100644 index 000000000..317692000 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExtensible.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSExtensibleProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-extensible (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSExtensibleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-extensible" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSExtensibleProfile { + return new VSExtensibleProfile(resource) + } + + static createResource (args: VSExtensibleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-extensible", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: VSExtensibleProfileParams) : VSExtensibleProfile { + return VSExtensibleProfile.from(VSExtensibleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSExtensible"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-extensible", "VSExtensible"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSIncludeVSTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSIncludeVSTitle.ts new file mode 100644 index 000000000..00e5f6a3a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSIncludeVSTitle.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSIncludeVSTitleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSIncludeVSTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSIncludeVSTitleProfile { + return new VSIncludeVSTitleProfile(resource) + } + + static createResource (args: VSIncludeVSTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSIncludeVSTitleProfileParams) : VSIncludeVSTitleProfile { + return VSIncludeVSTitleProfile.from(VSIncludeVSTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSIncludeVSTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle", "VSIncludeVSTitle"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSKeyword.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSKeyword.ts new file mode 100644 index 000000000..9d7e0b322 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSKeyword.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSKeywordProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-keyWord (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSKeywordProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-keyWord" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSKeywordProfile { + return new VSKeywordProfile(resource) + } + + static createResource (args: VSKeywordProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-keyWord", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSKeywordProfileParams) : VSKeywordProfile { + return VSKeywordProfile.from(VSKeywordProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSKeyword"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-keyWord", "VSKeyword"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSLabel.ts new file mode 100644 index 000000000..bb3d8308d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSLabel.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSLabelProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-label (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-label" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSLabelProfile { + return new VSLabelProfile(resource) + } + + static createResource (args: VSLabelProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-label", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSLabelProfileParams) : VSLabelProfile { + return VSLabelProfile.from(VSLabelProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-label", "VSLabel"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSMap.ts new file mode 100644 index 000000000..f990940bb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSMap.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSMapProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-map (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSMapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-map" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSMapProfile { + return new VSMapProfile(resource) + } + + static createResource (args: VSMapProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-map", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: VSMapProfileParams) : VSMapProfile { + return VSMapProfile.from(VSMapProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSMap"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-map", "VSMap"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherName.ts new file mode 100644 index 000000000..f3b9a9049 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherName.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSOtherNameProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-otherName (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSOtherNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-otherName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSOtherNameProfile { + return new VSOtherNameProfile(resource) + } + + static createResource (args: VSOtherNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-otherName", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: VSOtherNameProfileParams) : VSOtherNameProfile { + return VSOtherNameProfile.from(VSOtherNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setPreferred (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "preferred", valueBoolean: value } as Extension) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getPreferred (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getPreferredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "VSOtherName"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "VSOtherName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-otherName", "VSOtherName"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherTitle.ts new file mode 100644 index 000000000..2cb7b0c90 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherTitle.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSOtherTitleProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-otherTitle (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSOtherTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSOtherTitleProfile { + return new VSOtherTitleProfile(resource) + } + + static createResource (args: VSOtherTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: VSOtherTitleProfileParams) : VSOtherTitleProfile { + return VSOtherTitleProfile.from(VSOtherTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setTitle (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "title", valueString: value } as Extension) + return this + } + + public setPreferred (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "preferred", valueBoolean: value } as Extension) + return this + } + + public getTitle (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "title") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getTitleExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "title") + return ext + } + + public getPreferred (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getPreferredExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "preferred") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "VSOtherTitle"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "VSOtherTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle", "VSOtherTitle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSParameterSource.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSParameterSource.ts new file mode 100644 index 000000000..6dbf6c598 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSParameterSource.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSParameterSourceProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-parameterSource (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSParameterSourceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSParameterSourceProfile { + return new VSParameterSourceProfile(resource) + } + + static createResource (args: VSParameterSourceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: VSParameterSourceProfileParams) : VSParameterSourceProfile { + return VSParameterSourceProfile.from(VSParameterSourceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSParameterSource"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource", "VSParameterSource"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSReference.ts new file mode 100644 index 000000000..5ee64e695 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSReference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSReferenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-reference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-reference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSReferenceProfile { + return new VSReferenceProfile(resource) + } + + static createResource (args: VSReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-reference", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: VSReferenceProfileParams) : VSReferenceProfile { + return VSReferenceProfile.from(VSReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-reference", "VSReference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSRulesText.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSRulesText.ts new file mode 100644 index 000000000..d13d8218e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSRulesText.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSRulesTextProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-rules-text (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSRulesTextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-rules-text" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSRulesTextProfile { + return new VSRulesTextProfile(resource) + } + + static createResource (args: VSRulesTextProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-rules-text", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: VSRulesTextProfileParams) : VSRulesTextProfile { + return VSRulesTextProfile.from(VSRulesTextProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSRulesText"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-rules-text", "VSRulesText"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSourceReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSourceReference.ts new file mode 100644 index 000000000..c126c84ba --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSourceReference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSSourceReferenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-sourceReference (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSSourceReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSSourceReferenceProfile { + return new VSSourceReferenceProfile(resource) + } + + static createResource (args: VSSourceReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: VSSourceReferenceProfileParams) : VSSourceReferenceProfile { + return VSSourceReferenceProfile.from(VSSourceReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSSourceReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference", "VSSourceReference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSpecialStatus.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSpecialStatus.ts new file mode 100644 index 000000000..1f87115ec --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSpecialStatus.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSSpecialStatusProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-special-status (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSSpecialStatusProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-special-status" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSSpecialStatusProfile { + return new VSSpecialStatusProfile(resource) + } + + static createResource (args: VSSpecialStatusProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-special-status", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSSpecialStatusProfileParams) : VSSpecialStatusProfile { + return VSSpecialStatusProfile.from(VSSpecialStatusProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSSpecialStatus"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-special-status", "VSSpecialStatus"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSupplement.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSupplement.ts new file mode 100644 index 000000000..bd00995bd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSupplement.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSSupplementProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-supplement (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSSupplementProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-supplement" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSSupplementProfile { + return new VSSupplementProfile(resource) + } + + static createResource (args: VSSupplementProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: VSSupplementProfileParams) : VSSupplementProfile { + return VSSupplementProfile.from(VSSupplementProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSSupplement"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-supplement", "VSSupplement"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystem.ts new file mode 100644 index 000000000..89dcb0c6d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystem.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSSystemProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-system (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSSystemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-system" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSSystemProfile { + return new VSSystemProfile(resource) + } + + static createResource (args: VSSystemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-system", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: VSSystemProfileParams) : VSSystemProfile { + return VSSystemProfile.from(VSSystemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSSystem"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-system", "VSSystem"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemName.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemName.ts new file mode 100644 index 000000000..76836d0bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemName.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSSystemNameProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-systemName (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSSystemNameProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-systemName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSSystemNameProfile { + return new VSSystemNameProfile(resource) + } + + static createResource (args: VSSystemNameProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-systemName", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSSystemNameProfileParams) : VSSystemNameProfile { + return VSSystemNameProfile.from(VSSystemNameProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSSystemName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-systemName", "VSSystemName"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemReference.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemReference.ts new file mode 100644 index 000000000..1beea805e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemReference.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSSystemReferenceProfileParams = { + valueUri: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-systemRef (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSSystemReferenceProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-systemRef" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSSystemReferenceProfile { + return new VSSystemReferenceProfile(resource) + } + + static createResource (args: VSSystemReferenceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-systemRef", + valueUri: args.valueUri, + } as unknown as Extension + return resource + } + + static create (args: VSSystemReferenceProfileParams) : VSSystemReferenceProfile { + return VSSystemReferenceProfile.from(VSSystemReferenceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSSystemReference"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-systemRef", "VSSystemReference"); if (e) errors.push(e) } + if (!(r["valueUri"] !== undefined)) { + errors.push("value: at least one of valueUri is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemTitle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemTitle.ts new file mode 100644 index 000000000..20cfff886 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemTitle.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSSystemTitleProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-systemTitle (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSSystemTitleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-systemTitle" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSSystemTitleProfile { + return new VSSystemTitleProfile(resource) + } + + static createResource (args: VSSystemTitleProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-systemTitle", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: VSSystemTitleProfileParams) : VSSystemTitleProfile { + return VSSystemTitleProfile.from(VSSystemTitleProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSSystemTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-systemTitle", "VSSystemTitle"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTooCostly.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTooCostly.ts new file mode 100644 index 000000000..0564dd03d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTooCostly.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSTooCostlyProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-toocostly (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSTooCostlyProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-toocostly" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSTooCostlyProfile { + return new VSTooCostlyProfile(resource) + } + + static createResource (args: VSTooCostlyProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-toocostly", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: VSTooCostlyProfileParams) : VSTooCostlyProfile { + return VSTooCostlyProfile.from(VSTooCostlyProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSTooCostly"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-toocostly", "VSTooCostly"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTrustedExpansion.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTrustedExpansion.ts new file mode 100644 index 000000000..b050a24bc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTrustedExpansion.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSTrustedExpansionProfileParams = { + valueUrl: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSTrustedExpansionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSTrustedExpansionProfile { + return new VSTrustedExpansionProfile(resource) + } + + static createResource (args: VSTrustedExpansionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion", + valueUrl: args.valueUrl, + } as unknown as Extension + return resource + } + + static create (args: VSTrustedExpansionProfileParams) : VSTrustedExpansionProfile { + return VSTrustedExpansionProfile.from(VSTrustedExpansionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSTrustedExpansion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion", "VSTrustedExpansion"); if (e) errors.push(e) } + if (!(r["valueUrl"] !== undefined)) { + errors.push("value: at least one of valueUrl is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUnclosed.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUnclosed.ts new file mode 100644 index 000000000..987c19514 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUnclosed.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSUnclosedProfileParams = { + valueBoolean: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-unclosed (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSUnclosedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-unclosed" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSUnclosedProfile { + return new VSUnclosedProfile(resource) + } + + static createResource (args: VSUnclosedProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-unclosed", + valueBoolean: args.valueBoolean, + } as unknown as Extension + return resource + } + + static create (args: VSUnclosedProfileParams) : VSUnclosedProfile { + return VSUnclosedProfile.from(VSUnclosedProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSUnclosed"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-unclosed", "VSUnclosed"); if (e) errors.push(e) } + if (!(r["valueBoolean"] !== undefined)) { + errors.push("value: at least one of valueBoolean is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUsage.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUsage.ts new file mode 100644 index 000000000..a43de76c6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUsage.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSUsageProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-usage (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSUsageProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-usage" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSUsageProfile { + return new VSUsageProfile(resource) + } + + static createResource (args: VSUsageProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-usage", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: VSUsageProfileParams) : VSUsageProfile { + return VSUsageProfile.from(VSUsageProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setUser (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "user", valueString: value } as Extension) + return this + } + + public setUse (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "use", valueString: value } as Extension) + return this + } + + public getUser (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUserExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "user") + return ext + } + + public getUse (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getUseExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "use") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "VSUsage"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "VSUsage"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-usage", "VSUsage"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSWarning.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSWarning.ts new file mode 100644 index 000000000..a6abdeb2f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSWarning.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VSWarningProfileParams = { + valueMarkdown: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-warning (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VSWarningProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-warning" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VSWarningProfile { + return new VSWarningProfile(resource) + } + + static createResource (args: VSWarningProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-warning", + valueMarkdown: args.valueMarkdown, + } as unknown as Extension + return resource + } + + static create (args: VSWarningProfileParams) : VSWarningProfile { + return VSWarningProfile.from(VSWarningProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueMarkdown () : string | undefined { + return this.resource.valueMarkdown as string | undefined + } + + setValueMarkdown (value: string) : this { + Object.assign(this.resource, { valueMarkdown: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "VSWarning"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-warning", "VSWarning"); if (e) errors.push(e) } + if (!(r["valueMarkdown"] !== undefined)) { + errors.push("value: at least one of valueMarkdown is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValidDate.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValidDate.ts new file mode 100644 index 000000000..599701c47 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValidDate.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ValidDateProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/identifier-validDate (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ValidDateProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/identifier-validDate" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ValidDateProfile { + return new ValidDateProfile(resource) + } + + static createResource (args: ValidDateProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/identifier-validDate", + valueDateTime: args.valueDateTime, + } as unknown as Extension + return resource + } + + static create (args: ValidDateProfileParams) : ValidDateProfile { + return ValidDateProfile.from(ValidDateProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueDateTime () : string | undefined { + return this.resource.valueDateTime as string | undefined + } + + setValueDateTime (value: string) : this { + Object.assign(this.resource, { valueDateTime: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ValidDate"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/identifier-validDate", "ValidDate"); if (e) errors.push(e) } + if (!(r["valueDateTime"] !== undefined)) { + errors.push("value: at least one of valueDateTime is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValueFilter.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValueFilter.ts new file mode 100644 index 000000000..4b34eddef --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValueFilter.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/cqf-valueFilter (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class ValueFilterProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ValueFilterProfile { + return new ValueFilterProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter", + } as unknown as Extension + return resource + } + + static create () : ValueFilterProfile { + return ValueFilterProfile.from(ValueFilterProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "path", valueString: value } as Extension) + return this + } + + public setSearchParam (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "searchParam", valueString: value } as Extension) + return this + } + + public setComparator (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "comparator", valueCode: value } as Extension) + return this + } + + public setValue (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueBoolean: value } as Extension) + return this + } + + public getPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return ext + } + + public getSearchParam (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "searchParam") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getSearchParamExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "searchParam") + return ext + } + + public getComparator (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "comparator") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getComparatorExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "comparator") + return ext + } + + public getValue (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ValueFilter"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter", "ValueFilter"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Variable.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Variable.ts new file mode 100644 index 000000000..7cec19d11 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Variable.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r5-core/Expression"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VariableProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/variable (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VariableProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/variable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VariableProfile { + return new VariableProfile(resource) + } + + static createResource (args: VariableProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/variable", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: VariableProfileParams) : VariableProfile { + return VariableProfile.from(VariableProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "Variable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/variable", "Variable"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificUse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificUse.ts new file mode 100644 index 000000000..9d0b5bb88 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificUse.ts @@ -0,0 +1,103 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VersionSpecificUseProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/version-specific-use (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VersionSpecificUseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/version-specific-use" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VersionSpecificUseProfile { + return new VersionSpecificUseProfile(resource) + } + + static createResource (args: VersionSpecificUseProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/version-specific-use", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: VersionSpecificUseProfileParams) : VersionSpecificUseProfile { + return VersionSpecificUseProfile.from(VersionSpecificUseProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setStartFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "startFhirVersion", valueCode: value } as Extension) + return this + } + + public setEndFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "endFhirVersion", valueCode: value } as Extension) + return this + } + + public getStartFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "startFhirVersion") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStartFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "startFhirVersion") + return ext + } + + public getEndFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "endFhirVersion") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getEndFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "endFhirVersion") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "VersionSpecificUse"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "VersionSpecificUse"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/version-specific-use", "VersionSpecificUse"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificValue.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificValue.ts new file mode 100644 index 000000000..605307f62 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificValue.ts @@ -0,0 +1,119 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type VersionSpecificValueProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/version-specific-value (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class VersionSpecificValueProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/version-specific-value" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : VersionSpecificValueProfile { + return new VersionSpecificValueProfile(resource) + } + + static createResource (args: VersionSpecificValueProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/version-specific-value", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: VersionSpecificValueProfileParams) : VersionSpecificValueProfile { + return VersionSpecificValueProfile.from(VersionSpecificValueProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setValue (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueString: value } as Extension) + return this + } + + public setStartFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "startFhirVersion", valueCode: value } as Extension) + return this + } + + public setEndFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "endFhirVersion", valueCode: value } as Extension) + return this + } + + public getValue (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + public getStartFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "startFhirVersion") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getStartFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "startFhirVersion") + return ext + } + + public getEndFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "endFhirVersion") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getEndFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "endFhirVersion") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "VersionSpecificValue"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "VersionSpecificValue"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/version-specific-value", "VersionSpecificValue"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowBarrier.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowBarrier.ts new file mode 100644 index 000000000..ae8fe1ca1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowBarrier.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type WorkflowBarrierProfileParams = { + valueCodeableReference: CodeableReference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-barrier (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class WorkflowBarrierProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-barrier" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : WorkflowBarrierProfile { + return new WorkflowBarrierProfile(resource) + } + + static createResource (args: WorkflowBarrierProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-barrier", + valueCodeableReference: args.valueCodeableReference, + } as unknown as Extension + return resource + } + + static create (args: WorkflowBarrierProfileParams) : WorkflowBarrierProfile { + return WorkflowBarrierProfile.from(WorkflowBarrierProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableReference () : CodeableReference | undefined { + return this.resource.valueCodeableReference as CodeableReference | undefined + } + + setValueCodeableReference (value: CodeableReference) : this { + Object.assign(this.resource, { valueCodeableReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "WorkflowBarrier"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-barrier", "WorkflowBarrier"); if (e) errors.push(e) } + if (!(r["valueCodeableReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowReason.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowReason.ts new file mode 100644 index 000000000..3375f4b63 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowReason.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableReference } from "../../hl7-fhir-r5-core/CodeableReference"; +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type WorkflowReasonProfileParams = { + valueCodeableReference: CodeableReference; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/workflow-reason (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class WorkflowReasonProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/workflow-reason" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : WorkflowReasonProfile { + return new WorkflowReasonProfile(resource) + } + + static createResource (args: WorkflowReasonProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/workflow-reason", + valueCodeableReference: args.valueCodeableReference, + } as unknown as Extension + return resource + } + + static create (args: WorkflowReasonProfileParams) : WorkflowReasonProfile { + return WorkflowReasonProfile.from(WorkflowReasonProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCodeableReference () : CodeableReference | undefined { + return this.resource.valueCodeableReference as CodeableReference | undefined + } + + setValueCodeableReference (value: CodeableReference) : this { + Object.assign(this.resource, { valueCodeableReference: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "WorkflowReason"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/workflow-reason", "WorkflowReason"); if (e) errors.push(e) } + if (!(r["valueCodeableReference"] !== undefined)) { + errors.push("value: at least one of valueCodeableReference is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowStatusDescription.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowStatusDescription.ts new file mode 100644 index 000000000..fbdaa734b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowStatusDescription.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type WorkflowStatusDescriptionProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class WorkflowStatusDescriptionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : WorkflowStatusDescriptionProfile { + return new WorkflowStatusDescriptionProfile(resource) + } + + static createResource (args: WorkflowStatusDescriptionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: WorkflowStatusDescriptionProfileParams) : WorkflowStatusDescriptionProfile { + return WorkflowStatusDescriptionProfile.from(WorkflowStatusDescriptionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "WorkflowStatusDescription"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription", "WorkflowStatusDescription"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_XhtmlRepresentation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_XhtmlRepresentation.ts new file mode 100644 index 000000000..04777df86 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_XhtmlRepresentation.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type XhtmlRepresentationProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml (pkg: hl7.fhir.uv.extensions#5.1.0-snapshot1) +export class XhtmlRepresentationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/StructureDefinition/rendering-xhtml" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : XhtmlRepresentationProfile { + return new XhtmlRepresentationProfile(resource) + } + + static createResource (args: XhtmlRepresentationProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + valueString: args.valueString, + } as unknown as Extension + return resource + } + + static create (args: XhtmlRepresentationProfileParams) : XhtmlRepresentationProfile { + return XhtmlRepresentationProfile.from(XhtmlRepresentationProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "XhtmlRepresentation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", "XhtmlRepresentation"); if (e) errors.push(e) } + if (!(r["valueString"] !== undefined)) { + errors.push("value: at least one of valueString is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/index.ts new file mode 100644 index 000000000..9b9f88884 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/index.ts @@ -0,0 +1,558 @@ +export { ADUseProfile } from "./Extension_ADUse"; +export { ADXPAdditionalLocatorProfile } from "./Extension_ADXPAdditionalLocator"; +export { ADXPBuildingNumberSuffixProfile } from "./Extension_ADXPBuildingNumberSuffix"; +export { ADXPCareOfProfile } from "./Extension_ADXPCareOf"; +export { ADXPCensusTractProfile } from "./Extension_ADXPCensusTract"; +export { ADXPDelimiterProfile } from "./Extension_ADXPDelimiter"; +export { ADXPDeliveryAddressLineProfile } from "./Extension_ADXPDeliveryAddressLine"; +export { ADXPDeliveryInstallationAreaProfile } from "./Extension_ADXPDeliveryInstallationArea"; +export { ADXPDeliveryInstallationQualifierProfile } from "./Extension_ADXPDeliveryInstallationQualifier"; +export { ADXPDeliveryInstallationTypeProfile } from "./Extension_ADXPDeliveryInstallationType"; +export { ADXPDeliveryModeIdentifierProfile } from "./Extension_ADXPDeliveryModeIdentifier"; +export { ADXPDeliveryModeProfile } from "./Extension_ADXPDeliveryMode"; +export { ADXPDirectionProfile } from "./Extension_ADXPDirection"; +export { ADXPHouseNumberNumericProfile } from "./Extension_ADXPHouseNumberNumeric"; +export { ADXPHouseNumberProfile } from "./Extension_ADXPHouseNumber"; +export { ADXPPostBoxProfile } from "./Extension_ADXPPostBox"; +export { ADXPPrecinctProfile } from "./Extension_ADXPPrecinct"; +export { ADXPStreetAddressLineProfile } from "./Extension_ADXPStreetAddressLine"; +export { ADXPStreetNameBaseProfile } from "./Extension_ADXPStreetNameBase"; +export { ADXPStreetNameProfile } from "./Extension_ADXPStreetName"; +export { ADXPStreetNameTypeProfile } from "./Extension_ADXPStreetNameType"; +export { ADXPUnitIDProfile } from "./Extension_ADXPUnitID"; +export { ADXPUnitTypeProfile } from "./Extension_ADXPUnitType"; +export { AEAccessionProfile } from "./Extension_AEAccession"; +export { AEAlternativeUserIDProfile } from "./Extension_AEAlternativeUserID"; +export { AEAnonymizedProfile } from "./Extension_AEAnonymized"; +export { AEEncryptedProfile } from "./Extension_AEEncrypted"; +export { AEInstanceProfile } from "./Extension_AEInstance"; +export { AELifecycleProfile } from "./Extension_AELifecycle"; +export { AEMPPSProfile } from "./Extension_AEMPPS"; +export { AENumberOfInstancesProfile } from "./Extension_AENumberOfInstances"; +export { AEOnBehalfOfProfile } from "./Extension_AEOnBehalfOf"; +export { AEParticipantObjectContainsStudyProfile } from "./Extension_AEParticipantObjectContainsStudy"; +export { AESOPClassProfile } from "./Extension_AESOPClass"; +export { AIAdministrationProfile } from "./Extension_AIAdministration"; +export { AIAssertedDateProfile } from "./Extension_AIAssertedDate"; +export { AICareplanProfile } from "./Extension_AICareplan"; +export { AICertaintyProfile } from "./Extension_AICertainty"; +export { AIDurationProfile } from "./Extension_AIDuration"; +export { AIExposureDateProfile } from "./Extension_AIExposureDate"; +export { AIExposureDescriptionProfile } from "./Extension_AIExposureDescription"; +export { AIExposureDurationProfile } from "./Extension_AIExposureDuration"; +export { AILocationProfile } from "./Extension_AILocation"; +export { AIManagementProfile } from "./Extension_AIManagement"; +export { AIReasonRefutedProfile } from "./Extension_AIReasonRefuted"; +export { AIResolutionAgeProfile } from "./Extension_AIResolutionAge"; +export { AISubstanceExposureRiskProfile } from "./Extension_AISubstanceExposureRisk"; +export { AbatementProfile } from "./Extension_Abatement"; +export { AdditionalIdentifierProfile } from "./Extension_AdditionalIdentifier"; +export { AdheresToProfile } from "./Extension_AdheresTo"; +export { AllowedUnitsProfile } from "./Extension_AllowedUnits"; +export { AlternateCanonicalProfile } from "./Extension_AlternateCanonical"; +export { AlternateCodesProfile } from "./Extension_AlternateCodes"; +export { AlternateReferenceProfile } from "./Extension_AlternateReference"; +export { AlternativeExpressionProfile } from "./Extension_AlternativeExpression"; +export { AnnotationTypeProfile } from "./Extension_AnnotationType"; +export { ArtifactApprovalDateProfile } from "./Extension_ArtifactApprovalDate"; +export { ArtifactAssessmentContentProfile } from "./Extension_ArtifactAssessmentContent"; +export { ArtifactAssessmentDispositionProfile } from "./Extension_ArtifactAssessmentDisposition"; +export { ArtifactAssessmentWorkflowStatusProfile } from "./Extension_ArtifactAssessmentWorkflowStatus"; +export { ArtifactAuthorProfile } from "./Extension_ArtifactAuthor"; +export { ArtifactCanonicalReferenceProfile } from "./Extension_ArtifactCanonicalReference"; +export { ArtifactCiteAsProfile } from "./Extension_ArtifactCiteAs"; +export { ArtifactCommentProfile } from "./Extension_ArtifactComment"; +export { ArtifactContactProfile } from "./Extension_ArtifactContact"; +export { ArtifactCopyrightLabelProfile } from "./Extension_ArtifactCopyrightLabel"; +export { ArtifactCopyrightProfile } from "./Extension_ArtifactCopyright"; +export { ArtifactDateProfile } from "./Extension_ArtifactDate"; +export { ArtifactDescriptionProfile } from "./Extension_ArtifactDescription"; +export { ArtifactEditorProfile } from "./Extension_ArtifactEditor"; +export { ArtifactEffectivePeriodProfile } from "./Extension_ArtifactEffectivePeriod"; +export { ArtifactEndorserProfile } from "./Extension_ArtifactEndorser"; +export { ArtifactExperimentalProfile } from "./Extension_ArtifactExperimental"; +export { ArtifactIdentifierProfile } from "./Extension_ArtifactIdentifier"; +export { ArtifactIsOwnedProfile } from "./Extension_ArtifactIsOwned"; +export { ArtifactJurisdictionProfile } from "./Extension_ArtifactJurisdiction"; +export { ArtifactLastReviewDateProfile } from "./Extension_ArtifactLastReviewDate"; +export { ArtifactNameProfile } from "./Extension_ArtifactName"; +export { ArtifactPublisherProfile } from "./Extension_ArtifactPublisher"; +export { ArtifactPurposeProfile } from "./Extension_ArtifactPurpose"; +export { ArtifactReferenceProfile } from "./Extension_ArtifactReference"; +export { ArtifactRelatedArtifactProfile } from "./Extension_ArtifactRelatedArtifact"; +export { ArtifactReleaseDescriptionProfile } from "./Extension_ArtifactReleaseDescription"; +export { ArtifactReleaseLabelProfile } from "./Extension_ArtifactReleaseLabel"; +export { ArtifactReviewerProfile } from "./Extension_ArtifactReviewer"; +export { ArtifactStatusProfile } from "./Extension_ArtifactStatus"; +export { ArtifactTitleProfile } from "./Extension_ArtifactTitle"; +export { ArtifactTopicProfile } from "./Extension_ArtifactTopic"; +export { ArtifactUrlProfile } from "./Extension_ArtifactUrl"; +export { ArtifactUsageProfile } from "./Extension_ArtifactUsage"; +export { ArtifactUseContextProfile } from "./Extension_ArtifactUseContext"; +export { ArtifactVersionAlgorithmProfile } from "./Extension_ArtifactVersionAlgorithm"; +export { ArtifactVersionPolicyProfile } from "./Extension_ArtifactVersionPolicy"; +export { ArtifactVersionProfile } from "./Extension_ArtifactVersion"; +export { AssemblyOrderProfile } from "./Extension_AssemblyOrder"; +export { BDPCollectionProcedureProfile } from "./Extension_BDPCollectionProcedure"; +export { BDPManipulationProfile } from "./Extension_BDPManipulation"; +export { BDPProcessingProfile } from "./Extension_BDPProcessing"; +export { BasedOnProfile } from "./Extension_BasedOn"; +export { BestPracticeExplanationProfile } from "./Extension_BestPracticeExplanation"; +export { BestPracticeProfile } from "./Extension_BestPractice"; +export { BindingNameProfile } from "./Extension_BindingName"; +export { BodyStructureReferenceProfile } from "./Extension_BodyStructureReference"; +export { BundleHttpResponseHeaderProfile } from "./Extension_BundleHttpResponseHeader"; +export { BundleLocationDistanceProfile } from "./Extension_BundleLocationDistance"; +export { BundleMatchGradeProfile } from "./Extension_BundleMatchGrade"; +export { CDVersionNumberProfile } from "./Extension_CDVersionNumber"; +export { CMBidirectionalProfile } from "./Extension_CMBidirectional"; +export { CMediaProfile } from "./Extension_CMedia"; +export { CPActivityTitleProfile } from "./Extension_CPActivityTitle"; +export { CQFCQLOptionsProfile } from "./Extension_CQFCQLOptions"; +export { CQFCertaintyProfile } from "./Extension_CQFCertainty"; +export { CQFCitationProfile } from "./Extension_CQFCitation"; +export { CQFExpressionProfile } from "./Extension_CQFExpression"; +export { CQFKnowledgeCapabilityProfile } from "./Extension_CQFKnowledgeCapability"; +export { CQFLibraryProfile } from "./Extension_CQFLibrary"; +export { CRInitiatingLocationProfile } from "./Extension_CRInitiatingLocation"; +export { CRPublishDateProfile } from "./Extension_CRPublishDate"; +export { CRShortDescriptionProfile } from "./Extension_CRShortDescription"; +export { CSAlternateProfile } from "./Extension_CSAlternate"; +export { CSAuthoritativeSourceProfile } from "./Extension_CSAuthoritativeSource"; +export { CSConceptCommentsProfile } from "./Extension_CSConceptComments"; +export { CSConceptOrderProfile } from "./Extension_CSConceptOrder"; +export { CSDeclaredProfileProfile } from "./Extension_CSDeclaredProfile"; +export { CSExpectationProfile } from "./Extension_CSExpectation"; +export { CSHistoryProfile } from "./Extension_CSHistory"; +export { CSKeyWordProfile } from "./Extension_CSKeyWord"; +export { CSLabelProfile } from "./Extension_CSLabel"; +export { CSMapProfile } from "./Extension_CSMap"; +export { CSOtherNameProfile } from "./Extension_CSOtherName"; +export { CSProhibitedProfile } from "./Extension_CSProhibited"; +export { CSPropertiesModeProfile } from "./Extension_CSPropertiesMode"; +export { CSReplacedbyProfile } from "./Extension_CSReplacedby"; +export { CSSearchModeProfile } from "./Extension_CSSearchMode"; +export { CSSearchParameterCombinationProfile } from "./Extension_CSSearchParameterCombination"; +export { CSSearchParameterUseProfile } from "./Extension_CSSearchParameterUse"; +export { CSSourceReferenceProfile } from "./Extension_CSSourceReference"; +export { CSSupportedSystemProfile } from "./Extension_CSSupportedSystem"; +export { CSTrustedExpansionProfile } from "./Extension_CSTrustedExpansion"; +export { CSUsageProfile } from "./Extension_CSUsage"; +export { CSUseMarkdownProfile } from "./Extension_CSUseMarkdown"; +export { CSWarningProfile } from "./Extension_CSWarning"; +export { CSWebsocketProfile } from "./Extension_CSWebsocket"; +export { CSWorkflowStatusProfile } from "./Extension_CSWorkflowStatus"; +export { CSectionSubjectProfile } from "./Extension_CSectionSubject"; +export { CTAliasProfile } from "./Extension_CTAlias"; +export { CValidityPeriodProfile } from "./Extension_CValidityPeriod"; +export { CalculatedValueProfile } from "./Extension_CalculatedValue"; +export { CapabilitiesProfile } from "./Extension_Capabilities"; +export { CdsHooksEndpointProfile } from "./Extension_CdsHooksEndpoint"; +export { CharacteristicExpressionProfile } from "./Extension_CharacteristicExpression"; +export { CitationSocietyAffiliationProfile } from "./Extension_CitationSocietyAffiliation"; +export { CodedStringProfile } from "./Extension_CodedString"; +export { CodingConformanceProfile } from "./Extension_CodingConformance"; +export { CodingPurposeProfile } from "./Extension_CodingPurpose"; +export { CompliesWithProfile } from "./Extension_CompliesWith"; +export { ConceptmapProfile } from "./Extension_Conceptmap"; +export { ConditionAssertedDateProfile } from "./Extension_ConditionAssertedDate"; +export { ConditionDiseaseCourseProfile } from "./Extension_ConditionDiseaseCourse"; +export { ConditionDueToProfile } from "./Extension_ConditionDueTo"; +export { ConditionOccurredFollowingProfile } from "./Extension_ConditionOccurredFollowing"; +export { ConditionOutcomeProfile } from "./Extension_ConditionOutcome"; +export { ConditionRelatedProfile } from "./Extension_ConditionRelated"; +export { ConditionReviewedProfile } from "./Extension_ConditionReviewed"; +export { ConditionRuledOutProfile } from "./Extension_ConditionRuledOut"; +export { ConditionsProfile } from "./Extension_Conditions"; +export { ConfidentialProfile } from "./Extension_Confidential"; +export { ConsentLocationProfile } from "./Extension_ConsentLocation"; +export { ConsentNotificationEndpointProfile } from "./Extension_ConsentNotificationEndpoint"; +export { ConsentResearchStudyContextProfile } from "./Extension_ConsentResearchStudyContext"; +export { ConsentTranscriberProfile } from "./Extension_ConsentTranscriber"; +export { ConsentWitnessProfile } from "./Extension_ConsentWitness"; +export { ContactAddressProfile } from "./Extension_ContactAddress"; +export { ContactDetailReferenceProfile } from "./Extension_ContactDetailReference"; +export { ContactPointAreaProfile } from "./Extension_ContactPointArea"; +export { ContactPointCommentProfile } from "./Extension_ContactPointComment"; +export { ContactPointCountryProfile } from "./Extension_ContactPointCountry"; +export { ContactPointExtensionProfile } from "./Extension_ContactPointExtension"; +export { ContactPointLocalProfile } from "./Extension_ContactPointLocal"; +export { ContactPointPurposeProfile } from "./Extension_ContactPointPurpose"; +export { ContactReferenceProfile } from "./Extension_ContactReference"; +export { ContributionTimeProfile } from "./Extension_ContributionTime"; +export { DRAddendumOfProfile } from "./Extension_DRAddendumOf"; +export { DRExtendsProfile } from "./Extension_DRExtends"; +export { DRFocusProfile } from "./Extension_DRFocus"; +export { DRLocationPerformedProfile } from "./Extension_DRLocationPerformed"; +export { DRPatientInstructionProfile } from "./Extension_DRPatientInstruction"; +export { DRReplacesProfile } from "./Extension_DRReplaces"; +export { DRRiskProfile } from "./Extension_DRRisk"; +export { DRSourcePatientProfile } from "./Extension_DRSourcePatient"; +export { DRSummaryOfProfile } from "./Extension_DRSummaryOf"; +export { DRThumbnailProfile } from "./Extension_DRThumbnail"; +export { DRWorkflowStatusProfile } from "./Extension_DRWorkflowStatus"; +export { DataAbsentReasonProfile } from "./Extension_DataAbsentReason"; +export { DatatypeProfile } from "./Extension_Datatype"; +export { DaysOfCycleProfile } from "./Extension_DaysOfCycle"; +export { DefaultTypeProfile } from "./Extension_DefaultType"; +export { DefaultValueProfile } from "./Extension_DefaultValue"; +export { DefinitionTermProfile } from "./Extension_DefinitionTerm"; +export { DesignNoteProfile } from "./Extension_DesignNote"; +export { DevCommercialBrandProfile } from "./Extension_DevCommercialBrand"; +export { DevImplantStatusProfile } from "./Extension_DevImplantStatus"; +export { DeviceLastMaintenanceTimeProfile } from "./Extension_DeviceLastMaintenanceTime"; +export { DeviceMaintenanceResponsibilityProfile } from "./Extension_DeviceMaintenanceResponsibility"; +export { DirectReferenceCodeProfile } from "./Extension_DirectReferenceCode"; +export { DisplayNameProfile } from "./Extension_DisplayName"; +export { DoNotPerformProfile } from "./Extension_DoNotPerform"; +export { DosageMinimumGapBetweenDoseProfile } from "./Extension_DosageMinimumGapBetweenDose"; +export { ENQualifierProfile } from "./Extension_ENQualifier"; +export { ENRepresentationProfile } from "./Extension_ENRepresentation"; +export { ENUseProfile } from "./Extension_ENUse"; +export { EncAssociatedEncounterProfile } from "./Extension_EncAssociatedEncounter"; +export { EncModeOfArrivalProfile } from "./Extension_EncModeOfArrival"; +export { EncReasonCancelledProfile } from "./Extension_EncReasonCancelled"; +export { EncounterClassProfile } from "./Extension_EncounterClass"; +export { EncounterTypeProfile } from "./Extension_EncounterType"; +export { EndpointFhirVersionProfile } from "./Extension_EndpointFhirVersion"; +export { EntryFormatProfile } from "./Extension_EntryFormat"; +export { EpisodeOfCareProfile } from "./Extension_EpisodeOfCare"; +export { EquivalenceProfile } from "./Extension_Equivalence"; +export { EventHistoryProfile } from "./Extension_EventHistory"; +export { EventLocationProfile } from "./Extension_EventLocation"; +export { EventStatusReasonProfile } from "./Extension_EventStatusReason"; +export { ExpansionParametersProfile } from "./Extension_ExpansionParameters"; +export { ExtendedContactAvailabilityProfile } from "./Extension_ExtendedContactAvailability"; +export { FHIRQueryPatternProfile } from "./Extension_FHIRQueryPattern"; +export { FMHAbatementProfile } from "./Extension_FMHAbatement"; +export { FMHObservationProfile } from "./Extension_FMHObservation"; +export { FMHParentProfile } from "./Extension_FMHParent"; +export { FMHPatientRecordProfile } from "./Extension_FMHPatientRecord"; +export { FMHSeverityProfile } from "./Extension_FMHSeverity"; +export { FMHSiblingProfile } from "./Extension_FMHSibling"; +export { FMHTypeProfile } from "./Extension_FMHType"; +export { FMMLevelProfile } from "./Extension_FMMLevel"; +export { FMMSupportDocoProfile } from "./Extension_FMMSupportDoco"; +export { FathersFamilyProfile } from "./Extension_FathersFamily"; +export { FirstCreatedProfile } from "./Extension_FirstCreated"; +export { FlagDetailProfile } from "./Extension_FlagDetail"; +export { FlagPriorityProfile } from "./Extension_FlagPriority"; +export { FollowOnOfProfile } from "./Extension_FollowOnOf"; +export { GeneratedFromProfile } from "./Extension_GeneratedFrom"; +export { GeolocationProfile } from "./Extension_Geolocation"; +export { GoalAcceptanceProfile } from "./Extension_GoalAcceptance"; +export { GoalReasonRejectedProfile } from "./Extension_GoalReasonRejected"; +export { GoalRelationshipProfile } from "./Extension_GoalRelationship"; +export { GraphConstraintProfile } from "./Extension_GraphConstraint"; +export { HumanLanguageProfile } from "./Extension_HumanLanguage"; +export { IDCheckDigitProfile } from "./Extension_IDCheckDigit"; +export { IGSourceFileProfile } from "./Extension_IGSourceFile"; +export { IdentifierProfile } from "./Extension_Identifier"; +export { ImmProcedureProfile } from "./Extension_ImmProcedure"; +export { InheritedExtensibleValueSetProfile } from "./Extension_InheritedExtensibleValueSet"; +export { InitialValueProfile } from "./Extension_InitialValue"; +export { InitiatingOrganizationProfile } from "./Extension_InitiatingOrganization"; +export { InitiatingPersonProfile } from "./Extension_InitiatingPerson"; +export { InputParametersProfile } from "./Extension_InputParameters"; +export { IsCommonBindingProfile } from "./Extension_IsCommonBinding"; +export { IsPrefetchTokenProfile } from "./Extension_IsPrefetchToken"; +export { IsPrimaryCitationProfile } from "./Extension_IsPrimaryCitation"; +export { IsSelectiveProfile } from "./Extension_IsSelective"; +export { ItemWeightProfile } from "./Extension_ItemWeight"; +export { KnowledgeRepresentationLevelProfile } from "./Extension_KnowledgeRepresentationLevel"; +export { LargeValueProfile } from "./Extension_LargeValue"; +export { LastSourceSyncProfile } from "./Extension_LastSourceSync"; +export { ListCategoryProfile } from "./Extension_ListCategory"; +export { ListChangeBaseProfile } from "./Extension_ListChangeBase"; +export { ListForProfile } from "./Extension_ListFor"; +export { LocBoundaryGeojsonProfile } from "./Extension_LocBoundaryGeojson"; +export { LocCommunicationProfile } from "./Extension_LocCommunication"; +export { LogicDefinitionProfile } from "./Extension_LogicDefinition"; +export { MarkdownProfile } from "./Extension_Markdown"; +export { MaxDecimalPlacesProfile } from "./Extension_MaxDecimalPlaces"; +export { MaxSizeProfile } from "./Extension_MaxSize"; +export { MaxValueProfile } from "./Extension_MaxValue"; +export { MaxValueSetProfile } from "./Extension_MaxValueSet"; +export { MeasureInfoProfile } from "./Extension_MeasureInfo"; +export { MedManufacturingBatchProfile } from "./Extension_MedManufacturingBatch"; +export { MedQuantityRemainingProfile } from "./Extension_MedQuantityRemaining"; +export { MedRefillsRemainingProfile } from "./Extension_MedRefillsRemaining"; +export { MessagesProfile } from "./Extension_Messages"; +export { MimeTypeProfile } from "./Extension_MimeType"; +export { MinLengthProfile } from "./Extension_MinLength"; +export { MinValueProfile } from "./Extension_MinValue"; +export { MinValueSetProfile } from "./Extension_MinValueSet"; +export { ModelInfoIsIncludedProfile } from "./Extension_ModelInfoIsIncluded"; +export { ModelInfoIsRetrievableProfile } from "./Extension_ModelInfoIsRetrievable"; +export { ModelInfoLabelProfile } from "./Extension_ModelInfoLabel"; +export { ModelInfoPrimaryCodePathProfile } from "./Extension_ModelInfoPrimaryCodePath"; +export { ModelInfoSettingsProfile } from "./Extension_ModelInfoSettings"; +export { MothersFamilyProfile } from "./Extension_MothersFamily"; +export { MsgResponseRequestProfile } from "./Extension_MsgResponseRequest"; +export { NSCheckDigitProfile } from "./Extension_NSCheckDigit"; +export { NarrativeLinkProfile } from "./Extension_NarrativeLink"; +export { NotDoneValueSetProfile } from "./Extension_NotDoneValueSet"; +export { NttAdaptiveFeedingDeviceProfile } from "./Extension_NttAdaptiveFeedingDevice"; +export { NullFlavorProfile } from "./Extension_NullFlavor"; +export { OAuthUrisProfile } from "./Extension_OAuthUris"; +export { ODProfileProfile } from "./Extension_ODProfile"; +export { OOAuthorityProfile } from "./Extension_OOAuthority"; +export { OODetectedIssueProfile } from "./Extension_OODetectedIssue"; +export { OOIssueColProfile } from "./Extension_OOIssueCol"; +export { OOIssueLineProfile } from "./Extension_OOIssueLine"; +export { OOIssueMessageIdProfile } from "./Extension_OOIssueMessageId"; +export { OOIssueServerProfile } from "./Extension_OOIssueServer"; +export { OOIssueSliceTextProfile } from "./Extension_OOIssueSliceText"; +export { OOIssueSourceProfile } from "./Extension_OOIssueSource"; +export { OOSourceFileProfile } from "./Extension_OOSourceFile"; +export { ObjectClassProfile } from "./Extension_ObjectClass"; +export { ObjectClassPropertyProfile } from "./Extension_ObjectClassProperty"; +export { ObligationProfile } from "./Extension_Obligation"; +export { ObsAnalysisDateTimeProfile } from "./Extension_ObsAnalysisDateTime"; +export { ObsBodyPositionProfile } from "./Extension_ObsBodyPosition"; +export { ObsDeltaProfile } from "./Extension_ObsDelta"; +export { ObsDeviceCodeProfile } from "./Extension_ObsDeviceCode"; +export { ObsFocusCodeProfile } from "./Extension_ObsFocusCode"; +export { ObsGatewayDeviceProfile } from "./Extension_ObsGatewayDevice"; +export { ObsNatureAbnormalProfile } from "./Extension_ObsNatureAbnormal"; +export { ObsPreconditionProfile } from "./Extension_ObsPrecondition"; +export { ObsReagentProfile } from "./Extension_ObsReagent"; +export { ObsReplacesProfile } from "./Extension_ObsReplaces"; +export { ObsSecondaryFindingProfile } from "./Extension_ObsSecondaryFinding"; +export { ObsSequelToProfile } from "./Extension_ObsSequelTo"; +export { ObsSpecimenCodeProfile } from "./Extension_ObsSpecimenCode"; +export { ObsTimeOffsetProfile } from "./Extension_ObsTimeOffset"; +export { ObsV2SubIdProfile } from "./Extension_ObsV2SubId"; +export { OrgPeriodProfile } from "./Extension_OrgPeriod"; +export { OrgPreferredContactProfile } from "./Extension_OrgPreferredContact"; +export { OrgPrimaryIndProfile } from "./Extension_OrgPrimaryInd"; +export { OrganizationBrandProfile } from "./Extension_OrganizationBrand"; +export { OrganizationPortalProfile } from "./Extension_OrganizationPortal"; +export { OriginalTextProfile } from "./Extension_OriginalText"; +export { OwnNameProfile } from "./Extension_OwnName"; +export { OwnPrefixProfile } from "./Extension_OwnPrefix"; +export { PGenderIdentityProfile } from "./Extension_PGenderIdentity"; +export { PRAnimalSpeciesProfile } from "./Extension_PRAnimalSpecies"; +export { PRApproachBodyStructureProfile } from "./Extension_PRApproachBodyStructure"; +export { PRCausedByProfile } from "./Extension_PRCausedBy"; +export { PRDirectedByProfile } from "./Extension_PRDirectedBy"; +export { PREmploymentStatusProfile } from "./Extension_PREmploymentStatus"; +export { PRIncisionDateTimeProfile } from "./Extension_PRIncisionDateTime"; +export { PRJobTitleProfile } from "./Extension_PRJobTitle"; +export { PRMethodProfile } from "./Extension_PRMethod"; +export { PRPrimaryIndProfile } from "./Extension_PRPrimaryInd"; +export { PRProgressStatusProfile } from "./Extension_PRProgressStatus"; +export { PRTargetBodyStructureProfile } from "./Extension_PRTargetBodyStructure"; +export { ParamFullUrlProfile } from "./Extension_ParamFullUrl"; +export { ParameterDefinitionProfile } from "./Extension_ParameterDefinition"; +export { ParametersDefinitionProfile } from "./Extension_ParametersDefinition"; +export { PartOfProfile } from "./Extension_PartOf"; +export { PartnerNameProfile } from "./Extension_PartnerName"; +export { PartnerPrefixProfile } from "./Extension_PartnerPrefix"; +export { PatAdoptionInfoProfile } from "./Extension_PatAdoptionInfo"; +export { PatAnimalProfile } from "./Extension_PatAnimal"; +export { PatBirthPlaceProfile } from "./Extension_PatBirthPlace"; +export { PatBirthTimeProfile } from "./Extension_PatBirthTime"; +export { PatBornStatusProfile } from "./Extension_PatBornStatus"; +export { PatCadavericDonorProfile } from "./Extension_PatCadavericDonor"; +export { PatCitizenshipProfile } from "./Extension_PatCitizenship"; +export { PatCongregationProfile } from "./Extension_PatCongregation"; +export { PatContactPriorityProfile } from "./Extension_PatContactPriority"; +export { PatDisabilityProfile } from "./Extension_PatDisability"; +export { PatImportanceProfile } from "./Extension_PatImportance"; +export { PatInterpreterRequiredProfile } from "./Extension_PatInterpreterRequired"; +export { PatMothersMaidenNameProfile } from "./Extension_PatMothersMaidenName"; +export { PatMultipleBirthTotalProfile } from "./Extension_PatMultipleBirthTotal"; +export { PatNationalityProfile } from "./Extension_PatNationality"; +export { PatNoFixedAddressProfile } from "./Extension_PatNoFixedAddress"; +export { PatPreferenceTypeProfile } from "./Extension_PatPreferenceType"; +export { PatProficiencyProfile } from "./Extension_PatProficiency"; +export { PatRelatedPersonProfile } from "./Extension_PatRelatedPerson"; +export { PatReligionProfile } from "./Extension_PatReligion"; +export { PatSexParameterForClinicalUseProfile } from "./Extension_PatSexParameterForClinicalUse"; +export { PatientKnownNonDuplicateProfile } from "./Extension_PatientKnownNonDuplicate"; +export { PatientUnknownIdentityProfile } from "./Extension_PatientUnknownIdentity"; +export { PatternProfile } from "./Extension_Pattern"; +export { PerformerFunctionProfile } from "./Extension_PerformerFunction"; +export { PerformerOrderProfile } from "./Extension_PerformerOrder"; +export { PeriodDurationProfile } from "./Extension_PeriodDuration"; +export { PermittedValueConceptmapProfile } from "./Extension_PermittedValueConceptmap"; +export { PermittedValueValuesetProfile } from "./Extension_PermittedValueValueset"; +export { PrecisionProfile } from "./Extension_Precision"; +export { PreferredProfile } from "./Extension_Preferred"; +export { ProfileElementProfile } from "./Extension_ProfileElement"; +export { PronounsProfile } from "./Extension_Pronouns"; +export { ProtectiveFactorProfile } from "./Extension_ProtectiveFactor"; +export { PublicationDateProfile } from "./Extension_PublicationDate"; +export { PublicationStatusProfile } from "./Extension_PublicationStatus"; +export { QBaseTypeProfile } from "./Extension_QBaseType"; +export { QChoiceOrientationProfile } from "./Extension_QChoiceOrientation"; +export { QConstraintProfile } from "./Extension_QConstraint"; +export { QDefinitionBasedProfile } from "./Extension_QDefinitionBased"; +export { QDisplayCategoryProfile } from "./Extension_QDisplayCategory"; +export { QFhirTypeProfile } from "./Extension_QFhirType"; +export { QHiddenProfile } from "./Extension_QHidden"; +export { QItemControlProfile } from "./Extension_QItemControl"; +export { QMaxOccursProfile } from "./Extension_QMaxOccurs"; +export { QMinOccursProfile } from "./Extension_QMinOccurs"; +export { QOptionExclusiveProfile } from "./Extension_QOptionExclusive"; +export { QOptionPrefixProfile } from "./Extension_QOptionPrefix"; +export { QOptionRestrictionProfile } from "./Extension_QOptionRestriction"; +export { QRAttesterProfile } from "./Extension_QRAttester"; +export { QRAuthorProfile } from "./Extension_QRAuthor"; +export { QRCompletionModeProfile } from "./Extension_QRCompletionMode"; +export { QRReasonProfile } from "./Extension_QRReason"; +export { QRReviewerProfile } from "./Extension_QRReviewer"; +export { QRSignatureProfile } from "./Extension_QRSignature"; +export { QRUnitOptionProfile } from "./Extension_QRUnitOption"; +export { QRUnitValueSetProfile } from "./Extension_QRUnitValueSet"; +export { QRUsageModeProfile } from "./Extension_QRUsageMode"; +export { QReferenceProfileProfile } from "./Extension_QReferenceProfile"; +export { QReferenceResourceProfile } from "./Extension_QReferenceResource"; +export { QSignatureRequiredProfile } from "./Extension_QSignatureRequired"; +export { QSliderStepValueProfile } from "./Extension_QSliderStepValue"; +export { QSupportLinkProfile } from "./Extension_QSupportLink"; +export { QUnitProfile } from "./Extension_QUnit"; +export { QualityOfEvidenceProfile } from "./Extension_QualityOfEvidence"; +export { QuantityTranslationProfile } from "./Extension_QuantityTranslation"; +export { QuestionProfile } from "./Extension_Question"; +export { QuestionnaireDerivationTypeProfile } from "./Extension_QuestionnaireDerivationType"; +export { RSSiteRecruitmentProfile } from "./Extension_RSSiteRecruitment"; +export { RSStudyRegistrationProfile } from "./Extension_RSStudyRegistration"; +export { ReceivingOrganizationProfile } from "./Extension_ReceivingOrganization"; +export { ReceivingPersonProfile } from "./Extension_ReceivingPerson"; +export { RecipientLanguageProfile } from "./Extension_RecipientLanguage"; +export { RecipientTypeProfile } from "./Extension_RecipientType"; +export { RecordedSexOrGenderProfile } from "./Extension_RecordedSexOrGender"; +export { ReferenceFilterProfile } from "./Extension_ReferenceFilter"; +export { ReferencesContainedProfile } from "./Extension_ReferencesContained"; +export { RelatedArtifactProfile } from "./Extension_RelatedArtifact"; +export { RelativeDateCriteriaProfile } from "./Extension_RelativeDateCriteria"; +export { RelativeDateTimeProfile } from "./Extension_RelativeDateTime"; +export { ReleaseDateProfile } from "./Extension_ReleaseDate"; +export { RelevantHistoryProfile } from "./Extension_RelevantHistory"; +export { RenderedValueProfile } from "./Extension_RenderedValue"; +export { RenderingStyleProfile } from "./Extension_RenderingStyle"; +export { ReplacesProfile } from "./Extension_Replaces"; +export { RequestInsuranceProfile } from "./Extension_RequestInsurance"; +export { RequestReplacesProfile } from "./Extension_RequestReplaces"; +export { RequestStatusReasonProfile } from "./Extension_RequestStatusReason"; +export { RequirementsParentProfile } from "./Extension_RequirementsParent"; +export { ResLastReviewDateProfile } from "./Extension_ResLastReviewDate"; +export { ResearchStudyProfile } from "./Extension_ResearchStudy"; +export { ResolveAsVersionSpecificProfile } from "./Extension_ResolveAsVersionSpecific"; +export { ResourceApprovalDateProfile } from "./Extension_ResourceApprovalDate"; +export { ResourceDerivationReferenceProfile } from "./Extension_ResourceDerivationReference"; +export { ResourceEffectivePeriodProfile } from "./Extension_ResourceEffectivePeriod"; +export { ResourceInstanceDescriptionProfile } from "./Extension_ResourceInstanceDescription"; +export { ResourceInstanceNameProfile } from "./Extension_ResourceInstanceName"; +export { ResourceSatisfiesRequirementProfile } from "./Extension_ResourceSatisfiesRequirement"; +export { ResourceTypeProfile } from "./Extension_ResourceType"; +export { SDAncestorProfile } from "./Extension_SDAncestor"; +export { SDApplicableVersionProfile } from "./Extension_SDApplicableVersion"; +export { SDCategoryProfile } from "./Extension_SDCategory"; +export { SDCodegenSuperProfile } from "./Extension_SDCodegenSuper"; +export { SDDisplayHintProfile } from "./Extension_SDDisplayHint"; +export { SDExplicitTypeNameProfile } from "./Extension_SDExplicitTypeName"; +export { SDExtensionMeaningProfile } from "./Extension_SDExtensionMeaning"; +export { SDFhirTypeProfile } from "./Extension_SDFhirType"; +export { SDFmmNoWarningsProfile } from "./Extension_SDFmmNoWarnings"; +export { SDHierarchyProfile } from "./Extension_SDHierarchy"; +export { SDImposeProfileProfile } from "./Extension_SDImposeProfile"; +export { SDInheritanceControlProfile } from "./Extension_SDInheritanceControl"; +export { SDInterfaceProfile } from "./Extension_SDInterface"; +export { SDNormativeVersionProfile } from "./Extension_SDNormativeVersion"; +export { SDSecurityCategoryProfile } from "./Extension_SDSecurityCategory"; +export { SDStandardsStatusProfile } from "./Extension_SDStandardsStatus"; +export { SDStandardsStatusReasonProfile } from "./Extension_SDStandardsStatusReason"; +export { SDStatusDerivationProfile } from "./Extension_SDStatusDerivation"; +export { SDSummaryProfile } from "./Extension_SDSummary"; +export { SDTableNameProfile } from "./Extension_SDTableName"; +export { SDTemplateStatusProfile } from "./Extension_SDTemplateStatus"; +export { SDTypeCharacteristicsProfile } from "./Extension_SDTypeCharacteristics"; +export { SDWorkGroupProfile } from "./Extension_SDWorkGroup"; +export { SDcompliesWithProfileProfile } from "./Extension_SDcompliesWithProfile"; +export { SROrderCallbackPhoneNumberProfile } from "./Extension_SROrderCallbackPhoneNumber"; +export { SRPertainsToGoalProfile } from "./Extension_SRPertainsToGoal"; +export { SRPreconditionProfile } from "./Extension_SRPrecondition"; +export { SRQuestionnaireRequestProfile } from "./Extension_SRQuestionnaireRequest"; +export { ScopeProfile } from "./Extension_Scope"; +export { SctDescIdProfile } from "./Extension_SctDescId"; +export { SelectorProfile } from "./Extension_Selector"; +export { ShallComplyWithProfile } from "./Extension_ShallComplyWith"; +export { SpecCollectionPriorityProfile } from "./Extension_SpecCollectionPriority"; +export { SpecIsDryWeightProfile } from "./Extension_SpecIsDryWeight"; +export { SpecProcessingTimeProfile } from "./Extension_SpecProcessingTime"; +export { SpecSequenceNumberProfile } from "./Extension_SpecSequenceNumber"; +export { SpecSpecialHandlingProfile } from "./Extension_SpecSpecialHandling"; +export { SpecimenAdditiveProfile } from "./Extension_SpecimenAdditive"; +export { StatisticModelIncludeIfProfile } from "./Extension_StatisticModelIncludeIf"; +export { StrengthOfRecommendationProfile } from "./Extension_StrengthOfRecommendation"; +export { StyleSensitiveProfile } from "./Extension_StyleSensitive"; +export { SubscriptionBestEffortProfile } from "./Extension_SubscriptionBestEffort"; +export { SupportedCqlVersionProfile } from "./Extension_SupportedCqlVersion"; +export { SupportingInfoProfile } from "./Extension_SupportingInfo"; +export { SuppressProfile } from "./Extension_Suppress"; +export { SystemUserLanguageProfile } from "./Extension_SystemUserLanguage"; +export { SystemUserTaskContextProfile } from "./Extension_SystemUserTaskContext"; +export { SystemUserTypeProfile } from "./Extension_SystemUserType"; +export { TELAddressProfile } from "./Extension_TELAddress"; +export { TargetElementProfile } from "./Extension_TargetElement"; +export { TargetInvariantProfile } from "./Extension_TargetInvariant"; +export { TargetPathProfile } from "./Extension_TargetPath"; +export { TaskReplacesProfile } from "./Extension_TaskReplaces"; +export { TimezoneCodeProfile } from "./Extension_TimezoneCode"; +export { TimezoneOffsetProfile } from "./Extension_TimezoneOffset"; +export { TimingDayOfMonthProfile } from "./Extension_TimingDayOfMonth"; +export { TimingExactProfile } from "./Extension_TimingExact"; +export { TranslatableProfile } from "./Extension_Translatable"; +export { TranslationProfile } from "./Extension_Translation"; +export { TriggeredByProfile } from "./Extension_TriggeredBy"; +export { TxResourceIdentifierMetadataProfile } from "./Extension_TxResourceIdentifierMetadata"; +export { TypeMustSupportProfile } from "./Extension_TypeMustSupport"; +export { UncertainDateProfile } from "./Extension_UncertainDate"; +export { UncertainPeriodProfile } from "./Extension_UncertainPeriod"; +export { UncertaintyProfile } from "./Extension_Uncertainty"; +export { UncertaintyTypeProfile } from "./Extension_UncertaintyType"; +export { UsageContextGroupProfile } from "./Extension_UsageContextGroup"; +export { VSAuthoritativeSourceProfile } from "./Extension_VSAuthoritativeSource"; +export { VSCaseSensitiveProfile } from "./Extension_VSCaseSensitive"; +export { VSComposeCreatedByProfile } from "./Extension_VSComposeCreatedBy"; +export { VSComposeCreationDateProfile } from "./Extension_VSComposeCreationDate"; +export { VSConceptCommentsProfile } from "./Extension_VSConceptComments"; +export { VSConceptDefinitionProfile } from "./Extension_VSConceptDefinition"; +export { VSConceptOrderProfile } from "./Extension_VSConceptOrder"; +export { VSDeprecatedProfile } from "./Extension_VSDeprecated"; +export { VSExpansionSourceProfile } from "./Extension_VSExpansionSource"; +export { VSExpressionProfile } from "./Extension_VSExpression"; +export { VSExtensibleProfile } from "./Extension_VSExtensible"; +export { VSIncludeVSTitleProfile } from "./Extension_VSIncludeVSTitle"; +export { VSKeywordProfile } from "./Extension_VSKeyword"; +export { VSLabelProfile } from "./Extension_VSLabel"; +export { VSMapProfile } from "./Extension_VSMap"; +export { VSOtherNameProfile } from "./Extension_VSOtherName"; +export { VSOtherTitleProfile } from "./Extension_VSOtherTitle"; +export { VSParameterSourceProfile } from "./Extension_VSParameterSource"; +export { VSReferenceProfile } from "./Extension_VSReference"; +export { VSRulesTextProfile } from "./Extension_VSRulesText"; +export { VSSourceReferenceProfile } from "./Extension_VSSourceReference"; +export { VSSpecialStatusProfile } from "./Extension_VSSpecialStatus"; +export { VSSupplementProfile } from "./Extension_VSSupplement"; +export { VSSystemNameProfile } from "./Extension_VSSystemName"; +export { VSSystemProfile } from "./Extension_VSSystem"; +export { VSSystemReferenceProfile } from "./Extension_VSSystemReference"; +export { VSSystemTitleProfile } from "./Extension_VSSystemTitle"; +export { VSTooCostlyProfile } from "./Extension_VSTooCostly"; +export { VSTrustedExpansionProfile } from "./Extension_VSTrustedExpansion"; +export { VSUnclosedProfile } from "./Extension_VSUnclosed"; +export { VSUsageProfile } from "./Extension_VSUsage"; +export { VSWarningProfile } from "./Extension_VSWarning"; +export { ValidDateProfile } from "./Extension_ValidDate"; +export { ValueFilterProfile } from "./Extension_ValueFilter"; +export { VariableProfile } from "./Extension_Variable"; +export { VersionSpecificUseProfile } from "./Extension_VersionSpecificUse"; +export { VersionSpecificValueProfile } from "./Extension_VersionSpecificValue"; +export { WorkflowBarrierProfile } from "./Extension_WorkflowBarrier"; +export { WorkflowReasonProfile } from "./Extension_WorkflowReason"; +export { WorkflowStatusDescriptionProfile } from "./Extension_WorkflowStatusDescription"; +export { XhtmlRepresentationProfile } from "./Extension_XhtmlRepresentation"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/Sdcexample.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/Sdcexample.ts index 11e2db4f8..8f0ae17fd 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/Sdcexample.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/Sdcexample.ts @@ -8,12 +8,7 @@ import type { Element } from "../hl7-fhir-r4-core/Element"; export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; export type { Element } from "../hl7-fhir-r4-core/Element"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/structuredefinition-sdc-profile-example +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/structuredefinition-sdc-profile-example (pkg: hl7.fhir.uv.sdc#3.0.0) export interface SDCExample extends Element { - resourceType: "SDCExample"; - - gender?: CodeableConcept; -} -export const isSDCExample = (resource: unknown): resource is SDCExample => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SDCExample"; + gender?: CodeableConcept<("male" | "female" | "other" | "unknown")>; } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/SdcquestionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/SdcquestionLibrary.ts index 908f86ec6..c0bea3987 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/SdcquestionLibrary.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/SdcquestionLibrary.ts @@ -20,17 +20,12 @@ export interface sdc_question_libraryName extends Element { prefix?: string; } -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-question-library +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-question-library (pkg: hl7.fhir.uv.sdc#3.0.0) export interface SDCQuestionLibrary extends Resource { - resourceType: "SDCQuestionLibrary"; - - address?: Element; + address?: sdc_question_libraryAddress; dob?: string; _dob?: Element; - name?: Element; + name?: sdc_question_libraryName; sex?: ("male" | "female" | "other" | "unknown"); _sex?: Element; } -export const isSDCQuestionLibrary = (resource: unknown): resource is SDCQuestionLibrary => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SDCQuestionLibrary"; -} diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/index.ts index d401af0c0..494040242 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/index.ts @@ -1,5 +1,3 @@ export * from "./profiles"; -export type { SDCExample } from "./Sdcexample"; -export { isSDCExample } from "./Sdcexample"; -export type { SDCQuestionLibrary, sdc_question_libraryAddress, sdc_question_libraryName } from "./SdcquestionLibrary"; -export { isSDCQuestionLibrary } from "./SdcquestionLibrary"; +export type { SDCExample } from "./SDCExample"; +export type { SDCQuestionLibrary, sdc_question_libraryAddress, sdc_question_libraryName } from "./SDCQuestionLibrary"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdccodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/CodeSystem_SDCCodeSystem.ts similarity index 55% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdccodeSystem.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/CodeSystem_SDCCodeSystem.ts index 50eeea424..a23926a9c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdccodeSystem.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/CodeSystem_SDCCodeSystem.ts @@ -5,65 +5,123 @@ import type { CodeSystem } from "../../hl7-fhir-r4-core/CodeSystem"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem export interface SDCCodeSystem extends CodeSystem { caseSensitive: boolean; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCCodeSystemProfileParams = { + status: ("draft" | "active" | "retired" | "unknown"); + caseSensitive: boolean; + content: ("not-present" | "example" | "fragment" | "complete" | "supplement"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCCodeSystemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem" + private resource: CodeSystem constructor (resource: CodeSystem) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem") + } + + static from (resource: CodeSystem) : SDCCodeSystemProfile { + return new SDCCodeSystemProfile(resource) + } + + static createResource (args: SDCCodeSystemProfileParams) : CodeSystem { + const resource: CodeSystem = { + resourceType: "CodeSystem", + status: args.status, + caseSensitive: args.caseSensitive, + content: args.content, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem"] }, + } as unknown as CodeSystem + return resource + } + + static create (args: SDCCodeSystemProfileParams) : SDCCodeSystemProfile { + return SDCCodeSystemProfile.from(SDCCodeSystemProfile.createResource(args)) } toResource () : CodeSystem { return this.resource } + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getCaseSensitive () : boolean | undefined { + return this.resource.caseSensitive as boolean | undefined + } + + setCaseSensitive (value: boolean) : this { + Object.assign(this.resource, { caseSensitive: value }) + return this + } + + getContent () : ("not-present" | "example" | "fragment" | "complete" | "supplement") | undefined { + return this.resource.content as ("not-present" | "example" | "fragment" | "complete" | "supplement") | undefined + } + + setContent (value: ("not-present" | "example" | "fragment" | "complete" | "supplement")) : this { + Object.assign(this.resource, { content: value }) + return this + } + toProfile () : SDCCodeSystem { return this.resource as SDCCodeSystem } public setStyleSensitive (value: boolean): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", valueBoolean: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", valueBoolean: value } as Extension) return this } public setExtensionConceptDisplayConceptDisplayLabelRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["concept","display"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setExtensionConceptDisplayConceptDisplayLabelXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["concept","display"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public setExtensionConceptDesignationValueConceptDisplayLabelRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["concept","designation","value"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setExtensionConceptDesignationValueConceptDisplayLabelXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["concept","designation","value"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public getStyleSensitive (): boolean | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getStyleSensitiveExtension (): Extension | undefined { @@ -74,7 +132,7 @@ export class SDCCodeSystemProfile { public getConceptDisplayLabelRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["concept","display"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getConceptDisplayLabelRenderingStyleExtension (): Extension | undefined { @@ -86,7 +144,7 @@ export class SDCCodeSystemProfile { public getConceptDisplayLabelXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["concept","display"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getConceptDisplayLabelXhtmlExtension (): Extension | undefined { @@ -95,5 +153,16 @@ export class SDCCodeSystemProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "SDCCodeSystem"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCCodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "caseSensitive", "SDCCodeSystem"); if (e) errors.push(e) } + { const e = validateRequired(r, "content", "SDCCodeSystem"); if (e) errors.push(e) } + { const e = validateEnum(r["content"], ["not-present","example","fragment","complete","supplement"], "content", "SDCCodeSystem"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerExpressionExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerExpressionExtension.ts new file mode 100644 index 000000000..5b15a5038 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerExpressionExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression (pkg: hl7.fhir.uv.sdc#3.0.0) +export class AnswerExpressionExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AnswerExpressionExtensionProfile { + return new AnswerExpressionExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression", + } as unknown as Extension + return resource + } + + static create () : AnswerExpressionExtensionProfile { + return AnswerExpressionExtensionProfile.from(AnswerExpressionExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AnswerExpressionExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression", "AnswerExpressionExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerOptionsToggleExpressionExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerOptionsToggleExpressionExtension.ts new file mode 100644 index 000000000..66008ac16 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerOptionsToggleExpressionExtension.ts @@ -0,0 +1,98 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type AnswerOptionsToggleExpressionExtensionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression (pkg: hl7.fhir.uv.sdc#3.0.0) +export class AnswerOptionsToggleExpressionExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AnswerOptionsToggleExpressionExtensionProfile { + return new AnswerOptionsToggleExpressionExtensionProfile(resource) + } + + static createResource (args: AnswerOptionsToggleExpressionExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: AnswerOptionsToggleExpressionExtensionProfileParams) : AnswerOptionsToggleExpressionExtensionProfile { + return AnswerOptionsToggleExpressionExtensionProfile.from(AnswerOptionsToggleExpressionExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setOption (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "option", ...value }) + return this + } + + public setExpression (value: Expression): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expression", valueExpression: value } as Extension) + return this + } + + public getOption (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "option") + } + + public getExpression (): Expression | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return (ext as Record | undefined)?.valueExpression as Expression | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "AnswerOptionsToggleExpressionExtension"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "AnswerOptionsToggleExpressionExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression", "AnswerOptionsToggleExpressionExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleContextExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleContextExtension.ts new file mode 100644 index 000000000..fdf7f64c9 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleContextExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext (pkg: hl7.fhir.uv.sdc#3.0.0) +export class AssembleContextExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssembleContextExtensionProfile { + return new AssembleContextExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", + } as unknown as Extension + return resource + } + + static create () : AssembleContextExtensionProfile { + return AssembleContextExtensionProfile.from(AssembleContextExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssembleContextExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "AssembleContextExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleExpectation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleExpectation.ts new file mode 100644 index 000000000..caf13cfbe --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleExpectation.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation (pkg: hl7.fhir.uv.sdc#3.0.0) +export class AssembleExpectationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssembleExpectationProfile { + return new AssembleExpectationProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", + } as unknown as Extension + return resource + } + + static create () : AssembleExpectationProfile { + return AssembleExpectationProfile.from(AssembleExpectationProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssembleExpectation"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", "AssembleExpectation"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembledFromExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembledFromExtension.ts new file mode 100644 index 000000000..a901cf6b0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembledFromExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom (pkg: hl7.fhir.uv.sdc#3.0.0) +export class AssembledFromExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssembledFromExtensionProfile { + return new AssembledFromExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + } as unknown as Extension + return resource + } + + static create () : AssembledFromExtensionProfile { + return AssembledFromExtensionProfile.from(AssembledFromExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssembledFromExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", "AssembledFromExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CalculatedExpressionExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CalculatedExpressionExtension.ts new file mode 100644 index 000000000..3a74428f8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CalculatedExpressionExtension.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type CalculatedExpressionExtensionProfileParams = { + valueExpression: Expression; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression (pkg: hl7.fhir.uv.sdc#3.0.0) +export class CalculatedExpressionExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CalculatedExpressionExtensionProfile { + return new CalculatedExpressionExtensionProfile(resource) + } + + static createResource (args: CalculatedExpressionExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", + valueExpression: args.valueExpression, + } as unknown as Extension + return resource + } + + static create (args: CalculatedExpressionExtensionProfileParams) : CalculatedExpressionExtensionProfile { + return CalculatedExpressionExtensionProfile.from(CalculatedExpressionExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CalculatedExpressionExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "CalculatedExpressionExtension"); if (e) errors.push(e) } + if (!(r["valueExpression"] !== undefined)) { + errors.push("value: at least one of valueExpression is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CandidateExpressionExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CandidateExpressionExtension.ts new file mode 100644 index 000000000..4f2e002d8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CandidateExpressionExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression (pkg: hl7.fhir.uv.sdc#3.0.0) +export class CandidateExpressionExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CandidateExpressionExtensionProfile { + return new CandidateExpressionExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression", + } as unknown as Extension + return resource + } + + static create () : CandidateExpressionExtensionProfile { + return CandidateExpressionExtensionProfile.from(CandidateExpressionExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CandidateExpressionExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression", "CandidateExpressionExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ChoiceColumnExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ChoiceColumnExtension.ts new file mode 100644 index 000000000..229eb7ba0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ChoiceColumnExtension.ts @@ -0,0 +1,136 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ChoiceColumnExtensionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ChoiceColumnExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ChoiceColumnExtensionProfile { + return new ChoiceColumnExtensionProfile(resource) + } + + static createResource (args: ChoiceColumnExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ChoiceColumnExtensionProfileParams) : ChoiceColumnExtensionProfile { + return ChoiceColumnExtensionProfile.from(ChoiceColumnExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setPath (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "path", valueString: value } as Extension) + return this + } + + public setLabel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "label", valueString: value } as Extension) + return this + } + + public setWidth (value: Quantity): this { + const list = (this.resource.extension ??= []) + list.push({ url: "width", valueQuantity: value } as Extension) + return this + } + + public setForDisplay (value: boolean): this { + const list = (this.resource.extension ??= []) + list.push({ url: "forDisplay", valueBoolean: value } as Extension) + return this + } + + public getPath (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getPathExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "path") + return ext + } + + public getLabel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "label") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLabelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "label") + return ext + } + + public getWidth (): Quantity | undefined { + const ext = this.resource.extension?.find(e => e.url === "width") + return (ext as Record | undefined)?.valueQuantity as Quantity | undefined + } + + public getWidthExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "width") + return ext + } + + public getForDisplay (): boolean | undefined { + const ext = this.resource.extension?.find(e => e.url === "forDisplay") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getForDisplayExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "forDisplay") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "ChoiceColumnExtension"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "ChoiceColumnExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn", "ChoiceColumnExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CollapsibleExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CollapsibleExtension.ts new file mode 100644 index 000000000..08a26f012 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CollapsibleExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible (pkg: hl7.fhir.uv.sdc#3.0.0) +export class CollapsibleExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : CollapsibleExtensionProfile { + return new CollapsibleExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible", + } as unknown as Extension + return resource + } + + static create () : CollapsibleExtensionProfile { + return CollapsibleExtensionProfile.from(CollapsibleExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "CollapsibleExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible", "CollapsibleExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ContextExpressionExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ContextExpressionExtension.ts new file mode 100644 index 000000000..b98846f75 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ContextExpressionExtension.ts @@ -0,0 +1,104 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type ContextExpressionExtensionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-contextExpression (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ContextExpressionExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-contextExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ContextExpressionExtensionProfile { + return new ContextExpressionExtensionProfile(resource) + } + + static createResource (args: ContextExpressionExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-contextExpression", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: ContextExpressionExtensionProfileParams) : ContextExpressionExtensionProfile { + return ContextExpressionExtensionProfile.from(ContextExpressionExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setLabel (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "label", valueString: value } as Extension) + return this + } + + public setExpression (value: Expression): this { + const list = (this.resource.extension ??= []) + list.push({ url: "expression", valueExpression: value } as Extension) + return this + } + + public getLabel (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "label") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getLabelExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "label") + return ext + } + + public getExpression (): Expression | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return (ext as Record | undefined)?.valueExpression as Expression | undefined + } + + public getExpressionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "expression") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "ContextExpressionExtension"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "ContextExpressionExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-contextExpression", "ContextExpressionExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EnableWhenExpressionExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EnableWhenExpressionExtension.ts new file mode 100644 index 000000000..f816949b7 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EnableWhenExpressionExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression (pkg: hl7.fhir.uv.sdc#3.0.0) +export class EnableWhenExpressionExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EnableWhenExpressionExtensionProfile { + return new EnableWhenExpressionExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + } as unknown as Extension + return resource + } + + static create () : EnableWhenExpressionExtensionProfile { + return EnableWhenExpressionExtensionProfile.from(EnableWhenExpressionExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EnableWhenExpressionExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "EnableWhenExpressionExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EndpointExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EndpointExtension.ts new file mode 100644 index 000000000..656b6e821 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EndpointExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint (pkg: hl7.fhir.uv.sdc#3.0.0) +export class EndpointExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EndpointExtensionProfile { + return new EndpointExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint", + } as unknown as Extension + return resource + } + + static create () : EndpointExtensionProfile { + return EndpointExtensionProfile.from(EndpointExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUri () : string | undefined { + return this.resource.valueUri as string | undefined + } + + setValueUri (value: string) : this { + Object.assign(this.resource, { valueUri: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EndpointExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint", "EndpointExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EntryMode.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EntryMode.ts new file mode 100644 index 000000000..360d87650 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EntryMode.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode (pkg: hl7.fhir.uv.sdc#3.0.0) +export class EntryModeProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : EntryModeProfile { + return new EntryModeProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode", + } as unknown as Extension + return resource + } + + static create () : EntryModeProfile { + return EntryModeProfile.from(EntryModeProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "EntryMode"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode", "EntryMode"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_InitialExpressionExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_InitialExpressionExtension.ts new file mode 100644 index 000000000..606e32e35 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_InitialExpressionExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression (pkg: hl7.fhir.uv.sdc#3.0.0) +export class InitialExpressionExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : InitialExpressionExtensionProfile { + return new InitialExpressionExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + } as unknown as Extension + return resource + } + + static create () : InitialExpressionExtensionProfile { + return InitialExpressionExtensionProfile.from(InitialExpressionExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "InitialExpressionExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "InitialExpressionExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_IsSubjectExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_IsSubjectExtension.ts new file mode 100644 index 000000000..1f0eb748c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_IsSubjectExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-isSubject (pkg: hl7.fhir.uv.sdc#3.0.0) +export class IsSubjectExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-isSubject" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : IsSubjectExtensionProfile { + return new IsSubjectExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-isSubject", + } as unknown as Extension + return resource + } + + static create () : IsSubjectExtensionProfile { + return IsSubjectExtensionProfile.from(IsSubjectExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "IsSubjectExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-isSubject", "IsSubjectExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemAnswerMedia.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemAnswerMedia.ts new file mode 100644 index 000000000..691f607c2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemAnswerMedia.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r4-core/Attachment"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ItemAnswerMediaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ItemAnswerMediaProfile { + return new ItemAnswerMediaProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia", + } as unknown as Extension + return resource + } + + static create () : ItemAnswerMediaProfile { + return ItemAnswerMediaProfile.from(ItemAnswerMediaProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueAttachment () : Attachment | undefined { + return this.resource.valueAttachment as Attachment | undefined + } + + setValueAttachment (value: Attachment) : this { + Object.assign(this.resource, { valueAttachment: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ItemAnswerMedia"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia", "ItemAnswerMedia"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemExtractionContextExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemExtractionContextExtension.ts new file mode 100644 index 000000000..fc9144a59 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemExtractionContextExtension.ts @@ -0,0 +1,75 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ItemExtractionContextExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ItemExtractionContextExtensionProfile { + return new ItemExtractionContextExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext", + } as unknown as Extension + return resource + } + + static create () : ItemExtractionContextExtensionProfile { + return ItemExtractionContextExtensionProfile.from(ItemExtractionContextExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ItemExtractionContextExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext", "ItemExtractionContextExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemMedia.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemMedia.ts new file mode 100644 index 000000000..6d7f4149e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemMedia.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../../hl7-fhir-r4-core/Attachment"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ItemMediaProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ItemMediaProfile { + return new ItemMediaProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia", + } as unknown as Extension + return resource + } + + static create () : ItemMediaProfile { + return ItemMediaProfile.from(ItemMediaProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueAttachment () : Attachment | undefined { + return this.resource.valueAttachment as Attachment | undefined + } + + setValueAttachment (value: Attachment) : this { + Object.assign(this.resource, { valueAttachment: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ItemMedia"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia", "ItemMedia"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemPopulationContextExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemPopulationContextExtension.ts new file mode 100644 index 000000000..de1abfb66 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemPopulationContextExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Expression } from "../../hl7-fhir-r4-core/Expression"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ItemPopulationContextExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ItemPopulationContextExtensionProfile { + return new ItemPopulationContextExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + } as unknown as Extension + return resource + } + + static create () : ItemPopulationContextExtensionProfile { + return ItemPopulationContextExtensionProfile.from(ItemPopulationContextExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueExpression () : Expression | undefined { + return this.resource.valueExpression as Expression | undefined + } + + setValueExpression (value: Expression) : this { + Object.assign(this.resource, { valueExpression: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ItemPopulationContextExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", "ItemPopulationContextExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LaunchContextExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LaunchContextExtension.ts new file mode 100644 index 000000000..fbe53a2cb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LaunchContextExtension.ts @@ -0,0 +1,120 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type LaunchContextExtensionProfileParams = { + extension: Extension[]; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext (pkg: hl7.fhir.uv.sdc#3.0.0) +export class LaunchContextExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LaunchContextExtensionProfile { + return new LaunchContextExtensionProfile(resource) + } + + static createResource (args: LaunchContextExtensionProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + extension: args.extension, + } as unknown as Extension + return resource + } + + static create (args: LaunchContextExtensionProfileParams) : LaunchContextExtensionProfile { + return LaunchContextExtensionProfile.from(LaunchContextExtensionProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: Coding): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueCoding: value } as Extension) + return this + } + + public setType (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "type", valueCode: value } as Extension) + return this + } + + public setDescription (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "description", valueString: value } as Extension) + return this + } + + public getName (): Coding | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueCoding as Coding | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getType (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getTypeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "type") + return ext + } + + public getDescription (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getDescriptionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "description") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "LaunchContextExtension"); if (e) errors.push(e) } + { const e = validateRequired(r, "url", "LaunchContextExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", "LaunchContextExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LookupQuestionnaireExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LookupQuestionnaireExtension.ts new file mode 100644 index 000000000..fcbde3060 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LookupQuestionnaireExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire (pkg: hl7.fhir.uv.sdc#3.0.0) +export class LookupQuestionnaireExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : LookupQuestionnaireExtensionProfile { + return new LookupQuestionnaireExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire", + } as unknown as Extension + return resource + } + + static create () : LookupQuestionnaireExtensionProfile { + return LookupQuestionnaireExtensionProfile.from(LookupQuestionnaireExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "LookupQuestionnaireExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire", "LookupQuestionnaireExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MaxQuantityExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MaxQuantityExtension.ts new file mode 100644 index 000000000..ae97a827f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MaxQuantityExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity (pkg: hl7.fhir.uv.sdc#3.0.0) +export class MaxQuantityExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MaxQuantityExtensionProfile { + return new MaxQuantityExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity", + } as unknown as Extension + return resource + } + + static create () : MaxQuantityExtensionProfile { + return MaxQuantityExtensionProfile.from(MaxQuantityExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MaxQuantityExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity", "MaxQuantityExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MinQuantityExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MinQuantityExtension.ts new file mode 100644 index 000000000..6f6f1ffa5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MinQuantityExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity (pkg: hl7.fhir.uv.sdc#3.0.0) +export class MinQuantityExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : MinQuantityExtensionProfile { + return new MinQuantityExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity", + } as unknown as Extension + return resource + } + + static create () : MinQuantityExtensionProfile { + return MinQuantityExtensionProfile.from(MinQuantityExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "MinQuantityExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity", "MinQuantityExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractCategory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractCategory.ts new file mode 100644 index 000000000..d55d6423c --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractCategory.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ObservationExtractCategoryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObservationExtractCategoryProfile { + return new ObservationExtractCategoryProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category", + } as unknown as Extension + return resource + } + + static create () : ObservationExtractCategoryProfile { + return ObservationExtractCategoryProfile.from(ObservationExtractCategoryProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObservationExtractCategory"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category", "ObservationExtractCategory"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractExtension.ts new file mode 100644 index 000000000..fda7a48b6 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ObservationExtractExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObservationExtractExtensionProfile { + return new ObservationExtractExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract", + } as unknown as Extension + return resource + } + + static create () : ObservationExtractExtensionProfile { + return ObservationExtractExtensionProfile.from(ObservationExtractExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObservationExtractExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract", "ObservationExtractExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationLinkPeriodExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationLinkPeriodExtension.ts new file mode 100644 index 000000000..8840cd2cd --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationLinkPeriodExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Duration } from "../../hl7-fhir-r4-core/Duration"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ObservationLinkPeriodExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ObservationLinkPeriodExtensionProfile { + return new ObservationLinkPeriodExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod", + } as unknown as Extension + return resource + } + + static create () : ObservationLinkPeriodExtensionProfile { + return ObservationLinkPeriodExtensionProfile.from(ObservationLinkPeriodExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueDuration () : Duration | undefined { + return this.resource.valueDuration as Duration | undefined + } + + setValueDuration (value: Duration) : this { + Object.assign(this.resource, { valueDuration: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ObservationLinkPeriodExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod", "ObservationLinkPeriodExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_OptionalDisplayExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_OptionalDisplayExtension.ts new file mode 100644 index 000000000..e1e0f62e5 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_OptionalDisplayExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay (pkg: hl7.fhir.uv.sdc#3.0.0) +export class OptionalDisplayExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : OptionalDisplayExtensionProfile { + return new OptionalDisplayExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay", + } as unknown as Extension + return resource + } + + static create () : OptionalDisplayExtensionProfile { + return OptionalDisplayExtensionProfile.from(OptionalDisplayExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "OptionalDisplayExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay", "OptionalDisplayExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PerformerTypeExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PerformerTypeExtension.ts new file mode 100644 index 000000000..5cdad4cbf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PerformerTypeExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType (pkg: hl7.fhir.uv.sdc#3.0.0) +export class PerformerTypeExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PerformerTypeExtensionProfile { + return new PerformerTypeExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", + } as unknown as Extension + return resource + } + + static create () : PerformerTypeExtensionProfile { + return PerformerTypeExtensionProfile.from(PerformerTypeExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PerformerTypeExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", "PerformerTypeExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PreferredTerminologyServer.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PreferredTerminologyServer.ts new file mode 100644 index 000000000..9dd8eab51 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PreferredTerminologyServer.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer (pkg: hl7.fhir.uv.sdc#3.0.0) +export class PreferredTerminologyServerProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : PreferredTerminologyServerProfile { + return new PreferredTerminologyServerProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", + } as unknown as Extension + return resource + } + + static create () : PreferredTerminologyServerProfile { + return PreferredTerminologyServerProfile.from(PreferredTerminologyServerProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "PreferredTerminologyServer"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", "PreferredTerminologyServer"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_QuestionnaireAdaptiveExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_QuestionnaireAdaptiveExtension.ts new file mode 100644 index 000000000..19ba8344e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_QuestionnaireAdaptiveExtension.ts @@ -0,0 +1,74 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive (pkg: hl7.fhir.uv.sdc#3.0.0) +export class QuestionnaireAdaptiveExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : QuestionnaireAdaptiveExtensionProfile { + return new QuestionnaireAdaptiveExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive", + } as unknown as Extension + return resource + } + + static create () : QuestionnaireAdaptiveExtensionProfile { + return QuestionnaireAdaptiveExtensionProfile.from(QuestionnaireAdaptiveExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + getValueUrl () : string | undefined { + return this.resource.valueUrl as string | undefined + } + + setValueUrl (value: string) : this { + Object.assign(this.resource, { valueUrl: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "QuestionnaireAdaptiveExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive", "QuestionnaireAdaptiveExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ReferencesContained.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ReferencesContained.ts new file mode 100644 index 000000000..996578463 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ReferencesContained.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-referencesContained (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ReferencesContainedProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-referencesContained" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ReferencesContainedProfile { + return new ReferencesContainedProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-referencesContained", + } as unknown as Extension + return resource + } + + static create () : ReferencesContainedProfile { + return ReferencesContainedProfile.from(ReferencesContainedProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ReferencesContained"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-referencesContained", "ReferencesContained"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCOpenLabel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCOpenLabel.ts new file mode 100644 index 000000000..436ddda8a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCOpenLabel.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SDCOpenLabelProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDCOpenLabelProfile { + return new SDCOpenLabelProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", + } as unknown as Extension + return resource + } + + static create () : SDCOpenLabelProfile { + return SDCOpenLabelProfile.from(SDCOpenLabelProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCOpenLabel"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", "SDCOpenLabel"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCServiceRequestQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCServiceRequestQuestionnaire.ts new file mode 100644 index 000000000..d9ed80c08 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCServiceRequestQuestionnaire.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SDCServiceRequestQuestionnaireProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SDCServiceRequestQuestionnaireProfile { + return new SDCServiceRequestQuestionnaireProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire", + } as unknown as Extension + return resource + } + + static create () : SDCServiceRequestQuestionnaireProfile { + return SDCServiceRequestQuestionnaireProfile.from(SDCServiceRequestQuestionnaireProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCServiceRequestQuestionnaire"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire", "SDCServiceRequestQuestionnaire"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ShortTextExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ShortTextExtension.ts new file mode 100644 index 000000000..6bf17ab56 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ShortTextExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText (pkg: hl7.fhir.uv.sdc#3.0.0) +export class ShortTextExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : ShortTextExtensionProfile { + return new ShortTextExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", + } as unknown as Extension + return resource + } + + static create () : ShortTextExtensionProfile { + return ShortTextExtensionProfile.from(ShortTextExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "ShortTextExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "ShortTextExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceQueriesExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceQueriesExtension.ts new file mode 100644 index 000000000..fef406ab4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceQueriesExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SourceQueriesExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SourceQueriesExtensionProfile { + return new SourceQueriesExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries", + } as unknown as Extension + return resource + } + + static create () : SourceQueriesExtensionProfile { + return SourceQueriesExtensionProfile.from(SourceQueriesExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueReference () : Reference | undefined { + return this.resource.valueReference as Reference | undefined + } + + setValueReference (value: Reference) : this { + Object.assign(this.resource, { valueReference: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SourceQueriesExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries", "SourceQueriesExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceStructureMapExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceStructureMapExtension.ts new file mode 100644 index 000000000..539f3bf00 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceStructureMapExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SourceStructureMapExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SourceStructureMapExtensionProfile { + return new SourceStructureMapExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap", + } as unknown as Extension + return resource + } + + static create () : SourceStructureMapExtensionProfile { + return SourceStructureMapExtensionProfile.from(SourceStructureMapExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SourceStructureMapExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap", "SourceStructureMapExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SubQuestionnaireExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SubQuestionnaireExtension.ts new file mode 100644 index 000000000..fd2b04704 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SubQuestionnaireExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SubQuestionnaireExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SubQuestionnaireExtensionProfile { + return new SubQuestionnaireExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", + } as unknown as Extension + return resource + } + + static create () : SubQuestionnaireExtensionProfile { + return SubQuestionnaireExtensionProfile.from(SubQuestionnaireExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SubQuestionnaireExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", "SubQuestionnaireExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_TargetStructureMapExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_TargetStructureMapExtension.ts new file mode 100644 index 000000000..d8261b866 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_TargetStructureMapExtension.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap (pkg: hl7.fhir.uv.sdc#3.0.0) +export class TargetStructureMapExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : TargetStructureMapExtensionProfile { + return new TargetStructureMapExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", + } as unknown as Extension + return resource + } + + static create () : TargetStructureMapExtensionProfile { + return TargetStructureMapExtensionProfile.from(TargetStructureMapExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "TargetStructureMapExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", "TargetStructureMapExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitOpen.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitOpen.ts new file mode 100644 index 000000000..a41501f70 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitOpen.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UnitOpenProfileParams = { + valueCode: string; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen (pkg: hl7.fhir.uv.sdc#3.0.0) +export class UnitOpenProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UnitOpenProfile { + return new UnitOpenProfile(resource) + } + + static createResource (args: UnitOpenProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen", + valueCode: args.valueCode, + } as unknown as Extension + return resource + } + + static create (args: UnitOpenProfileParams) : UnitOpenProfile { + return UnitOpenProfile.from(UnitOpenProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "UnitOpen"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen", "UnitOpen"); if (e) errors.push(e) } + if (!(r["valueCode"] !== undefined)) { + errors.push("value: at least one of valueCode is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitSupplementalSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitSupplementalSystem.ts new file mode 100644 index 000000000..3d39c0ea1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitSupplementalSystem.ts @@ -0,0 +1,73 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UnitSupplementalSystemProfileParams = { + valueCanonical: string; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem (pkg: hl7.fhir.uv.sdc#3.0.0) +export class UnitSupplementalSystemProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : UnitSupplementalSystemProfile { + return new UnitSupplementalSystemProfile(resource) + } + + static createResource (args: UnitSupplementalSystemProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem", + valueCanonical: args.valueCanonical, + } as unknown as Extension + return resource + } + + static create (args: UnitSupplementalSystemProfileParams) : UnitSupplementalSystemProfile { + return UnitSupplementalSystemProfile.from(UnitSupplementalSystemProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + + getValueCanonical () : string | undefined { + return this.resource.valueCanonical as string | undefined + } + + setValueCanonical (value: string) : this { + Object.assign(this.resource, { valueCanonical: value }) + return this + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "UnitSupplementalSystem"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem", "UnitSupplementalSystem"); if (e) errors.push(e) } + if (!(r["valueCanonical"] !== undefined)) { + errors.push("value: at least one of valueCanonical is required") + } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_WidthExtension.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_WidthExtension.ts new file mode 100644 index 000000000..846bb0349 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_WidthExtension.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width (pkg: hl7.fhir.uv.sdc#3.0.0) +export class WidthExtensionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : WidthExtensionProfile { + return new WidthExtensionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width", + } as unknown as Extension + return resource + } + + static create () : WidthExtensionProfile { + return WidthExtensionProfile.from(WidthExtensionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueQuantity () : Quantity | undefined { + return this.resource.valueQuantity as Quantity | undefined + } + + setValueQuantity (value: Quantity) : this { + Object.assign(this.resource, { valueQuantity: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "WidthExtension"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width", "WidthExtension"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Sdclibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Library_SDCLibrary.ts similarity index 63% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Sdclibrary.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Library_SDCLibrary.ts index 8e8dbf33c..b0c27532a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Sdclibrary.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Library_SDCLibrary.ts @@ -3,26 +3,59 @@ // Any manual changes made to this file may be overwritten. import type { Attachment } from "../../hl7-fhir-r4-core/Attachment"; +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; import type { Library } from "../../hl7-fhir-r4-core/Library"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library export type SDCLibrary_Content_CqlContentSliceInput = Omit & Required>; export type SDCLibrary_Content_FhirpathContentSliceInput = Omit & Required>; export type SDCLibrary_Content_QueryContentSliceInput = Omit & Required>; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCLibraryProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library" + private resource: Library constructor (resource: Library) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library") + } + + static from (resource: Library) : SDCLibraryProfile { + return new SDCLibraryProfile(resource) + } + + static createResource () : Library { + const resource: Library = { + resourceType: "Library", + type: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library","display":"Logic Library"}]}, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library"] }, + } as unknown as Library + return resource + } + + static create () : SDCLibraryProfile { + return SDCLibraryProfile.from(SDCLibraryProfile.createResource()) } toResource () : Library { return this.resource } + getType () : CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined { + return this.resource.type as CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)> | undefined + } + + setType (value: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>) : this { + Object.assign(this.resource, { type: value }) + return this + } + public setCqlContent (input: SDCLibrary_Content_CqlContentSliceInput): this { const match = {"contentType":"text/cql"} as Record const value = applySliceMatch(input as Record, match) as unknown as Attachment @@ -113,5 +146,16 @@ export class SDCLibraryProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "SDCLibrary"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library","display":"Logic Library"}]}, "SDCLibrary"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["content"] as unknown[] | undefined, {"contentType":"text/cql"}, "cqlContent", 0, 1, "SDCLibrary.content")) + errors.push(...validateSliceCardinality(r["content"] as unknown[] | undefined, {"contentType":"text/fhirpath"}, "fhirpathContent", 0, 1, "SDCLibrary.content")) + errors.push(...validateSliceCardinality(r["content"] as unknown[] | undefined, {"contentType":"application/x-fhir-query"}, "queryContent", 0, 1, "SDCLibrary.content")) + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireAssembleOut.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireAssembleOut.ts similarity index 51% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireAssembleOut.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireAssembleOut.ts index 858c578f5..ae6d2dc0b 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireAssembleOut.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireAssembleOut.ts @@ -5,24 +5,63 @@ import type { Parameters } from "../../hl7-fhir-r4-core/Parameters"; import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-assemble-out export type SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput = Omit; export type SDCParametersQuestionnaireAssembleOut_Parameter_PartSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCParametersQuestionnaireAssembleOutProfileParams = { + parameter?: ParametersParameter[]; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-assemble-out (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCParametersQuestionnaireAssembleOutProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-assemble-out" + private resource: Parameters constructor (resource: Parameters) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-assemble-out")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-assemble-out") + } + + static from (resource: Parameters) : SDCParametersQuestionnaireAssembleOutProfile { + return new SDCParametersQuestionnaireAssembleOutProfile(resource) + } + + static createResource (args: SDCParametersQuestionnaireAssembleOutProfileParams) : Parameters { + const parameterDefaults = [{"name":"return"}] as unknown[] + const parameterWithDefaults = [...(args.parameter ?? [])] as unknown[] + if (!parameterWithDefaults.some(item => matchesSlice(item, {"name":"return"} as Record))) parameterWithDefaults.push(parameterDefaults[0]!) + const resource: Parameters = { + resourceType: "Parameters", + parameter: parameterWithDefaults, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-assemble-out"] }, + } as unknown as Parameters + return resource + } + + static create (args: SDCParametersQuestionnaireAssembleOutProfileParams) : SDCParametersQuestionnaireAssembleOutProfile { + return SDCParametersQuestionnaireAssembleOutProfile.from(SDCParametersQuestionnaireAssembleOutProfile.createResource(args)) } toResource () : Parameters { return this.resource } - public setReturn (input?: SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput): this { + getParameter () : ParametersParameter[] | undefined { + return this.resource.parameter as ParametersParameter[] | undefined + } + + setParameter (value: ParametersParameter[]) : this { + Object.assign(this.resource, { parameter: value }) + return this + } + + public setReturn_ (input?: SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput): this { const match = {"name":"return"} as Record const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ParametersParameter const list = (this.resource.parameter ??= []) @@ -48,7 +87,7 @@ export class SDCParametersQuestionnaireAssembleOutProfile { return this } - public getReturn (): SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput | undefined { + public getReturn_ (): SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput | undefined { const match = {"name":"return"} as Record const list = this.resource.parameter if (!list) return undefined @@ -57,7 +96,7 @@ export class SDCParametersQuestionnaireAssembleOutProfile { return extractSliceSimplified(item as unknown as Record, ["name"]) as SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput } - public getReturnRaw (): ParametersParameter | undefined { + public getReturn_Raw (): ParametersParameter | undefined { const match = {"name":"return"} as Record const list = this.resource.parameter if (!list) return undefined @@ -82,5 +121,13 @@ export class SDCParametersQuestionnaireAssembleOutProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + errors.push(...validateSliceCardinality(r["parameter"] as unknown[] | undefined, {"name":"return"}, "return", 1, 1, "SDCParametersQuestionnaireAssembleOut.parameter")) + errors.push(...validateSliceCardinality(r["parameter"] as unknown[] | undefined, {"name":"outcome"}, "part", 0, 1, "SDCParametersQuestionnaireAssembleOut.parameter")) + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireNextQuestionnaireIn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireIn.ts similarity index 55% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireNextQuestionnaireIn.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireIn.ts index 9663c5718..61e6575a4 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireNextQuestionnaireIn.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireIn.ts @@ -5,16 +5,38 @@ import type { Parameters } from "../../hl7-fhir-r4-core/Parameters"; import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in export type SDCParametersQuestionnaireNextQuestionnaireIn_Parameter_InSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCParametersQuestionnaireNextQuestionnaireInProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in" + private resource: Parameters constructor (resource: Parameters) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in") + } + + static from (resource: Parameters) : SDCParametersQuestionnaireNextQuestionnaireInProfile { + return new SDCParametersQuestionnaireNextQuestionnaireInProfile(resource) + } + + static createResource () : Parameters { + const resource: Parameters = { + resourceType: "Parameters", + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in"] }, + } as unknown as Parameters + return resource + } + + static create () : SDCParametersQuestionnaireNextQuestionnaireInProfile { + return SDCParametersQuestionnaireNextQuestionnaireInProfile.from(SDCParametersQuestionnaireNextQuestionnaireInProfile.createResource()) } toResource () : Parameters { @@ -51,5 +73,11 @@ export class SDCParametersQuestionnaireNextQuestionnaireInProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireNextQuestionnaireOut.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireOut.ts similarity index 55% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireNextQuestionnaireOut.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireOut.ts index 43e182062..3aeddb0f9 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireNextQuestionnaireOut.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireOut.ts @@ -5,16 +5,38 @@ import type { Parameters } from "../../hl7-fhir-r4-core/Parameters"; import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-out export type SDCParametersQuestionnaireNextQuestionnaireOut_Parameter_OutSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-out (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCParametersQuestionnaireNextQuestionnaireOutProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-out" + private resource: Parameters constructor (resource: Parameters) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-out")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-out") + } + + static from (resource: Parameters) : SDCParametersQuestionnaireNextQuestionnaireOutProfile { + return new SDCParametersQuestionnaireNextQuestionnaireOutProfile(resource) + } + + static createResource () : Parameters { + const resource: Parameters = { + resourceType: "Parameters", + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-out"] }, + } as unknown as Parameters + return resource + } + + static create () : SDCParametersQuestionnaireNextQuestionnaireOutProfile { + return SDCParametersQuestionnaireNextQuestionnaireOutProfile.from(SDCParametersQuestionnaireNextQuestionnaireOutProfile.createResource()) } toResource () : Parameters { @@ -51,5 +73,11 @@ export class SDCParametersQuestionnaireNextQuestionnaireOutProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireProcessResponseIn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireProcessResponseIn.ts similarity index 55% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireProcessResponseIn.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireProcessResponseIn.ts index 5f88cd7d1..eaf5edb37 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireProcessResponseIn.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireProcessResponseIn.ts @@ -5,16 +5,38 @@ import type { Parameters } from "../../hl7-fhir-r4-core/Parameters"; import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-process-response-in export type SDCParametersQuestionnaireProcessResponseIn_Parameter_InSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-process-response-in (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCParametersQuestionnaireProcessResponseInProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-process-response-in" + private resource: Parameters constructor (resource: Parameters) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-process-response-in")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-process-response-in") + } + + static from (resource: Parameters) : SDCParametersQuestionnaireProcessResponseInProfile { + return new SDCParametersQuestionnaireProcessResponseInProfile(resource) + } + + static createResource () : Parameters { + const resource: Parameters = { + resourceType: "Parameters", + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-process-response-in"] }, + } as unknown as Parameters + return resource + } + + static create () : SDCParametersQuestionnaireProcessResponseInProfile { + return SDCParametersQuestionnaireProcessResponseInProfile.from(SDCParametersQuestionnaireProcessResponseInProfile.createResource()) } toResource () : Parameters { @@ -51,5 +73,11 @@ export class SDCParametersQuestionnaireProcessResponseInProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireResponseExtractIn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireResponseExtractIn.ts similarity index 55% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireResponseExtractIn.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireResponseExtractIn.ts index 899ba3d0a..234cc03e7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcparametersQuestionnaireResponseExtractIn.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireResponseExtractIn.ts @@ -5,16 +5,38 @@ import type { Parameters } from "../../hl7-fhir-r4-core/Parameters"; import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaireresponse-extract-in export type SDCParametersQuestionnaireResponseExtractIn_Parameter_InSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaireresponse-extract-in (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCParametersQuestionnaireResponseExtractInProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaireresponse-extract-in" + private resource: Parameters constructor (resource: Parameters) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaireresponse-extract-in")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaireresponse-extract-in") + } + + static from (resource: Parameters) : SDCParametersQuestionnaireResponseExtractInProfile { + return new SDCParametersQuestionnaireResponseExtractInProfile(resource) + } + + static createResource () : Parameters { + const resource: Parameters = { + resourceType: "Parameters", + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaireresponse-extract-in"] }, + } as unknown as Parameters + return resource + } + + static create () : SDCParametersQuestionnaireResponseExtractInProfile { + return SDCParametersQuestionnaireResponseExtractInProfile.from(SDCParametersQuestionnaireResponseExtractInProfile.createResource()) } toResource () : Parameters { @@ -51,5 +73,11 @@ export class SDCParametersQuestionnaireResponseExtractInProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponse.ts similarity index 59% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireResponse.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponse.ts index f73e5f816..a52b809c0 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireResponse.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponse.ts @@ -8,79 +8,137 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { QuestionnaireResponse } from "../../hl7-fhir-r4-core/QuestionnaireResponse"; import type { Signature } from "../../hl7-fhir-r4-core/Signature"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse export interface SDCQuestionnaireResponse extends QuestionnaireResponse { questionnaire: string; authored: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnaireResponseProfileParams = { + questionnaire: string; + status: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped"); + authored: string; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnaireResponseProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" + private resource: QuestionnaireResponse constructor (resource: QuestionnaireResponse) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse") + } + + static from (resource: QuestionnaireResponse) : SDCQuestionnaireResponseProfile { + return new SDCQuestionnaireResponseProfile(resource) + } + + static createResource (args: SDCQuestionnaireResponseProfileParams) : QuestionnaireResponse { + const resource: QuestionnaireResponse = { + resourceType: "QuestionnaireResponse", + questionnaire: args.questionnaire, + status: args.status, + authored: args.authored, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse"] }, + } as unknown as QuestionnaireResponse + return resource + } + + static create (args: SDCQuestionnaireResponseProfileParams) : SDCQuestionnaireResponseProfile { + return SDCQuestionnaireResponseProfile.from(SDCQuestionnaireResponseProfile.createResource(args)) } toResource () : QuestionnaireResponse { return this.resource } + getQuestionnaire () : string | undefined { + return this.resource.questionnaire as string | undefined + } + + setQuestionnaire (value: string) : this { + Object.assign(this.resource, { questionnaire: value }) + return this + } + + getStatus () : ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped") | undefined { + return this.resource.status as ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped") | undefined + } + + setStatus (value: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getAuthored () : string | undefined { + return this.resource.authored as string | undefined + } + + setAuthored (value: string) : this { + Object.assign(this.resource, { authored: value }) + return this + } + toProfile () : SDCQuestionnaireResponse { return this.resource as SDCQuestionnaireResponse } public setSignature (value: Signature): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", valueSignature: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", valueSignature: value } as Extension) return this } public setCompletionMode (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode", valueCodeableConcept: value } as Extension) return this } public setQuestionnaireDisplay (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["questionnaire"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/display", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/display", valueString: value } as Extension) return this } public setItemMedia (value: Attachment): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia", valueAttachment: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia", valueAttachment: value } as Extension) return this } public setItemSignature (value: Signature): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", valueSignature: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature", valueSignature: value } as Extension) return this } public setItemAnswerMedia (value: Attachment): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answer"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia", valueAttachment: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia", valueAttachment: value } as Extension) return this } public setOrdinalValue (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answer"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/ordinalValue", valueDecimal: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/ordinalValue", valueDecimal: value } as Extension) return this } public getSignature (): Signature | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature") - return ext?.valueSignature + return (ext as Record | undefined)?.valueSignature as Signature | undefined } public getSignatureExtension (): Extension | undefined { @@ -90,7 +148,7 @@ export class SDCQuestionnaireResponseProfile { public getCompletionMode (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getCompletionModeExtension (): Extension | undefined { @@ -101,7 +159,7 @@ export class SDCQuestionnaireResponseProfile { public getQuestionnaireDisplay (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["questionnaire"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/display") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getQuestionnaireDisplayExtension (): Extension | undefined { @@ -113,7 +171,7 @@ export class SDCQuestionnaireResponseProfile { public getItemMedia (): Attachment | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia") - return ext?.valueAttachment + return (ext as Record | undefined)?.valueAttachment as Attachment | undefined } public getItemMediaExtension (): Extension | undefined { @@ -125,7 +183,7 @@ export class SDCQuestionnaireResponseProfile { public getItemSignature (): Signature | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature") - return ext?.valueSignature + return (ext as Record | undefined)?.valueSignature as Signature | undefined } public getItemSignatureExtension (): Extension | undefined { @@ -137,7 +195,7 @@ export class SDCQuestionnaireResponseProfile { public getItemAnswerMedia (): Attachment | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answer"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia") - return ext?.valueAttachment + return (ext as Record | undefined)?.valueAttachment as Attachment | undefined } public getItemAnswerMediaExtension (): Extension | undefined { @@ -149,7 +207,7 @@ export class SDCQuestionnaireResponseProfile { public getOrdinalValue (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answer"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/ordinalValue") - return ext?.valueDecimal + return (ext as Record | undefined)?.valueDecimal as number | undefined } public getOrdinalValueExtension (): Extension | undefined { @@ -158,5 +216,21 @@ export class SDCQuestionnaireResponseProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateReference(r["basedOn"], ["CarePlan","ServiceRequest"], "basedOn", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateReference(r["partOf"], ["Observation","Procedure"], "partOf", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateRequired(r, "questionnaire", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["in-progress","completed","amended","entered-in-error","stopped"], "status", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Resource"], "subject", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateReference(r["encounter"], ["Encounter"], "encounter", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateRequired(r, "authored", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateReference(r["author"], ["Device","Organization","Patient","Practitioner","PractitionerRole","RelatedPerson"], "author", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + { const e = validateReference(r["source"], ["Patient","Practitioner","PractitionerRole","RelatedPerson"], "source", "SDCQuestionnaireResponse"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponseAdapt.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponseAdapt.ts new file mode 100644 index 000000000..d61faa4b2 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponseAdapt.ts @@ -0,0 +1,128 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { QuestionnaireResponse } from "../../hl7-fhir-r4-core/QuestionnaireResponse"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { Resource } from "../../hl7-fhir-r4-core/Resource"; + +export interface SDCQuestionnaireResponseAdapt extends QuestionnaireResponse { + questionnaire: string; + subject: Reference<"Resource" /* 'Patient' */ >; + authored: string; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDCQuestionnaireResponseAdaptProfileParams = { + contained: Resource[]; + questionnaire: string; + status: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped"); + subject: Reference<"Patient">; + authored: string; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SDCQuestionnaireResponseAdaptProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt" + + private resource: QuestionnaireResponse + + constructor (resource: QuestionnaireResponse) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt") + } + + static from (resource: QuestionnaireResponse) : SDCQuestionnaireResponseAdaptProfile { + return new SDCQuestionnaireResponseAdaptProfile(resource) + } + + static createResource (args: SDCQuestionnaireResponseAdaptProfileParams) : QuestionnaireResponse { + const resource: QuestionnaireResponse = { + resourceType: "QuestionnaireResponse", + contained: args.contained, + questionnaire: args.questionnaire, + status: args.status, + subject: args.subject, + authored: args.authored, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt"] }, + } as unknown as QuestionnaireResponse + return resource + } + + static create (args: SDCQuestionnaireResponseAdaptProfileParams) : SDCQuestionnaireResponseAdaptProfile { + return SDCQuestionnaireResponseAdaptProfile.from(SDCQuestionnaireResponseAdaptProfile.createResource(args)) + } + + toResource () : QuestionnaireResponse { + return this.resource + } + + getContained () : Resource[] | undefined { + return this.resource.contained as Resource[] | undefined + } + + setContained (value: Resource[]) : this { + Object.assign(this.resource, { contained: value }) + return this + } + + getQuestionnaire () : string | undefined { + return this.resource.questionnaire as string | undefined + } + + setQuestionnaire (value: string) : this { + Object.assign(this.resource, { questionnaire: value }) + return this + } + + getStatus () : ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped") | undefined { + return this.resource.status as ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped") | undefined + } + + setStatus (value: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined + } + + setSubject (value: Reference<"Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getAuthored () : string | undefined { + return this.resource.authored as string | undefined + } + + setAuthored (value: string) : this { + Object.assign(this.resource, { authored: value }) + return this + } + + toProfile () : SDCQuestionnaireResponseAdapt { + return this.resource as SDCQuestionnaireResponseAdapt + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "contained", "SDCQuestionnaireResponseAdapt"); if (e) errors.push(e) } + { const e = validateRequired(r, "questionnaire", "SDCQuestionnaireResponseAdapt"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireResponseAdapt"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["in-progress","completed","amended","entered-in-error","stopped"], "status", "SDCQuestionnaireResponseAdapt"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "SDCQuestionnaireResponseAdapt"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Patient"], "subject", "SDCQuestionnaireResponseAdapt"); if (e) errors.push(e) } + { const e = validateRequired(r, "authored", "SDCQuestionnaireResponseAdapt"); if (e) errors.push(e) } + { const e = validateReference(r["author"], ["Device","Organization","Patient","Practitioner","PractitionerRole","RelatedPerson"], "author", "SDCQuestionnaireResponseAdapt"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcbaseQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCBaseQuestionnaire.ts similarity index 57% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcbaseQuestionnaire.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCBaseQuestionnaire.ts index e0cac9046..2f36460b8 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcbaseQuestionnaire.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCBaseQuestionnaire.ts @@ -5,69 +5,116 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire export interface SDCBaseQuestionnaire extends Questionnaire { url: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCBaseQuestionnaireProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCBaseQuestionnaireProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire") + } + + static from (resource: Questionnaire) : SDCBaseQuestionnaireProfile { + return new SDCBaseQuestionnaireProfile(resource) + } + + static createResource (args: SDCBaseQuestionnaireProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCBaseQuestionnaireProfileParams) : SDCBaseQuestionnaireProfile { + return SDCBaseQuestionnaireProfile.from(SDCBaseQuestionnaireProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCBaseQuestionnaire { return this.resource as SDCBaseQuestionnaire } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -77,7 +124,7 @@ export class SDCBaseQuestionnaireProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -87,7 +134,7 @@ export class SDCBaseQuestionnaireProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -97,7 +144,7 @@ export class SDCBaseQuestionnaireProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -105,5 +152,14 @@ export class SDCBaseQuestionnaireProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCBaseQuestionnaire"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCBaseQuestionnaire"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCBaseQuestionnaire"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcmodularQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCModularQuestionnaire.ts similarity index 63% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcmodularQuestionnaire.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCModularQuestionnaire.ts index fb157c101..69364b646 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcmodularQuestionnaire.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCModularQuestionnaire.ts @@ -5,82 +5,129 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular export interface SDCModularQuestionnaire extends Questionnaire { url: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCModularQuestionnaireProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCModularQuestionnaireProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular") + } + + static from (resource: Questionnaire) : SDCModularQuestionnaireProfile { + return new SDCModularQuestionnaireProfile(resource) + } + + static createResource (args: SDCModularQuestionnaireProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCModularQuestionnaireProfileParams) : SDCModularQuestionnaireProfile { + return SDCModularQuestionnaireProfile.from(SDCModularQuestionnaireProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCModularQuestionnaire { return this.resource as SDCModularQuestionnaire } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setAssembleContext (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", valueString: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", valueString: value } as Extension) return this } public setSubQuestionnaire (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", valueCanonical: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", valueCanonical: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -90,7 +137,7 @@ export class SDCModularQuestionnaireProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -100,7 +147,7 @@ export class SDCModularQuestionnaireProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -110,7 +157,7 @@ export class SDCModularQuestionnaireProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -120,7 +167,7 @@ export class SDCModularQuestionnaireProfile { public getAssembleContext (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getAssembleContextExtension (): Extension | undefined { @@ -131,7 +178,7 @@ export class SDCModularQuestionnaireProfile { public getSubQuestionnaire (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getSubQuestionnaireExtension (): Extension | undefined { @@ -140,5 +187,14 @@ export class SDCModularQuestionnaireProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCModularQuestionnaire"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCModularQuestionnaire"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCModularQuestionnaire"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdapt.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdapt.ts new file mode 100644 index 000000000..8c5642484 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdapt.ts @@ -0,0 +1,129 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; + +export interface SDCQuestionnaireAdapt extends Questionnaire { + title: string; + derivedFrom: string[]; +} + +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDCQuestionnaireAdaptProfileParams = { + title: string; + derivedFrom: string[]; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SDCQuestionnaireAdaptProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt" + + private resource: Questionnaire + + constructor (resource: Questionnaire) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt") + } + + static from (resource: Questionnaire) : SDCQuestionnaireAdaptProfile { + return new SDCQuestionnaireAdaptProfile(resource) + } + + static createResource (args: SDCQuestionnaireAdaptProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + title: args.title, + derivedFrom: args.derivedFrom, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnaireAdaptProfileParams) : SDCQuestionnaireAdaptProfile { + return SDCQuestionnaireAdaptProfile.from(SDCQuestionnaireAdaptProfile.createResource(args)) + } + + toResource () : Questionnaire { + return this.resource + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getDerivedFrom () : string[] | undefined { + return this.resource.derivedFrom as string[] | undefined + } + + setDerivedFrom (value: string[]) : this { + Object.assign(this.resource, { derivedFrom: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + toProfile () : SDCQuestionnaireAdapt { + return this.resource as SDCQuestionnaireAdapt + } + + public setQuestionnaireAdaptive (value: Omit): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive", ...value }) + return this + } + + public setHidden (value: boolean): this { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) + if (!Array.isArray(target.extension)) target.extension = [] as Extension[] + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value } as Extension) + return this + } + + public getQuestionnaireAdaptive (): Extension | undefined { + return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive") + } + + public getHidden (): boolean | undefined { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) + const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") + return (ext as Record | undefined)?.valueBoolean as boolean | undefined + } + + public getHiddenExtension (): Extension | undefined { + const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) + const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "title", "SDCQuestionnaireAdapt"); if (e) errors.push(e) } + { const e = validateRequired(r, "derivedFrom", "SDCQuestionnaireAdapt"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireAdapt"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnaireAdapt"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireAdaptSearch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdaptSearch.ts similarity index 58% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireAdaptSearch.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdaptSearch.ts index 469b49c94..341be7e31 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireAdaptSearch.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdaptSearch.ts @@ -5,71 +5,140 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch export interface SDCQuestionnaireAdaptSearch extends Questionnaire { url: string; title: string; date: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnaireAdaptSearchProfileParams = { + url: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnaireAdaptSearchProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch") + } + + static from (resource: Questionnaire) : SDCQuestionnaireAdaptSearchProfile { + return new SDCQuestionnaireAdaptSearchProfile(resource) + } + + static createResource (args: SDCQuestionnaireAdaptSearchProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + title: args.title, + status: args.status, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt-srch"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnaireAdaptSearchProfileParams) : SDCQuestionnaireAdaptSearchProfile { + return SDCQuestionnaireAdaptSearchProfile.from(SDCQuestionnaireAdaptSearchProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + toProfile () : SDCQuestionnaireAdaptSearch { return this.resource as SDCQuestionnaireAdaptSearch } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setAssembledFrom (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", valueCanonical: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", valueCanonical: value } as Extension) return this } @@ -81,13 +150,13 @@ export class SDCQuestionnaireAdaptSearchProfile { public setSubmissionEndpoint (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint", valueUri: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint", valueUri: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -97,7 +166,7 @@ export class SDCQuestionnaireAdaptSearchProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -107,7 +176,7 @@ export class SDCQuestionnaireAdaptSearchProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -117,7 +186,7 @@ export class SDCQuestionnaireAdaptSearchProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -127,7 +196,7 @@ export class SDCQuestionnaireAdaptSearchProfile { public getAssembledFrom (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getAssembledFromExtension (): Extension | undefined { @@ -141,7 +210,7 @@ export class SDCQuestionnaireAdaptSearchProfile { public getSubmissionEndpoint (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint") - return ext?.valueUri + return (ext as Record | undefined)?.valueUri as string | undefined } public getSubmissionEndpointExtension (): Extension | undefined { @@ -149,5 +218,16 @@ export class SDCQuestionnaireAdaptSearchProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnaireAdaptSearch"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "SDCQuestionnaireAdaptSearch"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireAdaptSearch"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnaireAdaptSearch"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "SDCQuestionnaireAdaptSearch"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireBehave.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireBehave.ts similarity index 86% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireBehave.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireBehave.ts index 84d3376d6..601962a88 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireBehave.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireBehave.ts @@ -9,7 +9,6 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave export interface SDCQuestionnaireBehave extends Questionnaire { url: string; } @@ -43,76 +42,124 @@ export type SDCQuestionnaireBehave_ItemConstraintInput = { location?: string[]; } -import { getOrCreateObjectAtPath, extractComplexExtension } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnaireBehaveProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnaireBehaveProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave") + } + + static from (resource: Questionnaire) : SDCQuestionnaireBehaveProfile { + return new SDCQuestionnaireBehaveProfile(resource) + } + + static createResource (args: SDCQuestionnaireBehaveProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnaireBehaveProfileParams) : SDCQuestionnaireBehaveProfile { + return SDCQuestionnaireBehaveProfile.from(SDCQuestionnaireBehaveProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCQuestionnaireBehave { return this.resource as SDCQuestionnaireBehave } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setEntryMode (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode", valueCode: value } as Extension) return this } public setSubmissionEndpoint (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint", valueUri: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint", valueUri: value } as Extension) return this } public setSignatureRequired (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", valueCodeableConcept: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", valueCodeableConcept: value } as Extension) return this } @@ -145,7 +192,7 @@ export class SDCQuestionnaireBehaveProfile { public setLibrary (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value } as Extension) return this } @@ -169,56 +216,56 @@ export class SDCQuestionnaireBehaveProfile { public setVariable (value: Expression): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/variable", valueExpression: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/variable", valueExpression: value } as Extension) return this } public setAnswerExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression", valueExpression: value } as Extension) return this } public setUsageMode (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode", valueCode: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode", valueCode: value } as Extension) return this } public setItemSignatureRequired (value: CodeableConcept): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", valueCodeableConcept: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired", valueCodeableConcept: value } as Extension) return this } public setItemMinOccurs (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", valueInteger: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", valueInteger: value } as Extension) return this } public setItemMaxOccurs (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", valueInteger: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", valueInteger: value } as Extension) return this } public setMinLength (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/minLength", valueInteger: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/minLength", valueInteger: value } as Extension) return this } public setRegex (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/regex", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/regex", valueString: value } as Extension) return this } @@ -239,35 +286,35 @@ export class SDCQuestionnaireBehaveProfile { public setMinQuantity (value: Quantity): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity", valueQuantity: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity", valueQuantity: value } as Extension) return this } public setMaxQuantity (value: Quantity): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity", valueQuantity: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity", valueQuantity: value } as Extension) return this } public setMaxDecimalPlaces (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces", valueInteger: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces", valueInteger: value } as Extension) return this } public setMimeType (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/mimeType", valueCode: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/mimeType", valueCode: value } as Extension) return this } public setMaxSize (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/maxSize", valueDecimal: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/maxSize", valueDecimal: value } as Extension) return this } @@ -290,56 +337,56 @@ export class SDCQuestionnaireBehaveProfile { public setUnitOption (value: Coding): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", valueCoding: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", valueCoding: value } as Extension) return this } public setUnitValueSet (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet", valueCanonical: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet", valueCanonical: value } as Extension) return this } public setUnitOpen (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen", valueCode: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen", valueCode: value } as Extension) return this } public setUnitSupplementalSystem (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem", valueCanonical: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem", valueCanonical: value } as Extension) return this } public setAllowedResource (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource", valueCode: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource", valueCode: value } as Extension) return this } public setAllowedProfile (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile", valueCanonical: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile", valueCanonical: value } as Extension) return this } public setCandidateExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression", valueExpression: value } as Extension) return this } public setLookupQuestionnaire (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire", valueCanonical: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire", valueCanonical: value } as Extension) return this } @@ -374,69 +421,69 @@ export class SDCQuestionnaireBehaveProfile { public setInitialExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", valueExpression: value } as Extension) return this } public setCalculatedExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", valueExpression: value } as Extension) return this } public setEnableWhenExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", valueExpression: value } as Extension) return this } public setRequiredExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","required","value"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value } as Extension) return this } public setRepeatsExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","repeats","value"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value } as Extension) return this } public setReadOnlyExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","readOnly","value"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value } as Extension) return this } public setAnswerValueSetExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerValueSet","value"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value } as Extension) return this } public setOptionExclusive (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive", valueBoolean: value } as Extension) return this } public setOrdinalValue (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/ordinalValue", valueDecimal: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/ordinalValue", valueDecimal: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -446,7 +493,7 @@ export class SDCQuestionnaireBehaveProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -456,7 +503,7 @@ export class SDCQuestionnaireBehaveProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -466,7 +513,7 @@ export class SDCQuestionnaireBehaveProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -476,7 +523,7 @@ export class SDCQuestionnaireBehaveProfile { public getEntryMode (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getEntryModeExtension (): Extension | undefined { @@ -486,7 +533,7 @@ export class SDCQuestionnaireBehaveProfile { public getSubmissionEndpoint (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint") - return ext?.valueUri + return (ext as Record | undefined)?.valueUri as string | undefined } public getSubmissionEndpointExtension (): Extension | undefined { @@ -496,7 +543,7 @@ export class SDCQuestionnaireBehaveProfile { public getSignatureRequired (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getSignatureRequiredExtension (): Extension | undefined { @@ -518,7 +565,7 @@ export class SDCQuestionnaireBehaveProfile { public getLibrary (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getLibraryExtension (): Extension | undefined { @@ -540,7 +587,7 @@ export class SDCQuestionnaireBehaveProfile { public getVariable (): Expression | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/variable") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getVariableExtension (): Extension | undefined { @@ -551,7 +598,7 @@ export class SDCQuestionnaireBehaveProfile { public getAnswerExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getAnswerExpressionExtension (): Extension | undefined { @@ -563,7 +610,7 @@ export class SDCQuestionnaireBehaveProfile { public getUsageMode (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getUsageModeExtension (): Extension | undefined { @@ -575,7 +622,7 @@ export class SDCQuestionnaireBehaveProfile { public getItemSignatureRequired (): CodeableConcept | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getItemSignatureRequiredExtension (): Extension | undefined { @@ -587,7 +634,7 @@ export class SDCQuestionnaireBehaveProfile { public getItemMinOccurs (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs") - return ext?.valueInteger + return (ext as Record | undefined)?.valueInteger as number | undefined } public getItemMinOccursExtension (): Extension | undefined { @@ -599,7 +646,7 @@ export class SDCQuestionnaireBehaveProfile { public getItemMaxOccurs (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs") - return ext?.valueInteger + return (ext as Record | undefined)?.valueInteger as number | undefined } public getItemMaxOccursExtension (): Extension | undefined { @@ -611,7 +658,7 @@ export class SDCQuestionnaireBehaveProfile { public getMinLength (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/minLength") - return ext?.valueInteger + return (ext as Record | undefined)?.valueInteger as number | undefined } public getMinLengthExtension (): Extension | undefined { @@ -623,7 +670,7 @@ export class SDCQuestionnaireBehaveProfile { public getRegex (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/regex") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getRegexExtension (): Extension | undefined { @@ -645,7 +692,7 @@ export class SDCQuestionnaireBehaveProfile { public getMinQuantity (): Quantity | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity") - return ext?.valueQuantity + return (ext as Record | undefined)?.valueQuantity as Quantity | undefined } public getMinQuantityExtension (): Extension | undefined { @@ -657,7 +704,7 @@ export class SDCQuestionnaireBehaveProfile { public getMaxQuantity (): Quantity | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity") - return ext?.valueQuantity + return (ext as Record | undefined)?.valueQuantity as Quantity | undefined } public getMaxQuantityExtension (): Extension | undefined { @@ -669,7 +716,7 @@ export class SDCQuestionnaireBehaveProfile { public getMaxDecimalPlaces (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces") - return ext?.valueInteger + return (ext as Record | undefined)?.valueInteger as number | undefined } public getMaxDecimalPlacesExtension (): Extension | undefined { @@ -681,7 +728,7 @@ export class SDCQuestionnaireBehaveProfile { public getMimeType (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/mimeType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getMimeTypeExtension (): Extension | undefined { @@ -693,7 +740,7 @@ export class SDCQuestionnaireBehaveProfile { public getMaxSize (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/maxSize") - return ext?.valueDecimal + return (ext as Record | undefined)?.valueDecimal as number | undefined } public getMaxSizeExtension (): Extension | undefined { @@ -719,7 +766,7 @@ export class SDCQuestionnaireBehaveProfile { public getUnitOption (): Coding | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getUnitOptionExtension (): Extension | undefined { @@ -731,7 +778,7 @@ export class SDCQuestionnaireBehaveProfile { public getUnitValueSet (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getUnitValueSetExtension (): Extension | undefined { @@ -743,7 +790,7 @@ export class SDCQuestionnaireBehaveProfile { public getUnitOpen (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getUnitOpenExtension (): Extension | undefined { @@ -755,7 +802,7 @@ export class SDCQuestionnaireBehaveProfile { public getUnitSupplementalSystem (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getUnitSupplementalSystemExtension (): Extension | undefined { @@ -767,7 +814,7 @@ export class SDCQuestionnaireBehaveProfile { public getAllowedResource (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAllowedResourceExtension (): Extension | undefined { @@ -779,7 +826,7 @@ export class SDCQuestionnaireBehaveProfile { public getAllowedProfile (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getAllowedProfileExtension (): Extension | undefined { @@ -791,7 +838,7 @@ export class SDCQuestionnaireBehaveProfile { public getCandidateExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getCandidateExpressionExtension (): Extension | undefined { @@ -803,7 +850,7 @@ export class SDCQuestionnaireBehaveProfile { public getLookupQuestionnaire (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getLookupQuestionnaireExtension (): Extension | undefined { @@ -829,7 +876,7 @@ export class SDCQuestionnaireBehaveProfile { public getInitialExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getInitialExpressionExtension (): Extension | undefined { @@ -841,7 +888,7 @@ export class SDCQuestionnaireBehaveProfile { public getCalculatedExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getCalculatedExpressionExtension (): Extension | undefined { @@ -853,7 +900,7 @@ export class SDCQuestionnaireBehaveProfile { public getEnableWhenExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getEnableWhenExpressionExtension (): Extension | undefined { @@ -865,7 +912,7 @@ export class SDCQuestionnaireBehaveProfile { public getRequiredExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","required","value"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-expression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getRequiredExpressionExtension (): Extension | undefined { @@ -877,7 +924,7 @@ export class SDCQuestionnaireBehaveProfile { public getRepeatsExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","repeats","value"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-expression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getRepeatsExpressionExtension (): Extension | undefined { @@ -889,7 +936,7 @@ export class SDCQuestionnaireBehaveProfile { public getReadOnlyExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","readOnly","value"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-expression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getReadOnlyExpressionExtension (): Extension | undefined { @@ -901,7 +948,7 @@ export class SDCQuestionnaireBehaveProfile { public getAnswerValueSetExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerValueSet","value"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-expression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getAnswerValueSetExpressionExtension (): Extension | undefined { @@ -913,7 +960,7 @@ export class SDCQuestionnaireBehaveProfile { public getOptionExclusive (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getOptionExclusiveExtension (): Extension | undefined { @@ -925,7 +972,7 @@ export class SDCQuestionnaireBehaveProfile { public getOrdinalValue (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/ordinalValue") - return ext?.valueDecimal + return (ext as Record | undefined)?.valueDecimal as number | undefined } public getOrdinalValueExtension (): Extension | undefined { @@ -934,5 +981,14 @@ export class SDCQuestionnaireBehaveProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnaireBehave"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireBehave"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnaireBehave"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractDefinition.ts similarity index 73% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractDefinition.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractDefinition.ts index d817bb6d3..418213ec6 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractDefinition.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractDefinition.ts @@ -7,69 +7,116 @@ import type { Expression } from "../../hl7-fhir-r4-core/Expression"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn export interface SDCQuestionnaireExtractDefinition extends Questionnaire { url: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnaireExtractDefinitionProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnaireExtractDefinitionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn") + } + + static from (resource: Questionnaire) : SDCQuestionnaireExtractDefinitionProfile { + return new SDCQuestionnaireExtractDefinitionProfile(resource) + } + + static createResource (args: SDCQuestionnaireExtractDefinitionProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnaireExtractDefinitionProfileParams) : SDCQuestionnaireExtractDefinitionProfile { + return SDCQuestionnaireExtractDefinitionProfile.from(SDCQuestionnaireExtractDefinitionProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCQuestionnaireExtractDefinition { return this.resource as SDCQuestionnaireExtractDefinition } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setLibrary (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value } as Extension) return this } @@ -82,7 +129,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public setUnit (value: Coding): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value } as Extension) return this } @@ -96,34 +143,34 @@ export class SDCQuestionnaireExtractDefinitionProfile { public setItemVariable (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/variable", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/variable", valueExpression: value } as Extension) return this } public setInitialExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", valueExpression: value } as Extension) return this } public setItemHidden (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value } as Extension) return this } public setIsSubject (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -133,7 +180,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -143,7 +190,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -153,7 +200,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -163,7 +210,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getLibrary (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getLibraryExtension (): Extension | undefined { @@ -178,7 +225,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getUnit (): Coding | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-unit") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getUnitExtension (): Extension | undefined { @@ -190,7 +237,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getItemVariable (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/variable") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getItemVariableExtension (): Extension | undefined { @@ -202,7 +249,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getInitialExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getInitialExpressionExtension (): Extension | undefined { @@ -214,7 +261,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getItemHidden (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getItemHiddenExtension (): Extension | undefined { @@ -226,7 +273,7 @@ export class SDCQuestionnaireExtractDefinitionProfile { public getIsSubject (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getIsSubjectExtension (): Extension | undefined { @@ -235,5 +282,14 @@ export class SDCQuestionnaireExtractDefinitionProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnaireExtractDefinition"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireExtractDefinition"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnaireExtractDefinition"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractObservation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractObservation.ts similarity index 69% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractObservation.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractObservation.ts index 3c3b0abc6..55ab87a1a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractObservation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractObservation.ts @@ -7,104 +7,151 @@ import type { Coding } from "../../hl7-fhir-r4-core/Coding"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn export interface SDCQuestionnaireExtractObservation extends Questionnaire { url: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnaireExtractObservationProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnaireExtractObservationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn") + } + + static from (resource: Questionnaire) : SDCQuestionnaireExtractObservationProfile { + return new SDCQuestionnaireExtractObservationProfile(resource) + } + + static createResource (args: SDCQuestionnaireExtractObservationProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnaireExtractObservationProfileParams) : SDCQuestionnaireExtractObservationProfile { + return SDCQuestionnaireExtractObservationProfile.from(SDCQuestionnaireExtractObservationProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCQuestionnaireExtractObservation { return this.resource as SDCQuestionnaireExtractObservation } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setUnit (value: Coding): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value } as Extension) return this } public setExtensionItemObservationExtract (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract", valueBoolean: value } as Extension) return this } public setObservationExtractCategory (value: CodeableConcept): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category", valueCodeableConcept: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category", valueCodeableConcept: value } as Extension) return this } public setIsSubject (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value } as Extension) return this } public setExtensionItemCodeObservationExtract (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","code"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract", valueBoolean: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -114,7 +161,7 @@ export class SDCQuestionnaireExtractObservationProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -124,7 +171,7 @@ export class SDCQuestionnaireExtractObservationProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -134,7 +181,7 @@ export class SDCQuestionnaireExtractObservationProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -145,7 +192,7 @@ export class SDCQuestionnaireExtractObservationProfile { public getUnit (): Coding | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-unit") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getUnitExtension (): Extension | undefined { @@ -157,7 +204,7 @@ export class SDCQuestionnaireExtractObservationProfile { public getObservationExtract (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getObservationExtractExtension (): Extension | undefined { @@ -169,7 +216,7 @@ export class SDCQuestionnaireExtractObservationProfile { public getObservationExtractCategory (): CodeableConcept | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getObservationExtractCategoryExtension (): Extension | undefined { @@ -181,7 +228,7 @@ export class SDCQuestionnaireExtractObservationProfile { public getIsSubject (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getIsSubjectExtension (): Extension | undefined { @@ -190,5 +237,14 @@ export class SDCQuestionnaireExtractObservationProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnaireExtractObservation"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireExtractObservation"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnaireExtractObservation"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractStructureMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractStructureMap.ts similarity index 68% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractStructureMap.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractStructureMap.ts index 2d9c21ddd..61b1b996c 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireExtractStructureMap.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractStructureMap.ts @@ -6,96 +6,143 @@ import type { Coding } from "../../hl7-fhir-r4-core/Coding"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-smap export interface SDCQuestionnaireExtractStructureMap extends Questionnaire { url: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnaireExtractStructureMapProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-smap (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnaireExtractStructureMapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-smap" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-smap")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-smap") + } + + static from (resource: Questionnaire) : SDCQuestionnaireExtractStructureMapProfile { + return new SDCQuestionnaireExtractStructureMapProfile(resource) + } + + static createResource (args: SDCQuestionnaireExtractStructureMapProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-smap"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnaireExtractStructureMapProfileParams) : SDCQuestionnaireExtractStructureMapProfile { + return SDCQuestionnaireExtractStructureMapProfile.from(SDCQuestionnaireExtractStructureMapProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCQuestionnaireExtractStructureMap { return this.resource as SDCQuestionnaireExtractStructureMap } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setTargetStructureMap (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", valueCanonical: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", valueCanonical: value } as Extension) return this } public setUnit (value: Coding): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value } as Extension) return this } public setItemHidden (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value } as Extension) return this } public setIsSubject (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -105,7 +152,7 @@ export class SDCQuestionnaireExtractStructureMapProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -115,7 +162,7 @@ export class SDCQuestionnaireExtractStructureMapProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -125,7 +172,7 @@ export class SDCQuestionnaireExtractStructureMapProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -135,7 +182,7 @@ export class SDCQuestionnaireExtractStructureMapProfile { public getTargetStructureMap (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getTargetStructureMapExtension (): Extension | undefined { @@ -146,7 +193,7 @@ export class SDCQuestionnaireExtractStructureMapProfile { public getUnit (): Coding | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-unit") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getUnitExtension (): Extension | undefined { @@ -158,7 +205,7 @@ export class SDCQuestionnaireExtractStructureMapProfile { public getItemHidden (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getItemHiddenExtension (): Extension | undefined { @@ -170,7 +217,7 @@ export class SDCQuestionnaireExtractStructureMapProfile { public getIsSubject (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getIsSubjectExtension (): Extension | undefined { @@ -179,5 +226,14 @@ export class SDCQuestionnaireExtractStructureMapProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnaireExtractStructureMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireExtractStructureMap"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnaireExtractStructureMap"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateExpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateExpression.ts similarity index 80% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateExpression.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateExpression.ts index 4f6b594ad..b07056c96 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateExpression.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateExpression.ts @@ -8,7 +8,6 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp export interface SDCQuestionnairePopulateExpression extends Questionnaire { url: string; } @@ -31,64 +30,112 @@ export type SDCQuestionnairePopulateExpression_ChoiceColumnInput = { forDisplay?: boolean; } -import { getOrCreateObjectAtPath, extractComplexExtension } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnairePopulateExpressionProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnairePopulateExpressionProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp") + } + + static from (resource: Questionnaire) : SDCQuestionnairePopulateExpressionProfile { + return new SDCQuestionnairePopulateExpressionProfile(resource) + } + + static createResource (args: SDCQuestionnairePopulateExpressionProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnairePopulateExpressionProfileParams) : SDCQuestionnairePopulateExpressionProfile { + return SDCQuestionnairePopulateExpressionProfile.from(SDCQuestionnairePopulateExpressionProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCQuestionnairePopulateExpression { return this.resource as SDCQuestionnairePopulateExpression } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setLibrary (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-library", valueCanonical: value } as Extension) return this } @@ -112,48 +159,48 @@ export class SDCQuestionnairePopulateExpressionProfile { public setExtensionItemPopulationContext (value: Expression): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", valueExpression: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", valueExpression: value } as Extension) return this } public setVariable (value: Expression): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/variable", valueExpression: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/variable", valueExpression: value } as Extension) return this } public setUnit (value: Coding): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value } as Extension) return this } public setExtensionItemItemPopulationContext (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", valueExpression: value } as Extension) return this } public setItemVariable (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/variable", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/variable", valueExpression: value } as Extension) return this } public setInitialExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", valueExpression: value } as Extension) return this } public setCandidateExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression", valueExpression: value } as Extension) return this } @@ -174,7 +221,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public setItemHidden (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value } as Extension) return this } @@ -201,13 +248,13 @@ export class SDCQuestionnairePopulateExpressionProfile { public setIsSubject (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -217,7 +264,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -227,7 +274,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -237,7 +284,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -247,7 +294,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getLibrary (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-library") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getLibraryExtension (): Extension | undefined { @@ -269,7 +316,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getItemPopulationContext (): Expression | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getItemPopulationContextExtension (): Extension | undefined { @@ -279,7 +326,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getVariable (): Expression | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/variable") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getVariableExtension (): Extension | undefined { @@ -290,7 +337,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getUnit (): Coding | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-unit") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getUnitExtension (): Extension | undefined { @@ -302,7 +349,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getItemVariable (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/variable") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getItemVariableExtension (): Extension | undefined { @@ -314,7 +361,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getInitialExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getInitialExpressionExtension (): Extension | undefined { @@ -326,7 +373,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getCandidateExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getCandidateExpressionExtension (): Extension | undefined { @@ -352,7 +399,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getItemHidden (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getItemHiddenExtension (): Extension | undefined { @@ -378,7 +425,7 @@ export class SDCQuestionnairePopulateExpressionProfile { public getIsSubject (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getIsSubjectExtension (): Extension | undefined { @@ -387,5 +434,14 @@ export class SDCQuestionnairePopulateExpressionProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnairePopulateExpression"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnairePopulateExpression"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnairePopulateExpression"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateObservation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateObservation.ts similarity index 66% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateObservation.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateObservation.ts index f02418f86..bd638e9b7 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateObservation.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateObservation.ts @@ -7,90 +7,137 @@ import type { Duration } from "../../hl7-fhir-r4-core/Duration"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn export interface SDCQuestionnairePopulateObservation extends Questionnaire { url: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnairePopulateObservationProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnairePopulateObservationProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn") + } + + static from (resource: Questionnaire) : SDCQuestionnairePopulateObservationProfile { + return new SDCQuestionnairePopulateObservationProfile(resource) + } + + static createResource (args: SDCQuestionnairePopulateObservationProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnairePopulateObservationProfileParams) : SDCQuestionnairePopulateObservationProfile { + return SDCQuestionnairePopulateObservationProfile.from(SDCQuestionnairePopulateObservationProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCQuestionnairePopulateObservation { return this.resource as SDCQuestionnairePopulateObservation } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setObservationLinkPeriod (value: Duration): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod", valueDuration: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod", valueDuration: value } as Extension) return this } public setUnit (value: Coding): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value } as Extension) return this } public setIsSubject (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -100,7 +147,7 @@ export class SDCQuestionnairePopulateObservationProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -110,7 +157,7 @@ export class SDCQuestionnairePopulateObservationProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -120,7 +167,7 @@ export class SDCQuestionnairePopulateObservationProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -131,7 +178,7 @@ export class SDCQuestionnairePopulateObservationProfile { public getObservationLinkPeriod (): Duration | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod") - return ext?.valueDuration + return (ext as Record | undefined)?.valueDuration as Duration | undefined } public getObservationLinkPeriodExtension (): Extension | undefined { @@ -143,7 +190,7 @@ export class SDCQuestionnairePopulateObservationProfile { public getUnit (): Coding | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-unit") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getUnitExtension (): Extension | undefined { @@ -155,7 +202,7 @@ export class SDCQuestionnairePopulateObservationProfile { public getIsSubject (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getIsSubjectExtension (): Extension | undefined { @@ -164,5 +211,14 @@ export class SDCQuestionnairePopulateObservationProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnairePopulateObservation"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnairePopulateObservation"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnairePopulateObservation"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateStructureMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateStructureMap.ts similarity index 72% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateStructureMap.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateStructureMap.ts index 6c6fe26f8..b83850514 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnairePopulateStructureMap.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateStructureMap.ts @@ -7,7 +7,6 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-smap export interface SDCQuestionnairePopulateStructureMap extends Questionnaire { url: string; } @@ -18,58 +17,106 @@ export type SDCQuestionnairePopulateStructureMap_LaunchContextInput = { description?: string; } -import { getOrCreateObjectAtPath, extractComplexExtension } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnairePopulateStructureMapProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-smap (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnairePopulateStructureMapProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-smap" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-smap")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-smap") + } + + static from (resource: Questionnaire) : SDCQuestionnairePopulateStructureMapProfile { + return new SDCQuestionnairePopulateStructureMapProfile(resource) + } + + static createResource (args: SDCQuestionnairePopulateStructureMapProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-smap"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnairePopulateStructureMapProfileParams) : SDCQuestionnairePopulateStructureMapProfile { + return SDCQuestionnairePopulateStructureMapProfile.from(SDCQuestionnairePopulateStructureMapProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCQuestionnairePopulateStructureMap { return this.resource as SDCQuestionnairePopulateStructureMap } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } @@ -93,40 +140,40 @@ export class SDCQuestionnairePopulateStructureMapProfile { public setSourceQueries (value: Reference): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries", valueReference: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries", valueReference: value } as Extension) return this } public setSourceStructureMap (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap", valueCanonical: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap", valueCanonical: value } as Extension) return this } public setUnit (value: Coding): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", valueCoding: value } as Extension) return this } public setItemHidden (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value } as Extension) return this } public setIsSubject (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject", valueBoolean: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -136,7 +183,7 @@ export class SDCQuestionnairePopulateStructureMapProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -146,7 +193,7 @@ export class SDCQuestionnairePopulateStructureMapProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -156,7 +203,7 @@ export class SDCQuestionnairePopulateStructureMapProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -178,7 +225,7 @@ export class SDCQuestionnairePopulateStructureMapProfile { public getSourceQueries (): Reference | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries") - return ext?.valueReference + return (ext as Record | undefined)?.valueReference as Reference | undefined } public getSourceQueriesExtension (): Extension | undefined { @@ -188,7 +235,7 @@ export class SDCQuestionnairePopulateStructureMapProfile { public getSourceStructureMap (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getSourceStructureMapExtension (): Extension | undefined { @@ -199,7 +246,7 @@ export class SDCQuestionnairePopulateStructureMapProfile { public getUnit (): Coding | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-unit") - return ext?.valueCoding + return (ext as Record | undefined)?.valueCoding as Coding | undefined } public getUnitExtension (): Extension | undefined { @@ -211,7 +258,7 @@ export class SDCQuestionnairePopulateStructureMapProfile { public getItemHidden (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getItemHiddenExtension (): Extension | undefined { @@ -223,7 +270,7 @@ export class SDCQuestionnairePopulateStructureMapProfile { public getIsSubject (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getIsSubjectExtension (): Extension | undefined { @@ -232,5 +279,14 @@ export class SDCQuestionnairePopulateStructureMapProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnairePopulateStructureMap"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnairePopulateStructureMap"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnairePopulateStructureMap"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireRender.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireRender.ts similarity index 83% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireRender.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireRender.ts index eccf38089..7016aad33 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireRender.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireRender.ts @@ -9,7 +9,6 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Quantity } from "../../hl7-fhir-r4-core/Quantity"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render export interface SDCQuestionnaireRender extends Questionnaire { url: string; } @@ -21,141 +20,189 @@ export type SDCQuestionnaireRender_ChoiceColumnInput = { forDisplay?: boolean; } -import { getOrCreateObjectAtPath, extractComplexExtension } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnaireRenderProfileParams = { + url: string; + status: ("draft" | "active" | "retired" | "unknown"); +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnaireRenderProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render") + } + + static from (resource: Questionnaire) : SDCQuestionnaireRenderProfile { + return new SDCQuestionnaireRenderProfile(resource) + } + + static createResource (args: SDCQuestionnaireRenderProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + status: args.status, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnaireRenderProfileParams) : SDCQuestionnaireRenderProfile { + return SDCQuestionnaireRenderProfile.from(SDCQuestionnaireRenderProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + toProfile () : SDCQuestionnaireRender { return this.resource as SDCQuestionnaireRender } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setStyleSensitive (value: boolean): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", valueBoolean: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", valueBoolean: value } as Extension) return this } public setTitleRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["title"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setTitleXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["title"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public setItemMedia (value: Attachment): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia", valueAttachment: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia", valueAttachment: value } as Extension) return this } public setItemOptionalDisplay (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay", valueBoolean: value } as Extension) return this } public setItemShortText (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", valueString: value } as Extension) return this } public setItemHidden (value: boolean): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value } as Extension) return this } public setOpenLabel (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", valueString: value } as Extension) return this } public setItemControl (value: CodeableConcept): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", valueCodeableConcept: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", valueCodeableConcept: value } as Extension) return this } public setChoiceOrientation (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", valueCode: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", valueCode: value } as Extension) return this } public setDisplayCategory (value: CodeableConcept): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", valueCodeableConcept: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", valueCodeableConcept: value } as Extension) return this } public setSupportLink (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink", valueUri: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink", valueUri: value } as Extension) return this } @@ -182,90 +229,90 @@ export class SDCQuestionnaireRenderProfile { public setWidth (value: Quantity): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width", valueQuantity: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width", valueQuantity: value } as Extension) return this } public setSliderStepValue (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", valueInteger: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue", valueInteger: value } as Extension) return this } public setEntryFormat (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/entryFormat", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/entryFormat", valueString: value } as Extension) return this } public setCollapsible (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible", valueCode: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible", valueCode: value } as Extension) return this } public setItemLabelRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","prefix"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setItemLabelXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","prefix"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public setGroupTextRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","text"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setGroupTextXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","text"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public setExpression (value: Expression): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","text"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/cqf-expression", valueExpression: value } as Extension) return this } public setItemAnswerMedia (value: Attachment): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia", valueAttachment: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia", valueAttachment: value } as Extension) return this } public setOptionDisplayRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption","value[x]","display"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setOptionDisplayXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption","value[x]","display"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -275,7 +322,7 @@ export class SDCQuestionnaireRenderProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -285,7 +332,7 @@ export class SDCQuestionnaireRenderProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -295,7 +342,7 @@ export class SDCQuestionnaireRenderProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -305,7 +352,7 @@ export class SDCQuestionnaireRenderProfile { public getStyleSensitive (): boolean | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getStyleSensitiveExtension (): Extension | undefined { @@ -316,7 +363,7 @@ export class SDCQuestionnaireRenderProfile { public getTitleRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["title"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getTitleRenderingStyleExtension (): Extension | undefined { @@ -328,7 +375,7 @@ export class SDCQuestionnaireRenderProfile { public getTitleXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["title"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getTitleXhtmlExtension (): Extension | undefined { @@ -340,7 +387,7 @@ export class SDCQuestionnaireRenderProfile { public getItemMedia (): Attachment | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia") - return ext?.valueAttachment + return (ext as Record | undefined)?.valueAttachment as Attachment | undefined } public getItemMediaExtension (): Extension | undefined { @@ -352,7 +399,7 @@ export class SDCQuestionnaireRenderProfile { public getItemOptionalDisplay (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getItemOptionalDisplayExtension (): Extension | undefined { @@ -364,7 +411,7 @@ export class SDCQuestionnaireRenderProfile { public getItemShortText (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getItemShortTextExtension (): Extension | undefined { @@ -376,7 +423,7 @@ export class SDCQuestionnaireRenderProfile { public getItemHidden (): boolean | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getItemHiddenExtension (): Extension | undefined { @@ -388,7 +435,7 @@ export class SDCQuestionnaireRenderProfile { public getOpenLabel (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getOpenLabelExtension (): Extension | undefined { @@ -400,7 +447,7 @@ export class SDCQuestionnaireRenderProfile { public getItemControl (): CodeableConcept | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getItemControlExtension (): Extension | undefined { @@ -412,7 +459,7 @@ export class SDCQuestionnaireRenderProfile { public getChoiceOrientation (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getChoiceOrientationExtension (): Extension | undefined { @@ -424,7 +471,7 @@ export class SDCQuestionnaireRenderProfile { public getDisplayCategory (): CodeableConcept | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getDisplayCategoryExtension (): Extension | undefined { @@ -436,7 +483,7 @@ export class SDCQuestionnaireRenderProfile { public getSupportLink (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink") - return ext?.valueUri + return (ext as Record | undefined)?.valueUri as string | undefined } public getSupportLinkExtension (): Extension | undefined { @@ -462,7 +509,7 @@ export class SDCQuestionnaireRenderProfile { public getWidth (): Quantity | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-width") - return ext?.valueQuantity + return (ext as Record | undefined)?.valueQuantity as Quantity | undefined } public getWidthExtension (): Extension | undefined { @@ -474,7 +521,7 @@ export class SDCQuestionnaireRenderProfile { public getSliderStepValue (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue") - return ext?.valueInteger + return (ext as Record | undefined)?.valueInteger as number | undefined } public getSliderStepValueExtension (): Extension | undefined { @@ -486,7 +533,7 @@ export class SDCQuestionnaireRenderProfile { public getEntryFormat (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/entryFormat") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getEntryFormatExtension (): Extension | undefined { @@ -498,7 +545,7 @@ export class SDCQuestionnaireRenderProfile { public getCollapsible (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getCollapsibleExtension (): Extension | undefined { @@ -510,7 +557,7 @@ export class SDCQuestionnaireRenderProfile { public getItemLabelRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","prefix"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getItemLabelRenderingStyleExtension (): Extension | undefined { @@ -522,7 +569,7 @@ export class SDCQuestionnaireRenderProfile { public getItemLabelXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","prefix"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getItemLabelXhtmlExtension (): Extension | undefined { @@ -534,7 +581,7 @@ export class SDCQuestionnaireRenderProfile { public getGroupTextRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","text"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getGroupTextRenderingStyleExtension (): Extension | undefined { @@ -546,7 +593,7 @@ export class SDCQuestionnaireRenderProfile { public getGroupTextXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","text"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getGroupTextXhtmlExtension (): Extension | undefined { @@ -558,7 +605,7 @@ export class SDCQuestionnaireRenderProfile { public getExpression (): Expression | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","text"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/cqf-expression") - return ext?.valueExpression + return (ext as Record | undefined)?.valueExpression as Expression | undefined } public getExpressionExtension (): Extension | undefined { @@ -570,7 +617,7 @@ export class SDCQuestionnaireRenderProfile { public getItemAnswerMedia (): Attachment | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia") - return ext?.valueAttachment + return (ext as Record | undefined)?.valueAttachment as Attachment | undefined } public getItemAnswerMediaExtension (): Extension | undefined { @@ -582,7 +629,7 @@ export class SDCQuestionnaireRenderProfile { public getOptionDisplayRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption","value[x]","display"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getOptionDisplayRenderingStyleExtension (): Extension | undefined { @@ -594,7 +641,7 @@ export class SDCQuestionnaireRenderProfile { public getOptionDisplayXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item","answerOption","value[x]","display"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getOptionDisplayXhtmlExtension (): Extension | undefined { @@ -603,5 +650,14 @@ export class SDCQuestionnaireRenderProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnaireRender"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireRender"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnaireRender"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireSearch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireSearch.ts similarity index 55% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireSearch.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireSearch.ts index eb1c4ae31..a8f7cc694 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireSearch.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireSearch.ts @@ -5,77 +5,146 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-search export interface SDCQuestionnaireSearch extends Questionnaire { url: string; title: string; date: string; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCQuestionnaireSearchProfileParams = { + url: string; + title: string; + status: ("draft" | "active" | "retired" | "unknown"); + date: string; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-search (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCQuestionnaireSearchProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-search" + private resource: Questionnaire constructor (resource: Questionnaire) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-search")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-search") + } + + static from (resource: Questionnaire) : SDCQuestionnaireSearchProfile { + return new SDCQuestionnaireSearchProfile(resource) + } + + static createResource (args: SDCQuestionnaireSearchProfileParams) : Questionnaire { + const resource: Questionnaire = { + resourceType: "Questionnaire", + url: args.url, + title: args.title, + status: args.status, + date: args.date, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-search"] }, + } as unknown as Questionnaire + return resource + } + + static create (args: SDCQuestionnaireSearchProfileParams) : SDCQuestionnaireSearchProfile { + return SDCQuestionnaireSearchProfile.from(SDCQuestionnaireSearchProfile.createResource(args)) } toResource () : Questionnaire { return this.resource } + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getTitle () : string | undefined { + return this.resource.title as string | undefined + } + + setTitle (value: string) : this { + Object.assign(this.resource, { title: value }) + return this + } + + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getDate () : string | undefined { + return this.resource.date as string | undefined + } + + setDate (value: string) : this { + Object.assign(this.resource, { date: value }) + return this + } + toProfile () : SDCQuestionnaireSearch { return this.resource as SDCQuestionnaireSearch } public setExtensionDesignNote (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionTerminologyServer (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setPerformerType (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType", valueCode: value } as Extension) return this } public setAssembleExpectation (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", valueCode: value } as Extension) return this } public setExtensionItemDesignNote (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/designNote", valueMarkdown: value } as Extension) return this } public setExtensionItemTerminologyServer (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer", valueUrl: value } as Extension) return this } public setAssembledFrom (value: string): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", valueCanonical: value }) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", valueCanonical: value } as Extension) return this } public getDesignNote (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext?.valueMarkdown + return (ext as Record | undefined)?.valueMarkdown as string | undefined } public getDesignNoteExtension (): Extension | undefined { @@ -85,7 +154,7 @@ export class SDCQuestionnaireSearchProfile { public getTerminologyServer (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext?.valueUrl + return (ext as Record | undefined)?.valueUrl as string | undefined } public getTerminologyServerExtension (): Extension | undefined { @@ -95,7 +164,7 @@ export class SDCQuestionnaireSearchProfile { public getPerformerType (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getPerformerTypeExtension (): Extension | undefined { @@ -105,7 +174,7 @@ export class SDCQuestionnaireSearchProfile { public getAssembleExpectation (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext?.valueCode + return (ext as Record | undefined)?.valueCode as string | undefined } public getAssembleExpectationExtension (): Extension | undefined { @@ -115,7 +184,7 @@ export class SDCQuestionnaireSearchProfile { public getAssembledFrom (): string | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom") - return ext?.valueCanonical + return (ext as Record | undefined)?.valueCanonical as string | undefined } public getAssembledFromExtension (): Extension | undefined { @@ -123,5 +192,16 @@ export class SDCQuestionnaireSearchProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SDCQuestionnaireSearch"); if (e) errors.push(e) } + { const e = validateRequired(r, "title", "SDCQuestionnaireSearch"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "SDCQuestionnaireSearch"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCQuestionnaireSearch"); if (e) errors.push(e) } + { const e = validateRequired(r, "date", "SDCQuestionnaireSearch"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireAdapt.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireAdapt.ts deleted file mode 100644 index 80fc5a710..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireAdapt.ts +++ /dev/null @@ -1,61 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; - -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt -export interface SDCQuestionnaireAdapt extends Questionnaire { - title: string; - derivedFrom: string[]; -} - -import { getOrCreateObjectAtPath } from "../../profile-helpers"; - -export class SDCQuestionnaireAdaptProfile { - private resource: Questionnaire - - constructor (resource: Questionnaire) { - this.resource = resource - } - - toResource () : Questionnaire { - return this.resource - } - - toProfile () : SDCQuestionnaireAdapt { - return this.resource as SDCQuestionnaireAdapt - } - - public setQuestionnaireAdaptive (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive", ...value }) - return this - } - - public setHidden (value: boolean): this { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) - if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", valueBoolean: value }) - return this - } - - public getQuestionnaireAdaptive (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive") - } - - public getHidden (): boolean | undefined { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) - const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") - return ext?.valueBoolean - } - - public getHiddenExtension (): Extension | undefined { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) - const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireResponseAdapt.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireResponseAdapt.ts deleted file mode 100644 index f8b221eca..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireResponseAdapt.ts +++ /dev/null @@ -1,31 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { QuestionnaireResponse } from "../../hl7-fhir-r4-core/QuestionnaireResponse"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt -export interface SDCQuestionnaireResponseAdapt extends QuestionnaireResponse { - questionnaire: string; - subject: Reference<"Resource" /* 'Patient' */ >; - authored: string; -} - -export class SDCQuestionnaireResponseAdaptProfile { - private resource: QuestionnaireResponse - - constructor (resource: QuestionnaireResponse) { - this.resource = resource - } - - toResource () : QuestionnaireResponse { - return this.resource - } - - toProfile () : SDCQuestionnaireResponseAdapt { - return this.resource as SDCQuestionnaireResponseAdapt - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireServiceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireServiceRequest.ts deleted file mode 100644 index ed09e30ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcquestionnaireServiceRequest.ts +++ /dev/null @@ -1,48 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -import type { ServiceRequest } from "../../hl7-fhir-r4-core/ServiceRequest"; - -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest -export interface SDCQuestionnaireServiceRequest extends ServiceRequest { - code: CodeableConcept; - requester: Reference<'Device' | 'Organization' | 'Patient' | 'Practitioner' | 'PractitionerRole' | 'RelatedPerson'>; -} - -export class SDCQuestionnaireServiceRequestProfile { - private resource: ServiceRequest - - constructor (resource: ServiceRequest) { - this.resource = resource - } - - toResource () : ServiceRequest { - return this.resource - } - - toProfile () : SDCQuestionnaireServiceRequest { - return this.resource as SDCQuestionnaireServiceRequest - } - - public setQuestionnaire (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire", valueCanonical: value }) - return this - } - - public getQuestionnaire (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire") - return ext?.valueCanonical - } - - public getQuestionnaireExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire") - return ext - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdctaskQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdctaskQuestionnaire.ts deleted file mode 100644 index 07388a92d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdctaskQuestionnaire.ts +++ /dev/null @@ -1,130 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -import type { Task } from "../../hl7-fhir-r4-core/Task"; -import type { TaskInput } from "../../hl7-fhir-r4-core/Task"; -import type { TaskOutput } from "../../hl7-fhir-r4-core/Task"; - -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task -export interface SDCTaskQuestionnaire extends Task { - code: CodeableConcept; - authoredOn: string; - requester: Reference<'Device' | 'Organization' | 'Patient' | 'Practitioner' | 'PractitionerRole' | 'RelatedPerson'>; -} - -export type SDCTaskQuestionnaire_Input_QuestionnaireSliceInput = Omit; -export type SDCTaskQuestionnaire_Input_ResponseEndpointSliceInput = Omit; -export type SDCTaskQuestionnaire_Output_ResponseSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class SDCTaskQuestionnaireProfile { - private resource: Task - - constructor (resource: Task) { - this.resource = resource - } - - toResource () : Task { - return this.resource - } - - toProfile () : SDCTaskQuestionnaire { - return this.resource as SDCTaskQuestionnaire - } - - public setQuestionnaire (input?: SDCTaskQuestionnaire_Input_QuestionnaireSliceInput): this { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as TaskInput - const list = (this.resource.input ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setResponseEndpoint (input?: SDCTaskQuestionnaire_Input_ResponseEndpointSliceInput): this { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"response-endpoint"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as TaskInput - const list = (this.resource.input ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setResponse (input?: SDCTaskQuestionnaire_Output_ResponseSliceInput): this { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire-response"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as TaskOutput - const list = (this.resource.output ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getQuestionnaire (): SDCTaskQuestionnaire_Input_QuestionnaireSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire"}]}} as Record - const list = this.resource.input - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as SDCTaskQuestionnaire_Input_QuestionnaireSliceInput - } - - public getQuestionnaireRaw (): TaskInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire"}]}} as Record - const list = this.resource.input - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getResponseEndpoint (): SDCTaskQuestionnaire_Input_ResponseEndpointSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"response-endpoint"}]}} as Record - const list = this.resource.input - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as SDCTaskQuestionnaire_Input_ResponseEndpointSliceInput - } - - public getResponseEndpointRaw (): TaskInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"response-endpoint"}]}} as Record - const list = this.resource.input - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getResponse (): SDCTaskQuestionnaire_Output_ResponseSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire-response"}]}} as Record - const list = this.resource.output - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["type"]) as SDCTaskQuestionnaire_Output_ResponseSliceInput - } - - public getResponseRaw (): TaskOutput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire-response"}]}} as Record - const list = this.resource.output - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ServiceRequest_SDCQuestionnaireServiceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ServiceRequest_SDCQuestionnaireServiceRequest.ts new file mode 100644 index 000000000..075063782 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ServiceRequest_SDCQuestionnaireServiceRequest.ts @@ -0,0 +1,157 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { ServiceRequest } from "../../hl7-fhir-r4-core/ServiceRequest"; + +export interface SDCQuestionnaireServiceRequest extends ServiceRequest { + code: CodeableConcept; + requester: Reference<'Device' | 'Organization' | 'Patient' | 'Practitioner' | 'PractitionerRole' | 'RelatedPerson'>; +} + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDCQuestionnaireServiceRequestProfileParams = { + status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); + intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); + subject: Reference<"Device" | "Group" | "Location" | "Patient">; + requester: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SDCQuestionnaireServiceRequestProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest" + + private resource: ServiceRequest + + constructor (resource: ServiceRequest) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest") + } + + static from (resource: ServiceRequest) : SDCQuestionnaireServiceRequestProfile { + return new SDCQuestionnaireServiceRequestProfile(resource) + } + + static createResource (args: SDCQuestionnaireServiceRequestProfileParams) : ServiceRequest { + const resource: ServiceRequest = { + resourceType: "ServiceRequest", + doNotPerform: false, + code: {"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"complete-questionnaire"}]}, + status: args.status, + intent: args.intent, + subject: args.subject, + requester: args.requester, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest"] }, + } as unknown as ServiceRequest + return resource + } + + static create (args: SDCQuestionnaireServiceRequestProfileParams) : SDCQuestionnaireServiceRequestProfile { + return SDCQuestionnaireServiceRequestProfile.from(SDCQuestionnaireServiceRequestProfile.createResource(args)) + } + + toResource () : ServiceRequest { + return this.resource + } + + getStatus () : ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getIntent () : ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option") | undefined { + return this.resource.intent as ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option") | undefined + } + + setIntent (value: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option")) : this { + Object.assign(this.resource, { intent: value }) + return this + } + + getSubject () : Reference<"Device" | "Group" | "Location" | "Patient"> | undefined { + return this.resource.subject as Reference<"Device" | "Group" | "Location" | "Patient"> | undefined + } + + setSubject (value: Reference<"Device" | "Group" | "Location" | "Patient">) : this { + Object.assign(this.resource, { subject: value }) + return this + } + + getRequester () : Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson"> | undefined { + return this.resource.requester as Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson"> | undefined + } + + setRequester (value: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">) : this { + Object.assign(this.resource, { requester: value }) + return this + } + + getDoNotPerform () : boolean | undefined { + return this.resource.doNotPerform as boolean | undefined + } + + setDoNotPerform (value: boolean) : this { + Object.assign(this.resource, { doNotPerform: value }) + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + toProfile () : SDCQuestionnaireServiceRequest { + return this.resource as SDCQuestionnaireServiceRequest + } + + public setQuestionnaire (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire", valueCanonical: value } as Extension) + return this + } + + public getQuestionnaire (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire") + return (ext as Record | undefined)?.valueCanonical as string | undefined + } + + public getQuestionnaireExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest-questionnaire") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","on-hold","revoked","completed","entered-in-error","unknown"], "status", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateRequired(r, "intent", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateEnum(r["intent"], ["proposal","plan","directive","order","original-order","reflex-order","filler-order","instance-order","option"], "intent", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "doNotPerform", false, "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"complete-questionnaire"}]}, "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateRequired(r, "subject", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateReference(r["subject"], ["Device","Group","Location","Patient"], "subject", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateRequired(r, "requester", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateReference(r["requester"], ["Device","Organization","Patient","Practitioner","PractitionerRole","RelatedPerson"], "requester", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + { const e = validateReference(r["performer"], ["CareTeam","Device","HealthcareService","Organization","Patient","Practitioner","PractitionerRole","RelatedPerson"], "performer", "SDCQuestionnaireServiceRequest"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Task_SDCTaskQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Task_SDCTaskQuestionnaire.ts new file mode 100644 index 000000000..657c8fd62 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Task_SDCTaskQuestionnaire.ts @@ -0,0 +1,230 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Reference } from "../../hl7-fhir-r4-core/Reference"; +import type { Task } from "../../hl7-fhir-r4-core/Task"; +import type { TaskInput } from "../../hl7-fhir-r4-core/Task"; +import type { TaskOutput } from "../../hl7-fhir-r4-core/Task"; + +export interface SDCTaskQuestionnaire extends Task { + code: CodeableConcept<("complete-questionnaire" | "fulfill")>; + authoredOn: string; + requester: Reference<'Device' | 'Organization' | 'Patient' | 'Practitioner' | 'PractitionerRole' | 'RelatedPerson'>; +} + +export type SDCTaskQuestionnaire_Input_QuestionnaireSliceInput = Omit; +export type SDCTaskQuestionnaire_Input_ResponseEndpointSliceInput = Omit; +export type SDCTaskQuestionnaire_Output_ResponseSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDCTaskQuestionnaireProfileParams = { + status: ("draft" | "requested" | "received" | "accepted" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error"); + intent: ("unknown" | "proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); + code: CodeableConcept<("complete-questionnaire" | "fulfill")>; + authoredOn: string; + requester: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SDCTaskQuestionnaireProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task" + + private resource: Task + + constructor (resource: Task) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task") + } + + static from (resource: Task) : SDCTaskQuestionnaireProfile { + return new SDCTaskQuestionnaireProfile(resource) + } + + static createResource (args: SDCTaskQuestionnaireProfileParams) : Task { + const resource: Task = { + resourceType: "Task", + status: args.status, + intent: args.intent, + code: args.code, + authoredOn: args.authoredOn, + requester: args.requester, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task"] }, + } as unknown as Task + return resource + } + + static create (args: SDCTaskQuestionnaireProfileParams) : SDCTaskQuestionnaireProfile { + return SDCTaskQuestionnaireProfile.from(SDCTaskQuestionnaireProfile.createResource(args)) + } + + toResource () : Task { + return this.resource + } + + getStatus () : ("draft" | "requested" | "received" | "accepted" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error") | undefined { + return this.resource.status as ("draft" | "requested" | "received" | "accepted" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error") | undefined + } + + setStatus (value: ("draft" | "requested" | "received" | "accepted" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getIntent () : ("unknown" | "proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option") | undefined { + return this.resource.intent as ("unknown" | "proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option") | undefined + } + + setIntent (value: ("unknown" | "proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option")) : this { + Object.assign(this.resource, { intent: value }) + return this + } + + getCode () : CodeableConcept<("complete-questionnaire" | "fulfill")> | undefined { + return this.resource.code as CodeableConcept<("complete-questionnaire" | "fulfill")> | undefined + } + + setCode (value: CodeableConcept<("complete-questionnaire" | "fulfill")>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getAuthoredOn () : string | undefined { + return this.resource.authoredOn as string | undefined + } + + setAuthoredOn (value: string) : this { + Object.assign(this.resource, { authoredOn: value }) + return this + } + + getRequester () : Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson"> | undefined { + return this.resource.requester as Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson"> | undefined + } + + setRequester (value: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">) : this { + Object.assign(this.resource, { requester: value }) + return this + } + + toProfile () : SDCTaskQuestionnaire { + return this.resource as SDCTaskQuestionnaire + } + + public setQuestionnaire (input?: SDCTaskQuestionnaire_Input_QuestionnaireSliceInput): this { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as TaskInput + const list = (this.resource.input ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setResponseEndpoint (input?: SDCTaskQuestionnaire_Input_ResponseEndpointSliceInput): this { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"response-endpoint"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as TaskInput + const list = (this.resource.input ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public setResponse (input?: SDCTaskQuestionnaire_Output_ResponseSliceInput): this { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire-response"}]}} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as TaskOutput + const list = (this.resource.output ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getQuestionnaire (): SDCTaskQuestionnaire_Input_QuestionnaireSliceInput | undefined { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire"}]}} as Record + const list = this.resource.input + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as SDCTaskQuestionnaire_Input_QuestionnaireSliceInput + } + + public getQuestionnaireRaw (): TaskInput | undefined { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire"}]}} as Record + const list = this.resource.input + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getResponseEndpoint (): SDCTaskQuestionnaire_Input_ResponseEndpointSliceInput | undefined { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"response-endpoint"}]}} as Record + const list = this.resource.input + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as SDCTaskQuestionnaire_Input_ResponseEndpointSliceInput + } + + public getResponseEndpointRaw (): TaskInput | undefined { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"response-endpoint"}]}} as Record + const list = this.resource.input + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + public getResponse (): SDCTaskQuestionnaire_Output_ResponseSliceInput | undefined { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire-response"}]}} as Record + const list = this.resource.output + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["type"]) as SDCTaskQuestionnaire_Output_ResponseSliceInput + } + + public getResponseRaw (): TaskOutput | undefined { + const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire-response"}]}} as Record + const list = this.resource.output + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","requested","received","accepted","rejected","ready","cancelled","in-progress","on-hold","failed","completed","entered-in-error"], "status", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateRequired(r, "intent", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateEnum(r["intent"], ["unknown","proposal","plan","order","original-order","reflex-order","filler-order","instance-order","option"], "intent", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateRequired(r, "code", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateEnum(r["code"], ["complete-questionnaire","fulfill"], "code", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateReference(r["focus"], ["SDCQuestionnaireServiceRequest"], "focus", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateReference(r["for"], ["Resource"], "for", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateRequired(r, "authoredOn", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateRequired(r, "requester", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateReference(r["requester"], ["Device","Organization","Patient","Practitioner","PractitionerRole","RelatedPerson"], "requester", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + { const e = validateReference(r["owner"], ["CareTeam","Device","HealthcareService","Organization","Patient","Practitioner","PractitionerRole","RelatedPerson"], "owner", "SDCTaskQuestionnaire"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["input"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire"}]}}, "questionnaire", 0, 1, "SDCTaskQuestionnaire.input")) + errors.push(...validateSliceCardinality(r["output"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"questionnaire-response"}]}}, "response", 0, 1, "SDCTaskQuestionnaire.output")) + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/UsageContext_SDCUsageContext.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/UsageContext_SDCUsageContext.ts new file mode 100644 index 000000000..ba9c0a212 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/UsageContext_SDCUsageContext.ts @@ -0,0 +1,80 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { Range } from "../../hl7-fhir-r4-core/Range"; +import type { UsageContext } from "../../hl7-fhir-r4-core/UsageContext"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SDCUsageContextProfileParams = { + code: Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)>; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-usagecontext (pkg: hl7.fhir.uv.sdc#3.0.0) +export class SDCUsageContextProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-usagecontext" + + private resource: UsageContext + + constructor (resource: UsageContext) { + this.resource = resource + } + + static from (resource: UsageContext) : SDCUsageContextProfile { + return new SDCUsageContextProfile(resource) + } + + static createResource (args: SDCUsageContextProfileParams) : UsageContext { + const resource: UsageContext = { + code: args.code, + } as unknown as UsageContext + return resource + } + + static create (args: SDCUsageContextProfileParams) : SDCUsageContextProfile { + return SDCUsageContextProfile.from(SDCUsageContextProfile.createResource(args)) + } + + toResource () : UsageContext { + return this.resource + } + + getCode () : Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)> | undefined { + return this.resource.code as Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)> | undefined + } + + setCode (value: Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getValueCodeableConcept () : CodeableConcept | undefined { + return this.resource.valueCodeableConcept as CodeableConcept | undefined + } + + setValueCodeableConcept (value: CodeableConcept) : this { + Object.assign(this.resource, { valueCodeableConcept: value }) + return this + } + + getValueRange () : Range | undefined { + return this.resource.valueRange as Range | undefined + } + + setValueRange (value: Range) : this { + Object.assign(this.resource, { valueRange: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "SDCUsageContext"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcvalueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ValueSet_SDCValueSet.ts similarity index 79% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcvalueSet.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ValueSet_SDCValueSet.ts index 3d08a30ac..349cf8fee 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/SdcvalueSet.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ValueSet_SDCValueSet.ts @@ -5,128 +5,175 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { ValueSet } from "../../hl7-fhir-r4-core/ValueSet"; -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset export interface SDCValueSet extends ValueSet { immutable: boolean; } -import { getOrCreateObjectAtPath } from "../../profile-helpers"; +import { getOrCreateObjectAtPath, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type SDCValueSetProfileParams = { + status: ("draft" | "active" | "retired" | "unknown"); + immutable: boolean; +} + +// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset (pkg: hl7.fhir.uv.sdc#3.0.0) export class SDCValueSetProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset" + private resource: ValueSet constructor (resource: ValueSet) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset")) profiles.push("http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset") + } + + static from (resource: ValueSet) : SDCValueSetProfile { + return new SDCValueSetProfile(resource) + } + + static createResource (args: SDCValueSetProfileParams) : ValueSet { + const resource: ValueSet = { + resourceType: "ValueSet", + status: args.status, + immutable: args.immutable, + meta: { profile: ["http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset"] }, + } as unknown as ValueSet + return resource + } + + static create (args: SDCValueSetProfileParams) : SDCValueSetProfile { + return SDCValueSetProfile.from(SDCValueSetProfile.createResource(args)) } toResource () : ValueSet { return this.resource } + getStatus () : ("draft" | "active" | "retired" | "unknown") | undefined { + return this.resource.status as ("draft" | "active" | "retired" | "unknown") | undefined + } + + setStatus (value: ("draft" | "active" | "retired" | "unknown")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getImmutable () : boolean | undefined { + return this.resource.immutable as boolean | undefined + } + + setImmutable (value: boolean) : this { + Object.assign(this.resource, { immutable: value }) + return this + } + toProfile () : SDCValueSet { return this.resource as SDCValueSet } public setStyleSensitive (value: boolean): this { const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", valueBoolean: value }) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive", valueBoolean: value } as Extension) return this } public setConceptLabel (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-label", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-label", valueString: value } as Extension) return this } public setExtensionComposeIncludeConceptConceptConceptOrder (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", valueInteger: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", valueInteger: value } as Extension) return this } public setCodeDisplayRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept","display"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setCodeDisplayXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept","display"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public setDesignationRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept","designation"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setDesignationXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept","designation"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public setExpansionSource (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource", valueUri: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource", valueUri: value } as Extension) return this } public setExpansionLabel (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-label", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-label", valueString: value } as Extension) return this } public setExtensionExpansionContainsConceptConceptOrder (value: number): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", valueInteger: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder", valueInteger: value } as Extension) return this } public setExpansionDisplayRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains","display"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setExpansionDisplayXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains","display"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public setExpansionDesignationRenderingStyle (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains","designation","value"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-style", valueString: value } as Extension) return this } public setExpansionDesignationXhtml (value: string): this { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains","designation","value"]) if (!Array.isArray(target.extension)) target.extension = [] as Extension[] - (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value }) + (target.extension as Extension[]).push({ url: "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", valueString: value } as Extension) return this } public getStyleSensitive (): boolean | undefined { const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive") - return ext?.valueBoolean + return (ext as Record | undefined)?.valueBoolean as boolean | undefined } public getStyleSensitiveExtension (): Extension | undefined { @@ -137,7 +184,7 @@ export class SDCValueSetProfile { public getConceptLabel (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-label") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getConceptLabelExtension (): Extension | undefined { @@ -149,7 +196,7 @@ export class SDCValueSetProfile { public getConceptConceptOrder (): number | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder") - return ext?.valueInteger + return (ext as Record | undefined)?.valueInteger as number | undefined } public getConceptConceptOrderExtension (): Extension | undefined { @@ -161,7 +208,7 @@ export class SDCValueSetProfile { public getCodeDisplayRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept","display"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getCodeDisplayRenderingStyleExtension (): Extension | undefined { @@ -173,7 +220,7 @@ export class SDCValueSetProfile { public getCodeDisplayXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept","display"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getCodeDisplayXhtmlExtension (): Extension | undefined { @@ -185,7 +232,7 @@ export class SDCValueSetProfile { public getDesignationRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept","designation"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getDesignationRenderingStyleExtension (): Extension | undefined { @@ -197,7 +244,7 @@ export class SDCValueSetProfile { public getDesignationXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["compose","include","concept","designation"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getDesignationXhtmlExtension (): Extension | undefined { @@ -209,7 +256,7 @@ export class SDCValueSetProfile { public getExpansionSource (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource") - return ext?.valueUri + return (ext as Record | undefined)?.valueUri as string | undefined } public getExpansionSourceExtension (): Extension | undefined { @@ -221,7 +268,7 @@ export class SDCValueSetProfile { public getExpansionLabel (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/valueset-label") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getExpansionLabelExtension (): Extension | undefined { @@ -233,7 +280,7 @@ export class SDCValueSetProfile { public getExpansionDisplayRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains","display"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getExpansionDisplayRenderingStyleExtension (): Extension | undefined { @@ -245,7 +292,7 @@ export class SDCValueSetProfile { public getExpansionDisplayXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains","display"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getExpansionDisplayXhtmlExtension (): Extension | undefined { @@ -257,7 +304,7 @@ export class SDCValueSetProfile { public getExpansionDesignationRenderingStyle (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains","designation","value"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-style") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getExpansionDesignationRenderingStyleExtension (): Extension | undefined { @@ -269,7 +316,7 @@ export class SDCValueSetProfile { public getExpansionDesignationXhtml (): string | undefined { const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["expansion","contains","designation","value"]) const ext = (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-xhtml") - return ext?.valueString + return (ext as Record | undefined)?.valueString as string | undefined } public getExpansionDesignationXhtmlExtension (): Extension | undefined { @@ -278,5 +325,14 @@ export class SDCValueSetProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "status", "SDCValueSet"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["draft","active","retired","unknown"], "status", "SDCValueSet"); if (e) errors.push(e) } + { const e = validateRequired(r, "immutable", "SDCValueSet"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/index.ts index ebc0ec9e6..d760cc900 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/index.ts @@ -1,25 +1,76 @@ -export { SDCBaseQuestionnaireProfile } from "./SdcbaseQuestionnaire"; -export { SDCCodeSystemProfile } from "./SdccodeSystem"; -export { SDCLibraryProfile } from "./Sdclibrary"; -export { SDCModularQuestionnaireProfile } from "./SdcmodularQuestionnaire"; -export { SDCParametersQuestionnaireAssembleOutProfile } from "./SdcparametersQuestionnaireAssembleOut"; -export { SDCParametersQuestionnaireNextQuestionnaireInProfile } from "./SdcparametersQuestionnaireNextQuestionnaireIn"; -export { SDCParametersQuestionnaireNextQuestionnaireOutProfile } from "./SdcparametersQuestionnaireNextQuestionnaireOut"; -export { SDCParametersQuestionnaireProcessResponseInProfile } from "./SdcparametersQuestionnaireProcessResponseIn"; -export { SDCParametersQuestionnaireResponseExtractInProfile } from "./SdcparametersQuestionnaireResponseExtractIn"; -export { SDCQuestionnaireAdaptProfile } from "./SdcquestionnaireAdapt"; -export { SDCQuestionnaireAdaptSearchProfile } from "./SdcquestionnaireAdaptSearch"; -export { SDCQuestionnaireBehaveProfile } from "./SdcquestionnaireBehave"; -export { SDCQuestionnaireExtractDefinitionProfile } from "./SdcquestionnaireExtractDefinition"; -export { SDCQuestionnaireExtractObservationProfile } from "./SdcquestionnaireExtractObservation"; -export { SDCQuestionnaireExtractStructureMapProfile } from "./SdcquestionnaireExtractStructureMap"; -export { SDCQuestionnairePopulateExpressionProfile } from "./SdcquestionnairePopulateExpression"; -export { SDCQuestionnairePopulateObservationProfile } from "./SdcquestionnairePopulateObservation"; -export { SDCQuestionnairePopulateStructureMapProfile } from "./SdcquestionnairePopulateStructureMap"; -export { SDCQuestionnaireRenderProfile } from "./SdcquestionnaireRender"; -export { SDCQuestionnaireResponseProfile } from "./SdcquestionnaireResponse"; -export { SDCQuestionnaireResponseAdaptProfile } from "./SdcquestionnaireResponseAdapt"; -export { SDCQuestionnaireSearchProfile } from "./SdcquestionnaireSearch"; -export { SDCQuestionnaireServiceRequestProfile } from "./SdcquestionnaireServiceRequest"; -export { SDCTaskQuestionnaireProfile } from "./SdctaskQuestionnaire"; -export { SDCValueSetProfile } from "./SdcvalueSet"; +export type { SDCBaseQuestionnaire } from "./Questionnaire_SDCBaseQuestionnaire"; +export type { SDCCodeSystem } from "./CodeSystem_SDCCodeSystem"; +export type { SDCQuestionnaireAdapt } from "./Questionnaire_SDCQuestionnaireAdapt"; +export type { SDCQuestionnaireResponse } from "./QuestionnaireResponse_SDCQuestionnaireResponse"; +export type { SDCQuestionnaireResponseAdapt } from "./QuestionnaireResponse_SDCQuestionnaireResponseAdapt"; +export type { SDCQuestionnaireSearch } from "./Questionnaire_SDCQuestionnaireSearch"; +export type { SDCQuestionnaireServiceRequest } from "./ServiceRequest_SDCQuestionnaireServiceRequest"; +export type { SDCTaskQuestionnaire } from "./Task_SDCTaskQuestionnaire"; +export type { SDCValueSet } from "./ValueSet_SDCValueSet"; +export { AnswerExpressionExtensionProfile } from "./Extension_AnswerExpressionExtension"; +export { AnswerOptionsToggleExpressionExtensionProfile } from "./Extension_AnswerOptionsToggleExpressionExtension"; +export { AssembleContextExtensionProfile } from "./Extension_AssembleContextExtension"; +export { AssembleExpectationProfile } from "./Extension_AssembleExpectation"; +export { AssembledFromExtensionProfile } from "./Extension_AssembledFromExtension"; +export { CalculatedExpressionExtensionProfile } from "./Extension_CalculatedExpressionExtension"; +export { CandidateExpressionExtensionProfile } from "./Extension_CandidateExpressionExtension"; +export { ChoiceColumnExtensionProfile } from "./Extension_ChoiceColumnExtension"; +export { CollapsibleExtensionProfile } from "./Extension_CollapsibleExtension"; +export { ContextExpressionExtensionProfile } from "./Extension_ContextExpressionExtension"; +export { EnableWhenExpressionExtensionProfile } from "./Extension_EnableWhenExpressionExtension"; +export { EndpointExtensionProfile } from "./Extension_EndpointExtension"; +export { EntryModeProfile } from "./Extension_EntryMode"; +export { InitialExpressionExtensionProfile } from "./Extension_InitialExpressionExtension"; +export { IsSubjectExtensionProfile } from "./Extension_IsSubjectExtension"; +export { ItemAnswerMediaProfile } from "./Extension_ItemAnswerMedia"; +export { ItemExtractionContextExtensionProfile } from "./Extension_ItemExtractionContextExtension"; +export { ItemMediaProfile } from "./Extension_ItemMedia"; +export { ItemPopulationContextExtensionProfile } from "./Extension_ItemPopulationContextExtension"; +export { LaunchContextExtensionProfile } from "./Extension_LaunchContextExtension"; +export { LookupQuestionnaireExtensionProfile } from "./Extension_LookupQuestionnaireExtension"; +export { MaxQuantityExtensionProfile } from "./Extension_MaxQuantityExtension"; +export { MinQuantityExtensionProfile } from "./Extension_MinQuantityExtension"; +export { ObservationExtractCategoryProfile } from "./Extension_ObservationExtractCategory"; +export { ObservationExtractExtensionProfile } from "./Extension_ObservationExtractExtension"; +export { ObservationLinkPeriodExtensionProfile } from "./Extension_ObservationLinkPeriodExtension"; +export { OptionalDisplayExtensionProfile } from "./Extension_OptionalDisplayExtension"; +export { PerformerTypeExtensionProfile } from "./Extension_PerformerTypeExtension"; +export { PreferredTerminologyServerProfile } from "./Extension_PreferredTerminologyServer"; +export { QuestionnaireAdaptiveExtensionProfile } from "./Extension_QuestionnaireAdaptiveExtension"; +export { ReferencesContainedProfile } from "./Extension_ReferencesContained"; +export { SDCBaseQuestionnaireProfile } from "./Questionnaire_SDCBaseQuestionnaire"; +export { SDCCodeSystemProfile } from "./CodeSystem_SDCCodeSystem"; +export { SDCLibraryProfile } from "./Library_SDCLibrary"; +export { SDCModularQuestionnaireProfile } from "./Questionnaire_SDCModularQuestionnaire"; +export { SDCOpenLabelProfile } from "./Extension_SDCOpenLabel"; +export { SDCParametersQuestionnaireAssembleOutProfile } from "./Parameters_SDCParametersQuestionnaireAssembleOut"; +export { SDCParametersQuestionnaireNextQuestionnaireInProfile } from "./Parameters_SDCParametersQuestionnaireNextQuestionnaireIn"; +export { SDCParametersQuestionnaireNextQuestionnaireOutProfile } from "./Parameters_SDCParametersQuestionnaireNextQuestionnaireOut"; +export { SDCParametersQuestionnaireProcessResponseInProfile } from "./Parameters_SDCParametersQuestionnaireProcessResponseIn"; +export { SDCParametersQuestionnaireResponseExtractInProfile } from "./Parameters_SDCParametersQuestionnaireResponseExtractIn"; +export { SDCQuestionnaireAdaptProfile } from "./Questionnaire_SDCQuestionnaireAdapt"; +export { SDCQuestionnaireAdaptSearchProfile } from "./Questionnaire_SDCQuestionnaireAdaptSearch"; +export { SDCQuestionnaireBehaveProfile } from "./Questionnaire_SDCQuestionnaireBehave"; +export { SDCQuestionnaireExtractDefinitionProfile } from "./Questionnaire_SDCQuestionnaireExtractDefinition"; +export { SDCQuestionnaireExtractObservationProfile } from "./Questionnaire_SDCQuestionnaireExtractObservation"; +export { SDCQuestionnaireExtractStructureMapProfile } from "./Questionnaire_SDCQuestionnaireExtractStructureMap"; +export { SDCQuestionnairePopulateExpressionProfile } from "./Questionnaire_SDCQuestionnairePopulateExpression"; +export { SDCQuestionnairePopulateObservationProfile } from "./Questionnaire_SDCQuestionnairePopulateObservation"; +export { SDCQuestionnairePopulateStructureMapProfile } from "./Questionnaire_SDCQuestionnairePopulateStructureMap"; +export { SDCQuestionnaireRenderProfile } from "./Questionnaire_SDCQuestionnaireRender"; +export { SDCQuestionnaireResponseAdaptProfile } from "./QuestionnaireResponse_SDCQuestionnaireResponseAdapt"; +export { SDCQuestionnaireResponseProfile } from "./QuestionnaireResponse_SDCQuestionnaireResponse"; +export { SDCQuestionnaireSearchProfile } from "./Questionnaire_SDCQuestionnaireSearch"; +export { SDCQuestionnaireServiceRequestProfile } from "./ServiceRequest_SDCQuestionnaireServiceRequest"; +export { SDCServiceRequestQuestionnaireProfile } from "./Extension_SDCServiceRequestQuestionnaire"; +export { SDCTaskQuestionnaireProfile } from "./Task_SDCTaskQuestionnaire"; +export { SDCUsageContextProfile } from "./UsageContext_SDCUsageContext"; +export { SDCValueSetProfile } from "./ValueSet_SDCValueSet"; +export { ShortTextExtensionProfile } from "./Extension_ShortTextExtension"; +export { SourceQueriesExtensionProfile } from "./Extension_SourceQueriesExtension"; +export { SourceStructureMapExtensionProfile } from "./Extension_SourceStructureMapExtension"; +export { SubQuestionnaireExtensionProfile } from "./Extension_SubQuestionnaireExtension"; +export { TargetStructureMapExtensionProfile } from "./Extension_TargetStructureMapExtension"; +export { UnitOpenProfile } from "./Extension_UnitOpen"; +export { UnitSupplementalSystemProfile } from "./Extension_UnitSupplementalSystem"; +export { WidthExtensionProfile } from "./Extension_WidthExtension"; diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Basic_SMARTAppStateBasic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Basic_SMARTAppStateBasic.ts new file mode 100644 index 000000000..084ba8beb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Basic_SMARTAppStateBasic.ts @@ -0,0 +1,66 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Basic } from "../../hl7-fhir-r4-core/Basic"; +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type SMARTAppStateBasicProfileParams = { + code: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic (pkg: hl7.fhir.uv.smart-app-launch#2.2.0) +export class SMARTAppStateBasicProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic" + + private resource: Basic + + constructor (resource: Basic) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic")) profiles.push("http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic") + } + + static from (resource: Basic) : SMARTAppStateBasicProfile { + return new SMARTAppStateBasicProfile(resource) + } + + static createResource (args: SMARTAppStateBasicProfileParams) : Basic { + const resource: Basic = { + resourceType: "Basic", + code: args.code, + meta: { profile: ["http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic"] }, + } as unknown as Basic + return resource + } + + static create (args: SMARTAppStateBasicProfileParams) : SMARTAppStateBasicProfile { + return SMARTAppStateBasicProfile.from(SMARTAppStateBasicProfile.createResource(args)) + } + + toResource () : Basic { + return this.resource + } + + getCode () : CodeableConcept | undefined { + return this.resource.code as CodeableConcept | undefined + } + + setCode (value: CodeableConcept) : this { + Object.assign(this.resource, { code: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "SMARTAppStateBasic"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Bundle_UserAccessBrandsBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Bundle_UserAccessBrandsBundle.ts new file mode 100644 index 000000000..04ae0fe98 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Bundle_UserAccessBrandsBundle.ts @@ -0,0 +1,63 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Bundle } from "../../hl7-fhir-r4-core/Bundle"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brands-bundle (pkg: hl7.fhir.uv.smart-app-launch#2.2.0) +export class UserAccessBrandsBundleProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brands-bundle" + + private resource: Bundle + + constructor (resource: Bundle) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brands-bundle")) profiles.push("http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brands-bundle") + } + + static from (resource: Bundle) : UserAccessBrandsBundleProfile { + return new UserAccessBrandsBundleProfile(resource) + } + + static createResource () : Bundle { + const resource: Bundle = { + resourceType: "Bundle", + type: "collection", + meta: { profile: ["http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brands-bundle"] }, + } as unknown as Bundle + return resource + } + + static create () : UserAccessBrandsBundleProfile { + return UserAccessBrandsBundleProfile.from(UserAccessBrandsBundleProfile.createResource()) + } + + toResource () : Bundle { + return this.resource + } + + getType () : ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined { + return this.resource.type as ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection") | undefined + } + + setType (value: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection")) : this { + Object.assign(this.resource, { type: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "type", "UserAccessBrandsBundle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "type", "collection", "UserAccessBrandsBundle"); if (e) errors.push(e) } + { const e = validateEnum(r["type"], ["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"], "type", "UserAccessBrandsBundle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Endpoint_UserAccessEndpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Endpoint_UserAccessEndpoint.ts new file mode 100644 index 000000000..897211440 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Endpoint_UserAccessEndpoint.ts @@ -0,0 +1,190 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; +import type { Coding } from "../../hl7-fhir-r4-core/Coding"; +import type { ContactPoint } from "../../hl7-fhir-r4-core/ContactPoint"; +import type { Endpoint } from "../../hl7-fhir-r4-core/Endpoint"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export interface UserAccessEndpoint extends Endpoint { + contact: ContactPoint[]; +} + +export type UserAccessEndpoint_Contact_Configuration_urlSliceInput = Omit; + +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +export type UserAccessEndpointProfileParams = { + extension: Extension[]; + status: ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test"); + address: string; + contact?: ContactPoint[]; +} + +// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-endpoint (pkg: hl7.fhir.uv.smart-app-launch#2.2.0) +export class UserAccessEndpointProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-endpoint" + + private resource: Endpoint + + constructor (resource: Endpoint) { + this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-endpoint")) profiles.push("http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-endpoint") + } + + static from (resource: Endpoint) : UserAccessEndpointProfile { + return new UserAccessEndpointProfile(resource) + } + + static createResource (args: UserAccessEndpointProfileParams) : Endpoint { + const contactDefaults = [{"system":"url"}] as unknown[] + const contactWithDefaults = [...(args.contact ?? [])] as unknown[] + if (!contactWithDefaults.some(item => matchesSlice(item, {"system":"url"} as Record))) contactWithDefaults.push(contactDefaults[0]!) + const resource: Endpoint = { + resourceType: "Endpoint", + connectionType: {"system":"http://terminology.hl7.org/CodeSystem/endpoint-connection-type","code":"hl7-fhir-rest"}, + payloadType: [{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/endpoint-payload-type","code":"none"}]}], + contact: contactWithDefaults, + extension: args.extension, + status: args.status, + address: args.address, + meta: { profile: ["http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-endpoint"] }, + } as unknown as Endpoint + return resource + } + + static create (args: UserAccessEndpointProfileParams) : UserAccessEndpointProfile { + return UserAccessEndpointProfile.from(UserAccessEndpointProfile.createResource(args)) + } + + toResource () : Endpoint { + return this.resource + } + + getExtension () : Extension[] | undefined { + return this.resource.extension as Extension[] | undefined + } + + setExtension (value: Extension[]) : this { + Object.assign(this.resource, { extension: value }) + return this + } + + getStatus () : ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test") | undefined { + return this.resource.status as ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test") | undefined + } + + setStatus (value: ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test")) : this { + Object.assign(this.resource, { status: value }) + return this + } + + getAddress () : string | undefined { + return this.resource.address as string | undefined + } + + setAddress (value: string) : this { + Object.assign(this.resource, { address: value }) + return this + } + + getConnectionType () : Coding<("ihe-xcpd" | "ihe-xca" | "ihe-xdr" | "ihe-xds" | "ihe-iid" | "dicom-wado-rs" | "dicom-qido-rs" | "dicom-stow-rs" | "dicom-wado-uri" | "hl7-fhir-rest" | "hl7-fhir-msg" | "hl7v2-mllp" | "secure-email" | "direct-project" | string)> | undefined { + return this.resource.connectionType as Coding<("ihe-xcpd" | "ihe-xca" | "ihe-xdr" | "ihe-xds" | "ihe-iid" | "dicom-wado-rs" | "dicom-qido-rs" | "dicom-stow-rs" | "dicom-wado-uri" | "hl7-fhir-rest" | "hl7-fhir-msg" | "hl7v2-mllp" | "secure-email" | "direct-project" | string)> | undefined + } + + setConnectionType (value: Coding<("ihe-xcpd" | "ihe-xca" | "ihe-xdr" | "ihe-xds" | "ihe-iid" | "dicom-wado-rs" | "dicom-qido-rs" | "dicom-stow-rs" | "dicom-wado-uri" | "hl7-fhir-rest" | "hl7-fhir-msg" | "hl7v2-mllp" | "secure-email" | "direct-project" | string)>) : this { + Object.assign(this.resource, { connectionType: value }) + return this + } + + getContact () : ContactPoint[] | undefined { + return this.resource.contact as ContactPoint[] | undefined + } + + setContact (value: ContactPoint[]) : this { + Object.assign(this.resource, { contact: value }) + return this + } + + getPayloadType () : CodeableConcept[] | undefined { + return this.resource.payloadType as CodeableConcept[] | undefined + } + + setPayloadType (value: CodeableConcept[]) : this { + Object.assign(this.resource, { payloadType: value }) + return this + } + + toProfile () : UserAccessEndpoint { + return this.resource as UserAccessEndpoint + } + + public setFhirVersion (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version", valueCode: value } as Extension) + return this + } + + public setConfiguration_url (input?: UserAccessEndpoint_Contact_Configuration_urlSliceInput): this { + const match = {"system":"url"} as Record + const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ContactPoint + const list = (this.resource.contact ??= []) + const index = list.findIndex((item) => matchesSlice(item, match)) + if (index === -1) { + list.push(value) + } else { + list[index] = value + } + return this + } + + public getFhirVersion (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version") + return (ext as Record | undefined)?.valueCode as string | undefined + } + + public getFhirVersionExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version") + return ext + } + + public getConfiguration_url (): UserAccessEndpoint_Contact_Configuration_urlSliceInput | undefined { + const match = {"system":"url"} as Record + const list = this.resource.contact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + if (!item) return undefined + return extractSliceSimplified(item as unknown as Record, ["system"]) as UserAccessEndpoint_Contact_Configuration_urlSliceInput + } + + public getConfiguration_urlRaw (): ContactPoint | undefined { + const match = {"system":"url"} as Record + const list = this.resource.contact + if (!list) return undefined + const item = list.find((item) => matchesSlice(item, match)) + return item + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "extension", "UserAccessEndpoint"); if (e) errors.push(e) } + { const e = validateRequired(r, "status", "UserAccessEndpoint"); if (e) errors.push(e) } + { const e = validateEnum(r["status"], ["active","suspended","error","off","entered-in-error","test"], "status", "UserAccessEndpoint"); if (e) errors.push(e) } + { const e = validateRequired(r, "connectionType", "UserAccessEndpoint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "connectionType", {"system":"http://terminology.hl7.org/CodeSystem/endpoint-connection-type","code":"hl7-fhir-rest"}, "UserAccessEndpoint"); if (e) errors.push(e) } + { const e = validateRequired(r, "contact", "UserAccessEndpoint"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["contact"] as unknown[] | undefined, {"system":"url"}, "configuration-url", 1, 0, "UserAccessEndpoint.contact")) + { const e = validateRequired(r, "payloadType", "UserAccessEndpoint"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "payloadType", {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/endpoint-payload-type","code":"none"}]}, "UserAccessEndpoint"); if (e) errors.push(e) } + { const e = validateRequired(r, "address", "UserAccessEndpoint"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessBrand.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Organization_UserAccessBrand.ts similarity index 69% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessBrand.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Organization_UserAccessBrand.ts index b530420b3..d893e8312 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessBrand.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Organization_UserAccessBrand.ts @@ -8,7 +8,6 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Organization } from "../../hl7-fhir-r4-core/Organization"; import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brand export interface UserAccessBrand extends Organization { name: string; telecom: ContactPoint[]; @@ -31,19 +30,67 @@ export type UserAccessBrand_PortalInput = { portalEndpoint?: Reference[]; } -import { extractComplexExtension } from "../../profile-helpers"; +import { extractComplexExtension, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type UserAccessBrandProfileParams = { + name: string; + telecom: ContactPoint[]; +} + +// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brand (pkg: hl7.fhir.uv.smart-app-launch#2.2.0) export class UserAccessBrandProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brand" + private resource: Organization constructor (resource: Organization) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brand")) profiles.push("http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brand") + } + + static from (resource: Organization) : UserAccessBrandProfile { + return new UserAccessBrandProfile(resource) + } + + static createResource (args: UserAccessBrandProfileParams) : Organization { + const resource: Organization = { + resourceType: "Organization", + name: args.name, + telecom: args.telecom, + meta: { profile: ["http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brand"] }, + } as unknown as Organization + return resource + } + + static create (args: UserAccessBrandProfileParams) : UserAccessBrandProfile { + return UserAccessBrandProfile.from(UserAccessBrandProfile.createResource(args)) } toResource () : Organization { return this.resource } + getName () : string | undefined { + return this.resource.name as string | undefined + } + + setName (value: string) : this { + Object.assign(this.resource, { name: value }) + return this + } + + getTelecom () : ContactPoint[] | undefined { + return this.resource.telecom as ContactPoint[] | undefined + } + + setTelecom (value: ContactPoint[]) : this { + Object.assign(this.resource, { telecom: value }) + return this + } + toProfile () : UserAccessBrand { return this.resource as UserAccessBrand } @@ -135,5 +182,15 @@ export class UserAccessBrandProfile { return ext } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "name", "UserAccessBrand"); if (e) errors.push(e) } + { const e = validateRequired(r, "telecom", "UserAccessBrand"); if (e) errors.push(e) } + { const e = validateReference(r["partOf"], ["Organization"], "partOf", "UserAccessBrand"); if (e) errors.push(e) } + { const e = validateReference(r["endpoint"], ["UserAccessEndpoint"], "endpoint", "UserAccessBrand"); if (e) errors.push(e) } + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/SmartappStateBasic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/SmartappStateBasic.ts deleted file mode 100644 index 309174100..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/SmartappStateBasic.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Basic } from "../../hl7-fhir-r4-core/Basic"; - -// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic -export class SMARTAppStateBasicProfile { - private resource: Basic - - constructor (resource: Basic) { - this.resource = resource - } - - toResource () : Basic { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/TaskEhrLaunch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskEhrLaunch.ts similarity index 51% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/TaskEhrLaunch.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskEhrLaunch.ts index 87d6d52f9..03a73a725 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/TaskEhrLaunch.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskEhrLaunch.ts @@ -6,28 +6,77 @@ import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; import type { Task } from "../../hl7-fhir-r4-core/Task"; import type { TaskInput } from "../../hl7-fhir-r4-core/Task"; -// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch export interface TaskEhrLaunch extends Task { - code: CodeableConcept; + code: CodeableConcept<("launch-app-ehr" | "launch-app-standalone")>; input: TaskInput[]; } export type TaskEhrLaunch_Input_LaunchurlSliceInput = Omit; export type TaskEhrLaunch_Input_LaunchcontextSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type TaskEhrLaunchProfileParams = { + input?: TaskInput[]; +} + +// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch (pkg: hl7.fhir.uv.smart-app-launch#2.2.0) export class TaskEhrLaunchProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch" + private resource: Task constructor (resource: Task) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch")) profiles.push("http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch") + } + + static from (resource: Task) : TaskEhrLaunchProfile { + return new TaskEhrLaunchProfile(resource) + } + + static createResource (args: TaskEhrLaunchProfileParams) : Task { + const inputDefaults = [{"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}}] as unknown[] + const inputWithDefaults = [...(args.input ?? [])] as unknown[] + if (!inputWithDefaults.some(item => matchesSlice(item, {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}} as Record))) inputWithDefaults.push(inputDefaults[0]!) + const resource: Task = { + resourceType: "Task", + code: {"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"launch-app-ehr"}]}, + input: inputWithDefaults, + meta: { profile: ["http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch"] }, + } as unknown as Task + return resource + } + + static create (args: TaskEhrLaunchProfileParams) : TaskEhrLaunchProfile { + return TaskEhrLaunchProfile.from(TaskEhrLaunchProfile.createResource(args)) } toResource () : Task { return this.resource } + getCode () : CodeableConcept<("launch-app-ehr" | "launch-app-standalone")> | undefined { + return this.resource.code as CodeableConcept<("launch-app-ehr" | "launch-app-standalone")> | undefined + } + + setCode (value: CodeableConcept<("launch-app-ehr" | "launch-app-standalone")>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getInput () : TaskInput[] | undefined { + return this.resource.input as TaskInput[] | undefined + } + + setInput (value: TaskInput[]) : this { + Object.assign(this.resource, { input: value }) + return this + } + toProfile () : TaskEhrLaunch { return this.resource as TaskEhrLaunch } @@ -92,5 +141,17 @@ export class TaskEhrLaunchProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "TaskEhrLaunch"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"launch-app-ehr"}]}, "TaskEhrLaunch"); if (e) errors.push(e) } + { const e = validateEnum(r["code"], ["launch-app-ehr","launch-app-standalone"], "code", "TaskEhrLaunch"); if (e) errors.push(e) } + { const e = validateRequired(r, "input", "TaskEhrLaunch"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["input"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}}, "launchurl", 1, 1, "TaskEhrLaunch.input")) + errors.push(...validateSliceCardinality(r["input"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-appcontext"}]}}, "launchcontext", 0, 1, "TaskEhrLaunch.input")) + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/TaskStandaloneLaunch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskStandaloneLaunch.ts similarity index 50% rename from examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/TaskStandaloneLaunch.ts rename to examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskStandaloneLaunch.ts index c0ab9945e..ce5c4f2f3 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/TaskStandaloneLaunch.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskStandaloneLaunch.ts @@ -6,28 +6,77 @@ import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; import type { Task } from "../../hl7-fhir-r4-core/Task"; import type { TaskInput } from "../../hl7-fhir-r4-core/Task"; -// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch export interface TaskStandaloneLaunch extends Task { - code: CodeableConcept; + code: CodeableConcept<("launch-app-ehr" | "launch-app-standalone")>; input: TaskInput[]; } export type TaskStandaloneLaunch_Input_LaunchurlSliceInput = Omit; export type TaskStandaloneLaunch_Input_LaunchcontextSliceInput = Omit; -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +export type TaskStandaloneLaunchProfileParams = { + input?: TaskInput[]; +} + +// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch (pkg: hl7.fhir.uv.smart-app-launch#2.2.0) export class TaskStandaloneLaunchProfile { + static readonly canonicalUrl = "http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch" + private resource: Task constructor (resource: Task) { this.resource = resource + const r = resource as unknown as Record + const meta = (r.meta ??= {}) as Record + const profiles = (meta.profile ??= []) as string[] + if (!profiles.includes("http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch")) profiles.push("http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch") + } + + static from (resource: Task) : TaskStandaloneLaunchProfile { + return new TaskStandaloneLaunchProfile(resource) + } + + static createResource (args: TaskStandaloneLaunchProfileParams) : Task { + const inputDefaults = [{"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}}] as unknown[] + const inputWithDefaults = [...(args.input ?? [])] as unknown[] + if (!inputWithDefaults.some(item => matchesSlice(item, {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}} as Record))) inputWithDefaults.push(inputDefaults[0]!) + const resource: Task = { + resourceType: "Task", + code: {"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"launch-app-standalone"}]}, + input: inputWithDefaults, + meta: { profile: ["http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch"] }, + } as unknown as Task + return resource + } + + static create (args: TaskStandaloneLaunchProfileParams) : TaskStandaloneLaunchProfile { + return TaskStandaloneLaunchProfile.from(TaskStandaloneLaunchProfile.createResource(args)) } toResource () : Task { return this.resource } + getCode () : CodeableConcept<("launch-app-ehr" | "launch-app-standalone")> | undefined { + return this.resource.code as CodeableConcept<("launch-app-ehr" | "launch-app-standalone")> | undefined + } + + setCode (value: CodeableConcept<("launch-app-ehr" | "launch-app-standalone")>) : this { + Object.assign(this.resource, { code: value }) + return this + } + + getInput () : TaskInput[] | undefined { + return this.resource.input as TaskInput[] | undefined + } + + setInput (value: TaskInput[]) : this { + Object.assign(this.resource, { input: value }) + return this + } + toProfile () : TaskStandaloneLaunch { return this.resource as TaskStandaloneLaunch } @@ -92,5 +141,17 @@ export class TaskStandaloneLaunchProfile { return item } + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "code", "TaskStandaloneLaunch"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "code", {"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"launch-app-standalone"}]}, "TaskStandaloneLaunch"); if (e) errors.push(e) } + { const e = validateEnum(r["code"], ["launch-app-ehr","launch-app-standalone"], "code", "TaskStandaloneLaunch"); if (e) errors.push(e) } + { const e = validateRequired(r, "input", "TaskStandaloneLaunch"); if (e) errors.push(e) } + errors.push(...validateSliceCardinality(r["input"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}}, "launchurl", 1, 1, "TaskStandaloneLaunch.input")) + errors.push(...validateSliceCardinality(r["input"] as unknown[] | undefined, {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-appcontext"}]}}, "launchcontext", 0, 1, "TaskStandaloneLaunch.input")) + return errors + } + } diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessBrandsBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessBrandsBundle.ts deleted file mode 100644 index 30ccd6ff4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessBrandsBundle.ts +++ /dev/null @@ -1,20 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { Bundle } from "../../hl7-fhir-r4-core/Bundle"; - -// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brands-bundle -export class UserAccessBrandsBundleProfile { - private resource: Bundle - - constructor (resource: Bundle) { - this.resource = resource - } - - toResource () : Bundle { - return this.resource - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessEndpoint.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessEndpoint.ts deleted file mode 100644 index 84271c1cb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/UserAccessEndpoint.ts +++ /dev/null @@ -1,80 +0,0 @@ -// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ContactPoint } from "../../hl7-fhir-r4-core/ContactPoint"; -import type { Endpoint } from "../../hl7-fhir-r4-core/Endpoint"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-endpoint -export interface UserAccessEndpoint extends Endpoint { - contact: ContactPoint[]; -} - -export type UserAccessEndpoint_Contact_Configuration_urlSliceInput = Omit; - -import { applySliceMatch, matchesSlice, extractSliceSimplified } from "../../profile-helpers"; - -export class UserAccessEndpointProfile { - private resource: Endpoint - - constructor (resource: Endpoint) { - this.resource = resource - } - - toResource () : Endpoint { - return this.resource - } - - toProfile () : UserAccessEndpoint { - return this.resource as UserAccessEndpoint - } - - public setFhirVersion (value: string): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version", valueCode: value }) - return this - } - - public setConfigurationUrl (input?: UserAccessEndpoint_Contact_Configuration_urlSliceInput): this { - const match = {"system":"url"} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ContactPoint - const list = (this.resource.contact ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getFhirVersion (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version") - return ext?.valueCode - } - - public getFhirVersionExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version") - return ext - } - - public getConfigurationUrl (): UserAccessEndpoint_Contact_Configuration_urlSliceInput | undefined { - const match = {"system":"url"} as Record - const list = this.resource.contact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["system"]) as UserAccessEndpoint_Contact_Configuration_urlSliceInput - } - - public getConfigurationUrlRaw (): ContactPoint | undefined { - const match = {"system":"url"} as Record - const list = this.resource.contact - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/index.ts index 3a98d9268..8c3ee624a 100644 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/index.ts +++ b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/index.ts @@ -1,6 +1,10 @@ -export { SMARTAppStateBasicProfile } from "./SmartappStateBasic"; -export { TaskEhrLaunchProfile } from "./TaskEhrLaunch"; -export { TaskStandaloneLaunchProfile } from "./TaskStandaloneLaunch"; -export { UserAccessBrandProfile } from "./UserAccessBrand"; -export { UserAccessBrandsBundleProfile } from "./UserAccessBrandsBundle"; -export { UserAccessEndpointProfile } from "./UserAccessEndpoint"; +export type { TaskEhrLaunch } from "./Task_TaskEhrLaunch"; +export type { TaskStandaloneLaunch } from "./Task_TaskStandaloneLaunch"; +export type { UserAccessBrand } from "./Organization_UserAccessBrand"; +export type { UserAccessEndpoint } from "./Endpoint_UserAccessEndpoint"; +export { SMARTAppStateBasicProfile } from "./Basic_SMARTAppStateBasic"; +export { TaskEhrLaunchProfile } from "./Task_TaskEhrLaunch"; +export { TaskStandaloneLaunchProfile } from "./Task_TaskStandaloneLaunch"; +export { UserAccessBrandProfile } from "./Organization_UserAccessBrand"; +export { UserAccessBrandsBundleProfile } from "./Bundle_UserAccessBrandsBundle"; +export { UserAccessEndpointProfile } from "./Endpoint_UserAccessEndpoint"; diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/index.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/index.ts new file mode 100644 index 000000000..09303f508 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/index.ts @@ -0,0 +1 @@ +export * from "./profiles"; diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_AssociatedConceptProperty.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_AssociatedConceptProperty.ts new file mode 100644 index 000000000..484f0ab1d --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_AssociatedConceptProperty.ts @@ -0,0 +1,88 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp (pkg: hl7.terminology.r4#7.0.0) +export class AssociatedConceptPropertyProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssociatedConceptPropertyProfile { + return new AssociatedConceptPropertyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp", + } as unknown as Extension + return resource + } + + static create () : AssociatedConceptPropertyProfile { + return AssociatedConceptPropertyProfile.from(AssociatedConceptPropertyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setValue (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueString: value } as Extension) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getValue (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssociatedConceptProperty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp", "AssociatedConceptProperty"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemTitle.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemTitle.ts new file mode 100644 index 000000000..084983dcc --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemTitle.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title (pkg: hl7.terminology.r4#7.0.0) +export class NamingSystemTitleProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NamingSystemTitleProfile { + return new NamingSystemTitleProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title", + } as unknown as Extension + return resource + } + + static create () : NamingSystemTitleProfile { + return NamingSystemTitleProfile.from(NamingSystemTitleProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NamingSystemTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title", "NamingSystemTitle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemVersion.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemVersion.ts new file mode 100644 index 000000000..686f8d925 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemVersion.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version (pkg: hl7.terminology.r4#7.0.0) +export class NamingSystemVersionProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NamingSystemVersionProfile { + return new NamingSystemVersionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version", + } as unknown as Extension + return resource + } + + static create () : NamingSystemVersionProfile { + return NamingSystemVersionProfile.from(NamingSystemVersionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NamingSystemVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version", "NamingSystemVersion"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipInverseName.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipInverseName.ts new file mode 100644 index 000000000..409c24450 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipInverseName.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName (pkg: hl7.terminology.r4#7.0.0) +export class SupportedConceptRelationshipInverseNameProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipInverseNameProfile { + return new SupportedConceptRelationshipInverseNameProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipInverseNameProfile { + return SupportedConceptRelationshipInverseNameProfile.from(SupportedConceptRelationshipInverseNameProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipInverseName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName", "SupportedConceptRelationshipInverseName"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts new file mode 100644 index 000000000..8fcdcbe19 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable (pkg: hl7.terminology.r4#7.0.0) +export class SupportedConceptRelationshipIsNavigableProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipIsNavigableProfile { + return new SupportedConceptRelationshipIsNavigableProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipIsNavigableProfile { + return SupportedConceptRelationshipIsNavigableProfile.from(SupportedConceptRelationshipIsNavigableProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipIsNavigable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable", "SupportedConceptRelationshipIsNavigable"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipReflexivity.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipReflexivity.ts new file mode 100644 index 000000000..badc90812 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipReflexivity.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity (pkg: hl7.terminology.r4#7.0.0) +export class SupportedConceptRelationshipReflexivityProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipReflexivityProfile { + return new SupportedConceptRelationshipReflexivityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipReflexivityProfile { + return SupportedConceptRelationshipReflexivityProfile.from(SupportedConceptRelationshipReflexivityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipReflexivity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity", "SupportedConceptRelationshipReflexivity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts new file mode 100644 index 000000000..5378eb03b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind (pkg: hl7.terminology.r4#7.0.0) +export class SupportedConceptRelationshipRelationshipKindProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipRelationshipKindProfile { + return new SupportedConceptRelationshipRelationshipKindProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipRelationshipKindProfile { + return SupportedConceptRelationshipRelationshipKindProfile.from(SupportedConceptRelationshipRelationshipKindProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipRelationshipKind"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind", "SupportedConceptRelationshipRelationshipKind"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipSymmetry.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipSymmetry.ts new file mode 100644 index 000000000..dc174d032 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipSymmetry.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry (pkg: hl7.terminology.r4#7.0.0) +export class SupportedConceptRelationshipSymmetryProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipSymmetryProfile { + return new SupportedConceptRelationshipSymmetryProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipSymmetryProfile { + return SupportedConceptRelationshipSymmetryProfile.from(SupportedConceptRelationshipSymmetryProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipSymmetry"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry", "SupportedConceptRelationshipSymmetry"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipTransitivity.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipTransitivity.ts new file mode 100644 index 000000000..ae02a275b --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipTransitivity.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity (pkg: hl7.terminology.r4#7.0.0) +export class SupportedConceptRelationshipTransitivityProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipTransitivityProfile { + return new SupportedConceptRelationshipTransitivityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipTransitivityProfile { + return SupportedConceptRelationshipTransitivityProfile.from(SupportedConceptRelationshipTransitivityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipTransitivity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity", "SupportedConceptRelationshipTransitivity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/index.ts new file mode 100644 index 000000000..95291f3ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/index.ts @@ -0,0 +1,9 @@ +export { AssociatedConceptPropertyProfile } from "./Extension_AssociatedConceptProperty"; +export { NamingSystemTitleProfile } from "./Extension_NamingSystemTitle"; +export { NamingSystemVersionProfile } from "./Extension_NamingSystemVersion"; +export { SupportedConceptRelationshipInverseNameProfile } from "./Extension_SupportedConceptRelationshipInverseName"; +export { SupportedConceptRelationshipIsNavigableProfile } from "./Extension_SupportedConceptRelationshipIsNavigable"; +export { SupportedConceptRelationshipReflexivityProfile } from "./Extension_SupportedConceptRelationshipReflexivity"; +export { SupportedConceptRelationshipRelationshipKindProfile } from "./Extension_SupportedConceptRelationshipRelationshipKind"; +export { SupportedConceptRelationshipSymmetryProfile } from "./Extension_SupportedConceptRelationshipSymmetry"; +export { SupportedConceptRelationshipTransitivityProfile } from "./Extension_SupportedConceptRelationshipTransitivity"; diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/index.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/index.ts new file mode 100644 index 000000000..09303f508 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/index.ts @@ -0,0 +1 @@ +export * from "./profiles"; diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_AssociatedConceptProperty.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_AssociatedConceptProperty.ts new file mode 100644 index 000000000..c009c3fd4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_AssociatedConceptProperty.ts @@ -0,0 +1,88 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp (pkg: hl7.terminology.r5#5.3.0) +export class AssociatedConceptPropertyProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssociatedConceptPropertyProfile { + return new AssociatedConceptPropertyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp", + } as unknown as Extension + return resource + } + + static create () : AssociatedConceptPropertyProfile { + return AssociatedConceptPropertyProfile.from(AssociatedConceptPropertyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setValue (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueString: value } as Extension) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getValue (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssociatedConceptProperty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp", "AssociatedConceptProperty"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemTitle.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemTitle.ts new file mode 100644 index 000000000..14d39a59a --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemTitle.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title (pkg: hl7.terminology.r5#5.3.0) +export class NamingSystemTitleProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NamingSystemTitleProfile { + return new NamingSystemTitleProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title", + } as unknown as Extension + return resource + } + + static create () : NamingSystemTitleProfile { + return NamingSystemTitleProfile.from(NamingSystemTitleProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NamingSystemTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title", "NamingSystemTitle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemVersion.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemVersion.ts new file mode 100644 index 000000000..94e2d3cdb --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemVersion.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version (pkg: hl7.terminology.r5#5.3.0) +export class NamingSystemVersionProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NamingSystemVersionProfile { + return new NamingSystemVersionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version", + } as unknown as Extension + return resource + } + + static create () : NamingSystemVersionProfile { + return NamingSystemVersionProfile.from(NamingSystemVersionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NamingSystemVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version", "NamingSystemVersion"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipInverseName.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipInverseName.ts new file mode 100644 index 000000000..21daebcaf --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipInverseName.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName (pkg: hl7.terminology.r5#5.3.0) +export class SupportedConceptRelationshipInverseNameProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipInverseNameProfile { + return new SupportedConceptRelationshipInverseNameProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipInverseNameProfile { + return SupportedConceptRelationshipInverseNameProfile.from(SupportedConceptRelationshipInverseNameProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipInverseName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName", "SupportedConceptRelationshipInverseName"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts new file mode 100644 index 000000000..ac66a7a01 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable (pkg: hl7.terminology.r5#5.3.0) +export class SupportedConceptRelationshipIsNavigableProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipIsNavigableProfile { + return new SupportedConceptRelationshipIsNavigableProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipIsNavigableProfile { + return SupportedConceptRelationshipIsNavigableProfile.from(SupportedConceptRelationshipIsNavigableProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipIsNavigable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable", "SupportedConceptRelationshipIsNavigable"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipReflexivity.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipReflexivity.ts new file mode 100644 index 000000000..7f5aa1669 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipReflexivity.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity (pkg: hl7.terminology.r5#5.3.0) +export class SupportedConceptRelationshipReflexivityProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipReflexivityProfile { + return new SupportedConceptRelationshipReflexivityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipReflexivityProfile { + return SupportedConceptRelationshipReflexivityProfile.from(SupportedConceptRelationshipReflexivityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipReflexivity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity", "SupportedConceptRelationshipReflexivity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts new file mode 100644 index 000000000..5ee968790 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind (pkg: hl7.terminology.r5#5.3.0) +export class SupportedConceptRelationshipRelationshipKindProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipRelationshipKindProfile { + return new SupportedConceptRelationshipRelationshipKindProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipRelationshipKindProfile { + return SupportedConceptRelationshipRelationshipKindProfile.from(SupportedConceptRelationshipRelationshipKindProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipRelationshipKind"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind", "SupportedConceptRelationshipRelationshipKind"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipSymmetry.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipSymmetry.ts new file mode 100644 index 000000000..ed17b98d1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipSymmetry.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry (pkg: hl7.terminology.r5#5.3.0) +export class SupportedConceptRelationshipSymmetryProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipSymmetryProfile { + return new SupportedConceptRelationshipSymmetryProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipSymmetryProfile { + return SupportedConceptRelationshipSymmetryProfile.from(SupportedConceptRelationshipSymmetryProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipSymmetry"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry", "SupportedConceptRelationshipSymmetry"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipTransitivity.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipTransitivity.ts new file mode 100644 index 000000000..1ae7ede85 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipTransitivity.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r5-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity (pkg: hl7.terminology.r5#5.3.0) +export class SupportedConceptRelationshipTransitivityProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipTransitivityProfile { + return new SupportedConceptRelationshipTransitivityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipTransitivityProfile { + return SupportedConceptRelationshipTransitivityProfile.from(SupportedConceptRelationshipTransitivityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipTransitivity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity", "SupportedConceptRelationshipTransitivity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/index.ts new file mode 100644 index 000000000..95291f3ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/index.ts @@ -0,0 +1,9 @@ +export { AssociatedConceptPropertyProfile } from "./Extension_AssociatedConceptProperty"; +export { NamingSystemTitleProfile } from "./Extension_NamingSystemTitle"; +export { NamingSystemVersionProfile } from "./Extension_NamingSystemVersion"; +export { SupportedConceptRelationshipInverseNameProfile } from "./Extension_SupportedConceptRelationshipInverseName"; +export { SupportedConceptRelationshipIsNavigableProfile } from "./Extension_SupportedConceptRelationshipIsNavigable"; +export { SupportedConceptRelationshipReflexivityProfile } from "./Extension_SupportedConceptRelationshipReflexivity"; +export { SupportedConceptRelationshipRelationshipKindProfile } from "./Extension_SupportedConceptRelationshipRelationshipKind"; +export { SupportedConceptRelationshipSymmetryProfile } from "./Extension_SupportedConceptRelationshipSymmetry"; +export { SupportedConceptRelationshipTransitivityProfile } from "./Extension_SupportedConceptRelationshipTransitivity"; diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/index.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/index.ts new file mode 100644 index 000000000..09303f508 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/index.ts @@ -0,0 +1 @@ +export * from "./profiles"; diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_AssociatedConceptProperty.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_AssociatedConceptProperty.ts new file mode 100644 index 000000000..65dc5b1c0 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_AssociatedConceptProperty.ts @@ -0,0 +1,88 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp (pkg: hl7.terminology#5.5.0) +export class AssociatedConceptPropertyProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : AssociatedConceptPropertyProfile { + return new AssociatedConceptPropertyProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp", + } as unknown as Extension + return resource + } + + static create () : AssociatedConceptPropertyProfile { + return AssociatedConceptPropertyProfile.from(AssociatedConceptPropertyProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + public setName (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "name", valueString: value } as Extension) + return this + } + + public setValue (value: string): this { + const list = (this.resource.extension ??= []) + list.push({ url: "value", valueString: value } as Extension) + return this + } + + public getName (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getNameExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "name") + return ext + } + + public getValue (): string | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return (ext as Record | undefined)?.valueString as string | undefined + } + + public getValueExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "value") + return ext + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "AssociatedConceptProperty"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp", "AssociatedConceptProperty"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemTitle.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemTitle.ts new file mode 100644 index 000000000..db94eaf4e --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemTitle.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title (pkg: hl7.terminology#5.5.0) +export class NamingSystemTitleProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NamingSystemTitleProfile { + return new NamingSystemTitleProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title", + } as unknown as Extension + return resource + } + + static create () : NamingSystemTitleProfile { + return NamingSystemTitleProfile.from(NamingSystemTitleProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NamingSystemTitle"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-title", "NamingSystemTitle"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemVersion.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemVersion.ts new file mode 100644 index 000000000..80d4551f4 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemVersion.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version (pkg: hl7.terminology#5.5.0) +export class NamingSystemVersionProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : NamingSystemVersionProfile { + return new NamingSystemVersionProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version", + } as unknown as Extension + return resource + } + + static create () : NamingSystemVersionProfile { + return NamingSystemVersionProfile.from(NamingSystemVersionProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "NamingSystemVersion"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version", "NamingSystemVersion"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipInverseName.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipInverseName.ts new file mode 100644 index 000000000..ca78ad658 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipInverseName.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName (pkg: hl7.terminology#5.5.0) +export class SupportedConceptRelationshipInverseNameProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipInverseNameProfile { + return new SupportedConceptRelationshipInverseNameProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipInverseNameProfile { + return SupportedConceptRelationshipInverseNameProfile.from(SupportedConceptRelationshipInverseNameProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueString () : string | undefined { + return this.resource.valueString as string | undefined + } + + setValueString (value: string) : this { + Object.assign(this.resource, { valueString: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipInverseName"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName", "SupportedConceptRelationshipInverseName"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts new file mode 100644 index 000000000..86dd9075f --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipIsNavigable.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable (pkg: hl7.terminology#5.5.0) +export class SupportedConceptRelationshipIsNavigableProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipIsNavigableProfile { + return new SupportedConceptRelationshipIsNavigableProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipIsNavigableProfile { + return SupportedConceptRelationshipIsNavigableProfile.from(SupportedConceptRelationshipIsNavigableProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueBoolean () : boolean | undefined { + return this.resource.valueBoolean as boolean | undefined + } + + setValueBoolean (value: boolean) : this { + Object.assign(this.resource, { valueBoolean: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipIsNavigable"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable", "SupportedConceptRelationshipIsNavigable"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipReflexivity.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipReflexivity.ts new file mode 100644 index 000000000..6f84d54b8 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipReflexivity.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity (pkg: hl7.terminology#5.5.0) +export class SupportedConceptRelationshipReflexivityProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipReflexivityProfile { + return new SupportedConceptRelationshipReflexivityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipReflexivityProfile { + return SupportedConceptRelationshipReflexivityProfile.from(SupportedConceptRelationshipReflexivityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipReflexivity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity", "SupportedConceptRelationshipReflexivity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts new file mode 100644 index 000000000..e3a392688 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipRelationshipKind.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind (pkg: hl7.terminology#5.5.0) +export class SupportedConceptRelationshipRelationshipKindProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipRelationshipKindProfile { + return new SupportedConceptRelationshipRelationshipKindProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipRelationshipKindProfile { + return SupportedConceptRelationshipRelationshipKindProfile.from(SupportedConceptRelationshipRelationshipKindProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipRelationshipKind"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind", "SupportedConceptRelationshipRelationshipKind"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipSymmetry.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipSymmetry.ts new file mode 100644 index 000000000..6aa9c1eb3 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipSymmetry.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry (pkg: hl7.terminology#5.5.0) +export class SupportedConceptRelationshipSymmetryProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipSymmetryProfile { + return new SupportedConceptRelationshipSymmetryProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipSymmetryProfile { + return SupportedConceptRelationshipSymmetryProfile.from(SupportedConceptRelationshipSymmetryProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipSymmetry"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry", "SupportedConceptRelationshipSymmetry"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipTransitivity.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipTransitivity.ts new file mode 100644 index 000000000..d6d89d4a1 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipTransitivity.ts @@ -0,0 +1,65 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +import { validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; + +// CanonicalURL: http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity (pkg: hl7.terminology#5.5.0) +export class SupportedConceptRelationshipTransitivityProfile { + static readonly canonicalUrl = "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" + + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : SupportedConceptRelationshipTransitivityProfile { + return new SupportedConceptRelationshipTransitivityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity", + } as unknown as Extension + return resource + } + + static create () : SupportedConceptRelationshipTransitivityProfile { + return SupportedConceptRelationshipTransitivityProfile.from(SupportedConceptRelationshipTransitivityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + + getUrl () : string | undefined { + return this.resource.url as string | undefined + } + + setUrl (value: string) : this { + Object.assign(this.resource, { url: value }) + return this + } + + getValueCode () : string | undefined { + return this.resource.valueCode as string | undefined + } + + setValueCode (value: string) : this { + Object.assign(this.resource, { valueCode: value }) + return this + } + + validate () : string[] { + const errors: string[] = [] + const r = this.resource as unknown as Record + { const e = validateRequired(r, "url", "SupportedConceptRelationshipTransitivity"); if (e) errors.push(e) } + { const e = validateFixedValue(r, "url", "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity", "SupportedConceptRelationshipTransitivity"); if (e) errors.push(e) } + return errors + } + +} + diff --git a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/index.ts b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/index.ts new file mode 100644 index 000000000..95291f3ed --- /dev/null +++ b/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/index.ts @@ -0,0 +1,9 @@ +export { AssociatedConceptPropertyProfile } from "./Extension_AssociatedConceptProperty"; +export { NamingSystemTitleProfile } from "./Extension_NamingSystemTitle"; +export { NamingSystemVersionProfile } from "./Extension_NamingSystemVersion"; +export { SupportedConceptRelationshipInverseNameProfile } from "./Extension_SupportedConceptRelationshipInverseName"; +export { SupportedConceptRelationshipIsNavigableProfile } from "./Extension_SupportedConceptRelationshipIsNavigable"; +export { SupportedConceptRelationshipReflexivityProfile } from "./Extension_SupportedConceptRelationshipReflexivity"; +export { SupportedConceptRelationshipRelationshipKindProfile } from "./Extension_SupportedConceptRelationshipRelationshipKind"; +export { SupportedConceptRelationshipSymmetryProfile } from "./Extension_SupportedConceptRelationshipSymmetry"; +export { SupportedConceptRelationshipTransitivityProfile } from "./Extension_SupportedConceptRelationshipTransitivity"; diff --git a/examples/typescript-us-core/fhir-types/profile-helpers.ts b/examples/typescript-us-core/fhir-types/profile-helpers.ts index ce220c9ff..ab04e6bd0 100644 --- a/examples/typescript-us-core/fhir-types/profile-helpers.ts +++ b/examples/typescript-us-core/fhir-types/profile-helpers.ts @@ -98,3 +98,74 @@ export const extractSliceSimplified = >(slice: } return result as Partial; } + +export const wrapSliceChoice = (input: Record, choiceVariant: string): Record => { + if (Object.keys(input).length === 0) return input; + return { [choiceVariant]: input }; +} + +export const flattenSliceChoice = (slice: Record, matchKeys: string[], choiceVariant: string): Record => { + const result = { ...slice } as Record; + for (const key of matchKeys) { + delete result[key]; + } + const variantValue = result[choiceVariant]; + delete result[choiceVariant]; + if (isRecord(variantValue)) { + Object.assign(result, variantValue); + } + return result; +} + +export const validateRequired = (r: Record, field: string, path: string): string | undefined => { + return r[field] === undefined || r[field] === null ? `${path}: required field '${field}' is missing` : undefined; +} + +export const validateExcluded = (r: Record, field: string, path: string): string | undefined => { + return r[field] !== undefined ? `${path}: field '${field}' must not be present` : undefined; +} + +export const validateFixedValue = (r: Record, field: string, expected: unknown, path: string): string | undefined => { + return matchesValue(r[field], expected) ? undefined : `${path}: field '${field}' does not match expected fixed value`; +} + +export const validateSliceCardinality = (items: unknown[] | undefined, match: Record, sliceName: string, min: number, max: number, path: string): string[] => { + const count = (items ?? []).filter(item => matchesSlice(item, match)).length; + const errors: string[] = []; + if (count < min) { + errors.push(`${path}: slice '${sliceName}' requires at least ${min} item(s), found ${count}`); + } + if (max > 0 && count > max) { + errors.push(`${path}: slice '${sliceName}' allows at most ${max} item(s), found ${count}`); + } + return errors; +} + +export const validateEnum = (value: unknown, allowed: string[], field: string, path: string): string | undefined => { + if (value === undefined || value === null) return undefined; + if (typeof value === 'string') { + return allowed.includes(value) ? undefined : `${path}: field '${field}' value '${value}' is not in allowed values`; + } + const rec = value as Record; + // Coding + if (typeof rec.code === 'string' && rec.system !== undefined) { + return allowed.includes(rec.code) ? undefined : `${path}: field '${field}' code '${rec.code}' is not in allowed values`; + } + // CodeableConcept + if (Array.isArray(rec.coding)) { + const codes = (rec.coding as Array>).map(c => c.code as string).filter(Boolean); + const hasValid = codes.some(c => allowed.includes(c)); + return hasValid ? undefined : `${path}: field '${field}' has no coding with an allowed code`; + } + return undefined; +} + +export const validateReference = (value: unknown, allowed: string[], field: string, path: string): string | undefined => { + if (value === undefined || value === null) return undefined; + const ref = (value as Record).reference as string | undefined; + if (!ref) return undefined; + const slashIdx = ref.indexOf('/'); + if (slashIdx === -1) return undefined; + const refType = ref.slice(0, slashIdx); + return allowed.includes(refType) ? undefined : `${path}: field '${field}' references '${refType}' but only ${allowed.join(', ')} are allowed`; +} diff --git a/examples/typescript-us-core/multi-profile-demo.ts b/examples/typescript-us-core/multi-profile-demo.ts index 8c36df5bb..6b87de828 100644 --- a/examples/typescript-us-core/multi-profile-demo.ts +++ b/examples/typescript-us-core/multi-profile-demo.ts @@ -11,8 +11,10 @@ */ import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; -import { USCoreBodyHeightProfileProfile } from "./fhir-types/hl7-fhir-us-core/profiles/UscoreBodyHeightProfile"; -import { USCoreBodyWeightProfileProfile } from "./fhir-types/hl7-fhir-us-core/profiles/UscoreBodyWeightProfile"; +import { + USCoreBodyHeightProfileProfile as usHeightProfile, + USCoreBodyWeightProfileProfile as usWeightProfile, +} from "./fhir-types/hl7-fhir-us-core/profiles"; // Helper to create a base Observation resource const createBaseObservation = (): Observation => ({ @@ -24,7 +26,7 @@ const createBaseObservation = (): Observation => ({ // Example 1: Create a Body Weight observation function createBodyWeightObservation(): Observation { const resource = createBaseObservation(); - const profile = new USCoreBodyWeightProfileProfile(resource); + const profile = new usWeightProfile(resource); // Set the vital-signs category slice (auto-applies discriminator) // No input needed when all fields are part of the discriminator @@ -49,7 +51,7 @@ function createBodyWeightObservation(): Observation { // Example 2: Create a Body Height observation function createBodyHeightObservation(): Observation { const resource = createBaseObservation(); - const profile = new USCoreBodyHeightProfileProfile(resource); + const profile = new usHeightProfile(resource); // Set the vital-signs category slice profile.setVscat(); @@ -73,7 +75,7 @@ function createBodyHeightObservation(): Observation { // Example 3: Using getters to read values function demonstrateGetters() { const resource = createBaseObservation(); - const profile = new USCoreBodyWeightProfileProfile(resource); + const profile = new usWeightProfile(resource); profile.setVscat(); // Get simplified value (without discriminator) - flat API @@ -95,7 +97,7 @@ function demonstrateTypeNarrowing() { // - category: CodeableConcept[] (made required) const resource = createBaseObservation(); - const profile = new USCoreBodyWeightProfileProfile(resource); + const profile = new usWeightProfile(resource); profile.setVscat(); // TypeScript knows this is an Observation diff --git a/examples/typescript-us-core/multi-profile.test.ts b/examples/typescript-us-core/multi-profile.test.ts index ba60c5502..5ae64a08c 100644 --- a/examples/typescript-us-core/multi-profile.test.ts +++ b/examples/typescript-us-core/multi-profile.test.ts @@ -1,14 +1,16 @@ import { describe, expect, it } from "bun:test"; import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; -import { USCoreBodyHeightProfileProfile } from "./fhir-types/hl7-fhir-us-core/profiles/UscoreBodyHeightProfile"; -import { USCoreBodyWeightProfileProfile } from "./fhir-types/hl7-fhir-us-core/profiles/UscoreBodyWeightProfile"; +import { + USCoreBodyHeightProfileProfile as usHeightProfile, + USCoreBodyWeightProfileProfile as usWeightProfile, +} from "./fhir-types/hl7-fhir-us-core/profiles"; const createObservation = (): Observation => ({ resourceType: "Observation", status: "final", code: {} }); describe("Multi-Profile Pattern", () => { describe("Body Weight Profile", () => { it("creates valid body weight observation", () => { - const profile = new USCoreBodyWeightProfileProfile(createObservation()); + const profile = new usWeightProfile(createObservation()); profile.setVscat({}); const resource = profile.toResource(); @@ -18,7 +20,7 @@ describe("Multi-Profile Pattern", () => { }); it("has getters for slices", () => { - const profile = new USCoreBodyWeightProfileProfile(createObservation()); + const profile = new usWeightProfile(createObservation()); profile.setVscat({}); const vscat = profile.getVscat(); @@ -28,7 +30,7 @@ describe("Multi-Profile Pattern", () => { describe("Body Height Profile", () => { it("creates valid body height observation", () => { - const profile = new USCoreBodyHeightProfileProfile(createObservation()); + const profile = new usHeightProfile(createObservation()); profile.setVscat({}); const resource = profile.toResource(); @@ -38,7 +40,7 @@ describe("Multi-Profile Pattern", () => { }); it("has getters for slices", () => { - const profile = new USCoreBodyHeightProfileProfile(createObservation()); + const profile = new usHeightProfile(createObservation()); profile.setVscat({}); const vscat = profile.getVscat(); @@ -56,7 +58,7 @@ describe("Multi-Profile Pattern", () => { }; // Wrap with body weight profile - const weightProfile = new USCoreBodyWeightProfileProfile(baseObservation); + const weightProfile = new usWeightProfile(baseObservation); weightProfile.setVscat({}); const resource = weightProfile.toResource(); @@ -67,14 +69,14 @@ describe("Multi-Profile Pattern", () => { it("creates separate weight and height observations", () => { // Create weight observation - const weightProfile = new USCoreBodyWeightProfileProfile(createObservation()); + const weightProfile = new usWeightProfile(createObservation()); weightProfile.setVscat({}); const weightObs = weightProfile.toResource(); weightObs.code = { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body Weight" }] }; weightObs.valueQuantity = { value: 70, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" }; // Create height observation - const heightProfile = new USCoreBodyHeightProfileProfile(createObservation()); + const heightProfile = new usHeightProfile(createObservation()); heightProfile.setVscat({}); const heightObs = heightProfile.toResource(); heightObs.code = { coding: [{ system: "http://loinc.org", code: "8302-2", display: "Body Height" }] }; @@ -99,7 +101,7 @@ describe("Multi-Profile Pattern", () => { // The generated USCoreBodyWeightProfile interface extends Observation // with narrowed subject: Reference<"Patient"> instead of the base type's // subject?: Reference<"Device" | "Group" | "Location" | "Patient"> - const profile = new USCoreBodyWeightProfileProfile(createObservation()); + const profile = new usWeightProfile(createObservation()); const resource = profile.toResource(); // TypeScript should enforce that subject is Reference<"Patient"> diff --git a/examples/typescript-us-core/profile-demo.ts b/examples/typescript-us-core/profile-demo.ts index 5ac1cffc2..19d0cd5cf 100644 --- a/examples/typescript-us-core/profile-demo.ts +++ b/examples/typescript-us-core/profile-demo.ts @@ -9,8 +9,10 @@ import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; import type { Patient } from "./fhir-types/hl7-fhir-r4-core/Patient"; -import { USCoreBloodPressureProfileProfile } from "./fhir-types/hl7-fhir-us-core/profiles/UscoreBloodPressureProfile"; -import { USCorePatientProfileProfile } from "./fhir-types/hl7-fhir-us-core/profiles/UscorePatientProfile"; +import { + USCoreBloodPressureProfileProfile as usBpProfile, + USCorePatientProfileProfile as usPatientProfile, +} from "./fhir-types/hl7-fhir-us-core/profiles"; // ============================================================================= // Example 1: Creating a US Core Patient with extensions (flat API) @@ -19,19 +21,18 @@ function createPatientExample(): Patient { console.log("=== Example 1: US Core Patient Profile ===\n"); // Create a new patient profile builder with a base Patient resource - const patientProfile = new USCorePatientProfileProfile({ resourceType: "Patient" }); + const USCorePatientProfileProfile = new usPatientProfile({ resourceType: "Patient" }); // Use fluent API with FLAT object structure - no nested extensions! - patientProfile - .setRace({ - // Flat API - just provide the values directly - ombCategory: { - system: "urn:oid:2.16.840.1.113883.6.238", - code: "2106-3", - display: "White", - }, - text: "White", - }) + USCorePatientProfileProfile.setRace({ + // Flat API - just provide the values directly + ombCategory: { + system: "urn:oid:2.16.840.1.113883.6.238", + code: "2106-3", + display: "White", + }, + text: "White", + }) .setEthnicity({ // Flat API - no need to deal with extension arrays ombCategory: { @@ -48,7 +49,7 @@ function createPatientExample(): Patient { }); // Get the underlying FHIR resource - const patient = patientProfile.toResource(); + const patient = USCorePatientProfileProfile.toResource(); // Add additional fields directly to the resource patient.id = "example-patient-1"; @@ -81,11 +82,10 @@ function createBloodPressureExample(): Observation { console.log("=== Example 2: US Core Blood Pressure Profile ===\n"); // Create a blood pressure profile builder with a base Observation resource - const bpProfile = new USCoreBloodPressureProfileProfile({ resourceType: "Observation" } as Observation); + const USCoreBloodPressureProfileProfile = new usBpProfile({ resourceType: "Observation" } as Observation); // Use fluent API to set slices - discriminator values are auto-applied - bpProfile - .setVscat() + USCoreBloodPressureProfileProfile.setVscat() .setSystolic({ // The code for systolic (8480-6) is auto-applied by the profile valueQuantity: { @@ -106,7 +106,7 @@ function createBloodPressureExample(): Observation { }); // Get the underlying FHIR resource - const observation = bpProfile.toResource(); + const observation = USCoreBloodPressureProfileProfile.toResource(); // Add additional fields observation.id = "blood-pressure-1"; @@ -148,16 +148,16 @@ function wrapExistingResource(): Patient { }; // Wrap it with the profile class to add US Core extensions - const patientProfile = new USCorePatientProfileProfile(existingPatient); + const USCorePatientProfileProfile = new usPatientProfile(existingPatient); // Add extensions using the fluent API - patientProfile.setSex({ + USCorePatientProfileProfile.setSex({ system: "http://hl7.org/fhir/us/core/CodeSystem/birthsex", code: "F", display: "Female", }); - const updatedPatient = patientProfile.toResource(); + const updatedPatient = USCorePatientProfileProfile.toResource(); console.log("Updated Patient with extensions:"); console.log(JSON.stringify(updatedPatient, null, 2)); @@ -173,24 +173,25 @@ function resetExtensionExample(): Patient { console.log("=== Example 4: Resetting Extensions ===\n"); // Create patient with extensions - const patientProfile = new USCorePatientProfileProfile({ resourceType: "Patient" }); - patientProfile - .setSex({ - system: "http://hl7.org/fhir/us/core/CodeSystem/birthsex", - code: "M", - display: "Male", - }) - .setInterpreterRequired({ - system: "http://terminology.hl7.org/CodeSystem/v2-0136", - code: "Y", - display: "Yes", - }); + const USCorePatientProfileProfile = new usPatientProfile({ resourceType: "Patient" }); + USCorePatientProfileProfile.setSex({ + system: "http://hl7.org/fhir/us/core/CodeSystem/birthsex", + code: "M", + display: "Male", + }).setInterpreterRequired({ + system: "http://terminology.hl7.org/CodeSystem/v2-0136", + code: "Y", + display: "Yes", + }); - console.log("Before reset - extensions count:", patientProfile.toResource().extension?.length); + console.log("Before reset - extensions count:", USCorePatientProfileProfile.toResource().extension?.length); - console.log("After resetInterpreterRequired - extensions count:", patientProfile.toResource().extension?.length); + console.log( + "After resetInterpreterRequired - extensions count:", + USCorePatientProfileProfile.toResource().extension?.length, + ); - const patient = patientProfile.toResource(); + const patient = USCorePatientProfileProfile.toResource(); console.log("Patient after reset:"); console.log(JSON.stringify(patient, null, 2)); console.log("\n");